Main Page | Class List | File List | Class Members | Examples

Quasisampler::TileLeafIterator Class Reference

Leaf iterator for the tile subdivision tree. More...

List of all members.

Public Member Functions

 TileLeafIterator (TileNode *s)
TileNodeoperator * ()
TileNodeoperator-> ()
void begin (TileNode *s)
void refine ()
 Subdivides the tile and moves to its 1st child.

void collapse ()
 Prunes the subdivision tree.

bool next ()
 Moves to the next node in the subdivision tree, in depth-first traversal.

bool hasNext ()
 Checks if there is a next tile, in depth-first traversal.


Private Attributes

TileNodeshape


Detailed Description

Leaf iterator for the tile subdivision tree.

The traversal is made in a depth-first manner. Warning: This does not behave like STL style iterators.

Definition at line 397 of file quasisampler_prototype.h.


Member Function Documentation

bool next  )  [inline]
 

Moves to the next node in the subdivision tree, in depth-first traversal.

Returns false iff there is no such node.

Definition at line 433 of file quasisampler_prototype.h.


The documentation for this class was generated from the following file:
Generated on Wed Aug 18 12:37:51 2004 for Quasi-Sampler by doxygen 1.3.7