VR-Forces 4.1 Class Documentation
List of all members | Public Member Functions | Private Member Functions
DtSdcEllipseObject Class Reference

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

Inheritance diagram for DtSdcEllipseObject:
Inheritance graph
[legend]

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 ()
- Public Member Functions inherited from DtSdcEllRectBase
virtual DtSdcVector2D position () const
 position accessor
virtual void setPosition (const DtSdcVector2D &position)
 position mutator
virtual DtSdcVector2D size () const
 size accessor
virtual void setSize (const DtSdcVector2D &size)
 size mutator
virtual double rotation () const
 rotation accessor
virtual void setRotation (double rotation)
 rotation mutator
virtual const DtSdcColorcolor () const
 color accessor
virtual void setColor (const DtSdcColor &color)
 color mutator
virtual bool fill () const
 fill accessor
virtual void setFill (bool fill)
 fill mutator
virtual unsigned pattern () const
 pattern accessor
virtual void setPattern (unsigned pattern)
 pattern mutator
virtual bool flashing () const
 flashing accessor
virtual void setFlashing (bool flashing)
 flashing mutator
virtual double scale () const
 scale accessor
virtual void setScale (double scale)
 scale mutator
virtual void setRemoteGraphicSet (const std::string &setName)
virtual void update ()
 update the internal pdu
- Public Member Functions inherited from DtSdc2DPositionedObject
 DtSdc2DPositionedObject (DtExerciseConn *exConn, unsigned id, const DtString &objName)
virtual ~DtSdc2DPositionedObject ()
- Public Member Functions inherited from DtSdcObject
 DtSdcObject (DtExerciseConn *exConn, unsigned id, const DtString &objName)
 Parameterized constructor.
virtual ~DtSdcObject ()
 Virtual destructor.
virtual unsigned id () const
 id accessor
virtual void setId (unsigned id)
 id mutator
virtual const
DtGlobalObjectDesignator & 
globalId () const
virtual void setVisible (bool yesNo)
virtual bool visible () const

Private Member Functions

 DtSdcEllipseObject ()
 Default constructor.

Additional Inherited Members

- Protected Member Functions inherited from DtSdcEllRectBase
 DtSdcEllRectBase (DtExerciseConn *exConn, unsigned id, const DtString &objName, 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 the basis of an Ellipse or Rectangle Draw Control Object.
virtual ~DtSdcEllRectBase ()
- Protected Attributes inherited from DtSdcEllRectBase
DtSdcVector2D myPosition
DtSdcVector2D mySize
DtSdcColor myColor
unsigned myPattern
bool myFill
double myRotation
bool myFlashing
double myScale
Dt2DGraphicalObjectStateRecordmyStateRecord

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
virtual 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 file:

Document ID: Generated on Tue Jan 29 18:21:16 EST 2013 from SVN revision 123193
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (www.mak.com)