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 (only supported in DI-Guy 13 and later)
|
| virtual const DtString & | headAppearance () const |
| | Set/Get head appearance (only supported in DI-Guy 13 and later)
|
|
| virtual void | setBodyWeight (double val) |
| | Set/Get body weight.
|
| virtual double | bodyWeight () const |
| | Set/Get body weight.
|
|
| virtual void | setItemAppearance (const DtString &val) |
| | Set/Get item appearance (only supported in DI-Guy 13 and later)
|
| virtual const DtString & | itemAppearance () const |
| | Set/Get item appearance (only supported in DI-Guy 13 and later)
|
|
| virtual bool | setAccessoryAppearance (unsigned int index, const DtString &val) |
| | Set/Get accessory appearance (only supported in DI-Guy 13 and later) If the index is larger than the count, this will do nothing and return false.
|
| virtual const DtString & | accessoryAppearance (unsigned int index) const |
| | Set/Get accessory appearance (only supported in DI-Guy 13 and later) If the index is larger than the count, this will do nothing and return false.
|
|
| virtual void | setAccessoryAppearanceCount (unsigned int index) |
| | Set/Get the accessory appearance count (only supported in DI-Guy 13 and later).
|
| virtual unsigned int | accessoryAppearanceCount () const |
| | Set/Get the accessory appearance count (only supported in DI-Guy 13 and later).
|
|
| virtual void | setAction (const DtString &val) |
| | Set/Get action.
|
| virtual void | setAction (const DtString &val, bool paused, double speed=0.0, bool useActionPositioning=false, const DtVector &offset=DtVector(0, 0, 0)) |
| | Set/Get action.
|
| virtual const DtString & | action () const |
| | Set/Get action.
|
| virtual bool | useActionPositioning () const |
| | Set/Get action.
|
| virtual const DtVector & | actionOffset () 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 (only supported in DI-Guy 13 and later)
|
| virtual void | removeShapeVariation (unsigned int linkIndex, unsigned int shapeIndex) |
| | Set/Get share variations (only supported in DI-Guy 13 and later)
|
| virtual const DtDiGuyPixelData & | shapeVariation (unsigned int linkIndex, unsigned int shapeIndex, bool &dataIsValid) const |
| | Set/Get share variations (only supported in DI-Guy 13 and later)
|
| virtual bool | getShapeVariation (unsigned int linkIndex, unsigned int shapeIndex, DtDiGuyPixelData &pixelData) const |
| | Set/Get share variations (only supported in DI-Guy 13 and later)
|
| virtual void | setShapeVariations (const DtDiGuyLinkShapeMap &variations) |
| | Set/Get share variations (only supported in DI-Guy 13 and later)
|
| virtual const DtDiGuyLinkShapeMap & | shapeVariations () const |
| | Set/Get share variations (only supported in DI-Guy 13 and later)
|
| virtual DtDiGuyLinkShapeMap & | shapeVariations () |
| | Set/Get share variations (only supported in DI-Guy 13 and later)
|
| 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 (only supported in DI-Guy 13 and later)
|
| virtual void | setCharacterScale (const DtVector &scale) |
| | Set/Get character scale (only supported in DI-Guy 13 and later)
|
|
| virtual unsigned int | rank () const |
| | Set/Get patch values for Rank, Unit, Personal Unit, and Name.
|
| virtual void | setRank (unsigned int val) |
| | Set/Get patch values for Rank, Unit, Personal Unit, and Name.
|
| virtual unsigned int | unit () const |
| | Set/Get patch values for Rank, Unit, Personal Unit, and Name.
|
| virtual void | setUnit (unsigned int val) |
| | Set/Get patch values for Rank, Unit, Personal Unit, and Name.
|
| virtual unsigned int | personalUnit () const |
| | Set/Get patch values for Rank, Unit, Personal Unit, and Name.
|
| virtual void | setPersonalUnit (unsigned int val) |
| | Set/Get patch values for Rank, Unit, Personal Unit, and Name.
|
| virtual const DtString & | name () const |
| | Set/Get patch values for Rank, Unit, Personal Unit, and Name.
|
| virtual void | setName (DtString val) |
| | Set/Get patch values for Rank, Unit, Personal Unit, and Name.
|
| | DtStateRepository () |
| | default constructor
|
| | DtStateRepository (const DtStateRepository &orig) |
| | copy constructor
|
| 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 |
| virtual unsigned int | numberOfAttributeRecords () const |
| virtual void | setAttributeRecords (const DtAttributeRecordSet &records) |
| | The following functions are related to the extendability part of DIS 7.
|
| virtual void | setAttributeRecords (const DtStandardVariableRecordPtrVector &records) |
| | Replace the attribute record set with the records in the given vector.
|
virtual const
DtAttributeRecordSet & | attributeRecordSet () const |
| | Return the attribute record set.
|
| virtual DtAttributeRecordSet & | attributeRecordSet () |
| | Return the attribute record set.
|
virtual const
DtStandardVariableRecordPtrVector & | attributeRecords () const |
| | Return the attribute records Any changes to the returned record(s) will modify the records in the recordSet.
|
virtual const
DtStandardVariableRecordPtrVector & | attributeRecords (unsigned int recordType) const |
| | Return the attribute records of the given type (all records if type is 0) Any changes to the returned record(s) will modify the records in the recordSet.
|
| virtual DtStandardVariableRecord * | attributeRecord (unsigned int recordType) const |
| | Return the (first) attribute record of the given type (first record if type is 0) Any changes to the returned record will modify the record in the recordSet.
|
| virtual int | removeAttributeRecord (unsigned int recordType, bool removeAll=true) |
| | Remove and discard the first record of the given record type (if there is one) or all them.
|
virtual
DtStandardVariableRecordPtrVector & | getAttributeRecords (unsigned int recordType, DtStandardVariableRecordPtrVector &vec) const |
| | Get the attribute records of the given type (all if type is 0) Any changes to the returned record(s) will modify the records in the recordSet.
|
virtual
DtStandardVariableRecordPtrVector & | getAttributeRecords (DtStandardVariableRecordPtrVector &vec) const |
| | Get the attribute records Any changes to the returned record(s) will modify the records in the recordSet.
|
| virtual void | addAttributeRecord (DtStandardVariableRecord *record) |
| | Add a clone of given record to the attribute record set.
|
| virtual void | addAttributeRecord (std::auto_ptr< DtStandardVariableRecord > record) |
| | Add the given record to the attribute record set.
|
| virtual void | clearAttributeRecords () |
| | Clear all records.
|
virtual
DtStateRepositoryExtension * | stateRepositoryExtension (DtString srExtName) const |
| | Returns pointer to a DtStateRepositoryExtension object with the given name Returns 0 if no extension with given name is found.
|
| virtual std::vector< DtString > | stateRepositoryExtensionNames () const |
| | Returns a set of the registered state repository extension names.
|
| virtual void | setStateRepositoryExtensions (std::map< DtString, DtStateRepositoryExtension * > extensions) |
| | Returns pointer to a DtStateRepositoryExtension object with the given name Returns 0 if no extension with given name is found.
|
virtual const std::map
< DtString,
DtStateRepositoryExtension * > | stateRepositoryExtensions () const |
| | Returns pointer to a DtStateRepositoryExtension object with the given name Returns 0 if no extension with given name is found.
|