proland::TileSampler::Tree Class Reference

An internal quadtree to store the texture tile associated with each terrain quad. More...

#include <TileSampler.h>

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

List of all members.

Public Member Functions

 Tree (Tree *parent)
 Creates a new Tree.
virtual ~Tree ()
 Deletes this Tree.
virtual void recursiveDelete (TileSampler *owner)
 Deletes this Tree and all its subelements.

Public Attributes

Treeparent
 The parent quad of this quad.
TileCache::Tilet
 The texture tile associated with this quad.
Treechildren [4]
 The subquads of this quad.

Detailed Description

An internal quadtree to store the texture tile associated with each terrain quad.


Constructor & Destructor Documentation

proland::TileSampler::Tree::Tree ( Tree parent  ) 

Creates a new Tree.

virtual proland::TileSampler::Tree::~Tree (  )  [virtual]

Deletes this Tree.

Does not delete its sub elements.


Member Function Documentation

virtual void proland::TileSampler::Tree::recursiveDelete ( TileSampler owner  )  [virtual]

Deletes this Tree and all its subelements.

Releases all the corresponding texture tiles t.

Reimplemented in proland::TileSamplerZ::TreeZ.


Member Data Documentation

The subquads of this quad.

The parent quad of this quad.

The texture tile associated with this quad.


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