![]() |
VR-Forces 4.6 Class Documentation
|
A DtPointTaskVisualization describes a point graphic to be displayed in the GUI to visualize the behavior of the current task. More...

Public Member Functions | |
| DtPointTaskVisualization (const DtString &name, const DtString &taskComp, DtVrfObject *taskedObject) | |
| virtual | ~DtPointTaskVisualization () |
| virtual unsigned | size () const |
| Style of the graphic. | |
| virtual void | setSize (unsigned size) |
| virtual const DtVector & | location () const |
| The location of the point (geocentric). | |
| virtual void | setLocation (const DtVector &location) |
| virtual const DtGlobalObjectDesignator & | attachedObject () const |
| The object to which this point is attached. | |
| virtual void | setAttachedObject (const DtGlobalObjectDesignator &obj) |
Public Member Functions inherited from DtTaskVisualization | |
| DtTaskVisualization (const DtString &name, const DtString &taskComp, DtVrfObject *taskedObject) | |
| Constructor. | |
| virtual | ~DtTaskVisualization () |
| Destructor. | |
| virtual const DtString & | name () const |
| Returns the visualization name. | |
| virtual const DtString & | taskComponent () const |
| Returns the task component name. | |
| virtual const DtUUID & | taskedObject () const |
| Returns the UUID of the object being tasked. | |
| virtual void | update (DtBoost::shared_ptr< DtBulkEnvironmentProcessManager > bulkMgr) |
| Updates the visualization object data. | |
| virtual void | stopUpdates () |
| Stops updating the task visualization object data. | |
| virtual unsigned | red () const |
| Color of the visualization object. | |
| virtual unsigned | green () const |
| virtual unsigned | blue () const |
| virtual unsigned | alpha () const |
| virtual void | setColor (unsigned red, unsigned green, unsigned blue, unsigned alpha) |
| virtual const DtVector64 & | locationOffset () const |
| The location offset of the vertex in the visualization. | |
| virtual void | setLocationOffset (const DtVector64 &offset) |
Protected Member Functions | |
| virtual bool | isPublished () const |
| Returns true if the visualization is already published. | |
| virtual void | createDrawControlObjects (DtExerciseConn *exConn) |
| Creates the draw control object that displays this task visualization. | |
| virtual void | unpublishDrawControlObjects () |
| Removes the visualization object from the network. | |
| virtual void | updateDrawControlObjects () |
| Updates the visualization object data. | |
Protected Member Functions inherited from DtTaskVisualization | |
| virtual void | calculateOffsetLocation (const DtVector &location, DtVector &offsetLocation) |
| Offsets the given geocentric location using the current location offset and converts it to a new geocentric location suitable for publishing to VR-Vantage. | |
| virtual void | publishDrawControlObjects (DtBoost::shared_ptr< DtBulkEnvironmentProcessManager > bulkMgr) |
| Creates the visualization object for publication to the network. | |
| virtual unsigned | nextId () |
| Returns an ID number to be used when creating remote draw objects. | |
Protected Attributes | |
| unsigned | mySize |
| bool | myLocationDirty |
| DtVector | myLocation |
| DtGlobalObjectDesignator | myAttachedObject |
| vrvControlToolkit::DtEllipsoidObject * | myEllipsoidObject |
Protected Attributes inherited from DtTaskVisualization | |
| DtString | myName |
| DtString | myTaskComponent |
| DtVrfObject * | myTaskedObject |
| unsigned | myRed |
| unsigned | myGreen |
| unsigned | myBlue |
| unsigned | myAlpha |
| DtVector64 | myLocationOffset |
| Location offset in forward, right, down entity coordinates. | |
| DtTaskVisualizationPublisherCreator * | myEnvProcPublisherCreator |
A DtPointTaskVisualization describes a point graphic to be displayed in the GUI to visualize the behavior of the current task.
| DtPointTaskVisualization::DtPointTaskVisualization | ( | const DtString & | name, |
| const DtString & | taskComp, | ||
| DtVrfObject * | taskedObject | ||
| ) |
|
virtual |
|
virtual |
Style of the graphic.
|
virtual |
|
virtual |
The location of the point (geocentric).
If set, the attached object will be cleared.
|
virtual |
|
virtual |
The object to which this point is attached.
|
virtual |
|
protectedvirtual |
Returns true if the visualization is already published.
Implements DtTaskVisualization.
|
protectedvirtual |
Creates the draw control object that displays this task visualization.
Implements DtTaskVisualization.
|
protectedvirtual |
Removes the visualization object from the network.
Implements DtTaskVisualization.
|
protectedvirtual |
Updates the visualization object data.
Implements DtTaskVisualization.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |