VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | Friends
makVrv::DtSharedIntersectorSettings Class Reference

The shared intersector settings.

Inheritance diagram for makVrv::DtSharedIntersectorSettings:
Inheritance graph
[legend]

Public Member Functions

virtual ~DtSharedIntersectorSettings ()
 
bool oceanWaveIntersectionsEnabled () const
 
void setOceanWaveIntersectionsEnabled (bool setting)
 
Setting Getters & Setters
bool drawEnabled () const
 
void setDrawEnabled (bool setting)
 
float drawnDuration () const
 
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
 
bool paperMapIntersectionOverride () const
 
void setPaperMapIntersectionOverride (bool setting)
 
bool oceanWaveIntersectionsEnabled (int type) const
 
void setOceanWaveIntersectionsEnabled (int type, bool setting)
 
bool oceanWaveIntersectionsForCigiLos () const
 
void setOceanWaveIntersectionsForCigiLos (bool setting)
 
bool oceanWaveIntersectionsForCigiHatHot () const
 
void setOceanWaveIntersectionsForCigiHatHot (bool setting)
 
bool oceanWaveIntersectionsForObserverSpeedScaling () const
 
void setOceanWaveIntersectionsForObserverSpeedScaling (bool setting)
 
Settings record / backup methods
void setFromRecord (const makArchives::DtIntersectorSettingsRecord &rec)
 
void getRecord (makArchives::DtIntersectorSettingsRecord &rec) const
 
virtual const
DtIntersectorSettingsBackup * 
settingsBackup () const
 
virtual
DtIntersectorSettingsBackup * 
settingsBackup ()
 
virtual void backup ()
 
- Public Member Functions inherited from makVrv::DtSharedSettings
 DtSharedSettings (const DtSharedSettingsManager &manager)
 
virtual ~DtSharedSettings ()
 
boost::shared_mutex & mutex ()
 
virtual std::vector
< std::function< void()> > & 
eventSignalsToEmit ()
 
virtual const std::vector
< std::function< void()> > & 
eventSignalsToEmit () const
 
- Public Member Functions inherited from makVrv::DtVirtualBaseClass
 DtVirtualBaseClass ()
 
virtual ~DtVirtualBaseClass ()
 

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 >
 

Constructor & Destructor Documentation

virtual makVrv::DtSharedIntersectorSettings::~DtSharedIntersectorSettings ( )
virtual

DTOR.

makVrv::DtSharedIntersectorSettings::DtSharedIntersectorSettings ( DtSharedSettingsManager &  manager)
protected

Protected CTOR (Use DtReadSettingsLock and DtWriteSettingsLock).

Member Function Documentation

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.

bool makVrv::DtSharedIntersectorSettings::oceanWaveIntersectionsEnabled ( int  type) const

Get / Set whether ocean wave intersections are enabled.

Parameters
typeIntersection 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.

Parameters
typeIntersection 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 const DtIntersectorSettingsBackup* makVrv::DtSharedIntersectorSettings::settingsBackup ( ) const
virtual

Accessor for the settings backup (const).

Reimplemented from makVrv::DtSharedSettings.

virtual DtIntersectorSettingsBackup* makVrv::DtSharedIntersectorSettings::settingsBackup ( )
virtual

Accessor for the settings backup.

Reimplemented from makVrv::DtSharedSettings.

virtual void makVrv::DtSharedIntersectorSettings::backup ( )
virtual

Called to back up the settings.

Reimplemented from makVrv::DtSharedSettings.

static const std::string& makVrv::DtSharedIntersectorSettings::className ( )
static

The class name for this settings object.

Friends And Related Function Documentation

Use the DtReadSettingsLock to read the object.

Use the DtWriteSettingsLock to write to the object.

Member Data Documentation

bool makVrv::DtSharedIntersectorSettings::myDrawEnabled
protected
float makVrv::DtSharedIntersectorSettings::myDrawnDuration
protected
DtColorValue makVrv::DtSharedIntersectorSettings::myFailedIntersectorColor
protected
DtColorValue makVrv::DtSharedIntersectorSettings::myOddSegmentIntersectorColor
protected
DtColorValue makVrv::DtSharedIntersectorSettings::myEvenSegmentIntersectorColor
protected
bool makVrv::DtSharedIntersectorSettings::myPaperMapIntersectionOverride
protected
bool makVrv::DtSharedIntersectorSettings::myOceanWaveIntersectionsEnabled
protected
bool makVrv::DtSharedIntersectorSettings::myOceanWaveIntersectionsForCigiLos
protected
bool makVrv::DtSharedIntersectorSettings::myOceanWaveIntersectionsForCigiHatHot
protected
bool makVrv::DtSharedIntersectorSettings::myOceanWaveIntersectionsForObserverSpeedScaling
protected
DtIntersectorSettingsBackup* makVrv::DtSharedIntersectorSettings::mySettingsBackup
protected

The documentation for this class was generated from the following file:

Document ID: Generated on Thu Oct 15 21:27:02 EDT 2026 from SVN revision 296421
Copyright © 2005-2026 MAK Technologies. All Rights Reserved (www.mak.com)