![]() |
VR-Forces 4.1 Class Documentation
|
DtBoundingVolumeTerrainSourcePager is a derived terrainSourcePager that handles a source such as metaflight, or paged .ive. More...

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 |
Public Member Functions inherited from DtTerrainSourcePager | |
| DtTerrainSourcePager (DtVantageTerrainEngine *terrainEngine) | |
| Constructor. | |
| virtual | ~DtTerrainSourcePager () |
| Destructor. Deletes all pending commands and myTerrainSourceTracker. | |
| virtual void | tick () |
| Processes commands from the priority-sorted command map. | |
| virtual DtTerrainSourceTracker * | createTerrainSourceTracker ()=0 |
| Creates and returns a DtTerrainSourceTracker. | |
| virtual DtTerrainSourceTracker * | terrainSourceTracker () |
| Accessor for myTerrainSourceTracker. | |
| virtual int | highestPriorityPendingWork () |
| Calls processCommandQueue to add new commands into the priority-sorted command map. | |
| virtual void | processCommandQueue () |
| Takes incoming commands off the command queue and adds them to the priority-sorted command map. | |
| virtual void | setCurrentTime (const double ¤tTime) |
| Sets myCurrentTime for purposes of expiring old page-in commands. | |
Additional Inherited Members | |
Protected Attributes inherited from DtTerrainSourcePager | |
| tbb::spin_rw_mutex | myMutex |
| DtVantageTerrainEngine * | myTerrainEngine |
| Pointer to the terrain implementation's terrain engine. | |
| DtTerrainSourceTracker * | myTerrainSourceTracker |
| The terrain source tracker that is updated by this pager. | |
| double | myCurrentTime |
| Time to compare a command's expire time to before executing the command. | |
| DtPagerCommandQueue | myCommandQueue |
| Thread-safe queue to put commands on. | |
| DtCommandPriorityMultimap | myPriorityCommandMultimap |
| Multimap of priorities to paging commands. | |
DtBoundingVolumeTerrainSourcePager is a derived terrainSourcePager that handles a source such as metaflight, or paged .ive.
| DtBoundingVolumeTerrainSourcePager::DtBoundingVolumeTerrainSourcePager | ( | DtVantageTerrainEngine * | terrainEngine | ) |
|
virtual |
|
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.
|
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.
|
pure virtual |
Implemented in DtMetaflightTerrainSourcePager, and DtPagedLodTerrainSourcePager.
|
pure virtual |
Implements DtTerrainSourcePager.
Implemented in DtMetaflightTerrainSourcePager, and DtPagedLodTerrainSourcePager.