| 
    Geant4
    10.02
    
   | 
 
#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 | 
| G4KDTree * | GetTree () const | 
| void | SetTree (G4KDTree *tree) | 
| int | GetDim () const | 
| int | GetAxis () const | 
| G4KDNode_Base * | GetParent () | 
| G4KDNode_Base * | GetLeft () | 
| G4KDNode_Base * | GetRight () | 
| template<typename Position > | |
| G4KDNode_Base * | FindParent (const Position &x0) | 
| template<typename PointT > | |
| G4KDNode_Base * | Insert (PointT *point) | 
| template<typename PointT > | |
| G4KDNode_Base * | Insert (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 | 
| G4KDTree * | fTree | 
| G4KDNode_Base * | fLeft | 
| G4KDNode_Base * | fRight | 
| G4KDNode_Base * | fParent | 
Private Member Functions | |
| G4KDNode_Base (const G4KDNode_Base &right) | |
| G4KDNode_Base & | operator= (const G4KDNode_Base &right) | 
Definition at line 63 of file G4KDNode.hh.
| G4KDNode_Base::G4KDNode_Base | ( | G4KDTree * | tree, | 
| G4KDNode_Base * | parent | ||
| ) | 
Definition at line 72 of file G4KDNode.cc.
References fAxis, G4KDTree::fDim, fParent, fSide, and fTree.
      
  | 
  virtual | 
Definition at line 103 of file G4KDNode.cc.
      
  | 
  private | 
Definition at line 82 of file G4KDNode.cc.
| G4KDNode_Base* G4KDNode_Base::FindParent | ( | const Position & | x0 | ) | 
      
  | 
  inline | 
Definition at line 81 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 112 of file G4KDNode.cc.
References fTree, and G4KDTree::GetDim().
 Here is the call graph for this function:
      
  | 
  inline | 
Definition at line 83 of file G4KDNode.hh.
References fLeft.
Referenced by G4KDTree::__Clear_Rec().
 Here is the caller graph for this function:
      
  | 
  inline | 
Definition at line 82 of file G4KDNode.hh.
References fParent.
      
  | 
  inline | 
Definition at line 84 of file G4KDNode.hh.
References fRight.
Referenced by G4KDTree::__Clear_Rec().
 Here is the caller graph for this function:
      
  | 
  inline | 
Definition at line 76 of file G4KDNode.hh.
References fTree.
      
  | 
  virtual | 
Reimplemented in G4KDNodeCopy< PointCopyT >, and G4KDNode< PointT >.
Definition at line 107 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:| G4KDNode_Base* G4KDNode_Base::Insert | ( | PointT * | point | ) | 
| G4KDNode_Base* G4KDNode_Base::Insert | ( | const PointT & | point | ) | 
| int G4KDNode_Base::Insert | ( | G4KDNode_Base * | newNode | ) | 
Definition at line 120 of file G4KDNode.cc.
References fAxis, FindParent(), fLeft, fParent, fRight, fSide, fTree, and G4KDTree::GetDim().
 Here is the call graph for this function:
      
  | 
  inlinevirtual | 
Reimplemented in G4KDNodeCopy< PointCopyT >, and G4KDNode< PointT >.
Definition at line 73 of file G4KDNode.hh.
      
  | 
  private | 
      
  | 
  pure virtual | 
Implemented in G4KDNodeCopy< PointCopyT >, and G4KDNode< PointT >.
| void G4KDNode_Base::Print | ( | std::ostream & | out, | 
| int | level = 0  | 
        ||
| ) | const | 
Definition at line 178 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 | ( | ) | 
| void G4KDNode_Base::RetrieveNodeList | ( | std::list< G4KDNode_Base * > & | node_list | ) | 
Definition at line 167 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:
      
  | 
  inline | 
Definition at line 77 of file G4KDNode.hh.
References fTree.
      
  | 
  protected | 
Definition at line 108 of file G4KDNode.hh.
Referenced by G4KDNode_Base(), GetAxis(), Insert(), operator=(), and G4KDNodeCopy< PointCopyT >::operator=().
      
  | 
  protected | 
Definition at line 116 of file G4KDNode.hh.
Referenced by GetLeft(), Insert(), operator=(), G4KDNodeCopy< PointCopyT >::operator=(), Print(), PullSubTree(), and RetrieveNodeList().
      
  | 
  protected | 
Definition at line 116 of file G4KDNode.hh.
Referenced by G4KDNode_Base(), GetParent(), Insert(), operator=(), G4KDNodeCopy< PointCopyT >::operator=(), and PullSubTree().
      
  | 
  protected | 
Definition at line 116 of file G4KDNode.hh.
Referenced by GetRight(), Insert(), operator=(), G4KDNodeCopy< PointCopyT >::operator=(), Print(), PullSubTree(), and RetrieveNodeList().
      
  | 
  protected | 
Definition at line 109 of file G4KDNode.hh.
Referenced by G4KDNode_Base(), Insert(), operator=(), G4KDNodeCopy< PointCopyT >::operator=(), and PullSubTree().
      
  | 
  protected | 
Definition at line 115 of file G4KDNode.hh.
Referenced by G4KDNode_Base(), GetDim(), GetTree(), InactiveNode(), Insert(), operator=(), G4KDNodeCopy< PointCopyT >::operator=(), PullSubTree(), and SetTree().