![]() |
VR-Forces 4.6 Class Documentation
|
The initialization configuration for the makVrv::DtDe. More...

Classes | |
| struct | DisplayConnection |
Public Types | |
| enum | DeMode { NoMode = 0, MasterMode = 1, SlaveMode = 2, DeMode_end } |
| enum | DeFeatures { Features_None = 0, Features_2D = 1, Features_3D = 2, Features_Stealth = Features_3D | Features_2D, DeFeatures_end } |
| Defines the features, features should be masked. More... | |
| typedef std::vector< std::pair < std::string, DtConfiguration > > | DriverInstanceList |
| A driver instance list is a list of pairs where the first parameter is the class name of the driver and the second parameter is the configuration. | |
| typedef std::map< std::string, std::string > | AuthorizationCodeMap |
| A map of authorization keys and their values. | |
| typedef std::vector< std::pair < std::string, makArchives::DtObserverStateRecord > > | ObserverStateMap |
| A map of observer names, to DtObserverStateRecords. | |
| typedef std::map< std::string, DtBaseRecordHolder * > | DefaultRecordMap |
| A map of default records. | |
| typedef std::vector < DisplayConnection > | DisplayConnections |
Public Types inherited from makVrv::DtConfiguration | |
| typedef std::map< std::string, std::string > | ParameterMap |
Public Member Functions | |
| DtDeInitializer (const std::string &name="") | |
| Constructor. | |
| DtDeInitializer (const DtDeInitializer &initializer) | |
| Copy Constructor. | |
| DtDeInitializer & | operator= (const DtDeInitializer &initializer) |
| Assignment Op. | |
| virtual | ~DtDeInitializer () |
| Destructor. | |
| void | setFeatures (DeFeatures features) |
| Set the features. | |
| DeFeatures | features () const |
| Get the current features. | |
| bool | featureSupported (DeFeatures feature) const |
| Check to see if a feature is supported. | |
| void | setDriverConfiguration (const DtDriverConfiguration &) |
| Set the driver configuration. | |
| void | setGuiConfiguration (const DtGuiConfiguration &config) |
| Set the driver configuration. | |
| void | setInputDriverConfiguration (const DtInputDriverConfiguration &config) |
| Set the input driver configuration. | |
| const std::string & | displayName () const |
| Returns the name of the active local display configuration. | |
| void | setDisplayEngineName (const std::string &name) |
| Set the active local display engine configuration. | |
| DtDeInitializer::DeMode | deMode () const |
| Return myDeMode;. | |
| void | setDeMode (DtDeInitializer::DeMode mode) |
| Set myDeMode. | |
| void | setDefaultDrivers (const DriverInstanceList &drivers) |
| Set the driver instance list. | |
| const DriverInstanceList & | defaultDrivers () const |
| Get the default driver list. | |
| void | setDeConfiguration (const DtDeConfiguration &config) |
| Set the initial de configuration. | |
| DtDeConfiguration & | deConfiguration () |
| Get the initial de configuration. | |
| const DtDeConfiguration & | deConfiguration () const |
| Get the initial de configuration. | |
| void | setCoordinateSystem (const std::string &coordinateSystem, const std::string ¶meters) |
| Set the coordinate system and parameters. | |
| const std::string & | coordinateSystem () const |
| Get the name of the coordinate system. | |
| const std::string & | coordinateSystemParameters () const |
| Get the parameters of the coordinate system. | |
| void | setNotifyLevel (DtDebugLog::PrintLevel level) |
| Set the initial notify level of print output. | |
| DtDebugLog::PrintLevel | notifyLevel () const |
| Get the initial notify level of print output. | |
| void | setLogFileName (const std::string &filename) |
| Set the log file name. | |
| const std::string & | logFileName () const |
| Get the name of the output log. | |
| void | setModelPreloadFilename (const std::string &filename) |
| Set the preload file name. | |
| const std::string & | modelPreloadFilename () const |
| Get the name of the preload file. | |
| void | setDiscoveredModelPreloadFilename (const std::string &filename) |
| Set the missing model preload file name. | |
| const std::string & | discoveredModelPreloadFilename () const |
| Get the name of the missing preload file. | |
| void | setAutoLoadDrivers (bool autoLoad) |
| Set whether saved drivers in the driver directory should be automatically loaded. | |
| bool | autoLoadDrivers () const |
| Get whether saved drivers in the driver directory should be automatically loaded. | |
| void | setAutoStartDrivers (const std::vector< std::string > &names) |
| Set the auto start drivers. | |
| const std::vector< std::string > & | autoStartDrivers () const |
| Get the auto start drivers. | |
| void | setAuthorizationCodeMap (const AuthorizationCodeMap &map) |
| Assigns the authorization code mapping. | |
| void | addAuthorizationCodeMapping (const std::string &key, const std::string &value) |
| Adds an authorization code mapping. | |
| void | removeAuthorizationCodeMapping (const std::string &key) |
| Removes an authorization code mapping. | |
| const std::string * | findAuthorizationCodeValue (const std::string &key) const |
| Find an authorization code value from a key. | |
| void | setObserverStateMap (const ObserverStateMap &osm) |
| Set the ObserverStateMap. Used by DtInputDriver when creating observers. | |
| const ObserverStateMap & | observerStateMap () const |
| Get the ObserverStateMap. Used by DtInputDriver when creating observers. | |
| const std::vector< std::string > & | mappingFilesToLoad () const |
| Get the mapping files to load. | |
| void | setMappingFilesToLoad (const std::vector< std::string > &) |
| Set the mapping files to load. | |
| const std::vector< std::string > & | entityElementDefinitionHiersToMerge () const |
| Get the list of files and/or dirs merged into the entity element definition hierarchy. | |
| void | setEntityElementDefinitionHiersToMerge (const std::vector< std::string > &filesOrDirs) |
| Set files or dirs to use to merge into the entity element definition hierarchy. | |
| const std::vector< std::string > & | entityElementDefinitionLeafsToMerge () const |
| Get the paths (files or dirs) for the additional entity element definitions (leaf nodes) to merge into the entity element definitions. | |
| void | setEntityElementDefinitionLeafsToMerge (const std::vector< std::string > &filesOrDirs) |
| Set paths (files or dirs) to read and merge into the entity element definitions. | |
| const std::vector< std::string > & | aggregateElementDefinitionHiersToMerge () const |
| Get the list of files and/or dirs merged into the aggregate (unit) element definition hierarchy. | |
| void | setAggregateElementDefinitionHiersToMerge (const std::vector< std::string > &filesOrDirs) |
| Set files or dirs to use to merge into the aggregate element definition hierarchy. | |
| const std::vector< std::string > & | aggregateElementDefinitionLeafsToMerge () const |
| Get the paths (files or dirs) for the additional aggregate (unit) element definitions (leaf nodes) to merge into the entity element definitions. | |
| void | setAggregateElementDefinitionLeafsToMerge (const std::vector< std::string > &filesOrDirs) |
| Set paths (files or dirs) to read and merge into the aggregate element definitions. | |
| const std::vector< std::string > & | tacticalGraphicsElementDefinitionHiersToMerge () const |
| Get the list of files and/or dirs merged into the tactical graphics element definition hierarchy. | |
| void | setTacticalGraphicsElementDefinitionHiersToMerge (const std::vector< std::string > &filesOrDirs) |
| Set paths (files or dirs) to read and merge into the tactical graphics element definitions. | |
| const std::vector< std::string > & | tacticalGraphicsElementDefinitionLeafsToMerge () const |
| Get the paths (files or dirs) for the additional tactical graphics element definitions (leaf nodes) to merge into the entity element definitions. | |
| void | setTacticalGraphicsElementDefinitionLeafsToMerge (const std::vector< std::string > &filesOrDirs) |
| Set paths (files or dirs) to read and merge into the tactical graphics element definitions. | |
| const std::vector< std::string > & | modelDefinitionFilesOrDirsToMerge () const |
| Get the model definition files or dirs (or both) to load. | |
| void | setModelDefinitionFilesOrDirsToMerge (const std::vector< std::string > &filesOrDirs) |
| Set the model definition files or dirs (*.ommx) to load. | |
| const std::vector< std::string > & | entityTypeMapFilesOrDirsToMerge () const |
| Get the entity type mapping files or dirs (or both) to load. | |
| void | setEntityTypeMapFilesOrDirsToMerge (const std::vector< std::string > &filesOrDirs) |
| Set the entity type mapping files or dirs (*.metx) to load. | |
| const std::vector< std::string > & | aggregateTypeMapFilesOrDirsToMerge () const |
| Get the aggregate type mapping files or dirs (or both) to load. | |
| void | setAggregateTypeMapFilesOrDirsToMerge (const std::vector< std::string > &filesOrDirs) |
| Set the aggregate type mapping files or dirs (*.magx) to load. | |
| const std::vector< std::string > & | tacticalGraphicsTypeMapFilesOrDirsToMerge () const |
| Get the tactical graphics type mapping files or dirs (or both) to load. | |
| void | setTacticalGraphicsTypeMapFilesOrDirsToMerge (const std::vector< std::string > &filesOrDirs) |
| Set the tactical graphics type mapping files or dirs (*.mtgx) to load. | |
| const DisplayConnections & | displayConnections () const |
| Get the list of connections to make. | |
| DisplayConnections & | displayConnections () |
| void | setDisplayConnections (const DisplayConnections &displayConnections) |
| void | setAutoLoadFile (const std::string &file) |
| Set the file to automatically load. | |
| const std::string & | autoLoadFile () const |
| Get the file to automatically load. | |
| void | setStartFullScreen (bool) |
| Set whether the application should start up in fullscreen mode. | |
| bool | startFullScreen () const |
| Get whether the application should start up in fullscreen mode. | |
| void | addDefaultSettingsRecord (const std::string &recordName, const DtBaseRecordHolder &record) |
| Add a new record holder. | |
| void | removeDefaultSettingsRecord (const std::string &record) |
| Remove a default record. | |
| template<typename RecordType > | |
| bool | findDefaultSettingsRecord (const std::string &name, RecordType &record) const |
| Find a settings default records. | |
| void | setConstrainToTerrain (bool constrain) |
| Set the observers to initially constrain to terrain. | |
| bool | constrainToTerrain () const |
| void | setSpeedScaling (bool scale) |
| Set the observers to initially scale speed. | |
| bool | speedScaling () const |
| void | setVertexSelectsParent (bool selectsParent) |
| Set whether selecting a vertex actually selects its parent object. | |
| bool | vertexSelectsParent () const |
| void | setDoubleBuffering (bool buffer) |
| Set whether to double buffer the windows. | |
| bool | doubleBuffer () const |
| void | setVSync (bool sync) |
| Set whether to vsync the windows. | |
| bool | vsync () const |
| void | setFixedFrameRate (unsigned int framesPerSecond) |
| Set the number of frames per second to render. | |
| unsigned int | fixedFrameRate () const |
| void | setNumDepthBits (unsigned short numBits) |
| Set the number of depth bits for the window(24,32) | |
| unsigned short | numDepthBits () const |
| void | setNumStencilBits (unsigned short numBits) |
| Set the number of stencil bits for the window(0,8) | |
| unsigned short | numStencilBits () const |
| void | setNumAlphaBits (unsigned short numBits) |
| Set the number of alpha bits for the window(0,8) | |
| unsigned short | numAlphaBits () const |
| void | setBatchedRendering (bool val) |
| Set whether to use batched instance rendering. | |
| bool | batchedRendering () const |
| Get whether batched instance rendering is enabled. | |
| void | setNoEntityDefinitionLoading (bool val) |
| Set whether to use appData for entity definitions. | |
| bool | noEntityDefinitionLoading () const |
| Get whether using appData for entity definitions is enabled. | |
| void | setNoAggregateDefinitionLoading (bool val) |
| Set whether to use appData for entity definitions. | |
| bool | noAggregateDefinitionLoading () const |
| Get whether using appData for entity definitions is enabled. | |
| void | setNoTacticalGraphicsDefinitionLoading (bool val) |
| Set whether to use appData for entity definitions. | |
| bool | noTacticalGraphicsDefinitionLoading () const |
| Get whether using appData for entity definitions is enabled. | |
| void | setNoModelDefinitionLoading (bool val) |
| Set whether to use appData for model definitions. | |
| bool | noModelDefinitionLoading () const |
| Get whether to use appData for model definitions. | |
| void | setNoEntityTypeMapLoading (bool val) |
| Set whether to use appData for the entity type map. | |
| bool | noEntityTypeMapLoading () const |
| Get whether to use appData for the entity type map. | |
| void | setNoAggregateTypeMapLoading (bool val) |
| Set whether to use appData for the aggregate type map. | |
| bool | noAggregateTypeMapLoading () const |
| Get whether to use appData for the aggregate type map. | |
| void | setNoTacticalGraphicsTypeMapLoading (bool val) |
| Set whether to use appData for the tactical graphics type map. | |
| bool | noTacticalGraphicsTypeMapLoading () const |
| Get whether to use appData for the tactical graphics type map. | |
| void | setIgnoreZoomForSpeedtreeLod (bool val) |
| Set whether to consider view magnification when determining speedtree LODs. | |
| bool | ignoreZoomForSpeedtreeLod () const |
| Get whether to consider view magnification when determining speedtree LODs. | |
| void | setSuppressHatIntersectOnAttach (bool val) |
| Set whether to do a regular height above terrain intersection when attached. | |
| bool | suppressHatIntersectOnAttach () const |
| Get to do a regular height above terrain intersection when attached. | |
| void | setSynchronizedNtpTime (bool val) |
| Set whether to use system clock to synchronize rendering (ocean, trees, etc) with NTP synchronized clocks. | |
| bool | synchronizedNtpTime () const |
| Get whether to use system clock to synchronize rendering (ocean, trees, etc) with NTP synchronized clocks. | |
| void | setUseNonBlockingSendForSlaves (bool nonBlocking) |
| Set wheter the master should use non-blocking sends to slaves. | |
| bool | useNonBlockingSendForSlaves () const |
| Get wheter the master should use non-blocking sends to slaves. | |
| void | setAntiAliasingLevel (unsigned short level) |
| Set the Anti-Aliasing level for the window(0x, 2x, 4x, 8x, 16x) | |
| unsigned short | antiAliasingLevel () const |
| void | setPathConfiguration (const DtDePathConfiguration &pathConfig) |
| Set the initial path configuration. | |
| DtDePathConfiguration & | pathConfiguration () |
| Access the initial path configuration. | |
| const DtDePathConfiguration & | pathConfiguration () const |
| Access the initial path configuration. | |
| void | setInitLibXml (bool enabled) |
| Enable or disable initialization of libxml2 for multi-threading during display engine initialization. | |
| bool | initLibXml () const |
| Get status of initialization of libxml2 for multi-threading during display engine initialization. | |
| void | setCheckForData (bool check) |
| Set whether to check for the existence of data. | |
| bool | checkForData () const |
| Get whether to check for the existence of data. | |
| void | setUsePseudoFullScreen (bool enable) |
| Set whether to use a windowed mode instead of true fullscreen mode for fullscreen windows. | |
| bool | usePseudoFullScreen () const |
| Get whether to use a pseudo fullscreen. | |
| void | setUseHighestPriority (bool enable) |
| Set whether to use highest priority for application and main thread. | |
| bool | useHighestPriority () const |
| Get whether to use highest priority for application and main thread. | |
| void | setTcpSendTimeout (double timeout) |
| get/set the tcp send timeout (seconds) which is used to prevent the master from freezing forever if a slave is stuck. | |
| double | tcpSendTimeout () const |
| void | setAutoReconnectPeriod (double period) |
| Set the time, in seconds, used to attempt to reattach to a remote display that has been unexpectedly disconnected. | |
| double | autoReconnectPeriod () const |
| Get the time, in seconds, used to attempt to reattach to a remote display that has been unexpectedly disconnected. | |
| bool | autoReconnectEnabled () const |
| Get whether auto reattach is enabled. | |
| void | setUseReverseZBuffer (bool val) |
| Set whether to use reverse Z buffering (default is not to) | |
| bool | useReverseZBuffer () const |
| Get whether to use reverse Z buffering (default is not to) | |
| void | setForceVBOs (bool val) |
| Set whether to use VBOs (default is not to) | |
| bool | useForceVBOs () const |
| get whether to use VBOs (default is not to) | |
| void | setExtraArgs (const std::string &argString) |
| Set extra arguments as a string to be available to custom code/plugins. | |
| const std::string & | extraArgs () const |
| Get extra arguments as a string to be available to custom code/plugins. | |
| void | setDisableDynamicTerrain (bool val) |
| set whether or not to disable dynamic terrains | |
| bool | disableDynamicTerrain () const |
| get whether or not dynamic terrains are disabled | |
| bool | preloadClouds () const |
| get whether or not pre-load clouds at start up | |
| void | setPreloadClouds (bool val) |
| set whether or not pre-load clouds at start up | |
Get the driver configuration. | |
| const DtDriverConfiguration & | driverConfiguration () const |
| DtDriverConfiguration & | driverConfiguration () |
| const DtGuiConfiguration & | guiConfiguration () const |
| DtGuiConfiguration & | guiConfiguration () |
Get the input driver configuration. | |
| const DtInputDriverConfiguration & | inputDriverConfiguration () const |
| DtInputDriverConfiguration & | inputDriverConfiguration () |
| virtual void | setKdTreesDisabled (bool disabled) |
| Set / get whether KD trees (for intersections are disabled) | |
| virtual bool | kdTreesDisabled () const |
| virtual void | setForceTextShaping (bool force) |
| virtual bool | forceTextShaping () const |
Public Member Functions inherited from makVrv::DtConfiguration | |
| DtConfiguration (const std::string &name="") | |
| CTOR. | |
| DtConfiguration (const DtConfiguration &) | |
| Copy CTOR. | |
| DtConfiguration & | operator= (const DtConfiguration &) |
| Assignment OP. | |
| virtual | ~DtConfiguration () |
| DTOR. | |
| virtual const std::string & | name () const |
| Get the configuration name. | |
| virtual void | setName (const std::string &name) |
| Set the configuration name. | |
| virtual const std::string * | findOptionalParameter (const std::string &name) const |
| Find an optional parameters. | |
| virtual void | setOptionalParameter (const std::string &name, const std::string &value) |
| Set an optional parameter. | |
| virtual void | setOptionalParameters (const ParameterMap &) |
| Set an optional parameters. | |
| virtual void | removeOptionalParameter (const std::string &name) |
| Remove an optional parameter. | |
| const ParameterMap & | optionalParameters () const |
| Get the optional parameters. | |
Protected Member Functions | |
| template<class Archive > | |
| void | _serialize (Archive &ar, const unsigned int version) |
| Declare serialize functions Call via serialize(Archive ar, unsigned int version); Where Archive can be any of : xml_oarchive,xml_iarchive,binary_oarchive binary_iarchive,text_oarchive, or text_iarchive example: fstream fo("test.xml",std;:ios_base::out); xml_oarchive os(fo); DtConfiguration aConfig; aConfig.serialize(os,0);. | |
The initialization configuration for the makVrv::DtDe.
| typedef std::vector<std::pair<std::string,DtConfiguration> > makVrv::DtDeInitializer::DriverInstanceList |
A driver instance list is a list of pairs where the first parameter is the class name of the driver and the second parameter is the configuration.
| typedef std::map<std::string, std::string> makVrv::DtDeInitializer::AuthorizationCodeMap |
A map of authorization keys and their values.
Certain plug-ins check and validate their key and value before loading.
| typedef std::vector<std::pair<std::string, makArchives::DtObserverStateRecord> > makVrv::DtDeInitializer::ObserverStateMap |
A map of observer names, to DtObserverStateRecords.
| typedef std::map<std::string,DtBaseRecordHolder*> makVrv::DtDeInitializer::DefaultRecordMap |
A map of default records.
| typedef std::vector<DisplayConnection> makVrv::DtDeInitializer::DisplayConnections |
| makVrv::DtDeInitializer::DtDeInitializer | ( | const std::string & | name = "" | ) |
Constructor.
Defaults to MasterMode.
| makVrv::DtDeInitializer::DtDeInitializer | ( | const DtDeInitializer & | initializer | ) |
Copy Constructor.
|
virtual |
Destructor.
| DtDeInitializer& makVrv::DtDeInitializer::operator= | ( | const DtDeInitializer & | initializer | ) |
Assignment Op.
| void makVrv::DtDeInitializer::setFeatures | ( | DeFeatures | features | ) |
Set the features.
| DeFeatures makVrv::DtDeInitializer::features | ( | ) | const |
Get the current features.
| bool makVrv::DtDeInitializer::featureSupported | ( | DeFeatures | feature | ) | const |
Check to see if a feature is supported.
| const DtDriverConfiguration& makVrv::DtDeInitializer::driverConfiguration | ( | ) | const |
| DtDriverConfiguration& makVrv::DtDeInitializer::driverConfiguration | ( | ) |
| void makVrv::DtDeInitializer::setDriverConfiguration | ( | const DtDriverConfiguration & | ) |
Set the driver configuration.
| const DtGuiConfiguration& makVrv::DtDeInitializer::guiConfiguration | ( | ) | const |
| DtGuiConfiguration& makVrv::DtDeInitializer::guiConfiguration | ( | ) |
| void makVrv::DtDeInitializer::setGuiConfiguration | ( | const DtGuiConfiguration & | config | ) |
Set the driver configuration.
| const DtInputDriverConfiguration& makVrv::DtDeInitializer::inputDriverConfiguration | ( | ) | const |
| DtInputDriverConfiguration& makVrv::DtDeInitializer::inputDriverConfiguration | ( | ) |
| void makVrv::DtDeInitializer::setInputDriverConfiguration | ( | const DtInputDriverConfiguration & | config | ) |
Set the input driver configuration.
| const std::string& makVrv::DtDeInitializer::displayName | ( | ) | const |
Returns the name of the active local display configuration.
| void makVrv::DtDeInitializer::setDisplayEngineName | ( | const std::string & | name | ) |
Set the active local display engine configuration.
| DtDeInitializer::DeMode makVrv::DtDeInitializer::deMode | ( | ) | const |
Return myDeMode;.
| void makVrv::DtDeInitializer::setDeMode | ( | DtDeInitializer::DeMode | mode | ) |
Set myDeMode.
| void makVrv::DtDeInitializer::setDefaultDrivers | ( | const DriverInstanceList & | drivers | ) |
Set the driver instance list.
| const DriverInstanceList& makVrv::DtDeInitializer::defaultDrivers | ( | ) | const |
Get the default driver list.
| void makVrv::DtDeInitializer::setDeConfiguration | ( | const DtDeConfiguration & | config | ) |
Set the initial de configuration.
| DtDeConfiguration& makVrv::DtDeInitializer::deConfiguration | ( | ) |
Get the initial de configuration.
| const DtDeConfiguration& makVrv::DtDeInitializer::deConfiguration | ( | ) | const |
Get the initial de configuration.
| void makVrv::DtDeInitializer::setCoordinateSystem | ( | const std::string & | coordinateSystem, |
| const std::string & | parameters | ||
| ) |
Set the coordinate system and parameters.
| const std::string& makVrv::DtDeInitializer::coordinateSystem | ( | ) | const |
Get the name of the coordinate system.
| const std::string& makVrv::DtDeInitializer::coordinateSystemParameters | ( | ) | const |
Get the parameters of the coordinate system.
| void makVrv::DtDeInitializer::setNotifyLevel | ( | DtDebugLog::PrintLevel | level | ) |
Set the initial notify level of print output.
| DtDebugLog::PrintLevel makVrv::DtDeInitializer::notifyLevel | ( | ) | const |
Get the initial notify level of print output.
| void makVrv::DtDeInitializer::setLogFileName | ( | const std::string & | filename | ) |
Set the log file name.
| const std::string& makVrv::DtDeInitializer::logFileName | ( | ) | const |
Get the name of the output log.
| void makVrv::DtDeInitializer::setModelPreloadFilename | ( | const std::string & | filename | ) |
Set the preload file name.
| const std::string& makVrv::DtDeInitializer::modelPreloadFilename | ( | ) | const |
Get the name of the preload file.
| void makVrv::DtDeInitializer::setDiscoveredModelPreloadFilename | ( | const std::string & | filename | ) |
Set the missing model preload file name.
| const std::string& makVrv::DtDeInitializer::discoveredModelPreloadFilename | ( | ) | const |
Get the name of the missing preload file.
| void makVrv::DtDeInitializer::setAutoLoadDrivers | ( | bool | autoLoad | ) |
Set whether saved drivers in the driver directory should be automatically loaded.
| bool makVrv::DtDeInitializer::autoLoadDrivers | ( | ) | const |
Get whether saved drivers in the driver directory should be automatically loaded.
| void makVrv::DtDeInitializer::setAutoStartDrivers | ( | const std::vector< std::string > & | names | ) |
Set the auto start drivers.
| const std::vector<std::string>& makVrv::DtDeInitializer::autoStartDrivers | ( | ) | const |
Get the auto start drivers.
| void makVrv::DtDeInitializer::setAuthorizationCodeMap | ( | const AuthorizationCodeMap & | map | ) |
Assigns the authorization code mapping.
| void makVrv::DtDeInitializer::addAuthorizationCodeMapping | ( | const std::string & | key, |
| const std::string & | value | ||
| ) |
Adds an authorization code mapping.
| void makVrv::DtDeInitializer::removeAuthorizationCodeMapping | ( | const std::string & | key | ) |
Removes an authorization code mapping.
| const std::string* makVrv::DtDeInitializer::findAuthorizationCodeValue | ( | const std::string & | key | ) | const |
Find an authorization code value from a key.
Returns NULL if key isn't found.
| void makVrv::DtDeInitializer::setObserverStateMap | ( | const ObserverStateMap & | osm | ) |
Set the ObserverStateMap. Used by DtInputDriver when creating observers.
| const ObserverStateMap& makVrv::DtDeInitializer::observerStateMap | ( | ) | const |
Get the ObserverStateMap. Used by DtInputDriver when creating observers.
| const std::vector<std::string>& makVrv::DtDeInitializer::mappingFilesToLoad | ( | ) | const |
Get the mapping files to load.
| void makVrv::DtDeInitializer::setMappingFilesToLoad | ( | const std::vector< std::string > & | ) |
Set the mapping files to load.
| const std::vector<std::string>& makVrv::DtDeInitializer::entityElementDefinitionHiersToMerge | ( | ) | const |
Get the list of files and/or dirs merged into the entity element definition hierarchy.
| void makVrv::DtDeInitializer::setEntityElementDefinitionHiersToMerge | ( | const std::vector< std::string > & | filesOrDirs | ) |
Set files or dirs to use to merge into the entity element definition hierarchy.
| const std::vector<std::string>& makVrv::DtDeInitializer::entityElementDefinitionLeafsToMerge | ( | ) | const |
Get the paths (files or dirs) for the additional entity element definitions (leaf nodes) to merge into the entity element definitions.
| void makVrv::DtDeInitializer::setEntityElementDefinitionLeafsToMerge | ( | const std::vector< std::string > & | filesOrDirs | ) |
Set paths (files or dirs) to read and merge into the entity element definitions.
| const std::vector<std::string>& makVrv::DtDeInitializer::aggregateElementDefinitionHiersToMerge | ( | ) | const |
Get the list of files and/or dirs merged into the aggregate (unit) element definition hierarchy.
| void makVrv::DtDeInitializer::setAggregateElementDefinitionHiersToMerge | ( | const std::vector< std::string > & | filesOrDirs | ) |
Set files or dirs to use to merge into the aggregate element definition hierarchy.
| const std::vector<std::string>& makVrv::DtDeInitializer::aggregateElementDefinitionLeafsToMerge | ( | ) | const |
Get the paths (files or dirs) for the additional aggregate (unit) element definitions (leaf nodes) to merge into the entity element definitions.
| void makVrv::DtDeInitializer::setAggregateElementDefinitionLeafsToMerge | ( | const std::vector< std::string > & | filesOrDirs | ) |
Set paths (files or dirs) to read and merge into the aggregate element definitions.
| const std::vector<std::string>& makVrv::DtDeInitializer::tacticalGraphicsElementDefinitionHiersToMerge | ( | ) | const |
Get the list of files and/or dirs merged into the tactical graphics element definition hierarchy.
| void makVrv::DtDeInitializer::setTacticalGraphicsElementDefinitionHiersToMerge | ( | const std::vector< std::string > & | filesOrDirs | ) |
Set paths (files or dirs) to read and merge into the tactical graphics element definitions.
| const std::vector<std::string>& makVrv::DtDeInitializer::tacticalGraphicsElementDefinitionLeafsToMerge | ( | ) | const |
Get the paths (files or dirs) for the additional tactical graphics element definitions (leaf nodes) to merge into the entity element definitions.
| void makVrv::DtDeInitializer::setTacticalGraphicsElementDefinitionLeafsToMerge | ( | const std::vector< std::string > & | filesOrDirs | ) |
Set paths (files or dirs) to read and merge into the tactical graphics element definitions.
| const std::vector<std::string>& makVrv::DtDeInitializer::modelDefinitionFilesOrDirsToMerge | ( | ) | const |
Get the model definition files or dirs (or both) to load.
| void makVrv::DtDeInitializer::setModelDefinitionFilesOrDirsToMerge | ( | const std::vector< std::string > & | filesOrDirs | ) |
Set the model definition files or dirs (*.ommx) to load.
| const std::vector<std::string>& makVrv::DtDeInitializer::entityTypeMapFilesOrDirsToMerge | ( | ) | const |
Get the entity type mapping files or dirs (or both) to load.
| void makVrv::DtDeInitializer::setEntityTypeMapFilesOrDirsToMerge | ( | const std::vector< std::string > & | filesOrDirs | ) |
Set the entity type mapping files or dirs (*.metx) to load.
| const std::vector<std::string>& makVrv::DtDeInitializer::aggregateTypeMapFilesOrDirsToMerge | ( | ) | const |
Get the aggregate type mapping files or dirs (or both) to load.
| void makVrv::DtDeInitializer::setAggregateTypeMapFilesOrDirsToMerge | ( | const std::vector< std::string > & | filesOrDirs | ) |
Set the aggregate type mapping files or dirs (*.magx) to load.
| const std::vector<std::string>& makVrv::DtDeInitializer::tacticalGraphicsTypeMapFilesOrDirsToMerge | ( | ) | const |
Get the tactical graphics type mapping files or dirs (or both) to load.
| void makVrv::DtDeInitializer::setTacticalGraphicsTypeMapFilesOrDirsToMerge | ( | const std::vector< std::string > & | filesOrDirs | ) |
Set the tactical graphics type mapping files or dirs (*.mtgx) to load.
| const DisplayConnections& makVrv::DtDeInitializer::displayConnections | ( | ) | const |
Get the list of connections to make.
| DisplayConnections& makVrv::DtDeInitializer::displayConnections | ( | ) |
| void makVrv::DtDeInitializer::setDisplayConnections | ( | const DisplayConnections & | displayConnections | ) |
| void makVrv::DtDeInitializer::setAutoLoadFile | ( | const std::string & | file | ) |
Set the file to automatically load.
| const std::string& makVrv::DtDeInitializer::autoLoadFile | ( | ) | const |
Get the file to automatically load.
| void makVrv::DtDeInitializer::setStartFullScreen | ( | bool | ) |
Set whether the application should start up in fullscreen mode.
| bool makVrv::DtDeInitializer::startFullScreen | ( | ) | const |
Get whether the application should start up in fullscreen mode.
| void makVrv::DtDeInitializer::addDefaultSettingsRecord | ( | const std::string & | recordName, |
| const DtBaseRecordHolder & | record | ||
| ) |
Add a new record holder.
| void makVrv::DtDeInitializer::removeDefaultSettingsRecord | ( | const std::string & | record | ) |
Remove a default record.
|
inline |
Find a settings default records.
References makVrv::DtRecordHolder< Record >::record().
Referenced by makVrv::DtCommonBaseSettingsManager< makArchives::DtEntitySettingsRecord >::loadDefaults().
| void makVrv::DtDeInitializer::setConstrainToTerrain | ( | bool | constrain | ) |
Set the observers to initially constrain to terrain.
| bool makVrv::DtDeInitializer::constrainToTerrain | ( | ) | const |
| void makVrv::DtDeInitializer::setSpeedScaling | ( | bool | scale | ) |
Set the observers to initially scale speed.
| bool makVrv::DtDeInitializer::speedScaling | ( | ) | const |
| void makVrv::DtDeInitializer::setVertexSelectsParent | ( | bool | selectsParent | ) |
Set whether selecting a vertex actually selects its parent object.
| bool makVrv::DtDeInitializer::vertexSelectsParent | ( | ) | const |
| void makVrv::DtDeInitializer::setDoubleBuffering | ( | bool | buffer | ) |
Set whether to double buffer the windows.
| bool makVrv::DtDeInitializer::doubleBuffer | ( | ) | const |
| void makVrv::DtDeInitializer::setVSync | ( | bool | sync | ) |
Set whether to vsync the windows.
| bool makVrv::DtDeInitializer::vsync | ( | ) | const |
Set the number of frames per second to render.
If this is equal to zero than a variable framerate is used.
| void makVrv::DtDeInitializer::setNumDepthBits | ( | unsigned short | numBits | ) |
Set the number of depth bits for the window(24,32)
| unsigned short makVrv::DtDeInitializer::numDepthBits | ( | ) | const |
| void makVrv::DtDeInitializer::setNumStencilBits | ( | unsigned short | numBits | ) |
Set the number of stencil bits for the window(0,8)
| unsigned short makVrv::DtDeInitializer::numStencilBits | ( | ) | const |
| void makVrv::DtDeInitializer::setNumAlphaBits | ( | unsigned short | numBits | ) |
Set the number of alpha bits for the window(0,8)
| unsigned short makVrv::DtDeInitializer::numAlphaBits | ( | ) | const |
| void makVrv::DtDeInitializer::setBatchedRendering | ( | bool | val | ) |
Set whether to use batched instance rendering.
| bool makVrv::DtDeInitializer::batchedRendering | ( | ) | const |
Get whether batched instance rendering is enabled.
| void makVrv::DtDeInitializer::setNoEntityDefinitionLoading | ( | bool | val | ) |
Set whether to use appData for entity definitions.
| bool makVrv::DtDeInitializer::noEntityDefinitionLoading | ( | ) | const |
Get whether using appData for entity definitions is enabled.
| void makVrv::DtDeInitializer::setNoAggregateDefinitionLoading | ( | bool | val | ) |
Set whether to use appData for entity definitions.
| bool makVrv::DtDeInitializer::noAggregateDefinitionLoading | ( | ) | const |
Get whether using appData for entity definitions is enabled.
| void makVrv::DtDeInitializer::setNoTacticalGraphicsDefinitionLoading | ( | bool | val | ) |
Set whether to use appData for entity definitions.
| bool makVrv::DtDeInitializer::noTacticalGraphicsDefinitionLoading | ( | ) | const |
Get whether using appData for entity definitions is enabled.
| void makVrv::DtDeInitializer::setNoModelDefinitionLoading | ( | bool | val | ) |
Set whether to use appData for model definitions.
| bool makVrv::DtDeInitializer::noModelDefinitionLoading | ( | ) | const |
Get whether to use appData for model definitions.
| void makVrv::DtDeInitializer::setNoEntityTypeMapLoading | ( | bool | val | ) |
Set whether to use appData for the entity type map.
| bool makVrv::DtDeInitializer::noEntityTypeMapLoading | ( | ) | const |
Get whether to use appData for the entity type map.
| void makVrv::DtDeInitializer::setNoAggregateTypeMapLoading | ( | bool | val | ) |
Set whether to use appData for the aggregate type map.
| bool makVrv::DtDeInitializer::noAggregateTypeMapLoading | ( | ) | const |
Get whether to use appData for the aggregate type map.
| void makVrv::DtDeInitializer::setNoTacticalGraphicsTypeMapLoading | ( | bool | val | ) |
Set whether to use appData for the tactical graphics type map.
| bool makVrv::DtDeInitializer::noTacticalGraphicsTypeMapLoading | ( | ) | const |
Get whether to use appData for the tactical graphics type map.
| void makVrv::DtDeInitializer::setIgnoreZoomForSpeedtreeLod | ( | bool | val | ) |
Set whether to consider view magnification when determining speedtree LODs.
| bool makVrv::DtDeInitializer::ignoreZoomForSpeedtreeLod | ( | ) | const |
Get whether to consider view magnification when determining speedtree LODs.
| void makVrv::DtDeInitializer::setSuppressHatIntersectOnAttach | ( | bool | val | ) |
Set whether to do a regular height above terrain intersection when attached.
Normally you want to to make dynamic near clipping planes when attached to work correctly. BUT if you are only going to attach to ground vehicles, you can skip the intersection which will result in smoother performance LODs
| bool makVrv::DtDeInitializer::suppressHatIntersectOnAttach | ( | ) | const |
Get to do a regular height above terrain intersection when attached.
| void makVrv::DtDeInitializer::setSynchronizedNtpTime | ( | bool | val | ) |
Set whether to use system clock to synchronize rendering (ocean, trees, etc) with NTP synchronized clocks.
| bool makVrv::DtDeInitializer::synchronizedNtpTime | ( | ) | const |
Get whether to use system clock to synchronize rendering (ocean, trees, etc) with NTP synchronized clocks.
|
virtual |
Set / get whether KD trees (for intersections are disabled)
|
virtual |
|
virtual |
|
virtual |
| void makVrv::DtDeInitializer::setUseNonBlockingSendForSlaves | ( | bool | nonBlocking | ) |
Set wheter the master should use non-blocking sends to slaves.
If it does, then it busy waits if a socket would block. This is the old way, now settable for back compatibility
| bool makVrv::DtDeInitializer::useNonBlockingSendForSlaves | ( | ) | const |
Get wheter the master should use non-blocking sends to slaves.
If it does, then it busy waits if a socket would block. This is the old way, now settable for back compatibility
| void makVrv::DtDeInitializer::setAntiAliasingLevel | ( | unsigned short | level | ) |
Set the Anti-Aliasing level for the window(0x, 2x, 4x, 8x, 16x)
| unsigned short makVrv::DtDeInitializer::antiAliasingLevel | ( | ) | const |
| void makVrv::DtDeInitializer::setPathConfiguration | ( | const DtDePathConfiguration & | pathConfig | ) |
Set the initial path configuration.
| DtDePathConfiguration& makVrv::DtDeInitializer::pathConfiguration | ( | ) |
Access the initial path configuration.
| const DtDePathConfiguration& makVrv::DtDeInitializer::pathConfiguration | ( | ) | const |
Access the initial path configuration.
| void makVrv::DtDeInitializer::setInitLibXml | ( | bool | enabled | ) |
Enable or disable initialization of libxml2 for multi-threading during display engine initialization.
| bool makVrv::DtDeInitializer::initLibXml | ( | ) | const |
Get status of initialization of libxml2 for multi-threading during display engine initialization.
| void makVrv::DtDeInitializer::setCheckForData | ( | bool | check | ) |
Set whether to check for the existence of data.
| bool makVrv::DtDeInitializer::checkForData | ( | ) | const |
Get whether to check for the existence of data.
| void makVrv::DtDeInitializer::setUsePseudoFullScreen | ( | bool | enable | ) |
Set whether to use a windowed mode instead of true fullscreen mode for fullscreen windows.
Note that Cuda (used by Triton) gets stalled by VSync when using true fullscreen; on the other hand, to avoid Windows thinking the windowed screen is really full screen a one pixel border is on the window that may be visible and need to be masked out when used with projected systems. By default the true fullscreen mode is used; use this flag to use the pseudo (windowed) fullscreen.
| bool makVrv::DtDeInitializer::usePseudoFullScreen | ( | ) | const |
Get whether to use a pseudo fullscreen.
| void makVrv::DtDeInitializer::setUseHighestPriority | ( | bool | enable | ) |
Set whether to use highest priority for application and main thread.
| bool makVrv::DtDeInitializer::useHighestPriority | ( | ) | const |
Get whether to use highest priority for application and main thread.
| void makVrv::DtDeInitializer::setTcpSendTimeout | ( | double | timeout | ) |
get/set the tcp send timeout (seconds) which is used to prevent the master from freezing forever if a slave is stuck.
| double makVrv::DtDeInitializer::tcpSendTimeout | ( | ) | const |
| void makVrv::DtDeInitializer::setAutoReconnectPeriod | ( | double | period | ) |
Set the time, in seconds, used to attempt to reattach to a remote display that has been unexpectedly disconnected.
Period < 0. (the default) disables the capability
| double makVrv::DtDeInitializer::autoReconnectPeriod | ( | ) | const |
Get the time, in seconds, used to attempt to reattach to a remote display that has been unexpectedly disconnected.
Period < 0. (the default) disables the capability
| bool makVrv::DtDeInitializer::autoReconnectEnabled | ( | ) | const |
Get whether auto reattach is enabled.
| void makVrv::DtDeInitializer::setUseReverseZBuffer | ( | bool | val | ) |
Set whether to use reverse Z buffering (default is not to)
| bool makVrv::DtDeInitializer::useReverseZBuffer | ( | ) | const |
Get whether to use reverse Z buffering (default is not to)
| void makVrv::DtDeInitializer::setForceVBOs | ( | bool | val | ) |
Set whether to use VBOs (default is not to)
| bool makVrv::DtDeInitializer::useForceVBOs | ( | ) | const |
get whether to use VBOs (default is not to)
| void makVrv::DtDeInitializer::setExtraArgs | ( | const std::string & | argString | ) |
Set extra arguments as a string to be available to custom code/plugins.
| const std::string& makVrv::DtDeInitializer::extraArgs | ( | ) | const |
Get extra arguments as a string to be available to custom code/plugins.
| void makVrv::DtDeInitializer::setDisableDynamicTerrain | ( | bool | val | ) |
set whether or not to disable dynamic terrains
| bool makVrv::DtDeInitializer::disableDynamicTerrain | ( | ) | const |
get whether or not dynamic terrains are disabled
| bool makVrv::DtDeInitializer::preloadClouds | ( | ) | const |
get whether or not pre-load clouds at start up
| void makVrv::DtDeInitializer::setPreloadClouds | ( | bool | val | ) |
set whether or not pre-load clouds at start up
|
inlineprotected |
Declare serialize functions Call via serialize(Archive ar, unsigned int version); Where Archive can be any of : xml_oarchive,xml_iarchive,binary_oarchive binary_iarchive,text_oarchive, or text_iarchive example: fstream fo("test.xml",std;:ios_base::out); xml_oarchive os(fo); DtConfiguration aConfig; aConfig.serialize(os,0);.
Serialize this class.
Reimplemented from makVrv::DtConfiguration.
References DT_SERIALIZE_BASE, and DT_SERIALIZE_MEMBER.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
Note, this member should probably not be serialized.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |