VR-Forces 4.10 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Attributes
makVrf::DtVrfIntervisibilitySettingsManager Class Reference
Inheritance diagram for makVrf::DtVrfIntervisibilitySettingsManager:
Inheritance graph
[legend]

Public Member Functions

 DtVrfIntervisibilitySettingsManager (makVrv::DtDe &de)
 Protected CTOR ( use instance(..) ). More...
 
virtual bool isAttachableObjectType (makVrv::DtUniqueID elementId) const
 Checks whether the entity with the given element id can be attached to. More...
 
virtual void addAttachableType (const DtEntityType &)
 
virtual bool isAttachableType (const DtEntityType &) const
 
virtual void removeAttachableType (const DtEntityType &)
 
- Public Member Functions inherited from makVrv::DtIntervisibilitySettingsManager
virtual ~DtIntervisibilitySettingsManager ()
 DTOR. More...
 
void setIntervisibilityEnabled (bool enabled)
 Sets whether intervisibility objects are globally seen/hidden. More...
 
bool intervisibilityEnabled () const
 Gets whether intervisibility objects are globally seen/hidden. More...
 
void setLeftClickMakesObjectsPermanent (bool enabled)
 Sets whether left-clicking places object or starts a new one. More...
 
bool leftClickMakesObjectsPermanent () const
 Gets whether left-clicking places object or starts a new one. More...
 
void setOriginIntervisibilityElevation (double height)
 Sets the distance above the origin to place the intervisibility line (in meters). More...
 
double originIntervisibilityElevation () const
 Gets the distance above the origin the intervisibility line is placed (in meters). More...
 
void setEndPointIntervisibilityElevation (double height)
 Sets the distance above the end point to place the intervisibility line (in meters). More...
 
double endPointIntervisibilityElevation () const
 Gets the distance above the end point the intervisibility line is placed (in meters). More...
 
void setFanModeSamplingRate (double radAngle)
 Sets the angle between fan mode samples (in radians). More...
 
double fanModeSamplingRate () const
 Gets the angle between fan mode samples (in radians). More...
 
void setEntityFanUpdateRate (double interval)
 Sets the time between entity fan mode updates (in seconds). More...
 
double entityFanUpdateRate () const
 Gets the time between entity fan mode updates (in seconds). More...
 
void setHatLinesEnabled (bool hatEnabled)
 Sets whether height above terrain lines are enabled. More...
 
bool hatLinesEnabled () const
 Gets whether height above terrain lines are enabled. More...
 
void setHatLinesOnSelectionOnly (bool selOnly)
 Sets whether HAT lines are shown only when the object is selected. More...
 
bool hatLinesOnSelectionOnly () const
 Gets whether HAT lines are shown only when the object is selected. More...
 
void setVisibleColor (float r, float g, float b, float a)
 Sets the color of the visible portion of the intervisibility line. More...
 
void visibleColor (float &r, float &g, float &b, float &a) const
 Gets the color of the visible portion of the intervisibility line. More...
 
void setBlockedColor (float r, float g, float b, float a)
 Sets the color of the blocked portion of the intervisibility line. More...
 
void blockedColor (float &r, float &g, float &b, float &a) const
 Gets the color of the blocked portion of the intervisibility line. More...
 
void setCircleColor (float r, float g, float b, float a)
 Sets the color of the circle outline of a fan, grid line or entity intervisibility. More...
 
void circleColor (float &r, float &g, float &b, float &a) const
 Gets the color of the circle outline of a fan, grid line or entity intervisibility. More...
 
void setRangeInfoLabelsEnabled (bool enabled)
 Sets whether intervisibility lines display range ruler information. More...
 
bool rangeInfoLabelsEnabled () const
 Gets whether intervisibility lines display range ruler information. More...
 
void setRangeInfoLabelBackgroundColor (float r, float g, float b)
 Sets the background color for the range info labels. More...
 
void rangeInfoLabelBackgroundColor (float &r, float &g, float &b)
 Gets the background color for the range info labels. More...
 
void setRangeInfoLabelBackgroundOpacity (float opacity)
 Sets the opacity/transparency level for the range info label backgrounds. More...
 
float rangeInfoLabelBackgroundOpacity () const
 Gets the opacity/transparency level for the range info label backgrounds. More...
 
void setRangeInfoAltChangeFieldEnabled (bool enabled)
 Sets whether the range info's altitude change field is enabled. More...
 
bool rangeInfoAltChangeFieldEnabled () const
 Gets whether the range info's altitude change field is enabled. More...
 
void setRangeInfoLocationFieldEnabled (bool enabled)
 Sets whether the range info's location field is enabled. More...
 
