![]() |
VR-Forces Developer's Guide
|
1) Define the interface class that will be used to represent the next and current frames. The UNDEFINED_ macros are convenience macros that will define methods that throw exceptions (until they are implemented)

Public Member Functions | |
| DtTaskVisualizationStateComponent (DtStateData *storage) | |
| virtual const std::vector < DtVector > & | pointVertices () const |
| virtual void | setColor (unsigned int r, unsigned int g, unsigned int b, unsigned int a) |
| virtual void | setVertex (unsigned int i, const DtVector &) |
| virtual void | setVertex (unsigned int i, const DtUUID &) |
| virtual void | setupAsLineTaskVisualization (const DtEntityIdentifier &entityIdentifier, const DtString &visualizationName, const DtString &componentName) |
| virtual void | setupAsAreaTaskVisualization (const DtEntityIdentifier &entityIdentifier, const DtString &visualizationName, const DtString &componentName) |
| virtual void | setupAsTextTaskVisualization (const DtEntityIdentifier &entityIdentifier, const DtString &visualizationName, const DtString &componentName) |
| virtual void | setupAsPointTaskVisualization (const DtEntityIdentifier &entityIdentifier, const DtString &visualizationName, const DtString &componentName) |
Public Member Functions inherited from makVrf::DtFrameStateInterface | |
| DtFrameStateInterface (DtStateData *) | |
| virtual | ~DtFrameStateInterface () |
| void | setIsWritable (bool b) |
| bool | isWritable () const |
| UInt64 | stateId () const |
| UInt64 | legionGlobalId () const |
| void | setLegionGlobalId (UInt64 d) |
| virtual bool | isModified () const |
| virtual void | clearModified () |
| virtual void | markModified () |
| virtual DtStateComponent::StateComponentType | type () const |
| virtual DtStateComponent::StateComponentType | componentType () const =0 |
| virtual const char * | stringType () const =0 |
| void | setId (UInt64 id) |
| virtual UInt64 | id () const |
| virtual void | updateStateData (DtStateData *sd) |
| virtual Legion::ReadStateInstance | readStateInstance () const |
| virtual Legion::WriteStateInstance | writeStateInstance () |
| void | emitComponentUpdated () |
| void | setMarkedForRemoval (bool b) |
| bool | markedForRemoval () const |
| bool | cleared () const |
| bool | advancedFrame () const |
| virtual void | frameAdvanced () |
| virtual void | convertToRemote () |
| virtual void | convertToLocal () |
| virtual void | aboutToBeDeleted () |
Additional Inherited Members | |
Public Attributes inherited from makVrf::DtFrameStateInterface | |
| boost::signals2::signal< void(DtFrameStateInterface *)> | signal_stateComponentAboutToBeDeleted |
| boost::signals2::signal< void(const DtFrameStateInterface *)> | signal_componentModified |
Protected Member Functions inherited from makVrf::DtFrameStateInterface | |
| virtual void | makeWritable () |
| virtual void | makeReadOnly () |
Protected Attributes inherited from makVrf::DtFrameStateInterface | |
| bool | myIsModified |
| UInt64 | myId |
| UInt64 | myStateId |
| UInt64 | myLegionId |
| bool | myIsWritable |
| bool | myCleared |
| bool | myAdvancedFrame |
| bool | myMarkedForRemoval = false |
| DtStateData * | myStateData |
|
inline |
|
inlinevirtual |
Returns cached geocentric positions of all vertices.
Reimplemented in makVrf::DtTaskVisualizationStateComponentCurrentFrame, and makVrf::DtTaskVisualizationStateComponentNextFrame.
|
inlinevirtual |
Sets the RGBA color of this visualization.
| r | Red component (0-255). |
| g | Green component (0-255). |
| b | Blue component (0-255). |
| a | Alpha component (0-255). |
Reimplemented in makVrf::DtTaskVisualizationStateComponentNextFrame.
|
inlinevirtual |
Sets the geocentric position of a single vertex by index.
| i | Zero-based vertex index. |
Reimplemented in makVrf::DtTaskVisualizationStateComponentNextFrame.
|
inlinevirtual |
Sets the attachment object of a single vertex by index.
| i | Zero-based vertex index. |
Reimplemented in makVrf::DtTaskVisualizationStateComponentNextFrame.
|
inlinevirtual |
Initializes this component as a line task visualization for the given entity.
| entityIdentifier | The owning entity's identifier. |
| visualizationName | Name of the visualization. |
| componentName | Name of the state component. |
Reimplemented in makVrf::DtTaskVisualizationStateComponentNextFrame.
|
inlinevirtual |
Initializes this component as an area task visualization for the given entity.
| entityIdentifier | The owning entity's identifier. |
| visualizationName | Name of the visualization. |
| componentName | Name of the state component. |
Reimplemented in makVrf::DtTaskVisualizationStateComponentNextFrame.
|
inlinevirtual |
Initializes this component as a text task visualization for the given entity.
| entityIdentifier | The owning entity's identifier. |
| visualizationName | Name of the visualization. |
| componentName | Name of the state component. |
Reimplemented in makVrf::DtTaskVisualizationStateComponentNextFrame.
|
inlinevirtual |
Initializes this component as a point task visualization for the given entity.
| entityIdentifier | The owning entity's identifier. |
| visualizationName | Name of the visualization. |
| componentName | Name of the state component. |
Reimplemented in makVrf::DtTaskVisualizationStateComponentNextFrame.