Developer Documentation
TreeNode< BSPTraits > Struct Template Reference

Public Types

typedef BSPTraits::Handle Handle
 
typedef BSPTraits::Point Point
 
typedef BSPTraits::VertexHandle VertexHandle
 
typedef std::vector< Handle > Handles
 
typedef Handles::iterator HandleIter
 
typedef Handles::const_iterator HandleConstIter
 
typedef Point::value_type Scalar
 
typedef ACG::Geometry::PlaneT< Scalar > Plane
 

Public Member Functions

 TreeNode (const Handles &_handles, TreeNode *_parent)
 
HandleIter begin ()
 
HandleIter end ()
 
HandleConstIter begin () const
 
HandleConstIter end () const
 
size_t size () const
 
template<typename MeshT >
void visualizeTree (MeshT *_object, int _max_depth)
 This visualizes the bounding boxes.
 

Public Attributes

Handles handles_
 
TreeNodeparent_
 
TreeNodeleft_child_
 
TreeNoderight_child_
 
Plane plane_
 
Point bb_min
 
Point bb_max
 

Private Member Functions

 TreeNode (const TreeNode &rhs)
 
TreeNodeoperator= (const TreeNode &rhs)
 

Detailed Description

template<class BSPTraits>
struct TreeNode< BSPTraits >

Definition at line 63 of file BSPTreeNode.hh.


The documentation for this struct was generated from the following file: