VR-Vantage 1.4.1 API Class Documentation
Public Member Functions | Private Member Functions
DtSdcEllipseObject Class Reference

A 2D elliptical Stealth Draw Control Object. More...

Inheritance diagram for DtSdcEllipseObject:
Inheritance graph
[legend]

List of all members.

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.

Detailed Description

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.


Constructor & Destructor Documentation

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.

Parameters:
idPassed to DtSdcObject base (see) Center position on the screen - values go from [0.,0.] (left, bottom) to [1.,1.] (right, top)
sizeSize of object along the X and Y axes (before rotation) = values go from [0.,0.] to [1.,.1] (the entire screen)
rotationA counter-clockwise rotation to apply to the ellipse = values go from 0 to 2 PI
colorThe color of the ellipse outline (and fill, if filled)
fillA boolean parameter indicating whether or not the ellipse should be filled
patternA pattern used when filling the ellipse - values go from 0x00000000 (no fill) to 0xFFFFFF (solid)
flashingA 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


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


Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)