Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members

void buildTree const std::vector< T * > &  objs,
int  maxDepth = 0,
int  maxObjs = 1
 

Builds a tree containing the given objects.

The maxDepth attribute specifies the maximum depth of the tree, or if it is set to 0 the depth is automatically deducted from the number of objects using the formula on p204 in PBRT (Pharr&Humphreys).


Generated on Sun Mar 26 19:14:12 2006 for ASR by  doxygen 1.4.4