# Home    # nevrax.com   
Nevrax
Nevrax.org
#News
#Mailing-list
#Documentation
#CVS
#Bugs
#License
Docs
 
Documentation  
Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages   Search  

NL3D::CBSPTree Class Template Reference

class: CBSPTree. More...

#include <bsp_tree.h>

List of all members.

Public Methods

 CBSPTree ()
 Default constructor, use axes XZ. More...

 ~CBSPTree ()
 dtor. More...

void insert (NLMISC::CTriangle &tri, T &value)
sint32 select (CVector &v1, CVector &v2)
getSelection (sint32 i)
sint32 getNbNode ()

Private Attributes

std::vector< CBSPNode * > _Selection
CBSPNode_Root


Detailed Description

template<class T>
class NL3D::CBSPTree< T >

class: CBSPTree.

A template CBSPTree.

Definition at line 51 of file bsp_tree.h.


Constructor & Destructor Documentation

template<class T>
NL3D::CBSPTree< T >::CBSPTree  
 

Default constructor, use axes XZ.

Definition at line 253 of file bsp_tree.h.

References _Selection.

template<class T>
NL3D::CBSPTree< T >::~CBSPTree  
 

dtor.

Definition at line 258 of file bsp_tree.h.

References _Root.


Member Function Documentation

template<class T>
sint32 NL3D::CBSPTree< T >::getNbNode  
 

Definition at line 295 of file bsp_tree.h.

References _Root, and NL3D::CBSPTree::CBSPNode::getNbNode.

template<class T>
T NL3D::CBSPTree< T >::getSelection sint32    i
 

Definition at line 290 of file bsp_tree.h.

References _Selection.

template<class T>
void NL3D::CBSPTree< T >::insert NLMISC::CTriangle   tri,
T &    value
 

Definition at line 270 of file bsp_tree.h.

References _Root, and NL3D::CBSPTree::CBSPNode::insert.

template<class T>
sint32 NL3D::CBSPTree< T >::select CVector &    v1,
CVector &    v2
 

Definition at line 278 of file bsp_tree.h.

References _Root, _Selection, and NL3D::CBSPTree::CBSPNode::select.


Member Data Documentation

template<class T>
CBSPNode* NL3D::CBSPTree::_Root [private]
 

Definition at line 243 of file bsp_tree.h.

Referenced by getNbNode, insert, select, and ~CBSPTree.

template<class T>
std::vector<CBSPNode*> NL3D::CBSPTree::_Selection [private]
 

Definition at line 72 of file bsp_tree.h.

Referenced by CBSPTree, getSelection, and select.


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