VR-Forces Development_Version Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | Public Member Functions | Static Public Member Functions | Public Attributes | Protected Attributes
makVrf::DtTerrainProfileSettingsManager Class Reference

Contains makVrf::DtTerrainProfileSettingsManager class. More...

Inheritance diagram for makVrf::DtTerrainProfileSettingsManager:
Inheritance graph
[legend]

Public Member Functions

 DtTerrainProfileSettingsManager (makVrv::DtDe &)
virtual ~DtTerrainProfileSettingsManager ()
void setAutoSave (bool b)
bool autoSave () const
virtual void getRecord (DtTerrainProfileSettingsRecord &rec) const
virtual void setFromRecord (const DtTerrainProfileSettingsRecord &rec)
virtual void loadDefaults (bool fromFactory=false)
 Loads default or factory record.
virtual void saveAsDefaults ()
 Saves record as default record.
const
makVrv::DtRecordSettingsBackupInterface
settingsBackup () const
makVrv::DtRecordSettingsBackupInterfacesettingsBackup ()
void exportSettings (const std::string &fileName)
 Exports the current cache settings to a file.
void importSettings (const std::string &fileName)
 Import the current cache settings from a file.
void setShowObjectsNearLine (bool)
bool showObjectsNearLine () const
void setShowVertices (bool)
 Shows vertex marker on line at each line point.
bool showVertices () const
void setShowObjectsWithinRange (double)
 Range is in meters.
double showObjectsWithinRange () const
void setSamplingRate (double)
 Sample a point every N meters on the line.
double samplingRate () const
void setMaximumNumberOfSamplePoints (int)
 Sets the maximum number of sample points on a line.
int maximumNumberOfSamplePoints () const
void setShowWhenCreatingIntervisibilityLine (bool)
bool showWhenCreatingIntervisibilityLine () const
void setShowWhenCreatingRoute (bool)
bool showWhenCreatingRoute () const
void setShowWhenEditingRoute (bool)
bool showWhenEditingRoute () const
- Public Member Functions inherited from makVrv::DtVirtualBaseClass
 DtVirtualBaseClass ()
 Do nothing constructor.
virtual ~DtVirtualBaseClass ()
 Virtual do nothing destructor.

Static Public Member Functions

static
DtTerrainProfileSettingsManager
instance (makVrv::DtDe &de)
 Returns instance of the messager.
static void registerInstance (makVrv::DtDe &, DtTerrainProfileSettingsManager *)

Public Attributes

boost::signal< void(const
DtTerrainProfileSettingsRecord &)> 
signal_terrainProfileSettingsChanged
 Sent after anything about the terrain profile options have changed.

Protected Attributes

makVrv::DtDemyDe
makVrv::DtRecordSettingsBackupInterfacemySettingsBackup
DtTerrainProfileSettingsRecord myTerrainProfileSettings

Detailed Description

Contains makVrf::DtTerrainProfileSettingsManager class.

Manager of terrain profile settings. Use this class to set and to be notified of terrain profile changed

Constructor & Destructor Documentation

makVrf::DtTerrainProfileSettingsManager::DtTerrainProfileSettingsManager ( makVrv::DtDe )
virtual makVrf::DtTerrainProfileSettingsManager::~DtTerrainProfileSettingsManager ( )
virtual

Member Function Documentation

static DtTerrainProfileSettingsManager& makVrf::DtTerrainProfileSettingsManager::instance ( makVrv::DtDe de)
static

Returns instance of the messager.

static void makVrf::DtTerrainProfileSettingsManager::registerInstance ( makVrv::DtDe ,
DtTerrainProfileSettingsManager  
)
static
void makVrf::DtTerrainProfileSettingsManager::setAutoSave ( bool  b)
bool makVrf::DtTerrainProfileSettingsManager::autoSave ( ) const
virtual void makVrf::DtTerrainProfileSettingsManager::getRecord ( DtTerrainProfileSettingsRecord rec) const
virtual
virtual void makVrf::DtTerrainProfileSettingsManager::setFromRecord ( const DtTerrainProfileSettingsRecord rec)
virtual
virtual void makVrf::DtTerrainProfileSettingsManager::loadDefaults ( bool  fromFactory = false)
virtual

