LOST  0.0.1
LOST: Open-source Star Tracker
lost::GeneratedStar Class Reference

A star used in simulated image generation. Contains extra data about how to simulate the star. More...

Inheritance diagram for lost::GeneratedStar:
Collaboration diagram for lost::GeneratedStar:

Public Member Functions

 GeneratedStar (Star star, decimal peakBrightness, Vec2 motionBlurDelta)
 
- Public Member Functions inherited from lost::Star
 Star (decimal x, decimal y, decimal radiusX, decimal radiusY, int magnitude)
 
 Star (decimal x, decimal y, decimal radiusX)
 Convenience constructor that sets Star.radiusY = radiusX and Star.magnitude = 0. More...
 
 Star ()
 Create a zeroed-out star. Fields should be set immediately after construction. More...
 

Public Attributes

decimal peakBrightness
 the brightness density per time unit at the center of the star. 0.0 is black, 1.0 is white. More...
 
Vec2 delta
 (only meaningful with motion blur) Where the star will appear one time unit in the future. More...
 
- Public Attributes inherited from lost::Star
Vec2 position
 The (x,y) pixel coordinates in the image (top left is 0,0) More...
 
decimal radiusX
 Approximate horizontal radius of the bright area in pixels. More...
 
decimal radiusY
 Approximate vertical radius of the bright area in pixels. More...
 
int magnitude
 A relative measure of magnitude of the star. More...
 

Detailed Description

A star used in simulated image generation. Contains extra data about how to simulate the star.

Definition at line 415 of file io.cpp.

Constructor & Destructor Documentation

◆ GeneratedStar()

lost::GeneratedStar::GeneratedStar ( Star  star,
decimal  peakBrightness,
Vec2  motionBlurDelta 
)
inline

Definition at line 417 of file io.cpp.

Member Data Documentation

◆ delta

Vec2 lost::GeneratedStar::delta

(only meaningful with motion blur) Where the star will appear one time unit in the future.

Definition at line 424 of file io.cpp.

◆ peakBrightness

decimal lost::GeneratedStar::peakBrightness

the brightness density per time unit at the center of the star. 0.0 is black, 1.0 is white.

Definition at line 421 of file io.cpp.


The documentation for this class was generated from the following file: