DtMetaflightTerrainSourcePager is a derived terrainSourcePager that handles metaflight terrains.
More...
Static Protected Member Functions |
|
| static DtNodeId | osgNodeId (makVrv::DtHierarchicalPagedLod *node) |
| | Methods for converting to/from DtNodeId.
|
static
makVrv::DtHierarchicalPagedLod * | nodeFromId (DtNodeId nodeId) |
| | Methods for converting to/from DtNodeId.
|
Detailed Description
DtMetaflightTerrainSourcePager is a derived terrainSourcePager that handles metaflight terrains.
Constructor & Destructor Documentation
| DtMetaflightTerrainSourcePager::DtMetaflightTerrainSourcePager |
( |
DtVantageTerrainEngine * |
terrainEngine, |
|
|
osg::Group * |
rootNode, |
|
|
const DtFilename & |
surfaceCharacterMap |
|
) |
| |
| virtual DtMetaflightTerrainSourcePager::~DtMetaflightTerrainSourcePager |
( |
| ) |
|
|
virtual |
Member Function Documentation
This function must page in all the geometry specified by the argument, and return true when successful.
If this method returns false, it will be called again later, until it returns true or times out.
Implements DtBoundingVolumeTerrainSourcePager.
| virtual bool DtMetaflightTerrainSourcePager::pageOutNodes |
( |
std::list< DtNodeId > & |
nodesToRemove | ) |
|
|
virtual |
This function must cause the page out of the nodeIds specified.
It should return true when successful. It will be called repeatedly with the same arguments until it succeeds.
Implements DtBoundingVolumeTerrainSourcePager.
| virtual void DtMetaflightTerrainSourcePager::updateTerrain |
( |
const unsigned int |
intersectId = 0 | ) |
|
|
virtual |
| virtual void DtMetaflightTerrainSourcePager::updatePageTracker |
( |
const unsigned int |
intersectId = 0 | ) |
|
|
virtual |
| static DtNodeId DtMetaflightTerrainSourcePager::osgNodeId |
( |
makVrv::DtHierarchicalPagedLod * |
node | ) |
|
|
staticprotected |
Methods for converting to/from DtNodeId.
These are protected, because only the pager should be accessing NodeIds as if they are actual nodes. The tracker does not do that since it operates in a separate thread.
| static makVrv::DtHierarchicalPagedLod* DtMetaflightTerrainSourcePager::nodeFromId |
( |
DtNodeId |
nodeId | ) |
|
|
staticprotected |
Methods for converting to/from DtNodeId.
These are protected, because only the pager should be accessing NodeIds as if they are actual nodes. The tracker does not do that since it operates in a separate thread.
Member Data Documentation
| osg::Group* DtMetaflightTerrainSourcePager::myRootNode |
|
protected |
This is the list of nodes for only the LODs that we will page into the terrain.
| DtFilename DtMetaflightTerrainSourcePager::mySurfaceCharacterMap |
|
protected |
The documentation for this class was generated from the following file: