ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
G4KDNode_Base Class Referenceabstract

#include <geant4/tree/geant4-10.6-release/source/processes/electromagnetic/dna/management/include/G4KDNode.hh>

+ Inheritance diagram for G4KDNode_Base:
+ Collaboration diagram for G4KDNode_Base:

Public Member Functions

 G4KDNode_Base (G4KDTree *, G4KDNode_Base *)
 
virtual ~G4KDNode_Base ()
 
virtual double operator[] (size_t) const =0
 
virtual void InactiveNode ()
 
virtual bool IsValid () const
 
G4KDTreeGetTree () const
 
void SetTree (G4KDTree *tree)
 
int GetDim () const
 
int GetAxis () const
 
G4KDNode_BaseGetParent ()
 
G4KDNode_BaseGetLeft ()
 
G4KDNode_BaseGetRight ()
 
template<typename Position >
G4KDNode_BaseFindParent (const Position &x0)
 
template<typename PointT >
G4KDNode_BaseInsert (PointT *point)
 
template<typename PointT >
G4KDNode_BaseInsert (const PointT &point)
 
int Insert (G4KDNode_Base *newNode)
 
void PullSubTree ()
 
void RetrieveNodeList (std::list< G4KDNode_Base * > &node_list)
 
void Print (std::ostream &out, int level=0) const
 

Protected Attributes

size_t fAxis
 
int fSide
 
G4KDTreefTree
 
G4KDNode_BasefLeft
 
G4KDNode_BasefRight
 
G4KDNode_BasefParent
 

Private Member Functions

 G4KDNode_Base (const G4KDNode_Base &right)
 
G4KDNode_Baseoperator= (const G4KDNode_Base &right)
 

Detailed Description

Definition at line 61 of file G4KDNode.hh.

View newest version in sPHENIX GitHub at line 61 of file G4KDNode.hh

Constructor & Destructor Documentation

G4KDNode_Base::G4KDNode_Base ( G4KDTree tree,
G4KDNode_Base parent 
)

Definition at line 71 of file G4KDNode.cc.

View newest version in sPHENIX GitHub at line 71 of file G4KDNode.cc

References fAxis, G4KDTree::fDim, fParent, fSide, and fTree.

G4KDNode_Base::~G4KDNode_Base ( )
virtual

Definition at line 102 of file G4KDNode.cc.

View newest version in sPHENIX GitHub at line 102 of file G4KDNode.cc

G4KDNode_Base::G4KDNode_Base ( const G4KDNode_Base right)
private

Definition at line 81 of file G4KDNode.cc.

View newest version in sPHENIX GitHub at line 81 of file G4KDNode.cc

References fAxis, and fSide.

Member Function Documentation

template<typename Position >
G4KDNode_Base* G4KDNode_Base::FindParent ( const Position &  x0)

Referenced by Insert().

+ Here is the caller graph for this function:

int G4KDNode_Base::GetAxis ( ) const
inline

Definition at line 79 of file G4KDNode.hh.

View newest version in sPHENIX GitHub at line 79 of file G4KDNode.hh

References fAxis.

Referenced by G4KDMap::PopOutMiddle().

+ Here is the caller graph for this function:

int G4KDNode_Base::GetDim ( ) const

Definition at line 111 of file G4KDNode.cc.

View newest version in sPHENIX GitHub at line 111 of file G4KDNode.cc

References fTree, and G4KDTree::GetDim().

+ Here is the call graph for this function:

G4KDNode_Base* G4KDNode_Base::GetLeft ( )
inline

Definition at line 81 of file G4KDNode.hh.

View newest version in sPHENIX GitHub at line 81 of file G4KDNode.hh

References fLeft.

Referenced by G4KDTree::__Clear_Rec().

+ Here is the caller graph for this function:

G4KDNode_Base* G4KDNode_Base::GetParent ( )
inline

Definition at line 80 of file G4KDNode.hh.

View newest version in sPHENIX GitHub at line 80 of file G4KDNode.hh

References fParent.

G4KDNode_Base* G4KDNode_Base::GetRight ( )
inline

Definition at line 82 of file G4KDNode.hh.

View newest version in sPHENIX GitHub at line 82 of file G4KDNode.hh

References fRight.

Referenced by G4KDTree::__Clear_Rec().

+ Here is the caller graph for this function:

G4KDTree* G4KDNode_Base::GetTree ( ) const
inline

Definition at line 74 of file G4KDNode.hh.

View newest version in sPHENIX GitHub at line 74 of file G4KDNode.hh

References fTree.

void G4KDNode_Base::InactiveNode ( )
virtual

Reimplemented in G4KDNodeCopy< PointCopyT >, and G4KDNode< PointT >.

Definition at line 106 of file G4KDNode.cc.

View newest version in sPHENIX GitHub at line 106 of file G4KDNode.cc

References fTree, and G4KDTree::NoticeNodeDeactivation().

