proland::TileSamplerZ::TreeZ Class Reference

An internal quadtree to store the texture tile associated with each terrain quad, and to keep track of tiles that need to be read back. More...

Inheritance diagram for proland::TileSamplerZ::TreeZ:
proland::TileSampler::Tree

List of all members.

Public Member Functions

 TreeZ (Tree *parent, ptr< TerrainQuad > q)
 Creates a new TreeZ.
virtual void recursiveDelete (TileSampler *owner)
 Deletes this Tree and all its subelements.

Public Attributes

ptr< TerrainQuadq
 The TerrainQuad whose zmin and zmax values must be updated.
bool readback
 True if the elevation values of this tile have been read back.
unsigned int readbackDate
 Completion date of the elevation tile data at the time of the last read back.

Detailed Description

An internal quadtree to store the texture tile associated with each terrain quad, and to keep track of tiles that need to be read back.


Constructor & Destructor Documentation

proland::TileSamplerZ::TreeZ::TreeZ ( Tree parent,
ptr< TerrainQuad q 
)

Creates a new TreeZ.

Parameters:
q a terrain quad.

Member Function Documentation

virtual void proland::TileSamplerZ::TreeZ::recursiveDelete ( TileSampler owner  )  [virtual]

Deletes this Tree and all its subelements.

Releases all the corresponding texture tiles t.

Reimplemented from proland::TileSampler::Tree.


Member Data Documentation

The TerrainQuad whose zmin and zmax values must be updated.

True if the elevation values of this tile have been read back.

Completion date of the elevation tile data at the time of the last read back.

This is used to trigger a new read back if the elevation data changes.


Generated on Sat May 12 09:41:39 2012 for proland by  doxygen 1.6.1