CMS 3D CMS Logo

Public Member Functions | Public Attributes

KDTreeNode Struct Reference

#include <KDTreeLinkerTools.h>

List of all members.

Public Member Functions

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

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.

    : left(0), right(0)
  {}

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::recBuild().

  {
    rh = rhinfo;
    region = regionBox;
  }
void KDTreeNode::setAttributs ( const KDTreeBox regionBox) [inline]

Definition at line 87 of file KDTreeLinkerTools.h.

References region.

  {
    region = regionBox;
  }

Member Data Documentation

Definition at line 73 of file KDTreeLinkerTools.h.

Referenced by KDTreeLinkerAlgo::recSearch(), and setAttributs().