Referenced by InactiveNode(), G4KDNode< PointT >::InactiveNode(), and G4KDNodeCopy< PointCopyT >::InactiveNode().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

template<typename PointT >
G4KDNode_Base* G4KDNode_Base::Insert ( PointT *  point)

Referenced by G4KDTree::Build().

+ Here is the caller graph for this function:

template<typename PointT >
G4KDNode_Base* G4KDNode_Base::Insert ( const PointT &  point)
int G4KDNode_Base::Insert ( G4KDNode_Base newNode)

Definition at line 119 of file G4KDNode.cc.

View newest version in sPHENIX GitHub at line 119 of file G4KDNode.cc

References fAxis, FindParent(), fLeft, fParent, fRight, fSide, fTree, and G4KDTree::GetDim().

+ Here is the call graph for this function:

virtual bool G4KDNode_Base::IsValid ( void  ) const
inlinevirtual

Reimplemented in G4KDNodeCopy< PointCopyT >, and G4KDNode< PointT >.

Definition at line 71 of file G4KDNode.hh.

View newest version in sPHENIX GitHub at line 71 of file G4KDNode.hh

G4KDNode_Base & G4KDNode_Base::operator= ( const G4KDNode_Base right)
private

Definition at line 90 of file G4KDNode.cc.

View newest version in sPHENIX GitHub at line 90 of file G4KDNode.cc

References fAxis, fLeft, fParent, fRight, fSide, and fTree.

virtual double G4KDNode_Base::operator[] ( size_t  ) const
pure virtual
void G4KDNode_Base::Print ( std::ostream &  out,
int  level = 0 
) const

Definition at line 177 of file G4KDNode.cc.

View newest version in sPHENIX GitHub at line 177 of file G4KDNode.cc

References fLeft, fRight, G4endl, and Print().

Referenced by G4KDTree::Print(), and Print().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4KDNode_Base::PullSubTree ( )

Definition at line 146 of file G4KDNode.cc.

View newest version in sPHENIX GitHub at line 146 of file G4KDNode.cc

References fLeft, fParent, fRight, fSide, and fTree.

void G4KDNode_Base::RetrieveNodeList ( std::list< G4KDNode_Base * > &  node_list)

Definition at line 166 of file G4KDNode.cc.

View newest version in sPHENIX GitHub at line 166 of file G4KDNode.cc

References fLeft, fRight, and RetrieveNodeList().

Referenced by RetrieveNodeList().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4KDNode_Base::SetTree ( G4KDTree tree)
inline

Definition at line 75 of file G4KDNode.hh.

View newest version in sPHENIX GitHub at line 75 of file G4KDNode.hh

References fTree, and gammaraytel::tree.

Member Data Documentation

size_t G4KDNode_Base::fAxis
protected

Definition at line 108 of file G4KDNode.hh.

View newest version in sPHENIX GitHub at line 108 of file G4KDNode.hh

Referenced by G4KDNode_Base(), GetAxis(), Insert(), operator=(), and G4KDNodeCopy< PointCopyT >::operator=().

G4KDNode_Base* G4KDNode_Base::fLeft
protected

Definition at line 116 of file G4KDNode.hh.

View newest version in sPHENIX GitHub at line 116 of file G4KDNode.hh

Referenced by GetLeft(), Insert(), operator=(), G4KDNodeCopy< PointCopyT >::operator=(), Print(), PullSubTree(), and RetrieveNodeList().

G4KDNode_Base * G4KDNode_Base::fParent
protected

Definition at line 116 of file G4KDNode.hh.

View newest version in sPHENIX GitHub at line 116 of file G4KDNode.hh

Referenced by G4KDNode_Base(), GetParent(), Insert(), operator=(), G4KDNodeCopy< PointCopyT >::operator=(), and PullSubTree().

G4KDNode_Base * G4KDNode_Base::fRight
protected

Definition at line 116 of file G4KDNode.hh.

View newest version in sPHENIX GitHub at line 116 of file G4KDNode.hh

Referenced by GetRight(), Insert(), operator=(), G4KDNodeCopy< PointCopyT >::operator=(), Print(), PullSubTree(), and RetrieveNodeList().

int G4KDNode_Base::fSide
protected

Definition at line 109 of file G4KDNode.hh.

View newest version in sPHENIX GitHub at line 109 of file G4KDNode.hh

Referenced by G4KDNode_Base(), Insert(), operator=(), G4KDNodeCopy< PointCopyT >::operator=(), and PullSubTree().

G4KDTree* G4KDNode_Base::fTree
protected

Definition at line 115 of file G4KDNode.hh.

View newest version in sPHENIX GitHub at line 115 of file G4KDNode.hh

Referenced by G4KDNode_Base(), GetDim(), GetTree(), InactiveNode(), Insert(), operator=(), G4KDNodeCopy< PointCopyT >::operator=(), PullSubTree(), and SetTree().


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