Logo ROOT   6.08/07
Reference Guide
List of all members | 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 *& GetParentPointer ()
 
virtual Bool_t IsHeadNode () const
 
Bool_t IsLeftChild () const
 
BaseNode *& LeftChild ()
 
const BaseNodeLeftChild () const
 
BaseNode *& Parent ()
 
const BaseNodeParent () const
 
BaseNode *& RightChild ()
 
const BaseNodeRightChild () const
 

Private Member Functions

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

Private Attributes

const CutfCut
 
Inheritance diagram for ROOT::Math::KDTree< _DataPoint >::SplitNode:
[legend]

Constructor & Destructor Documentation

◆ SplitNode() [1/2]

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.

◆ ~SplitNode()

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

Definition at line 606 of file KDTree.icc.

◆ SplitNode() [2/2]

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

Definition at line 170 of file KDTree.h.

Member Function Documentation

◆ Clone()

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.

◆ FindNode()

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.

◆ GetClosestPoints()

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.

◆ GetCut()

template<class _DataPoint>
const Cut* ROOT::Math::KDTree< _DataPoint >::SplitNode::GetCut ( ) const
inline

Definition at line 165 of file KDTree.h.

◆ GetPointsWithinDist()

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.

◆ Insert()

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.

◆ operator=()

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

Definition at line 171 of file KDTree.h.

◆ Print()

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

◆ fCut

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

Definition at line 179 of file KDTree.h.


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