VR-Forces 4.5 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | Public Types | Public Member Functions | Public Attributes
DtTileData Struct Reference

DtTileData is tracked by the DtOsgEarthTerrainSourceTracker for paging out tiles and for drawing tile boundaries. More...

Public Types

enum  TileType { Normal, Empty, NoTriangles }

Public Member Functions

 DtTileData ()
 Default constructor.
 DtTileData (const btVector3 &tNE, const btVector3 &tNW, const btVector3 &tSE, const btVector3 &tSW, const DtTerrainIntersectIDType &lU, const unsigned int &nT)
 Constructor.
virtual ~DtTileData ()
 Destructor.

Public Attributes

btVector3 topNE
 The 8 points in geocentric required to draw the tile in the debug drawer.
btVector3 topNW
btVector3 topSE
btVector3 topSW
DtTerrainIntersectIDType lastUsed
 The last time this tile was used.
unsigned int numTriangles
 The number of triangles this tile, and therefore its collision object, contain.
TileType type
 Abstract notion of type so we can annotate tiles (mostly for drawing then later).

Detailed Description

DtTileData is tracked by the DtOsgEarthTerrainSourceTracker for paging out tiles and for drawing tile boundaries.

Member Enumeration Documentation

Enumerator:
Normal 
Empty 
NoTriangles 

Constructor & Destructor Documentation

DtTileData::DtTileData ( )
inline

Default constructor.

DtTileData::DtTileData ( const btVector3 &  tNE,
const btVector3 &  tNW,
const btVector3 &  tSE,
const btVector3 &  tSW,
const DtTerrainIntersectIDType lU,
const unsigned int nT 
)
inline

Constructor.

virtual DtTileData::~DtTileData ( )
inlinevirtual

Destructor.

Member Data Documentation

btVector3 DtTileData::topNE

The 8 points in geocentric required to draw the tile in the debug drawer.

btVector3 DtTileData::topNW
btVector3 DtTileData::topSE
btVector3 DtTileData::topSW
DtTerrainIntersectIDType DtTileData::lastUsed

The last time this tile was used.

Necessary for deciding which tiles to page out.

unsigned int DtTileData::numTriangles

The number of triangles this tile, and therefore its collision object, contain.

Used for estimating page out gains.

TileType DtTileData::type

Abstract notion of type so we can annotate tiles (mostly for drawing then later).


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

Document ID: Generated on Thu Mar 23 18:54:12 EDT 2017 from SVN revision 174804
Copyright © 2005-2017 VT MÄK. All Rights Reserved (www.mak.com)