![]() |
VR-Forces 4.6.1 Class Documentation
|
A DtBoundingVolumeTerrainSourceTracker tracks data from a paging terrain source for purposes such as determining whether the data necessary to intersect with specified geometry is available, generating commands to page in that geometry, and to determine what to page out when necessary. More...
Classes | |
| struct | DtNodeStatusSSELement |
Public Types | |
| typedef boost::shared_ptr < DtNodeStatusSSELement > | DtNodeStatusSSElementPtr |
| typedef DtSpatialSubdivision < DtNodeBoundingInfoPtr > | DtSpatialNodeBoundingInfoContainer |
| typedef DtSpatialSubdivision < DtNodeStatusSSElementPtr > | DtSpatialNodeStatusContainer |
Protected Member Functions | |
| virtual bool | getPagedOutNodes (const DtSphere &sphere, DtNodeBoundingInfoSet &nodes) |
| virtual bool | getPagedOutNodes (const DtLocalVertexList &vertexList, DtNodeBoundingInfoSet &nodes) |
| virtual bool | getPagedOutNodes (const DtChord &chord, DtNodeBoundingInfoSet &nodes) |
| virtual bool | getPagedInNodes (const DtSphere &sphere, DtPagedNodeStatusMap &nodes) |
| virtual bool | getPagedInNodes (const DtLocalVertexList &vertexList, DtPagedNodeStatusMap &nodes) |
| virtual bool | getPagedInNodes (const DtChord &chord, DtPagedNodeStatusMap &nodes) |
| virtual DtTerrainIntersectIDType | findOldestPagedDataUnlocked (unsigned int &numTrianglesOut) |
| virtual DtPageInGeometryCommand * | createPageInGeometryCommand (DtPagingMetaDataPtr metaData) |
| virtual DtPageOutNodesCommand * | createPageOutNodesCommand (DtPagingMetaDataPtr metaData) |
| virtual unsigned int | getNumTriangles (DtNodeId node) |
Protected Attributes | |
| DtNodeBoundingInfoList | myPagedOutAreas |
| For now, just a primitive list of spheres. | |
| DtPagedNodeStatusMap | myPagedInAreas |
| List of paged in volumes. Used for tracking usage for paging out. | |
| bool | myInvalidFlag |
| DtNodeId | myOldestPagedObject |
| tbb::atomic< bool > | myRecomputeOldestPagedObject |
| DtSpatialNodeBoundingInfoContainer * | myPagedOutSpatialNodeContainer |
| Spatial subdivision for finding relevant bounding nodes. | |
| DtSpatialNodeStatusContainer * | myPagedInSpatialNodeContainer |
| std::auto_ptr < DtSharedMemoryBulletDebugDrawer > | myDrawer |
Protected Attributes inherited from DtTerrainSourceTracker | |
| DtString | myLabel |
| DtTerrainInterfaceConfig | myConfig |
| DtPagerCommandQueue * | myCommandQueue |
| DtNodeToCollObjMMap | myNodeToCollObjMMap |
| tbb::spin_rw_mutex | myMutex |
| DtVantageTerrainEngine * | myVantageTerrainEngine |
A DtBoundingVolumeTerrainSourceTracker tracks data from a paging terrain source for purposes such as determining whether the data necessary to intersect with specified geometry is available, generating commands to page in that geometry, and to determine what to page out when necessary.
| typedef boost::shared_ptr<DtNodeStatusSSELement> DtBoundingVolumeTerrainSourceTracker::DtNodeStatusSSElementPtr |
| typedef DtSpatialSubdivision<DtNodeBoundingInfoPtr> DtBoundingVolumeTerrainSourceTracker::DtSpatialNodeBoundingInfoContainer |
| typedef DtSpatialSubdivision<DtNodeStatusSSElementPtr> DtBoundingVolumeTerrainSourceTracker::DtSpatialNodeStatusContainer |
| DtBoundingVolumeTerrainSourceTracker::DtBoundingVolumeTerrainSourceTracker | ( | DtVantageTerrainEngine * | , |
| DtPagerCommandQueue * | commandQueue | ||
| ) |
|
virtual |
|
virtual |
|
virtual |
This version allows the caller to pass in a list of volumes which have been removed, which can be much more efficient if there are a lot of volumes.
|
virtual |
|
virtual |
|
virtual |
Implements DtTerrainSourceTracker.
|
virtual |
Implements DtTerrainSourceTracker.
|
virtual |
Implements DtTerrainSourceTracker.
|
virtual |
|
virtual |
Implements DtTerrainSourceTracker.
|
virtual |
Implements DtTerrainSourceTracker.
|
virtual |
Implements DtTerrainSourceTracker.
|
virtual |
Reimplemented from DtTerrainSourceTracker.
|
virtual |
|
virtual |
|
virtual |
Reimplemented from DtTerrainSourceTracker.
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protected |
For now, just a primitive list of spheres.
This should be an optimized data structure for speed.
|
protected |
List of paged in volumes. Used for tracking usage for paging out.
|
protected |
|
protected |
|
protected |
|
protected |
Spatial subdivision for finding relevant bounding nodes.
The subdivision is projected into topo from the origin of the terrain. Dimensions are specified in terrainOptions.mtl as "spatial-subdivision-dimensions".
|
protected |
|
protected |