![]() |
VR-Link API Documentation for DIS
|
Instances of DtDIGuyObjectStateRepository are used to store state data for DIGuyObject objects. More...
Inheritance diagram for DtDIGuyObjectStateRepository:
Collaboration diagram for DtDIGuyObjectStateRepository:Public Member Functions | |
| DtDIGuyObjectStateRepository () | |
| Constructor. | |
| virtual | ~DtDIGuyObjectStateRepository () |
| Destructor. | |
| DtDIGuyObjectStateRepository (const DtDIGuyObjectStateRepository &orig) | |
| Copy Constructor. | |
| DtDIGuyObjectStateRepository & | operator= (const DtDIGuyObjectStateRepository &orig) |
| Assignment Operator. | |
| virtual DtStateRepository * | clone (bool copy) const |
| Return a copy/empty object of the same type as this. | |
| virtual void | printData () const |
| Print data to the DtInfo stream. | |
| virtual void | printDataToStream (std::ostream &stream) const |
| Print data to the specified stream. | |
| virtual void | setEntityIdentifier (const DtEntityIdentifier &val) |
| Set the EntityIdentifier. | |
| virtual const DtEntityIdentifier & | entityIdentifier () const |
| Get the EntityIdentifier.". | |
| virtual void | setObjectIdentifier (const DtGlobalObjectDesignator &val) |
| Set the HostObjectIdentifier. | |
| virtual const DtGlobalObjectDesignator & | objectIdentifier () const |
| Get the HostObjectIdentifier.". | |
| virtual void | setType (const DtString &newType, const DtString &newAppearance) |
| When updating type, it will typically make sense to also update the Appearance. | |
| virtual void | setType (const DtString &val) |
| virtual const DtString & | type () const |
| virtual void | setBodyAppearance (const DtString &val) |
| Set/Get body appearance. | |
| virtual const DtString & | bodyAppearance () const |
| Set/Get body appearance. | |
| virtual void | setHeadAppearance (const DtString &val) |
| Set/Get head appearance. | |
| virtual const DtString & | headAppearance () const |
| Set/Get head appearance. | |
| virtual void | setItemAppearance (const DtString &val) |
| Set/Get item appearance. | |
| virtual const DtString & | itemAppearance () const |
| Set/Get item appearance. | |
| virtual void | setAccessoryAppearance (const DtString &val) |
| Set/Get accessory appearance. | |
| virtual const DtString & | accessoryAppearance () const |
| Set/Get accessory appearance. | |
| virtual void | setAction (const DtString &val, bool paused, double speed=0.0) |
| Set/Get action. | |
| virtual void | setAction (const DtString &val) |
| Set/Get action. | |
| virtual const DtString & | action () const |
| Set/Get action. | |
| virtual void | setActionPaused (bool paused) |
| Set/Get action pause state. | |
| virtual bool | isActionPaused () const |
| Set/Get action pause state. | |
| virtual double | actionSpeed () const |
| Set/Get action speed. | |
| virtual void | setActionSpeed (double speed) |
| Set/Get action speed. | |
| virtual void | setVisible (bool visibile) |
| Set/Get visible state. | |
| virtual bool | isVisible () const |
| Set/Get visible state. | |
| virtual void | addShapeVariation (unsigned int linkIndex, unsigned int shapeIndex, const DtDiGuyPixelData &pixelData) |
| Set/Get share variations. | |
| virtual void | removeShapeVariation (unsigned int linkIndex, unsigned int shapeIndex) |
| Set/Get share variations. | |
| virtual const DtDiGuyPixelData & | shapeVariation (unsigned int linkIndex, unsigned int shapeIndex, bool &dataIsValid) const |
| Set/Get share variations. | |
| virtual bool | getShapeVariation (unsigned int linkIndex, unsigned int shapeIndex, DtDiGuyPixelData &pixelData) const |
| Set/Get share variations. | |
| virtual void | setShapeVariations (const DtDiGuyLinkShapeMap &variations) |
| Set/Get share variations. | |
| virtual const DtDiGuyLinkShapeMap & | shapeVariations () const |
| Set/Get share variations. | |
| virtual DtDiGuyLinkShapeMap & | shapeVariations () |
| Set/Get share variations. | |
| virtual bool | isShapeVariationsDirty () const |
| Indicates if the shape variations have been modified since last network update. | |
| virtual void | clearShapeVariationsDirty () const |
| Clears dirty flag. | |
| virtual const DtVector & | characterScale () const |
| Set/Get character scale. | |
| virtual void | setCharacterScale (const DtVector &scale) |
| Set/Get character scale. | |
Public Member Functions inherited from DtStateRepository | |
| virtual | ~DtStateRepository () |
| destructor | |
| DtStateRepository & | operator= (const DtStateRepository &orig) |
| assignment operator | |
| virtual void | setGlobalId (const DtGlobalObjectDesignator &id) |
| Get/Set global identifier, or name. | |
| virtual const DtGlobalObjectDesignator & | globalId () const |
Static Public Member Functions | |
| static DtDIGuyObjectStateRepository * | create () |
| Create a DtDIGuyObjectStateRepository. | |
Protected Attributes | |
| DtEntityIdentifier | myEntityIdentifier |
| DtGlobalObjectDesignator | myObjectIdentifier |
| DtString | myAction |
| bool | myActionPaused |
| double | myActionSpeed |
| bool | myVisible |
| DtString | myBodyAppearance |
| DtString | myHeadAppearance |
| DtString | myItemAppearance |
| DtString | myAccessoryAppearance |
| DtString | myType |
| DtDiGuyLinkShapeMap | myShapeVariations |
| DtVector | myCharacterScale |
| bool | myIsShapeVariationsDirty |
Protected Attributes inherited from DtStateRepository | |
| DtGlobalObjectDesignator | myGlobalId |
Additional Inherited Members | |
Protected Member Functions inherited from DtStateRepository | |
| DtStateRepository () | |
| Constructors are protected since this is an abstract base class. | |
| DtStateRepository (const DtStateRepository &orig) | |
| copy constructor | |
Instances of DtDIGuyObjectStateRepository are used to store state data for DIGuyObject objects.
| DtDIGuyObjectStateRepository::DtDIGuyObjectStateRepository | ( | ) |
Constructor.
|
virtual |
Destructor.
| DtDIGuyObjectStateRepository::DtDIGuyObjectStateRepository | ( | const DtDIGuyObjectStateRepository & | orig | ) |
Copy Constructor.
|
virtual |
Set/Get accessory appearance.
|
virtual |
Set/Get action.
|
virtual |
Set/Get action speed.
|
virtual |
Set/Get share variations.
|
virtual |
Set/Get body appearance.
|
virtual |
Set/Get character scale.
|
virtual |
Clears dirty flag.
|
virtual |
Return a copy/empty object of the same type as this.
Implements DtStateRepository.
|
static |
Create a DtDIGuyObjectStateRepository.
|
virtual |
Get the EntityIdentifier.".
|
virtual |
Set/Get share variations.
|
virtual |
Set/Get head appearance.
|
virtual |
Set/Get action pause state.
|
virtual |
Indicates if the shape variations have been modified since last network update.
|
virtual |
Set/Get visible state.
|
virtual |
Set/Get item appearance.
|
virtual |
Get the HostObjectIdentifier.".
| DtDIGuyObjectStateRepository& DtDIGuyObjectStateRepository::operator= | ( | const DtDIGuyObjectStateRepository & | orig | ) |
Assignment Operator.
|
virtual |
Print data to the DtInfo stream.
Implements DtStateRepository.
|
virtual |
Print data to the specified stream.
Reimplemented from DtStateRepository.
|
virtual |
Set/Get share variations.
|
virtual |
Set/Get accessory appearance.
|
virtual |
Set/Get action.
|
virtual |
Set/Get action.
|
virtual |
Set/Get action pause state.
|
virtual |
Set/Get action speed.
|
virtual |
Set/Get body appearance.
|
virtual |
Set/Get character scale.
|
virtual |
Set the EntityIdentifier.
|
virtual |
Set/Get head appearance.
|
virtual |
Set/Get item appearance.
|
virtual |
Set the HostObjectIdentifier.
|
virtual |
Set/Get share variations.
|
virtual |
When updating type, it will typically make sense to also update the Appearance.
Prefer the setType form that also updates appearance.
|
virtual |
|
virtual |
Set/Get visible state.
|
virtual |
Set/Get share variations.
|
virtual |
Set/Get share variations.
|
virtual |
Set/Get share variations.
|
virtual |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
mutableprotected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |