Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
ROOT::Math::KDTree< _DataPoint >::SplitNode Class Reference

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

Definition at line 158 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 588 of file KDTree.icc.

◆ ~SplitNode()

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

Definition at line 610 of file KDTree.icc.

◆ SplitNode() [2/2]

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

Definition at line 171 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 619 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 638 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 652 of file KDTree.icc.

◆ GetCut()

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

Definition at line 166 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 689 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 721 of file KDTree.icc.

◆ operator=()

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

Definition at line 172 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 735 of file KDTree.icc.

Member Data Documentation

◆ fCut

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

Definition at line 180 of file KDTree.h.

  • math/mathcore/inc/Math/KDTree.h
  • math/mathcore/inc/Math/KDTree.icc