![]() |
VR-Forces Developer's Guide
|
4) Define the state component that will contain the wrappers to the next and current frame states that reference the data storage that is created when this class is created.

Static Public Member Functions | |
| static void | setMaximumLineSegements (unsigned max) |
| static unsigned | maximumLineSegments () |
Static Public Member Functions inherited from makVrf::DtDoubleBufferedStateComponent< DtTaskVisualizationStateComponent > | |
| static void | registerLegionComponent (Legion::SimulationDatabase *) |
| static void | addAdditionalTableColumns (Legion::SimulationDatabase *) |
Protected Attributes | |
| DtTaskVisualizationStateComponentCurrentFrame | myCurrentFrameState |
| DtTaskVisualizationStateComponentNextFrame | myNextFrameState |
Protected Attributes inherited from makVrf::DtStateComponent | |
| UInt64 | myId |
| DtStateData * | myStateData |
| const Coordinate_System * | myCoordinateSystem |
| bool | myIsRemoteComponent |
| bool | myCleared |
| bool | myPublishingOnLegionNetwork |
| bool | myAdvancedFrame |
Static Protected Attributes | |
| static int | theMaximumLineSegments |
| makVrf::DtTaskVisualizationStateComponentImplementation::DtTaskVisualizationStateComponentImplementation | ( | DtStateData * | sd | ) |
Constructs the implementation and initializes both frame-state buffers.
| sd | The state data object that owns this component. |
|
inline |
|
inlineoverridevirtual |
Reimplemented from makVrf::DtStateComponent.
|
inlineoverridevirtual |
Reimplemented from makVrf::DtStateComponent.
|
inlineoverridevirtual |
Reimplemented from makVrf::DtStateComponent.
|
inlineoverridevirtual |
Advances the current frame by copying the next-frame state into the current-frame buffer, then emits an update notification.
Implements makVrf::DtDoubleBufferedStateComponent< DtTaskVisualizationStateComponent >.
|
inlineoverridevirtual |
Updates the internal state data pointer in both frame buffers.
| sd | New state data pointer to propagate. |
Implements makVrf::DtDoubleBufferedStateComponent< DtTaskVisualizationStateComponent >.
|
static |
Sets the global maximum number of line segments allowed per line visualization.
| max | Maximum number of line segments. |
|
static |
| DtTaskVisualizationStateComponent* makVrf::DtTaskVisualizationStateComponentImplementation::lineTaskVisualization | ( | const DtString & | v, |
| const DtString & | c | ||
| ) |
Configures and returns the next-frame state as a line task visualization.
| v | Name of the visualization. |
| c | Name of the state component. |
| DtTaskVisualizationStateComponent* makVrf::DtTaskVisualizationStateComponentImplementation::areaTaskVisualization | ( | const DtString & | v, |
| const DtString & | c | ||
| ) |
Configures and returns the next-frame state as an area task visualization.
| v | Name of the visualization. |
| c | Name of the state component. |
| DtTaskVisualizationStateComponent* makVrf::DtTaskVisualizationStateComponentImplementation::pointTaskVisualization | ( | const DtString & | v, |
| const DtString & | c | ||
| ) |
Configures and returns the next-frame state as a point task visualization.
| v | Name of the visualization. |
| c | Name of the state component. |
| DtTaskVisualizationStateComponent* makVrf::DtTaskVisualizationStateComponentImplementation::textTaskVisualization | ( | const DtString & | v, |
| const DtString & | c | ||
| ) |
Configures and returns the next-frame state as a text task visualization.
| v | Name of the visualization. |
| c | Name of the state component. |
|
inlineoverridevirtual |
Notifies all frame state buffers that this component is about to be deleted.
Reimplemented from makVrf::DtStateComponent.
References makVrf::DtStateComponent::aboutToBeDeleted().
|
protected |
Current-frame (read-only) state buffer.
|
protected |
Next-frame (writable) state buffer.
|
staticprotected |
Global maximum number of line segments; shared across all instances.