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

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

Definition at line 157 of file KDTree.h.

Public Member Functions

 SplitNode (UInt_t iAxis, Double_t fCutValue, BaseNode &rLeft, BaseNode &rRight, BaseNode *pParent=0)
 
virtual ~SplitNode ()
 
const CutGetCut () const
 
virtual void Print (Int_t iRow=0) 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 ()
 
virtual Bool_t IsHeadNode () const
 
Bool_t IsLeftChild () const
 

Private Member Functions

 SplitNode (const SplitNode &)
 
SplitNodeoperator= (const SplitNode &)
 
virtual SplitNodeClone ()
 
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)
 

Private Attributes

const CutfCut
 
+ Inheritance diagram for ROOT::Math::KDTree< _DataPoint >::SplitNode:
+ Collaboration diagram for ROOT::Math::KDTree< _DataPoint >::SplitNode:

Constructor & Destructor Documentation

template<class _DataPoint >
ROOT::Math::KDTree< _DataPoint >::SplitNode::SplitNode ( UInt_t  iAxis,
Double_t  fCutValue,
BaseNode rLeft,
BaseNode rRight,
BaseNode pParent = 0 
)

Definition at line 584 of file KDTree.icc.

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

Definition at line 606 of file KDTree.icc.

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

Definition at line 170 of file KDTree.h.

Member Function Documentation

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

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

Definition at line 615 of file KDTree.icc.

template<class _DataPoint >
const KDTree< _DataPoint >::BinNode * ROOT::Math::KDTree< _DataPoint >::SplitNode::FindNode ( const point_type rPoint) const
privatevirtual

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

Definition at line 634 of file KDTree.icc.

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

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

Definition at line 648 of file KDTree.icc.

template<class _DataPoint>
const Cut* ROOT::Math::KDTree< _DataPoint >::SplitNode::GetCut ( ) const
inline
template<class _DataPoint >
void ROOT::Math::KDTree< _DataPoint >::SplitNode::GetPointsWithinDist ( const point_type rRef,
value_type  fDist,
std::vector< const _DataPoint * > &  vFoundPoints 
) const
privatevirtual

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

Definition at line 685 of file KDTree.icc.

template<class _DataPoint >
Bool_t ROOT::Math::KDTree< _DataPoint >::SplitNode::Insert ( const point_type rPoint)
inlineprivatevirtual

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

Definition at line 717 of file KDTree.icc.

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

Definition at line 171 of file KDTree.h.

template<class _DataPoint >
void ROOT::Math::KDTree< _DataPoint >::SplitNode::Print ( Int_t  iRow = 0) const
virtual

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

Definition at line 731 of file KDTree.icc.

Member Data Documentation

template<class _DataPoint>
const Cut* ROOT::Math::KDTree< _DataPoint >::SplitNode::fCut
private

Definition at line 179 of file KDTree.h.

Referenced by ROOT::Math::KDTree< _DataPoint >::SplitNode::GetCut().


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