![]() |
VR-Forces 4.10 Class Documentation
|
This class maintains the diguy settings. More...

Public Member Functions | |
| virtual | ~DtSharedDiGuySettings () |
| DTOR. More... | |
Setting Getters/Setters | |
| virtual bool | instancingEnabled () const |
| Gets whether or not diguy instancing is enabled. More... | |
| virtual void | setInstancingEnabled (bool enabled) |
| Sets whether or not diguy instancing is enabled. More... | |
| virtual int | instancedLod () const |
| Gets lod to use for instanced diguys (1-7) More... | |
| virtual void | setInstancedLod (int lod) |
| Sets lod to use for instanced diguys (1-7) More... | |
| virtual bool | visualizeInstancing () const |
| Gets whether or not visualizing diguy instancing is enabled. More... | |
| virtual void | setVisualizeInstancing (bool enabled) |
| Sets whether or not visualizing diguy instancing is enabled. More... | |
| virtual bool | textureVariationsEnabled () const |
| Gets whether or not diguy texture variation is enabled. More... | |
| virtual void | setTextureVariationsEnabled (bool enabled) |
| Sets whether or not diguy texture variation is enabled. More... | |
| virtual float | maxDrawDistance () const |
| Gets Maximum distance to draw diguys (-1 is no limit) More... | |
| virtual void | setMaxDrawDistance (float distance) |
| Sets Maximum distance to draw diguys (-1 is no limit) More... | |
| virtual float | maxMotionUpdateDistance () const |
| Gets Maximum distance to update diguys motion. More... | |
| virtual void | setMaxMotionUpdateDistance (float distance) |
| Sets Maximum distance to update diguys motion. More... | |
| virtual bool | multiThreadUpdate () const |
| Gets whether or not multiple threads will be used for diguy updates. More... | |
| virtual void | setMultiThreadUpdate (bool enabled) |
| Sets whether or not multiple threads will be used for diguy updates. More... | |
Settings record / backup methods | |
| void | setFromRecord (const makArchives::DtDiGuySettingsRecord &rec) |
| Restore the settings from a record. More... | |
| void | getRecord (makArchives::DtDiGuySettingsRecord &rec) const |
| Get the settings as a record. More... | |
| virtual const DtDiGuySettingsBackup * | settingsBackup () const |
| Accessor for the settings backup (const). More... | |
| virtual DtDiGuySettingsBackup * | settingsBackup () |
| Accessor for the settings backup. More... | |
| virtual void | backup () |
| Called to back up the settings. More... | |
Public Member Functions inherited from makVrv::DtSharedSettings | |
| DtSharedSettings (const DtSharedSettingsManager &manager) | |
| CTOR. More... | |
| virtual | ~DtSharedSettings () |
| DTOR. More... | |
| boost::shared_mutex & | mutex () |
| Get the mutex for the settings object. More... | |
| SafetyKey | safeToEmitSignals () |
| Create a safety key for the function, see above example. More... | |
| void | setCurrentWriteLock (boost::unique_lock< boost::shared_mutex > *currentWriteLock) |
| No need to call, set by the DtWriteSettingLock object. More... | |
Public Member Functions inherited from makVrv::DtVirtualBaseClass | |
| DtVirtualBaseClass () | |
| Do nothing constructor. More... | |
| virtual | ~DtVirtualBaseClass () |
| Virtual do nothing destructor. More... | |
Static Public Member Functions | |
| static const std::string & | className () |
| The class name for this settings object. More... | |
Protected Member Functions | |
| DtSharedDiGuySettings (DtSharedSettingsManager &manager) | |
| Protected CTOR (Use DtReadSettingsLock and DtWriteSettingsLock). More... | |
Friends | |
| class | DtReadSettingsLock< DtSharedDiGuySettings > |
| Use the DtReadSettingsLock to read the object. More... | |
| class | DtWriteSettingsLock< DtSharedDiGuySettings > |
| Use the DtWriteSettingsLock to write to the object. More... | |
This class maintains the diguy settings.
|
virtual |
DTOR.
|
protected |
Protected CTOR (Use DtReadSettingsLock and DtWriteSettingsLock).
|
virtual |
Gets whether or not diguy instancing is enabled.
|
virtual |
Sets whether or not diguy instancing is enabled.
|
virtual |
Gets lod to use for instanced diguys (1-7)
|
virtual |
Sets lod to use for instanced diguys (1-7)
|
virtual |
Gets whether or not visualizing diguy instancing is enabled.
|
virtual |
Sets whether or not visualizing diguy instancing is enabled.
|
virtual |
Gets whether or not diguy texture variation is enabled.
|
virtual |
Sets whether or not diguy texture variation is enabled.
|
virtual |
Gets Maximum distance to draw diguys (-1 is no limit)
|
virtual |
Sets Maximum distance to draw diguys (-1 is no limit)
|
virtual |
Gets Maximum distance to update diguys motion.
|
virtual |
Sets Maximum distance to update diguys motion.
|
virtual |
Gets whether or not multiple threads will be used for diguy updates.
|
virtual |
Sets whether or not multiple threads will be used for diguy updates.
| void makVrv::DtSharedDiGuySettings::setFromRecord | ( | const makArchives::DtDiGuySettingsRecord & | rec | ) |
Restore the settings from a record.
| void makVrv::DtSharedDiGuySettings::getRecord | ( | makArchives::DtDiGuySettingsRecord & | rec | ) | const |
Get the settings as a record.
|
virtual |
Accessor for the settings backup (const).
Reimplemented from makVrv::DtSharedSettings.
|
virtual |
Accessor for the settings backup.
Reimplemented from makVrv::DtSharedSettings.
|
virtual |
Called to back up the settings.
Reimplemented from makVrv::DtSharedSettings.
|
static |
The class name for this settings object.
|
friend |
Use the DtReadSettingsLock to read the object.
|
friend |
Use the DtWriteSettingsLock to write to the object.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |