![]() |
VR-Forces Developer's Guide
|
The shared intersector settings.

Static Public Member Functions | |
| static const std::string & | className () |
Protected Member Functions | |
| DtSharedIntersectorSettings (DtSharedSettingsManager &manager) | |
Protected Attributes | |
| bool | myDrawEnabled |
| float | myDrawnDuration |
| DtColorValue | myFailedIntersectorColor |
| DtColorValue | myOddSegmentIntersectorColor |
| DtColorValue | myEvenSegmentIntersectorColor |
| bool | myPaperMapIntersectionOverride |
| bool | myOceanWaveIntersectionsEnabled |
| bool | myOceanWaveIntersectionsForCigiLos |
| bool | myOceanWaveIntersectionsForCigiHatHot |
| bool | myOceanWaveIntersectionsForObserverSpeedScaling |
| DtIntersectorSettingsBackup * | mySettingsBackup |
Protected Attributes inherited from makVrv::DtSharedSettings | |
| const DtSharedSettingsManager & | myManager |
| boost::shared_mutex | myMutex |
| std::vector< std::function < void()> > | myEventSignalsToEmit |
Friends | |
| class | DtReadSettingsLock< DtSharedIntersectorSettings > |
| class | DtWriteSettingsLock< DtSharedIntersectorSettings > |
|
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 | ) |
Get / Set whether intersectors are drawn.
| float makVrv::DtSharedIntersectorSettings::drawnDuration | ( | ) | const |
Get / Set duration of drawn intersectors.
| void makVrv::DtSharedIntersectorSettings::setDrawnDuration | ( | float | setting | ) |
Get / Set duration of drawn intersectors.
| 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 |
Set / Get the color used to draw failed intersections. Components are normalized values (0.0 - 1.0).
| 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 |
Set / Get the color used to draw the odd numbered segments of drawn intersections. Components are normalized values (0.0 - 1.0).
| 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 |
Set / Get the color used to draw the even numbered segments of drawn intersections. Components are normalized values (0.0 - 1.0).
| bool makVrv::DtSharedIntersectorSettings::paperMapIntersectionOverride | ( | ) | const |
Get / Set whether the visible layers intersect in the DtOsgEarthPaperMapManager regardless of layer settings in the .earth file.
| void makVrv::DtSharedIntersectorSettings::setPaperMapIntersectionOverride | ( | bool | setting | ) |
Get / Set whether the visible layers intersect in the DtOsgEarthPaperMapManager regardless of layer settings in the .earth file.
Get / Set whether ocean wave intersections are enabled.
| type | Intersection type: 0 - Global 1 - CIGI LOS 2 - CIGI HAT/HOT 4 - Observer Speed Scaling Intersections |
| void makVrv::DtSharedIntersectorSettings::setOceanWaveIntersectionsEnabled | ( | int | type, |
| bool | setting | ||
| ) |
Get / Set whether ocean wave intersections are enabled.
| type | Intersection type: 0 - Global 1 - CIGI LOS 2 - CIGI HAT/HOT 4 - Observer Speed Scaling Intersections |
| bool makVrv::DtSharedIntersectorSettings::oceanWaveIntersectionsEnabled | ( | ) | const |
Get / Set whether ocean wave intersections are enabled globally.
| void makVrv::DtSharedIntersectorSettings::setOceanWaveIntersectionsEnabled | ( | bool | setting | ) |
| bool makVrv::DtSharedIntersectorSettings::oceanWaveIntersectionsForCigiLos | ( | ) | const |
Get / Set whether ocean wave intersections are enabled for CIGI LOS requests.
| void makVrv::DtSharedIntersectorSettings::setOceanWaveIntersectionsForCigiLos | ( | bool | setting | ) |
Get / Set whether ocean wave intersections are enabled for CIGI LOS requests.
| bool makVrv::DtSharedIntersectorSettings::oceanWaveIntersectionsForCigiHatHot | ( | ) | const |
Get / Set whether ocean wave intersections are enabled for CIGI HAT/HOT requests.
| void makVrv::DtSharedIntersectorSettings::setOceanWaveIntersectionsForCigiHatHot | ( | bool | setting | ) |
Get / Set whether ocean wave intersections are enabled for CIGI HAT/HOT requests.
| bool makVrv::DtSharedIntersectorSettings::oceanWaveIntersectionsForObserverSpeedScaling | ( | ) | const |
Get / Set whether ocean wave intersections are enabled for Observer Speed Scaling.
| void makVrv::DtSharedIntersectorSettings::setOceanWaveIntersectionsForObserverSpeedScaling | ( | bool | setting | ) |
Get / Set whether ocean wave intersections are enabled for Observer Speed Scaling.
| 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 |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |