![]() |
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 | SetAddMissingParameterToAllParts (bool) |
| static bool | AddMissingParameterToAllParts () |
Static Public Member Functions inherited from makVrf::DtDoubleBufferedStateComponent< DtArticulatedPartStateComponent > | |
| static void | registerLegionComponent (Legion::SimulationDatabase *) |
| static void | addAdditionalTableColumns (Legion::SimulationDatabase *) |
Protected Member Functions | |
| virtual void | createPartsFromDescriptors (const std::list< DtSimArtPartDescriptor * > &descriptors, const std::list< DtSimArtPartDescriptor * > &partDefaultsFromActuators) |
Protected Attributes | |
| DtArticulatedPartStateComponentCurrentFrame | myCurrentFrameState |
| DtArticulatedPartStateComponentNextFrame | myNextFrameState |
Protected Attributes inherited from makVrf::DtStateComponent | |
| UInt64 | myId |
| DtStateData * | myStateData |
| const Coordinate_System * | myCoordinateSystem |
| bool | myIsRemoteComponent |
| bool | myCleared |
| bool | myPublishingOnLegionNetwork |
| bool | myAdvancedFrame |
| makVrf::DtArticulatedPartStateComponentImplementation::DtArticulatedPartStateComponentImplementation | ( | DtStateData * | sd | ) |
Constructs the implementation and initializes the next and current frame state components.
| sd | Pointer to the owning state data storage. |
|
inline |
Returns true, indicating this component uses double-buffered state storage.
|
inlineoverridevirtual |
Returns a const pointer to the current (read) frame state interface.
Reimplemented from makVrf::DtStateComponent.
|
inlineoverridevirtual |
Returns a mutable pointer to the next (write) frame state interface.
Reimplemented from makVrf::DtStateComponent.
|
inlineoverridevirtual |
Returns a const pointer to the next (write) frame state interface.
Reimplemented from makVrf::DtStateComponent.
|
overridevirtual |
Sets the coordinate system used for transforming articulated part positions.
| cs | Pointer to the coordinate system. |
Reimplemented from makVrf::DtStateComponent.
|
overridevirtual |
Advances the current frame buffer with the latest next-frame data.
Implements makVrf::DtDoubleBufferedStateComponent< DtArticulatedPartStateComponent >.
|
inlineoverridevirtual |
Updates the state data pointer in both the current and next frame state components.
| sd | Pointer to the new state data storage. |
Implements makVrf::DtDoubleBufferedStateComponent< DtArticulatedPartStateComponent >.
|
overridevirtual |
Sets whether articulated part state should be published on the LEGION network.
| b | True to enable LEGION network publishing. |
Reimplemented from makVrf::DtStateComponent.
|
overridevirtual |
Initializes articulated parts from the entity's object parameters (e.g., descriptor lists).
| params | Pointer to the VR-Forces object parameters. |
Reimplemented from makVrf::DtStateComponent.
|
inlineoverridevirtual |
Notifies both frame state components that the owning entity is about to be deleted.
Reimplemented from makVrf::DtStateComponent.
References makVrf::DtStateComponent::aboutToBeDeleted().
|
static |
Sets whether a missing parameter metric is added to all unmetriced articulated parts. By default, only parented parts without metrics receive a parameter; enabling this applies to all. Must be called before parts are created.
|
static |
Returns true if missing parameter metrics are added to all unmetriced articulated parts.
|
protectedvirtual |
Creates the articulated parts for an entity from articulated part descriptors.
|
protected |
Current (read) frame state for the articulated parts.
|
protected |
Next (write) frame state for the articulated parts.