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

Public Member Functions | |
| DtAreaTaskVisualization (const DtString &name, const DtString &taskComp, DtVrfObject *taskedObject) | |
| virtual | ~DtAreaTaskVisualization () |
| virtual const std::vector < DtVector > & | vertices () const |
| The location of the vertices. | |
| virtual void | setVertices (const std::vector< DtVector > &vertices) |
| virtual const DtVector & | vertex (unsigned index) const |
| virtual void | setVertex (unsigned index, const DtVector &) |
Public Member Functions inherited from DtTaskVisualization | |
| DtTaskVisualization (const DtString &name, const DtString &taskComp, DtVrfObject *taskedObject) | |
| Constructor. | |
| virtual | ~DtTaskVisualization () |
| Destructor. | |
| virtual const DtString & | name () |
| Returns the visualization name. | |
| virtual const DtString & | taskComponent () |
| Returns the task component name. | |
| virtual const DtUUID & | taskedObject () |
| Returns the UUID of the object being tasked. | |
| virtual void | update (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 (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 | |
| bool | myLocationsDirty |
| std::vector< DtVector > | myVertices |
| vrvControlToolkit::DtArea3DObject * | myAreaObject |
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 DtAreaTaskVisualization describes a area graphic to be displayed in the GUI to visualize the behavior of the current task.
| DtAreaTaskVisualization::DtAreaTaskVisualization | ( | const DtString & | name, |
| const DtString & | taskComp, | ||
| DtVrfObject * | taskedObject | ||
| ) |
|
virtual |
|
virtual |
The location of the vertices.
|
virtual |
|
virtual |
|
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 |