![]() |
VR-Forces 4.2 Class Documentation
|
This class holds parameters which define the capabilities of the current terrain. More...
Public Member Functions | |
| DtTerrainCapabilities () | |
| virtual | ~DtTerrainCapabilities () |
| virtual bool | supportsTerrainPreload () const |
| Indicates whether or not the loaded terrain responds to terrainPreloadAreas() calls. | |
| virtual void | setSupportsTerrainPreload (bool value) |
| Indicates whether or not the loaded terrain responds to terrainPreloadAreas() calls. | |
Private Member Functions | |
| DtTerrainCapabilities (const DtTerrainCapabilities &orig) | |
| Not implemented. | |
| DtTerrainCapabilities & | operator= (const DtTerrainCapabilities &orig) |
| Not implemented. | |
| bool | mySupportsTerrainPreload |
| Indicates whether or not the loaded terrain has non-polygonal water defined by a fixed altitude and possibly defined in a set of regions (each of which can have a different water altitude) | |
| bool | myHasNonPolygonalWaterRegions |
| Indicates whether or not the loaded terrain has non-polygonal water defined by a fixed altitude and possibly defined in a set of regions (each of which can have a different water altitude) | |
| std::map< DtString, DtString > | myCapabilitiesMap |
| Indicates whether or not the loaded terrain has non-polygonal water defined by a fixed altitude and possibly defined in a set of regions (each of which can have a different water altitude) | |
| virtual bool | hasNonPolygonalWaterRegions () const |
| Indicates whether or not the loaded terrain has non-polygonal water defined by a fixed altitude and possibly defined in a set of regions (each of which can have a different water altitude) | |
| virtual void | setHasNonPolygonalWaterRegions (bool value) |
| Indicates whether or not the loaded terrain has non-polygonal water defined by a fixed altitude and possibly defined in a set of regions (each of which can have a different water altitude) | |
| virtual DtString | capabilityValue (const DtString &key) const |
| virtual void | setCapabilityValue (const DtString &key, const DtString &value) |
| Sets teh capability value for the specified key. | |
| virtual void | clearCapability (const DtString &key) |
| Clears the specified capability key and any value associated. | |
| virtual const std::map < DtString, DtString > & | capabilityMap () const |
This class holds parameters which define the capabilities of the current terrain.
The terrain implementation defines the capabilities of the terrain, and users of the DtTerrainInterface and query for these capabilities. Some capability parameters are defined directly here, and there is also a free-form string map where other terrain capabilities can be defined by the terrain implementation using a key-value pair type of structure.
|
private |
Not implemented.
| DtTerrainCapabilities::DtTerrainCapabilities | ( | ) |
|
virtual |
|
private |
Not implemented.
|
virtual |
Indicates whether or not the loaded terrain responds to terrainPreloadAreas() calls.
If false, the terrainPreloadAreas() is assumed to be a no-op, and there is no benefit to calling it.
|
virtual |
Indicates whether or not the loaded terrain responds to terrainPreloadAreas() calls.
If false, the terrainPreloadAreas() is assumed to be a no-op, and there is no benefit to calling it.
|
virtual |
Indicates whether or not the loaded terrain has non-polygonal water defined by a fixed altitude and possibly defined in a set of regions (each of which can have a different water altitude)
|
virtual |
Indicates whether or not the loaded terrain has non-polygonal water defined by a fixed altitude and possibly defined in a set of regions (each of which can have a different water altitude)
|
virtual |
Sets teh capability value for the specified key.
Will overwrite any existing value at that key.
|
virtual |
Clears the specified capability key and any value associated.
|
protected |
Indicates whether or not the loaded terrain has non-polygonal water defined by a fixed altitude and possibly defined in a set of regions (each of which can have a different water altitude)
|
protected |
Indicates whether or not the loaded terrain has non-polygonal water defined by a fixed altitude and possibly defined in a set of regions (each of which can have a different water altitude)
Indicates whether or not the loaded terrain has non-polygonal water defined by a fixed altitude and possibly defined in a set of regions (each of which can have a different water altitude)