![]() |
VR-Vantage 1.4.1 API Class Documentation
|
A 2D elliptical Stealth Draw Control Object. More...

Public Member Functions | |
| DtSdcEllipseObject (DtExerciseConn *exConn, unsigned id, const DtSdcVector2D &position, const DtSdcVector2D &size, double rotation=0.0, double scale=1.0, DtSdcColor color=DtSdcColor::DtSdcWhite, bool fill=false, unsigned pattern=0xffffffff, bool flashing=false) | |
| Construct an Ellipse Draw Control Object. | |
| virtual | ~DtSdcEllipseObject () |
Private Member Functions | |
| DtSdcEllipseObject () | |
| Default constructor. | |
A 2D elliptical Stealth Draw Control Object.
DtSdcEllipseObject represents an Elliptical Draw Control Object that can be sent to a MAK Stealth to be drawn on it's main view. The class inherits DtSdcEllRectBase; it only needs to set the appropriate object type in it's constructor.
| DtSdcEllipseObject::DtSdcEllipseObject | ( | DtExerciseConn * | exConn, |
| unsigned | id, | ||
| const DtSdcVector2D & | position, | ||
| const DtSdcVector2D & | size, | ||
| double | rotation = 0.0, |
||
| double | scale = 1.0, |
||
| DtSdcColor | color = DtSdcColor::DtSdcWhite, |
||
| bool | fill = false, |
||
| unsigned | pattern = 0xffffffff, |
||
| bool | flashing = false |
||
| ) |
Construct an Ellipse Draw Control Object.
| id | Passed to DtSdcObject base (see) Center position on the screen - values go from [0.,0.] (left, bottom) to [1.,1.] (right, top) |
| size | Size of object along the X and Y axes (before rotation) = values go from [0.,0.] to [1.,.1] (the entire screen) |
| rotation | A counter-clockwise rotation to apply to the ellipse = values go from 0 to 2 PI |
| color | The color of the ellipse outline (and fill, if filled) |
| fill | A boolean parameter indicating whether or not the ellipse should be filled |
| pattern | A pattern used when filling the ellipse - values go from 0x00000000 (no fill) to 0xFFFFFF (solid) |
| flashing | A boolean parameter indicating whether or not the ellipse should be flashing |
References Dt2DGraphicalObjectCategoryEllipse, Dt2DGraphicalObjectKind, DtSdcObject::id(), and DtSdcObject::myPublisher.
| DtSdcEllipseObject::~DtSdcEllipseObject | ( | ) | [virtual] |
| DtSdcEllipseObject::DtSdcEllipseObject | ( | ) | [private] |
Default constructor.
Private and not implemented - you must supply an id and basic geometric parameters to construct the ellipse