ROOT  6.06/09
Reference Guide
Public Member Functions | Private Member Functions | List of all members
ROOT::Math::KDTree< _DataPoint >::HeadNode Class Reference

template<class _DataPoint>
class ROOT::Math::KDTree< _DataPoint >::HeadNode

Definition at line 126 of file KDTree.h.

Public Member Functions

 HeadNode (BaseNode &rNode)
 
virtual ~HeadNode ()
 
virtual const BinNodeFindNode (const point_type &rPoint) const
 
virtual void GetClosestPoints (const point_type &rRef, UInt_t nPoints, std::vector< std::pair< const _DataPoint *, Double_t > > &vFoundPoints) const
 
virtual void GetPointsWithinDist (const point_type &rRef, value_type fDist, std::vector< const _DataPoint * > &vFoundPoints) const
 
virtual Bool_t Insert (const point_type &rPoint)
 
virtual void Print (Int_t) const
 
- Public Member Functions inherited from ROOT::Math::KDTree< _DataPoint >::BaseNode
 BaseNode (BaseNode *pParent=0)
 
virtual ~BaseNode ()
 
BaseNode *& LeftChild ()
 
const BaseNodeLeftChild () const
 
BaseNode *& Parent ()
 
const BaseNodeParent () const
 
BaseNode *& RightChild ()
 
const BaseNodeRightChild () const
 
BaseNode *& GetParentPointer ()
 
Bool_t IsLeftChild () const
 

Private Member Functions

 HeadNode (const HeadNode &)
 
HeadNodeoperator= (const HeadNode &)
 
virtual HeadNodeClone ()
 
virtual bool IsHeadNode () const
 
+ Inheritance diagram for ROOT::Math::KDTree< _DataPoint >::HeadNode:
+ Collaboration diagram for ROOT::Math::KDTree< _DataPoint >::HeadNode:

Constructor & Destructor Documentation

template<class _DataPoint>
ROOT::Math::KDTree< _DataPoint >::HeadNode::HeadNode ( BaseNode rNode)
inline

Definition at line 130 of file KDTree.h.

template<class _DataPoint>
virtual ROOT::Math::KDTree< _DataPoint >::HeadNode::~HeadNode ( )
inlinevirtual

Definition at line 131 of file KDTree.h.

template<class _DataPoint>
ROOT::Math::KDTree< _DataPoint >::HeadNode::HeadNode ( const HeadNode )
inlineprivate

Definition at line 142 of file KDTree.h.

Member Function Documentation

template<class _DataPoint >
KDTree< _DataPoint >::HeadNode * ROOT::Math::KDTree< _DataPoint >::HeadNode::Clone ( )
privatevirtual

Implements ROOT::Math::KDTree< _DataPoint >::BaseNode.

Definition at line 552 of file KDTree.icc.

template<class _DataPoint>
virtual const BinNode* ROOT::Math::KDTree< _DataPoint >::HeadNode::FindNode ( const point_type rPoint) const
inlinevirtual

Implements ROOT::Math::KDTree< _DataPoint >::BaseNode.

Definition at line 134 of file KDTree.h.

template<class _DataPoint >
void ROOT::Math::KDTree< _DataPoint >::HeadNode::GetClosestPoints ( const point_type rRef,
UInt_t  nPoints,
std::vector< std::pair< const _DataPoint *, Double_t > > &  vFoundPoints 
) const
inlinevirtual

Implements ROOT::Math::KDTree< _DataPoint >::BaseNode.

Definition at line 568 of file KDTree.icc.

template<class _DataPoint >
void ROOT::Math::KDTree< _DataPoint >::HeadNode::GetPointsWithinDist ( const point_type rRef,
value_type  fDist,
std::vector< const _DataPoint * > &  vFoundPoints 
) const
inlinevirtual

Implements ROOT::Math::KDTree< _DataPoint >::BaseNode.

Definition at line 576 of file KDTree.icc.

template<class _DataPoint>
virtual Bool_t ROOT::Math::KDTree< _DataPoint >::HeadNode::Insert ( const point_type rPoint)
inlinevirtual

Implements ROOT::Math::KDTree< _DataPoint >::BaseNode.

Definition at line 137 of file KDTree.h.

template<class _DataPoint>
virtual bool ROOT::Math::KDTree< _DataPoint >::HeadNode::IsHeadNode ( ) const
inlineprivatevirtual

Reimplemented from ROOT::Math::KDTree< _DataPoint >::BaseNode.

Definition at line 146 of file KDTree.h.

template<class _DataPoint>
HeadNode& ROOT::Math::KDTree< _DataPoint >::HeadNode::operator= ( const HeadNode )
inlineprivate

Definition at line 143 of file KDTree.h.

template<class _DataPoint>
virtual void ROOT::Math::KDTree< _DataPoint >::HeadNode::Print ( Int_t  ) const
inlinevirtual

Implements ROOT::Math::KDTree< _DataPoint >::BaseNode.

Definition at line 138 of file KDTree.h.


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