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...
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< TerrainQuad > | q |
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. |
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.
proland::TileSamplerZ::TreeZ::TreeZ | ( | Tree * | parent, | |
ptr< TerrainQuad > | q | |||
) |
Creates a new TreeZ.
q | a terrain quad. |
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.
The TerrainQuad whose zmin and zmax values must be updated.
True if the elevation values of this tile have been read back.
unsigned int proland::TileSamplerZ::TreeZ::readbackDate |
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.