![]() |
VR-Forces Developer's Guide
|
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.

Public Member Functions | |
| DtTerrainSourceChooser (DtVantageTerrainEngine *terrainEngine, makVrf::DtSurfaceCharacteristicMapConstPtr surfaceCharacterMap) | |
| virtual | ~DtTerrainSourceChooser () |
| void | setChooserFunctions (const std::list< DtTerrainChooserFunction > &fcnList) |
| void | setName (const DtString &) |
| void | setGeometricError (float value) |
| float | geometricError () const |
| virtual void | apply (osg::Node &node) |
| virtual void | apply (osg::PositionAttitudeTransform &node) |
| virtual void | apply (osg::MatrixTransform &node) |
| virtual void | apply (osg::CoordinateSystemNode &node) |
| virtual void | apply (osg::Drawable &node) |
| virtual const std::list < DtTerrainSourcePager * > & | instantiatedPagers () const |
Protected Attributes | |
| std::list < DtTerrainChooserFunction > | myChooserFunctions |
| std::list< DtTerrainSourcePager * > | myInstantiatedPagers |
| DtVantageTerrainEngine * | myTerrainEngine |
| makVrf::DtSurfaceCharacteristicMapConstPtr | mySurfaceCharacterMap |
| DtString | myName |
| float | myGeometricError |
| osg::Matrix | myMatrix |
Private Member Functions | |
| DtTerrainSourceChooser () | |
| DtTerrainSourceChooser::DtTerrainSourceChooser | ( | DtVantageTerrainEngine * | terrainEngine, |
| makVrf::DtSurfaceCharacteristicMapConstPtr | surfaceCharacterMap | ||
| ) |
|
virtual |
|
private |
Not implemented.
| void DtTerrainSourceChooser::setChooserFunctions | ( | const std::list< DtTerrainChooserFunction > & | fcnList | ) |
| 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 |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
Provides the pagers instantiated by running this visitor.
|
protected |
|
protected |
This list holds all the DtTerrainPagers that get instantiated as a result of calling the chooser functions.
|
protected |
|
protected |
|
protected |
|
protected |
geometric error for 3DTiles terrain
|
protected |
matrix transform of current node