![]() |
VR-Forces 4.5 Class Documentation
|
The shared intersector settings. More...

Public Member Functions | |
| virtual | ~DtSharedIntersectorSettings () |
| DTOR. | |
Setting Getters & Setters | |
| bool | drawEnabled () const |
| Get / Set whether intersectors are drawn. | |
| void | setDrawEnabled (bool setting) |
| float | drawnDuration () const |
| Get / Set duration of drawn intersectors. | |
| void | setDrawnDuration (float setting) |
| void | setFailedIntersectorColor (const DtColorValue &color) |
| const DtColorValue & | failedIntersectorColor () const |
| void | setOddSegmentIntersectorColor (const DtColorValue &color) |
| const DtColorValue & | oddSegmentIntersectorColor () const |
| void | setEvenSegmentIntersectorColor (const DtColorValue &color) |
| const DtColorValue & | evenSegmentIntersectorColor () const |
Settings record / backup methods | |
| void | setFromRecord (const makArchives::DtIntersectorSettingsRecord &rec) |
| Restore the settings from a record. | |
| void | getRecord (makArchives::DtIntersectorSettingsRecord &rec) const |
| Get the settings as a record. | |
| virtual const DtIntersectorSettingsBackup * | settingsBackup () const |
| Accessor for the settings backup (const). | |
| virtual DtIntersectorSettingsBackup * | settingsBackup () |
| Accessor for the settings backup. | |
| virtual void | backup () |
| Called to back up the settings. | |
Public Member Functions inherited from makVrv::DtSharedSettings | |
| DtSharedSettings (const DtSharedSettingsManager &manager) | |
| CTOR. | |
| virtual | ~DtSharedSettings () |
| DTOR. | |
| boost::shared_mutex & | mutex () |
| Get the mutex for the settings object. | |
| SafetyKey | safeToEmitSignals () |
| Create a safety key for the function, see above example. | |
| void | setCurrentWriteLock (boost::unique_lock< boost::shared_mutex > *currentWriteLock) |
| No need to call, set by the DtWriteSettingLock object. | |
Public Member Functions inherited from makVrv::DtVirtualBaseClass | |
| DtVirtualBaseClass () | |
| Do nothing constructor. | |
| virtual | ~DtVirtualBaseClass () |
| Virtual do nothing destructor. | |
Static Public Member Functions | |
| static std::string | className () |
| The class name for this settings object. | |
Protected Member Functions | |
| DtSharedIntersectorSettings (DtSharedSettingsManager &manager) | |
| Protected CTOR (Use DtReadSettingsLock and DtWriteSettingsLock). | |
Friends | |
| class | DtReadSettingsLock< DtSharedIntersectorSettings > |
| Use the DtReadSettingsLock to read the object. | |
| class | DtWriteSettingsLock< DtSharedIntersectorSettings > |
| Use the DtWriteSettingsLock to write to the object. | |
The shared intersector settings.
|
virtual |
DTOR.
|
protected |
Protected CTOR (Use DtReadSettingsLock and DtWriteSettingsLock).
| bool makVrv::DtSharedIntersectorSettings::drawEnabled | ( | ) | const |
Get / Set whether intersectors are drawn.
| void makVrv::DtSharedIntersectorSettings::setDrawEnabled | ( | bool | setting | ) |
| float makVrv::DtSharedIntersectorSettings::drawnDuration | ( | ) | const |
Get / Set duration of drawn intersectors.
| void makVrv::DtSharedIntersectorSettings::setDrawnDuration | ( | float | setting | ) |
| void makVrv::DtSharedIntersectorSettings::setFailedIntersectorColor | ( | const DtColorValue & | color | ) |
Set / Get the color used to draw failed intersections. Components are normalized values (0.0 - 1.0).
| const DtColorValue& makVrv::DtSharedIntersectorSettings::failedIntersectorColor | ( | ) | const |
| void makVrv::DtSharedIntersectorSettings::setOddSegmentIntersectorColor | ( | const DtColorValue & | color | ) |
Set / Get the color used to draw the odd numbered segments of drawn intersections. Components are normalized values (0.0 - 1.0).
| const DtColorValue& makVrv::DtSharedIntersectorSettings::oddSegmentIntersectorColor | ( | ) | const |
| void makVrv::DtSharedIntersectorSettings::setEvenSegmentIntersectorColor | ( | const DtColorValue & | color | ) |
Set / Get the color used to draw the even numbered segments of drawn intersections. Components are normalized values (0.0 - 1.0).
| const DtColorValue& makVrv::DtSharedIntersectorSettings::evenSegmentIntersectorColor | ( | ) | const |
| void makVrv::DtSharedIntersectorSettings::setFromRecord | ( | const makArchives::DtIntersectorSettingsRecord & | rec | ) |
Restore the settings from a record.
| void makVrv::DtSharedIntersectorSettings::getRecord | ( | makArchives::DtIntersectorSettingsRecord & | 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 |