This is a node visitor class that evaluates a scene graph and instantiates any DtTerrainSourcePager and TerrainSourceTracker subclasses needed for any of the nodes in the scene graph.
More...
This is a node visitor class that evaluates a scene graph and instantiates any DtTerrainSourcePager and TerrainSourceTracker subclasses needed for any of the nodes in the scene graph.
- Note
- This visitor will allocate new DtTerrainSourcePager subclasses, but will not delete them when destroyed. User must get these pointers using instantiatedPager() and delete them when they are done with them.
| DtTerrainSourceChooser::DtTerrainSourceChooser |
( |
DtVantageTerrainEngine * |
terrainEngine, |
|
|
const DtFilename & |
surfaceCharacterMap |
|
) |
| |
| virtual DtTerrainSourceChooser::~DtTerrainSourceChooser |
( |
| ) |
|
|
virtual |
| DtTerrainSourceChooser::DtTerrainSourceChooser |
( |
| ) |
|
|
private |
| void DtTerrainSourceChooser::setName |
( |
const DtString & |
| ) |
|
| void DtTerrainSourceChooser::setGeometricError |
( |
float |
value | ) |
|
set the geometric error (only used for the 3DTiles format)
| float DtTerrainSourceChooser::geometricError |
( |
| ) |
const |
get the geometric error (only used for the 3DTiles format)
| virtual void DtTerrainSourceChooser::apply |
( |
osg::Node & |
node | ) |
|
|
virtual |
| virtual void DtTerrainSourceChooser::apply |
( |
osg::PositionAttitudeTransform & |
node | ) |
|
|
virtual |
| virtual void DtTerrainSourceChooser::apply |
( |
osg::MatrixTransform & |
node | ) |
|
|
virtual |
| virtual void DtTerrainSourceChooser::apply |
( |
osg::CoordinateSystemNode & |
node | ) |
|
|
virtual |
| virtual const std::list<DtTerrainSourcePager*>& DtTerrainSourceChooser::instantiatedPagers |
( |
| ) |
const |
|
virtual |
Provides the pagers instantiated by running this visitor.
This list holds all the DtTerrainPagers that get instantiated as a result of calling the chooser functions.
| DtFilename DtTerrainSourceChooser::mySurfaceCharacterMap |
|
protected |
| float DtTerrainSourceChooser::myGeometricError |
|
protected |
geometric error for 3DTiles terrain
| osg::Matrix DtTerrainSourceChooser::myMatrix |
|
protected |
matrix transform of current node
The documentation for this class was generated from the following file:
- /data/exports/nrhent7-1/nightly/docs/vrForces.vrf4-10-branch/include/vantageTerrainImplementation/terrainSourceChooser.h