bool rangeInfoLocationFieldEnabled () const
 Gets whether the range info's location field is enabled. More...
 
void setRangeInfoHeadingFieldEnabled (bool enabled)
 Sets whether the range info's heading field is enabled. More...
 
bool rangeInfoHeadingFieldEnabled () const
 Gets whether the range info's heading field is enabled. More...
 
void setRangeInfoRangeFieldEnabled (bool enabled)
 Sets whether the range info's range field is enabled. More...
 
bool rangeInfoRangeFieldEnabled () const
 Gets whether the range info's range field is enabled. More...
 
virtual void setFromRecord (const makArchives::DtIntervisibilitySettingsRecord &rec)
 Use the settings from the given settings record. More...
 
virtual void getRecord (makArchives::DtIntervisibilitySettingsRecord &rec) const
 Populate the given record with the current settings. More...
 
virtual bool isAttachableObjectType (DtElementEntry::ObjectType t) const
 Checks whether the given object type is one that can be attached to. More...
 
- Public Member Functions inherited from makVrv::DtBaseSettingsManager< makArchives::DtIntervisibilitySettingsRecord >
 DtBaseSettingsManager (DtDe &de, const std::string &name, const std::string &displayName, const std::string &ext)
 CTOR. More...
 
virtual ~DtBaseSettingsManager ()
 Virtual DTOR. More...
 
virtual void initializeBackup ()
 Creates a backup of the settings' current state. More...
 
- Public Member Functions inherited from makVrv::DtCommonBaseSettingsManager< makArchives::DtIntervisibilitySettingsRecord >
 DtCommonBaseSettingsManager (DtDe &de, const std::string &name, const std::string &displayName, const std::string &ext)
 CTOR The name, displayName, and extension parameters are used for creating the settings object (DtDeSettings) and backup, and for constructing the filename when readin/writing the records to disk. More...
 
virtual ~DtCommonBaseSettingsManager ()
 Virtual DTOR. More...
 
virtual void autoSaveIfNecessary ()
 Saves the current settings as defaults if autosave is enabled. More...
 
virtual void setAutoSave (bool doit)
 Sets whether autosave is enabled for the settings manager. More...
 
virtual bool autoSave () const
 Gets whether autosave is enabled for the settings manager. More...
 
virtual void setUseDefaultSettingsRecord (bool useit)
 Sets whether setting initialization should check for a default record. More...
 
virtual bool useDefaultSettingsRecord () const
 Gets whether setting initialization should check for a default record. More...
 
virtual DtDeSettingssettings ()
 Accessor for the manager's DtDeSettings object. More...
 
virtual const DtDeSettingssettings () const
 Accessor for the manager's DtDeSettings object (const). More...
 
virtual DtSettingsBackupsettingsBackup ()
 Accessor for the manager's settings backup. More...
 
virtual const DtSettingsBackupsettingsBackup () const
 Accessor for the manager's settings backup (const). More...
 
virtual void loadDefaults ()
 Initializes the settings and creates a backup. More...
 
virtual void saveDefaultSettings ()
 Saves the current settings' state as the default (on disk). More...
 
virtual void loadDefaultSettings (bool loadOnlyFactorySettings)
 Loads the default settings from disk. More...
 
virtual void importSettings (const std::string &filePath)
 Load the settings' state from the given file. More...
 
virtual void exportSettings (const std::string &filePath) const
 Save the current settings' state to the given file. More...
 
virtual void getSplitRecord (std::vector< makArchives::DtIntervisibilitySettingsRecord > &rec, std::vector< std::string > &fileNames)
 For directory support, split the main record into different sub-records and give them each a file name. More...
 
virtual void addRecords (makArchives::DtIntervisibilitySettingsRecord &rec, makArchives::DtIntervisibilitySettingsRecord &combinedRec)
 For directory support, when reading in a directory, add the records from each file to the combined record. More...
 
- Public Member Functions inherited from makVrv::DtVirtualBaseClass
 DtVirtualBaseClass ()
 Do nothing constructor. More...
 
virtual ~DtVirtualBaseClass ()
 Virtual do nothing destructor. More...
 

Protected Attributes

std::vector< DtEntityType > myAttachableTypes
 
- Protected Attributes inherited from makVrv::DtIntervisibilitySettingsManager
bool myIntervisibilityEnabled
 
bool myLeftClickMakesObjectsPermanent
 
bool myHatLinesEnabled
 
bool myHatLinesOnSelectionOnly
 
double myOriginIntervisibilityElevation
 
double myEndPointIntervisibilityElevation
 
double myFanModeSamplingRate
 
double myEntityFanUpdateRate
 
float myVisibleColor [4]
 
float myBlockedColor [4]
 
float myCircleColor [4]
 
bool myRangeInfoLabelsEnabled
 
float myRangeInfoBackgroundColor [4]
 
bool myRangeInfoAltChangeFieldEnabled
 
bool myRangeInfoLocationFieldEnabled
 
bool myRangeInfoHeadingFieldEnabled
 
bool myRangeInfoRangeFieldEnabled
 
- Protected Attributes inherited from makVrv::DtCommonBaseSettingsManager< makArchives::DtIntervisibilitySettingsRecord >
DtSignalConnectionManager myConnections
 
std::string myName
 
std::string myExtension
 
std::string myDisplayName
 
bool myUseDefaultSettingsRecordFlag
 
bool myAutoSaveFlag
 
DtSettingsBackupmySettingsBackup
 
DtDemyDe
 

Additional Inherited Members

- Static Public Member Functions inherited from makVrv::DtIntervisibilitySettingsManager
static
DtIntervisibilitySettingsManager
instance (DtDe &de)
 Get an instance of the settings manager. More...
 
- Public Attributes inherited from makVrv::DtIntervisibilitySettingsManager
boost::signalslib::signal
< void(bool)> 
signal_intervisibilityEnabledSet
 
boost::signalslib::signal
< void(bool)> 
signal_leftClickMakesObjectsPermanentSet
 
boost::signalslib::signal
< void(double)> 
signal_originIntervisibilityElevationSet
 
boost::signalslib::signal
< void(double)> 
signal_endPointIntervisibilityElevationSet
 
boost::signalslib::signal
< void(double)> 
signal_fanModeSamplingRateSet
 
boost::signalslib::signal
< void(double)> 
signal_entityFanUpdateRateSet
 
boost::signalslib::signal
< void(bool)> 
signal_hatLinesEnabledSet
 
boost::signalslib::signal
< void(bool)> 
signal_hatLinesOnSelectionOnlySet
 
boost::signalslib::signal
< void(float r, float g, float
b, float a)> 
signal_visibleColorSet
 
boost::signalslib::signal
< void(float r, float g, float
b, float a)> 
signal_blockedColorSet
 
boost::signalslib::signal
< void(float r, float g, float
b, float a)> 
signal_circleColorSet
 
boost::signalslib::signal
< void(bool)> 
signal_rangeInfoLabelsEnabledSet
 
boost::signalslib::signal
< void(float r, float g, float
b, float a)> 
signal_rangeInfoBackgroundColorSet
 
boost::signalslib::signal
< void(bool)> 
signal_rangeInfoAltChangeFieldEnabledChanged
 
boost::signalslib::signal
< void(bool)> 
signal_rangeInfoLocationFieldEnabledChanged
 
boost::signalslib::signal
< void(bool)> 
signal_rangeInfoHeadingFieldEnabledChanged
 
boost::signalslib::signal
< void(bool)> 
signal_rangeInfoRangeFieldEnabledChanged
 
- Protected Types inherited from makVrv::DtBaseSettingsManager< makArchives::DtIntervisibilitySettingsRecord >
typedef DtRecordSettingsBackup
< DtBaseSettingsManager
< makArchives::DtIntervisibilitySettingsRecord >
, makArchives::DtIntervisibilitySettingsRecord
RecordBackupType
 
- Protected Member Functions inherited from makVrv::DtIntervisibilitySettingsManager
 DtIntervisibilitySettingsManager (DtDe &de)
 Protected CTOR ( use instance(..) ). More...
 

Constructor & Destructor Documentation

makVrf::DtVrfIntervisibilitySettingsManager::DtVrfIntervisibilitySettingsManager ( makVrv::DtDe de)

Protected CTOR ( use instance(..) ).

Member Function Documentation

virtual bool makVrf::DtVrfIntervisibilitySettingsManager::isAttachableObjectType ( makVrv::DtUniqueID  elementId) const
virtual

Checks whether the entity with the given element id can be attached to.

Reimplemented from makVrv::DtIntervisibilitySettingsManager.

virtual void makVrf::DtVrfIntervisibilitySettingsManager::addAttachableType ( const DtEntityType &  )
virtual
virtual bool makVrf::DtVrfIntervisibilitySettingsManager::isAttachableType ( const DtEntityType &  ) const
virtual
virtual void makVrf::DtVrfIntervisibilitySettingsManager::removeAttachableType ( const DtEntityType &  )
virtual

Member Data Documentation

std::vector<DtEntityType> makVrf::DtVrfIntervisibilitySettingsManager::myAttachableTypes
protected

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

Document ID: Generated on Tue Sep 21 17:42:52 EDT 2021 from SVN revision 234861
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)