CMS 3D CMS Logo

List of all members | Public Member Functions | Public Attributes
KDTreeNodeT< DATA, DIM > Struct Template Reference

#include <KDTreeLinkerToolsT.h>

Public Member Functions

 KDTreeNodeT ()
 
void setAttributs (const KDTreeBoxT< DIM > &regionBox, const KDTreeNodeInfoT< DATA, DIM > &infoToStore)
 
void setAttributs (const KDTreeBoxT< DIM > &regionBox)
 

Public Attributes

KDTreeNodeInfoT< DATA, DIMinfo
 
KDTreeNodeT< DATA, DIM > * left
 
KDTreeBoxT< DIMregion
 
KDTreeNodeT< DATA, DIM > * right
 

Detailed Description

template<typename DATA, unsigned DIM>
struct KDTreeNodeT< DATA, DIM >

Definition at line 57 of file KDTreeLinkerToolsT.h.

Constructor & Destructor Documentation

template<typename DATA, unsigned DIM>
KDTreeNodeT< DATA, DIM >::KDTreeNodeT ( )
inline

Definition at line 69 of file KDTreeLinkerToolsT.h.

70  : left(0), right(0)
71  {}
KDTreeNodeT< DATA, DIM > * right
KDTreeNodeT< DATA, DIM > * left

Member Function Documentation

template<typename DATA, unsigned DIM>
void KDTreeNodeT< DATA, DIM >::setAttributs ( const KDTreeBoxT< DIM > &  regionBox,
const KDTreeNodeInfoT< DATA, DIM > &  infoToStore 
)
inline

Definition at line 73 of file KDTreeLinkerToolsT.h.

Referenced by KDTreeLinkerAlgo< DATA, DIM >::recBuild().

75  {
76  info = infoToStore;
77  region = regionBox;
78  }
KDTreeBoxT< DIM > region
KDTreeNodeInfoT< DATA, DIM > info
template<typename DATA, unsigned DIM>
void KDTreeNodeT< DATA, DIM >::setAttributs ( const KDTreeBoxT< DIM > &  regionBox)
inline

Definition at line 80 of file KDTreeLinkerToolsT.h.

81  {
82  region = regionBox;
83  }
KDTreeBoxT< DIM > region

Member Data Documentation

template<typename DATA, unsigned DIM>
KDTreeNodeInfoT<DATA,DIM> KDTreeNodeT< DATA, DIM >::info
template<typename DATA, unsigned DIM>
KDTreeNodeT<DATA,DIM>* KDTreeNodeT< DATA, DIM >::left
template<typename DATA, unsigned DIM>
KDTreeBoxT<DIM> KDTreeNodeT< DATA, DIM >::region

Definition at line 66 of file KDTreeLinkerToolsT.h.

template<typename DATA, unsigned DIM>
KDTreeNodeT<DATA,DIM> * KDTreeNodeT< DATA, DIM >::right