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

KDTree node. More...

#include <KDTreeLinkerToolsT.h>

Public Member Functions

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

Public Attributes

KDTreeNodeInfoT< DATA, DIM > info
 Data. More...
 
KDTreeNodeT< DATA, DIM > * left
 Left son. More...
 
KDTreeNodeT< DATA, DIM > * right
 Right son. More...
 
KDTreeBoxT< DIM > region
 Region bounding box. More...
 

Detailed Description

template<typename DATA, unsigned DIM>
class lar_content::KDTreeNodeT< DATA, DIM >

KDTree node.

Definition at line 93 of file KDTreeLinkerToolsT.h.

Constructor & Destructor Documentation

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

Default constructor.

Definition at line 265 of file KDTreeLinkerToolsT.h.

265  : left(nullptr), right(nullptr)
266 {
267 }
KDTreeNodeT< DATA, DIM > * right
Right son.
KDTreeNodeT< DATA, DIM > * left
Left son.

Member Function Documentation

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

setAttributs

Parameters
regionBox
infoToStore

Definition at line 272 of file KDTreeLinkerToolsT.h.

273 {
274  info = infoToStore;
275  region = regionBox;
276 }
KDTreeBoxT< DIM > region
Region bounding box.
KDTreeNodeInfoT< DATA, DIM > info
Data.
template<typename DATA, unsigned DIM>
void lar_content::KDTreeNodeT< DATA, DIM >::setAttributs ( const KDTreeBoxT< DIM > &  regionBox)
inline

setAttributs

Parameters
regionBox

Definition at line 281 of file KDTreeLinkerToolsT.h.

282 {
283  region = regionBox;
284 }
KDTreeBoxT< DIM > region
Region bounding box.

Member Data Documentation

template<typename DATA, unsigned DIM>
KDTreeNodeInfoT<DATA, DIM> lar_content::KDTreeNodeT< DATA, DIM >::info

Data.

Definition at line 116 of file KDTreeLinkerToolsT.h.

template<typename DATA, unsigned DIM>
KDTreeNodeT<DATA, DIM>* lar_content::KDTreeNodeT< DATA, DIM >::left

Left son.

Definition at line 117 of file KDTreeLinkerToolsT.h.

template<typename DATA, unsigned DIM>
KDTreeBoxT<DIM> lar_content::KDTreeNodeT< DATA, DIM >::region

Region bounding box.

Definition at line 119 of file KDTreeLinkerToolsT.h.

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

Right son.

Definition at line 118 of file KDTreeLinkerToolsT.h.


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