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 58 of file KDTreeLinkerToolsT.h.

Constructor & Destructor Documentation

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

Definition at line 70 of file KDTreeLinkerToolsT.h.

71  : left(nullptr), right(nullptr)
72  {}
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 74 of file KDTreeLinkerToolsT.h.

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

76  {
77  info = infoToStore;
78  region = regionBox;
79  }
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 81 of file KDTreeLinkerToolsT.h.

82  {
83  region = regionBox;
84  }
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 67 of file KDTreeLinkerToolsT.h.

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