CMS 3D CMS Logo

List of all members | Public Member Functions | Public Attributes
KDTreeNode Struct Reference

#include <KDTreeLinkerTools.h>

Public Member Functions

 KDTreeNode ()
 
void setAttributs (const KDTreeBox &regionBox, const KDTreeNodeInfo &rhinfo)
 
void setAttributs (const KDTreeBox &regionBox)
 

Public Attributes

KDTreeNodeleft
 
KDTreeBox region
 
KDTreeNodeInfo rh
 
KDTreeNoderight
 

Detailed Description

Definition at line 64 of file KDTreeLinkerTools.h.

Constructor & Destructor Documentation

KDTreeNode::KDTreeNode ( )
inline

Definition at line 76 of file KDTreeLinkerTools.h.

77  : left(nullptr), right(nullptr)
78  {}
KDTreeNode * right
KDTreeNode * left

Member Function Documentation

void KDTreeNode::setAttributs ( const KDTreeBox regionBox,
const KDTreeNodeInfo rhinfo 
)
inline

Definition at line 80 of file KDTreeLinkerTools.h.

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

82  {
83  rh = rhinfo;
84  region = regionBox;
85  }
KDTreeBox region
KDTreeNodeInfo rh
void KDTreeNode::setAttributs ( const KDTreeBox regionBox)
inline

Definition at line 87 of file KDTreeLinkerTools.h.

88  {
89  region = regionBox;
90  }
KDTreeBox region

Member Data Documentation

KDTreeNode* KDTreeNode::left
KDTreeBox KDTreeNode::region

Definition at line 73 of file KDTreeLinkerTools.h.

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

KDTreeNodeInfo KDTreeNode::rh
KDTreeNode * KDTreeNode::right