VR-Forces 5.0.2 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 ()
 
Setting Getters & Setters
bool drawEnabled () const
 
void setDrawEnabled (bool setting)
 
float drawnDuration () const
 
void setDrawnDuration (float setting)
 
void setFailedIntersectorColor (const DtColorValue &color)
 
const DtColorValuefailedIntersectorColor () const
 
void setOddSegmentIntersectorColor (const DtColorValue &color)
 
const DtColorValueoddSegmentIntersectorColor () const
 
void setEvenSegmentIntersectorColor (const DtColorValue &color)
 
const DtColorValueevenSegmentIntersectorColor () const
 
bool paperMapIntersectionOverride () const
 
void setPaperMapIntersectionOverride (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 ()
 
SafetyKey safeToEmitSignals ()
 
void setCurrentWriteLock (boost::unique_lock< boost::shared_mutex > *currentWriteLock)
 
- 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
 
DtIntersectorSettingsBackupmySettingsBackup
 

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.

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
DtIntersectorSettingsBackup* makVrv::DtSharedIntersectorSettings::mySettingsBackup
protected

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

Document ID: Generated on Sun Dec 4 20:22:03 EST 2022 from SVN revision 249613
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)