VR-Forces 4.0.4 Class Documentation
Classes | Public Member Functions
DtBoundingVolumeTerrainSourcePager Class Reference

DtBoundingVolumeTerrainSourcePager is a derived terrainSourcePager that handles a source such as metaflight, or paged .ive. More...

Inheritance diagram for DtBoundingVolumeTerrainSourcePager:
Inheritance graph
[legend]

List of all members.

Classes

class  DtBoundingVolumeActivePageVisitor
 Visitor class used to find the active paged of a OSG scene graph. More...

Public Member Functions

 DtBoundingVolumeTerrainSourcePager (DtVantageTerrainEngine *terrainEngine)
virtual ~DtBoundingVolumeTerrainSourcePager ()
virtual bool pageInGeometry (const DtTerrainPagingGeometryPtr geometry, const unsigned int intersectId=0)=0
 This function must page in all the geometry specified by the argument, and return true when successful.
virtual bool pageOutNodes (std::list< DtNodeId > &nodesToRemove)=0
 This function must cause the page out of the nodeIds specified.
virtual void updateTerrain (const unsigned int intersectId=0)=0
virtual void updatePageTracker (const unsigned int intersectId=0)=0

Detailed Description

DtBoundingVolumeTerrainSourcePager is a derived terrainSourcePager that handles a source such as metaflight, or paged .ive.


Constructor & Destructor Documentation


Member Function Documentation

virtual bool DtBoundingVolumeTerrainSourcePager::pageInGeometry ( const DtTerrainPagingGeometryPtr  geometry,
const unsigned int  intersectId = 0 
) [pure virtual]

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.

Implemented in DtMetaflightTerrainSourcePager, and DtPagedLodTerrainSourcePager.

virtual bool DtBoundingVolumeTerrainSourcePager::pageOutNodes ( std::list< DtNodeId > &  nodesToRemove) [pure 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.

Implemented in DtMetaflightTerrainSourcePager, and DtPagedLodTerrainSourcePager.

virtual void DtBoundingVolumeTerrainSourcePager::updateTerrain ( const unsigned int  intersectId = 0) [pure virtual]
virtual void DtBoundingVolumeTerrainSourcePager::updatePageTracker ( const unsigned int  intersectId = 0) [pure virtual]

The documentation for this class was generated from the following file:

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)