Loads default or factory record.

virtual void makVrf::DtTerrainProfileSettingsManager::saveAsDefaults ( )
virtual

Saves record as default record.

const makVrv::DtRecordSettingsBackupInterface* makVrf::DtTerrainProfileSettingsManager::settingsBackup ( ) const
inline
makVrv::DtRecordSettingsBackupInterface* makVrf::DtTerrainProfileSettingsManager::settingsBackup ( )
inline
void makVrf::DtTerrainProfileSettingsManager::setShowObjectsNearLine ( bool  )

Accessor/set methods for various options in the terrain profile.

bool makVrf::DtTerrainProfileSettingsManager::showObjectsNearLine ( ) const

Accessor/set methods for various options in the terrain profile.

void makVrf::DtTerrainProfileSettingsManager::setShowVertices ( bool  )

Shows vertex marker on line at each line point.

bool makVrf::DtTerrainProfileSettingsManager::showVertices ( ) const

Accessor/set methods for various options in the terrain profile.

void makVrf::DtTerrainProfileSettingsManager::setShowObjectsWithinRange ( double  )

Range is in meters.

double makVrf::DtTerrainProfileSettingsManager::showObjectsWithinRange ( ) const

Accessor/set methods for various options in the terrain profile.

void makVrf::DtTerrainProfileSettingsManager::setSamplingRate ( double  )

Sample a point every N meters on the line.

double makVrf::DtTerrainProfileSettingsManager::samplingRate ( ) const

Accessor/set methods for various options in the terrain profile.

void makVrf::DtTerrainProfileSettingsManager::setMaximumNumberOfSamplePoints ( int  )

Sets the maximum number of sample points on a line.

int makVrf::DtTerrainProfileSettingsManager::maximumNumberOfSamplePoints ( ) const

Accessor/set methods for various options in the terrain profile.

void makVrf::DtTerrainProfileSettingsManager::setShowWhenCreatingIntervisibilityLine ( bool  )

Accessor/set methods for various options in the terrain profile.

bool makVrf::DtTerrainProfileSettingsManager::showWhenCreatingIntervisibilityLine ( ) const

Accessor/set methods for various options in the terrain profile.

void makVrf::DtTerrainProfileSettingsManager::setShowWhenCreatingRoute ( bool  )

Accessor/set methods for various options in the terrain profile.

bool makVrf::DtTerrainProfileSettingsManager::showWhenCreatingRoute ( ) const

Accessor/set methods for various options in the terrain profile.

void makVrf::DtTerrainProfileSettingsManager::setShowWhenEditingRoute ( bool  )

Accessor/set methods for various options in the terrain profile.

bool makVrf::DtTerrainProfileSettingsManager::showWhenEditingRoute ( ) const

Accessor/set methods for various options in the terrain profile.

void makVrf::DtTerrainProfileSettingsManager::exportSettings ( const std::string &  fileName)

Exports the current cache settings to a file.

void makVrf::DtTerrainProfileSettingsManager::importSettings ( const std::string &  fileName)

Import the current cache settings from a file.

Member Data Documentation

boost::signal<void (const DtTerrainProfileSettingsRecord&)> makVrf::DtTerrainProfileSettingsManager::signal_terrainProfileSettingsChanged

Sent after anything about the terrain profile options have changed.

makVrv::DtDe& makVrf::DtTerrainProfileSettingsManager::myDe
protected
makVrv::DtRecordSettingsBackupInterface* makVrf::DtTerrainProfileSettingsManager::mySettingsBackup
protected
DtTerrainProfileSettingsRecord makVrf::DtTerrainProfileSettingsManager::myTerrainProfileSettings
protected

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

Document ID: Generated on Tue Mar 8 22:13:38 EST 2016 from SVN revision 162938
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)