VR-Forces 4.0.4 Class Documentation
Public Member Functions | Private Member Functions
vrvControlToolkit::DtRectangleObject Class Reference

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

Inheritance diagram for vrvControlToolkit::DtRectangleObject:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 DtRectangleObject (DtExerciseConn *exConn, unsigned id, const DtVdcVector2D &position, const DtVdcVector2D &size, double rotation=0.0, double scale=1.0, DtVdcColor color=DtVdcColor::DtVdcWhite, bool fill=false, unsigned pattern=0xffffffff, bool flashing=false)
 Construct an Rectangle Draw Control Object.
virtual ~DtRectangleObject ()

Private Member Functions

 DtRectangleObject ()
 Default constructor.

Detailed Description

A 2D rectangular Stealth Draw Control Object.

DtRectangleObject represents an Rectangular Draw Control Object that can be sent to a MAK Stealth to be drawn on its main view. The class inherits DtEllipseRectangleBase; it only needs to set the appropriate object type in its constructor.


Constructor & Destructor Documentation

vrvControlToolkit::DtRectangleObject::DtRectangleObject ( DtExerciseConn *  exConn,
unsigned  id,
const DtVdcVector2D position,
const DtVdcVector2D size,
double  rotation = 0.0,
double  scale = 1.0,
DtVdcColor  color = DtVdcColor::DtVdcWhite,
bool  fill = false,
unsigned  pattern = 0xffffffff,
bool  flashing = false 
)

Construct an Rectangle Draw Control Object.

Parameters:
idPassed to DtDrawControlObject base (see) Position of the left-bottom corner 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) These are the dimensions of the rectangle
rotationA counter-clockwise rotation to apply to the rectangle = values go from 0 to 2 PI
colorThe color of the rectangle outline (and fill, if filled)
fillA boolean parameter indicating whether or not the rectangle should be filled
patternA pattern used when filling the rectangle - values go from 0x00000000 (no fill) to 0xFFFFFF (solid)
flashingA boolean parameter indicating whether or not the rectangle should be flashing

Default constructor.

Private and not implemented - you must supply an id and basic geometric parameters to construct the rectangle


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

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)