![]() |
VR-Forces 4.3.1 Class Documentation
|
Class DtTerrainInterfaceConfig is a readable-writable class holding terrain interface configuration options. More...

Classes | |
| class | Configator |
| class | ListT |
| class | TerrainParam |
Public Member Functions | |
| DtTerrainInterfaceConfig (const std::string &matchPattern="") | |
| Regexp pattern to match which the label string of whatever is being configured must match. | |
| DtTerrainInterfaceConfig & | operator= (const DtTerrainInterfaceConfig &) |
| virtual bool | loadFromFile (const std::string &file, std::ostream &log=DtInfo) |
| Load the values from the given file. | |
| virtual bool | loadFromSourceSpecificFile (const std::string &file, const std::string &ext="mtl") |
| Load the values from the given file with the new extension if it exists. | |
| virtual void | configure (DtTerrainInterfaceConfig &config, const std::string &matchText, bool ignoreUnspecified=true) const |
| Configure config using option matchText to match subconfigurations. | |
| virtual void | configure (DtTerrainInterfaceConfig &config, bool ignoreUnspecified=true) const |
| virtual void | configurePaths (std::string &path) const |
| Replace thee , , string in the supplied parameter path. | |
| virtual void | print (std::ostream &, bool printUnspecified=true) const |
| Print object to stream. | |
| DtString | prettyPrint () const |
| void | setName (const DtString &) |
| std::string | modelDefinitionPath () const |
| std::string | simCachePath () const |
| std::string | featureConfigFile () const |
Public Member Functions inherited from DtReaderWriter | |
| DtReaderWriter () | |
| default constructor | |
| DtReaderWriter (const DtString &name, DtReaderWriterRegistry *parentRegistry=NULL, bool readonly=false) | |
| real constructor Setting the readonly flag prevents object from writing itself to the stream. | |
| DtReaderWriter (const DtSymbolString &name, DtReaderWriterRegistry *parentRegistry=NULL, bool readonly=false) | |
| DtReaderWriter (const DtString &name, const DtReaderWriter &orig, DtReaderWriterRegistry *parentRegistry=NULL) | |
| pseudo-copy constructor | |
| DtReaderWriter (const DtSymbolString &name, const DtReaderWriter &orig, DtReaderWriterRegistry *parentRegistry=NULL) | |
| DtReaderWriter (const DtReaderWriter &, DtReaderWriterRegistry *parentRegistry=NULL) | |
| copy constructor | |
| const DtReaderWriter & | operator= (const DtReaderWriter &orig) |
| assignment operator | |
| bool | operator== (const DtReaderWriter &) const |
| Equivalence operator. | |
| bool | operator!= (const DtReaderWriter &rhs) |
| virtual | ~DtReaderWriter () |
| destructor | |
| virtual void | putSelf (FILE *fp, int indentLevel=0, bool writeUnspecified=false, const DtFilename &path=DtFilename::nullFilename()) |
| Top level call to write itself to file. | |
| virtual void | postPutSelf () |
| Called after either version of put self (file or environment). Default is no-op. | |
| virtual void | prePutSelf () |
| Called before either version of put self (file or environment). Default is no-op. | |
| virtual void | getSelf (DtlObjPtr args, const DtReaderWriter::SearchPaths &searchPaths=SearchPaths(), const DtVariableBindingsList &variableBindings=nullVariableReference()) |
| Top level to read itself from an input stream. | |
| virtual void | postGetSelf () |
| Called after either version of getSelf (mtl or environment). Default is no-op. | |
| virtual void | preGetSelf () |
| Called before either version of get self (file or environment). Default is no-op. | |
| virtual void | writeSelf (FILE *fp, int indentLevel=0, bool writeUnspecified=false, const DtFilename &path=DtFilename::nullFilename()) |
| Called from putSelf, calls myRegistry.putSelf which in turn calls putSelf on each reader/writer in the registry. | |
| virtual DtSymbolString | name () const |
| Accessor for name of this readable/writable object. | |
| virtual void | addAlias (const DtSymbolString &alias) |
| Add an alias as an alternative name for this object. | |
| virtual bool | hasAlias (const DtSymbolString &alias) |
| virtual const aliasContainer & | aliases () const |
| virtual void | setReadonly (bool flag) |
| Set read-only flag. | |
| virtual bool | isReadonly () const |
| virtual void | reset () |
| For those reader/writer items that support it, resets the reader/writer value to iriginal state Default is no-op. | |
| virtual int | alignment () const |
| For those items that are sent over the network via HLA, this will give the network alignment. | |
| virtual bool | variableIsBound () const |
| virtual void | unbindVariable () |
| Sets the myVariableIsBound flag to false. | |
| virtual void | setName (const DtString &) |
| Set the name of the object. | |
| virtual const char * | readerWriterType () const |
| Used to supply a string type that this reader writer type is. | |
| virtual const char * | xmlType () const |
| virtual DtString | prettyPrint () const |
| Routine to return a human readable form of the reader/writer variable. | |
| std::string | debugText () const |
| virtual void | bindVariables (DtVariableBindingsList variableBindings) |
| Runs a variable binding pass on this reader writer and any of its children. | |
| virtual std::list < DtVariableNameType > | unboundVariables () const |
| bool | invalid () const |
| virtual bool | hasChild (const DtReaderWriter *p) const |
| Returns true if this variable has a child p in it's chain. | |
| virtual bool | hasVariableReference () const |
| Returns true if this item or any item in the registry (recursive) is a variable reference. | |
| virtual void | bindLocalVariables (const DtVariableBindingsList &variableBindings) |
| Checks to see if this RW object is a variable reference that can be bound using the provided bindings. | |
| virtual void | recordUpdateTime () const |
| Can be implemented in subclasses to stamp the time when updated. | |
| virtual bool | wasUpdatedSince (DtTime t) const |
| Can be implemented in subclasses to return true if an update occurred after the specified time. | |
| virtual void | putData (FILE *fp, int indentLevel=0) |
| Deriving class overrides these to get/put class specific data. | |
| virtual DtlObjPtr | getData (DtlObjPtr args, const SearchPaths &searchPaths, const DtVariableBindingsList &variableBindings) |
| Deriving class overrides these to get/put class specific data. | |
| virtual void | setValueSpecified (bool specified, bool recurse=false) |
| The specified flags are used for optional values. | |
| virtual bool | valueSpecified () const |
| The specified flags are used for optional values. | |
| virtual bool | isVariableReference () const |
| Specifies whether or not this reader writer is really a variable that is specified elsewhere. | |
| virtual void | setIsVariableReference (bool value) |
| virtual void | clearAllVariableReferenceFlags () |
| Clears out all variable reference flags from all readerwriter items in registry recursively. | |
| virtual DtSymbolString | variableName () const |
| The variable name, if this object is a variable reference. | |
| virtual void | setVariableName (const DtSymbolString variableName) |
| The variable name, if this object is a variable reference. | |
| virtual const DtReaderWriter * | defaultRWValue () const |
| The default value to use if the reader/writer object is a variable and that variable is not specified. | |
| virtual DtReaderWriter * | defaultRWValue () |
| The default value to use if the reader/writer object is a variable and that variable is not specified. | |
| virtual void | setDefaultRWValue (DtReaderWriter *) |
| Previous default value, if exists, will be removed and replaced with a clone of the supplied variable. | |
| virtual bool | checkAndSetDefaultRWValue (DtlObjPtr args, const DtReaderWriter::SearchPaths &searchPaths=SearchPaths(), const DtVariableBindingsList &variableBindings=nullVariableReference()) |
| Give the stream, if the stream contains a default value then set it here. | |
| const DtReaderWriterRegistry & | registry () const |
| Collection of child DtReaderWriter nodes owned by this object. | |
| DtReaderWriterRegistry & | registry () |
| Collection of child DtReaderWriter nodes owned by this object. | |
| virtual DtPropertyInterface * | property () |
| virtual const DtPropertyInterface * | property () const |
| virtual DtString | toXml () const |
| virtual bool | toXml (const DtFilename &) const |
| Writes contents of xml result to the given filename. | |
| virtual bool | fromXml (const DtString &) |
| Restores object from given xml string. Returns true if valid. | |
| virtual bool | fromXmlFile (const DtFilename &) |
| Restires object from given xml file. | |
| virtual void | putSelf (DtEnvironmentSP, DtEnvValueSP parent) const |
| virtual void | putData (DtEnvironmentSP, DtEnvValueSP value) const |
| Override to add attributes of actual data. | |
| virtual void | putVariableReference (DtEnvironmentSP, DtEnvValueSP value) const |
| Called when the item is a variable reference. | |
| virtual void | getSelf (const DtEnvironmentSP, const DtEnvValueSP root, const SearchPaths &searchPaths=SearchPaths(), const DtVariableBindingsList &bindings=DtVariableBindingsList()) |
| virtual void | getData (const DtEnvironmentSP, const DtEnvValueSP, const SearchPaths &searchPaths=SearchPaths(), const DtVariableBindingsList &bindings=DtVariableBindingsList()) |
| Gets data from the environment value. | |
| virtual void | unrecognizedItem (const DtEnvironmentSP env, const DtEnvValueSP root, const SearchPaths &searchPaths, const DtVariableBindingsList &varBindings) |
| Called when the xml reader tries to parse an unknown reader/writer item. Default is a no-op. | |
| virtual void | getVariableReference (DtEnvironmentSP, DtEnvValueSP value) |
| Called when the item is a variable reference. | |
Static Public Member Functions | |
| static void | setUserDataDefault (const std::string &) |
| static void | setDataDefault (const std::string &) |
| static void | setAppDataDefault (const std::string &) |
| Set default value for appDataDirectory parameter. | |
| static void | setModelDefinitionDefault (const std::string &) |
Static Public Member Functions inherited from DtReaderWriter | |
| static void | putIndent (FILE *fp, int indentLevel) |
| static const DtVariableBindingsList & | nullVariableReference () |
| static void | setPostGetSelfCallback (DtGetSelfCallbackFcn fcn, void *usrData) |
| static void | setPrePutSelfCallback (DtPutSelfCallbackFcn fcn, void *usrData) |
| static const char * | theXmlType () |
| The type that is used when archiving to an XML stream. | |
| static const DtFilename & | appPath () |
| Gets the current working directory. | |
| static void | setFactoryCreatorFunction (DtReaderWriterFactoryCreatorFcn fcn) |
| Sets the function to create the DtReaderWriterFactory. | |
| static void | createReaderWriterFactory () |
| static void | cleanupFactory () |
| static DtReaderWriterFactory * | factory () |
| static DtReaderWriter * | createFromXmlFile (const DtFilename &) |
| Given a filename, returns a newly created reader/writer object from the object found within. | |
| static DtReaderWriter * | createFromXml (const DtString &) |
| Given a xml string, returns a newly created reader/writer object from the object found within. | |
| static DtReaderWriter * | createFromEnvironment (DtEnvironmentSP) |
| Given a xml environment, returns a newly created reader/writer object from the object found within. | |
| static DtString | getAttribute (DtEnvironmentSP env, const DtString &name, DtEnvValueSP root) |
| Gets the named attribute from a DtEnvValueSP. | |
Static Public Member Functions inherited from DtObjectDebugger< DtReaderWriter > | |
| static DtObjectCounter::CounterType | ObjectCount () |
| static const DtObjectContainer * | ObjectContainer () |
Public Attributes | |
| TInt | maxNetworkThreads |
| Parameter Name: max-feature-network-threads Parameter Description: The max number of background threads that will be used to read streaming feature data. | |
| TInt | maxUnusedFeatures |
| Parameter Name: max-unused-features Parameter Description: Max number of unused features to store in memory. | |
| TInt | areaPageTableLoadingThreads |
| Parameter Name: area-page-table-threads Parameter Description: Max number of simultaneous threads that will be used for executing feature loading tasks for area features. | |
| TInt | featuresHighestLoadLOD |
| Parameter Name: features-highest-load-LOD Parameter Description: The smallest tile (highest LOD) for loading features. | |
| TInt | featuresLowestLoadLOD |
| Parameter Name: features-lowest-load-LOD Parameter Description: The largest tile (smallest LOD) for loading features. | |
| TInt | featuresPerTileTarget |
| Parameter Name: features-per-tile-target Parameter Description: Target number of features per tile. | |
| TInt | featuresMaxIndexLOD |
| Parameter Name: features-max-index-LOD Parameter Description: Smallest tile LOD level to index features. | |
| TInt | minFeaturesToIndexTile |
| Parameter Name: min-features-to-index-tile Parameter Description: Minumum number of features in a tile for the tile to be considered for subindexing. | |
| TReal | featuresIndexRatio |
| Parameter Name: features-index-ratio Parameter Description: If the ratio of the number of features in a parent tile to the number in a subtile is greater than this value then the tile will be subindexed. | |
| TBool | deduplicateFeatures |
| Parameter Name: deduplicate-features Parameter Description: Remove duplicate features. | |
| TBool | cacheLastFeatureTile |
| Parameter Name: cache-last-feature-tile Parameter Description: Cache last used feature tile Parameter Default: True. | |
| TInt | pathFinderMaxSize |
| Parameter Name: pathfinder-max-features Parameter Description: The max size of a DtAStarGraph. | |
| TInt | pathFinderPageTableDepth |
| Parameter Name: pathfinder-page-table-depth Parameter Description: The depth of the Quad-Tree used for tracking loaded features for each pathfinder road graph. | |
| TReal | pathFinderLoadTimeout |
| Parameter Name: pathfinder-load-timeout Parameter Description: The amount of time (in seconds) that the path finder will wait on loading a tile of features before giving up on that tile. | |
| TReal | pathFinderVertexTolerance |
| Parameter Name: pathfinder-vertex-tolerance Parameter Description: The distance tolerance (in meters) within which feature vertices are considered to be the same vertex. | |
| TInt | triangleThreshold |
| Parameter Name: num-triangles-threshold Parameter Description: Maximum number of triangles. | |
| TInt | cacheOnlyMaxLod |
| Parameter Name: cache-only-max-lod Parameter Description: Max level of detail to use when in cache-only mode. | |
| TInt | blockingIntersectPageInPriority |
| Parameter Name: blocking-intersect-page-in-priority Parameter Description: Priority for paging in data for blocking intersect requests. | |
| TInt | intersectPageInPriority |
| Parameter Name: intersect-page-in-priority Parameter Description: Priority for paging in data for non-blocking intersect requests. | |
| TInt | pageOutPriority |
| Parameter Name: page-out-priority Parameter Description: Priority for paging out data. | |
| TInt | defaultPreloadPriority |
| Parameter Name: default-preload-priority Parameter Description: Default priority for preload geometry. | |
| TVector | spatialSubdivisionDimensions |
| Parameter Name: spatial-subdivision-dimensions Parameter Description: Parameters for Spatial Subdivision used by DtBoundingVolumeTerrainSourceTracker to determine which paged-out nodes should be paged in. | |
| TBool | useS57ForTerrainGeneration |
| Parameter Name: use-S57-for-terrain-generation Parameter Description: Flag for S57 to terrain and soil types. | |
| TBool | oceanLayerPresent |
| Parameter Name: ocean-layer-present Enable/disable ocean layer-present Default: True. | |
| TReal | seaLevel |
| Parameter Name: sea-level Sea level in meters Default: | |
| TReal | seaFloor |
| Parameter Name: sea-floor Sea floor in meters. | |
| TBool | useSoundingPoints |
| Parameter Name: use-sounding-points Default: True. | |
| TBool | pageFeatures |
| Parameter Name: page-features Default: True. | |
| TString | LOSFeaturesQueryName |
| Parameter Name: los-features-query Default: MAK_LOS_OBSTACLE. | |
| TReal | featuresMinUnloadTime |
| Parameter Name: features-min-unload-time Default: 15. | |
| TInt | terrainMinUnloadIntersectDiff |
| Parameter Name: terrain-min-unload-intersect-diff Default: 50. | |
| TString | userDataDirectory |
| Parameter Name: user-data-directory Default: ../userData. | |
| TString | dataDirectory |
| Parameter Name: data-directory Default: ../data. | |
| TString | appDataDirectory |
| Parameter Name: app-data-directory Default: ../appData. | |
| TString | pluginsDirectory |
| Parameter Name: plugins-directory Default: ../(plugins|plugins64)/(release|debug) | |
Protected Attributes | |
| TString | myModelDefinitionPath |
| Parameter Name: model-definition-path Default: "$(APP_DIR)/definitions/Model Definitions.ommx". | |
| TString | mySimCachePath |
| Parameter Name: sim-cache-path Default: /cache/vrfsim. | |
| TString | myFeatureConfigFile |
| Parameter Name: features-config-file Default: /settings/featureconfig.txt. | |
Protected Attributes inherited from DtReaderWriter | |
| const DtSymbolString | myName |
| DtReaderWriterRegistry | myRegistry |
| DtReaderWriterRegistry * | myParentRegistry |
| bool | myValueSpecified |
| bool | myReadOnlyFlag |
| bool | myIsVariableReference |
| DtSymbolString | myVariableName |
| bool | myVariableIsBound |
| DtReaderWriter * | myDefaultValue |
| aliasContainer | myAliases |
| Container for the aliases which represent alternative names for the object. | |
| bool | myInvalid |
| Set to true if there is a problem reading this item. | |
Private Types | |
| typedef TerrainParam< DtRwBoolean > | TBool |
| typedef TerrainParam< DtRwInt > | TInt |
| typedef TerrainParam< DtRwReal > | TReal |
| typedef TerrainParam< DtRwString > | TString |
| typedef TerrainParam< DtRwVector > | TVector |
| typedef ListT < DtTerrainInterfaceConfig > | TList |
Private Attributes | |
| TList | subconfigurations |
| Parameter Name: subconfigurations Parameter Description: A list of DtTerrainInterfaceConfig objects which can be used to make more specific configurations. | |
Additional Inherited Members | |
Public Types inherited from DtReaderWriter | |
| typedef std::vector < DtSymbolString > | aliasContainer |
| typedef std::vector < DtSymbolString >::iterator | aliasIter |
| typedef std::vector < DtSymbolString > ::const_iterator | aliasConstIter |
| typedef std::vector< DtFilename > | SearchPaths |
| typedef std::pair < DtSymbolString, DtString > | DtVariableNameType |
| typedef DtReaderWriterFactory *(* | DtReaderWriterFactoryCreatorFcn )() |
Protected Member Functions inherited from DtReaderWriter | |
| virtual void | bindToRwAsVariable (const DtReaderWriter *rw) |
| Copies values from the specified DtReaderWriter. | |
Static Protected Attributes inherited from DtReaderWriter | |
| static DtString | theUnspecifiedValue |
| static DtGetSelfCallbackInfo | thePostGetSelfCallback |
| static DtPutSelfCallbackInfo | thePrePutSelfCallback |
| static const DtVariableBindingsList | theEmptyVariableBindingsList |
| static bool | theCreatorFcnSet |
| static DtReaderWriterFactory * | theFactory |
| static DtReaderWriterFactoryCreatorFcn | theFactoryCreatorFcn |
Class DtTerrainInterfaceConfig is a readable-writable class holding terrain interface configuration options.
This class lives in vrfutil so that it is not necessary to depend on terrain interface to use this config object.
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
explicit |
Regexp pattern to match which the label string of whatever is being configured must match.
Exactly what the string is (data source name, query type, etc.) is up to the user of this class and may be different in different situations. Values which are not present will be set to defaults and set as unspecified.
| DtTerrainInterfaceConfig& DtTerrainInterfaceConfig::operator= | ( | const DtTerrainInterfaceConfig & | ) |
|
virtual |
Load the values from the given file.
|
virtual |
Load the values from the given file with the new extension if it exists.
The file given with have its extension replaced by ext and this is The file that will be parsed.
|
virtual |
Configure config using option matchText to match subconfigurations.
If matchText is supplied and this object has a matchPattern value then the function will only proceed if the matchText matches the pattern, otherwise nothing is done as this configuration doesn't apply. The specified values in this object will then be assigned to the values in config, and then the subconfigurations of this object will be iterated over Exactly what you are matching against is up to the user. The purpose of matchPattern is just so that you can use this class in whatever context it is needed and be able to use whatever string is appropriate in that context to discriminate configurations. It is a string which describes whatever thing you are configuring and want to make a named subconfiguration for. All matching configurations are applied, it is probably not a good idea to make many subconfigurations which match the same string but that is up to the user. and the same process applied to each.
| config | Object to be configured. |
| matchText | Text to match against matchPattern. |
|
virtual |
|
virtual |
Replace thee , , string in the supplied parameter path.
|
virtual |
Print object to stream.
| DtString DtTerrainInterfaceConfig::prettyPrint | ( | ) | const |
| void DtTerrainInterfaceConfig::setName | ( | const DtString & | ) |
|
static |
|
static |
|
static |
Set default value for appDataDirectory parameter.
|
static |
| std::string DtTerrainInterfaceConfig::modelDefinitionPath | ( | ) | const |
| std::string DtTerrainInterfaceConfig::simCachePath | ( | ) | const |
| std::string DtTerrainInterfaceConfig::featureConfigFile | ( | ) | const |
|
private |
Parameter Name: subconfigurations Parameter Description: A list of DtTerrainInterfaceConfig objects which can be used to make more specific configurations.
See configure() Default: <empty>
| TInt DtTerrainInterfaceConfig::maxNetworkThreads |
Parameter Name: max-feature-network-threads
Parameter Description: The max number of background threads that will be used
to read streaming feature data.
Parameter Default Value: 4
| TInt DtTerrainInterfaceConfig::maxUnusedFeatures |
Parameter Name: max-unused-features
Parameter Description: Max number of unused features to store in memory.
Once this threshold has been reached, unused features will be paged out
until the number is below this threshold. Parameter Default Value: 500000
| TInt DtTerrainInterfaceConfig::areaPageTableLoadingThreads |
Parameter Name: area-page-table-threads Parameter Description: Max number of simultaneous threads that will be
used for executing feature loading tasks for area features.
Parameter Default Value: 4
| TInt DtTerrainInterfaceConfig::featuresHighestLoadLOD |
Parameter Name: features-highest-load-LOD Parameter Description: The smallest tile (highest LOD) for loading features.
Higher values will create smaller tiles. Parameter Default Value: 14
| TInt DtTerrainInterfaceConfig::featuresLowestLoadLOD |
Parameter Name: features-lowest-load-LOD Parameter Description: The largest tile (smallest LOD) for loading features.
Higher values will create smaller tiles. Parameter Default Value: 8
| TInt DtTerrainInterfaceConfig::featuresPerTileTarget |
Parameter Name: features-per-tile-target Parameter Description: Target number of features per tile.
Parameter Default Value: 100
| TInt DtTerrainInterfaceConfig::featuresMaxIndexLOD |
Parameter Name: features-max-index-LOD Parameter Description: Smallest tile LOD level to index features.
Parameter Default: 20
| TInt DtTerrainInterfaceConfig::minFeaturesToIndexTile |
Parameter Name: min-features-to-index-tile Parameter Description: Minumum number of features in a tile for
the tile to be considered for subindexing.
Parameter Default: 5
| TReal DtTerrainInterfaceConfig::featuresIndexRatio |
Parameter Name: features-index-ratio Parameter Description: If the ratio of the number of features in a parent
tile to the number in a subtile is greater than this value then the tile
will be subindexed.
Parameter Default: 2.0
| TBool DtTerrainInterfaceConfig::deduplicateFeatures |
Parameter Name: deduplicate-features Parameter Description: Remove duplicate features.
Parameter Default: True
| TBool DtTerrainInterfaceConfig::cacheLastFeatureTile |
Parameter Name: cache-last-feature-tile Parameter Description: Cache last used feature tile Parameter Default: True.
| TInt DtTerrainInterfaceConfig::pathFinderMaxSize |
Parameter Name: pathfinder-max-features Parameter Description: The max size of a DtAStarGraph.
Once a path
finder has exceeded this number of loaded features, it will be deleted,
to be recreated the next time a path plan is requested. Parameter Default Value: 50000
| TInt DtTerrainInterfaceConfig::pathFinderPageTableDepth |
Parameter Name: pathfinder-page-table-depth Parameter Description: The depth of the Quad-Tree used for tracking
loaded features for each pathfinder road graph.
Parameter Default Value: 14
| TReal DtTerrainInterfaceConfig::pathFinderLoadTimeout |
Parameter Name: pathfinder-load-timeout Parameter Description: The amount of time (in seconds) that the path finder
will wait on loading a tile of features before giving up on that tile.
Parameter Default Value: 20 Parameter Units: seconds
| TReal DtTerrainInterfaceConfig::pathFinderVertexTolerance |
Parameter Name: pathfinder-vertex-tolerance Parameter Description: The distance tolerance (in meters) within which
feature vertices are considered to be the same vertex.
Used when features
are added to the DtAStarGraph's graph. Parameter Default Value: 1.0 Parameter Units: meters
| TInt DtTerrainInterfaceConfig::triangleThreshold |
Parameter Name: num-triangles-threshold
Parameter Description: Maximum number of triangles.
Once the number of
triangles exceeds this number, data will be paged out until we are
below this threshold.
Parameter Default Value: 500000
| TInt DtTerrainInterfaceConfig::cacheOnlyMaxLod |
Parameter Name: cache-only-max-lod
Parameter Description: Max level of detail to use when in cache-only mode.
Parameter Default Value: 13
| TInt DtTerrainInterfaceConfig::blockingIntersectPageInPriority |
Parameter Name: blocking-intersect-page-in-priority Parameter Description: Priority for paging in data for blocking
intersect requests.
Parameter Default Value: 10
| TInt DtTerrainInterfaceConfig::intersectPageInPriority |
Parameter Name: intersect-page-in-priority Parameter Description: Priority for paging in data for non-blocking
intersect requests.
Parameter Default Value: 20
| TInt DtTerrainInterfaceConfig::pageOutPriority |
Parameter Name: page-out-priority
Parameter Description: Priority for paging out data.
Parameter Default Value: 30
| TInt DtTerrainInterfaceConfig::defaultPreloadPriority |
Parameter Name: default-preload-priority
Parameter Description: Default priority for preload geometry.
This
priority will be used if one is not provided by the preload controller.
Parameter Default Value: 40
| TVector DtTerrainInterfaceConfig::spatialSubdivisionDimensions |
Parameter Name: spatial-subdivision-dimensions
Parameter Description: Parameters for Spatial Subdivision used by
DtBoundingVolumeTerrainSourceTracker to determine which paged-out
nodes should be paged in.
Parameter Default Value: 10 10 1
| TBool DtTerrainInterfaceConfig::useS57ForTerrainGeneration |
Parameter Name: use-S57-for-terrain-generation
Parameter Description: Flag for S57 to terrain and soil types.
Parameter Default Value: True
| TBool DtTerrainInterfaceConfig::oceanLayerPresent |
Parameter Name: ocean-layer-present
Enable/disable ocean layer-present
Default: True.
| TReal DtTerrainInterfaceConfig::seaLevel |
Parameter Name: sea-level
Sea level in meters
Default:
| TReal DtTerrainInterfaceConfig::seaFloor |
Parameter Name: sea-floor
Sea floor in meters.
Default:
| TBool DtTerrainInterfaceConfig::useSoundingPoints |
Parameter Name: use-sounding-points
Default: True.
| TBool DtTerrainInterfaceConfig::pageFeatures |
Parameter Name: page-features
Default: True.
| TString DtTerrainInterfaceConfig::LOSFeaturesQueryName |
Parameter Name: los-features-query
Default: MAK_LOS_OBSTACLE.
| TReal DtTerrainInterfaceConfig::featuresMinUnloadTime |
Parameter Name: features-min-unload-time
Default: 15.
| TInt DtTerrainInterfaceConfig::terrainMinUnloadIntersectDiff |
Parameter Name: terrain-min-unload-intersect-diff Default: 50.
| TString DtTerrainInterfaceConfig::userDataDirectory |
Parameter Name: user-data-directory
Default: ../userData.
| TString DtTerrainInterfaceConfig::dataDirectory |
Parameter Name: data-directory
Default: ../data.
| TString DtTerrainInterfaceConfig::appDataDirectory |
Parameter Name: app-data-directory
Default: ../appData.
| TString DtTerrainInterfaceConfig::pluginsDirectory |
Parameter Name: plugins-directory
Default: ../(plugins|plugins64)/(release|debug)
|
protected |
Parameter Name: model-definition-path
Default: "$(APP_DIR)/definitions/Model Definitions.ommx".
|
protected |
Parameter Name: sim-cache-path
Default: /cache/vrfsim.
|
protected |
Parameter Name: features-config-file
Default: /settings/featureconfig.txt.