![]() |
VR-Forces Developer's Guide
|
Holds the articulated part state data shared between the next and current frame buffers. Manages the hierarchy of articulated parts and the DIS/HLA collection for network transmission.
Public Member Functions | |
| DtArticulatedPartStateComponentData () | |
| void | create () |
| DtArticulatedPartStateComponentData (const DtArticulatedPartStateComponentData &orig) | |
| DtArticulatedPartStateComponentData & | operator= (const DtArticulatedPartStateComponentData &rhs) |
| bool | initialized () const |
| const DtArticulatedPartManager & | articulatedPartManager () const |
| DtArticulatedPartManager & | articulatedPartManager () |
| const DtArticulatedPartCollection & | artPartList () const |
| DtArticulatedPartCollection & | artPartList () |
| void | setArtPartListModified (bool b) |
| bool | artPartListModified () const |
| void | clearArtPartListModified () |
Protected Attributes | |
| std::shared_ptr < DtArticulatedPartManager > | myarticulatedPartManager |
| std::shared_ptr < DtArticulatedPartCollection > | myartPartList |
| bool | myArtPartListModified |
|
inline |
|
inline |
Copy constructor. Shares ownership of the manager and collection via shared_ptr.
| orig | The source object to copy from. |
|
inline |
Allocates the articulated part manager and the part collection. Must be called before use when not copy-constructed.
|
inline |
Assignment operator. Shares ownership of the manager and collection via shared_ptr.
| rhs | The right-hand side object to assign from. |
References myarticulatedPartManager, myartPartList, and myArtPartListModified.
|
inline |
Returns true if create() has been called and the manager has been allocated.
|
inline |
Returns a const reference to the articulated part manager.
|
inline |
Returns a mutable reference to the articulated part manager.
|
inline |
Returns a const reference to the articulated part collection used for network transmission.
|
inline |
Returns a mutable reference to the articulated part collection used for network transmission.
|
inline |
Sets the dirty flag indicating the articulated part list has been modified.
| b | True if modified, false otherwise. |
|
inline |
Returns true if the articulated part list has been modified since last cleared.
|
inline |
Clears the articulated part list modified dirty flag.
|
protected |
Manages the tree of articulated parts for this entity.
Referenced by operator=().
|
protected |
DIS/HLA articulated part collection used for network transmission.
Referenced by operator=().
|
protected |
Dirty flag indicating the articulated part list has been modified and needs to be transmitted.
Referenced by operator=().