CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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(0), right(0)
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.

References region, and rh.

Referenced by KDTreeLinkerAlgo< DATA >::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.

References region.

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 >::recSearch(), and setAttributs().

KDTreeNodeInfo KDTreeNode::rh
KDTreeNode * KDTreeNode::right