![]() |
VR-Forces 4.5 Class Documentation
|
A 3D Text Stealth Draw Control Object. More...

Public Member Functions | |
| DtText3DObject (DtExerciseConn *exConn, unsigned id, const DtString &text, const DtVdc3DAttachPoint &attachment, const DtVector &offset=DtVector::zero(), DtVdcColor color=DtVdcColor::DtVdcWhite, bool flashing=false) | |
| Construct the text Draw Control Object. | |
| virtual | ~DtText3DObject () |
| virtual const DtString & | text () const |
| text accessor | |
| virtual void | setText (const DtString &text) |
| text mutator | |
| virtual const DtVdc3DAttachPoint & | attachment () const |
| attachment accessor | |
| virtual void | setAttachment (const DtVdc3DAttachPoint &attachment) |
| attachment mutator | |
| virtual const DtVector32 & | offset () const |
| offset accessor | |
| virtual void | setOffset (const DtVector32 &off) |
| offset mutator | |
| virtual const DtVdcColor & | color () const |
| color accessor | |
| virtual void | setColor (const DtVdcColor &color) |
| color mutator | |
| virtual bool | flashing () const |
| flashing accessor | |
| virtual void | setFlashing (bool flashing) |
| flashing mutator | |
| virtual void | setRemoteGraphicSet (const std::string &setName) |
| virtual void | update () |
| update the internal pdu | |
Public Member Functions inherited from vrvControlToolkit::Dt3DPositionedObject | |
| Dt3DPositionedObject (DtExerciseConn *exConn, unsigned id, const DtString &objName) | |
| virtual | ~Dt3DPositionedObject () |
Public Member Functions inherited from vrvControlToolkit::DtDrawControlObject | |
| DtDrawControlObject (DtExerciseConn *exConn, unsigned id, const DtString &objName) | |
| Parameterized constructor. | |
| virtual | ~DtDrawControlObject () |
| 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 |
Protected Member Functions | |
| void | initRecords () |
Protected Attributes | |
| DtVdc3DAttachPoint | myAttachment |
| DtVector32 | myOffset |
| DtVdcColor | myColor |
| bool | myFlashing |
| DtString | myText |
| DtEnvironmentalPointRecord | myPointRecord |
| Dt3DGraphicalObjectStateRecord | myStateRecord |
Private Member Functions | |
| DtText3DObject () | |
| Default constructor. | |
| DtText3DObject (const DtText3DObject &orig) | |
| Copy constructor. | |
| DtText3DObject & | operator= (const DtText3DObject &rhs) |
| Assignment operator. | |
Additional Inherited Members | |
Static Public Member Functions inherited from vrvControlToolkit::DtDrawControlObject | |
| static void | setPublisherCreator (DtEnvironmentProcessPublisherCreator *creator) |
Static Protected Attributes inherited from vrvControlToolkit::DtDrawControlObject | |
| static DtEnvironmentProcessPublisherCreator * | thePublisherCreator |
A 3D Text Stealth Draw Control Object.
DtText3DObject represents text that can be positioned and displayed in the 3D scene. A color can be specified; and the text can flash, if desired.
| vrvControlToolkit::DtText3DObject::DtText3DObject | ( | DtExerciseConn * | exConn, |
| unsigned | id, | ||
| const DtString & | text, | ||
| const DtVdc3DAttachPoint & | attachment, | ||
| const DtVector & | offset = DtVector::zero(), |
||
| DtVdcColor | color = DtVdcColor::DtVdcWhite, |
||
| bool | flashing = false |
||
| ) |
Construct the text Draw Control Object.
| id | Passed to DtDrawControlObject base (see) |
| text | The text to draw |
| attachment | DtVdc3DAttachPoint indicating how the text object is positioned in 3D |
| offset | a 3D vector indicating an east/north/up offset (in meters) from the base attachment |
| color | The color of the text |
| flashing | A boolean parameter indicating whether or not the text should be flashing |
|
virtual |
|
private |
Default constructor.
Private and not implemented - you must supply an id and basic geometric parameters to construct the ellipse or rectangle
|
private |
Copy constructor.
Private and unimplemented - not copyable.
|
private |
Assignment operator.
Private and unimplemented - not copyable.
|
virtual |
text accessor
Get the actual text to draw
|
virtual |
text mutator
Set the text to be drawn
| text | The actual text to draw |
|
virtual |
attachment accessor
Get the text's attachment information
Implements vrvControlToolkit::Dt3DPositionedObject.
|
virtual |
attachment mutator
Set the text's attachment information
| attachment |
Implements vrvControlToolkit::Dt3DPositionedObject.
|
virtual |
offset accessor
Get the object's offset from the attach point, in entity coordinates if attached, geocentric otherwise
|
virtual |
offset mutator
Set the object's offset from the attach point, in entity coordinates if attached, geocentric otherwise
| off | [X, Y, Z] |
|
virtual |
color accessor
Get the color assigned to the text
Reimplemented from vrvControlToolkit::DtDrawControlObject.
|
virtual |
color mutator
Set the color to use when drawing the text
| color | The DtVdcColor to use |
Reimplemented from vrvControlToolkit::DtDrawControlObject.
|
virtual |
flashing accessor
Get the boolean that indicates whether or not the text should flash
Reimplemented from vrvControlToolkit::DtDrawControlObject.
|
virtual |
flashing mutator
Set the boolean that indicates whether or not the text should flash
| flashing | true or false |
Reimplemented from vrvControlToolkit::DtDrawControlObject.
|
virtual |
Reimplemented from vrvControlToolkit::DtDrawControlObject.
|
virtual |
update the internal pdu
Make sure the internal pdu reflects the actual state of the draw control object's members. This is necessary because some members can be modified directly (which make the interface easier to use). DtStealthRemoteDrawer::update() calls this, so the user doesn't need to; but if the user is accessing the pdu directly (via the pdu() accessor) this should be called before using the pdu.
Implements vrvControlToolkit::DtDrawControlObject.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |