Geant4
10.03.p01
|
#include <G4KDNode.hh>
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 |
Definition at line 65 of file G4KDNode.hh.
G4KDNode_Base::G4KDNode_Base | ( | G4KDTree * | tree, |
G4KDNode_Base * | parent | ||
) |
Definition at line 72 of file G4KDNode.cc.
|
virtual |
Definition at line 103 of file G4KDNode.cc.
G4KDNode_Base* G4KDNode_Base::FindParent | ( | const Position & | x0 | ) |
|
inline |
int G4KDNode_Base::GetDim | ( | ) | const |
|
inline |
|
inline |
Definition at line 84 of file G4KDNode.hh.
|
inline |
|
inline |
Definition at line 78 of file G4KDNode.hh.
|
virtual |
Reimplemented in G4KDNodeCopy< PointCopyT >, and G4KDNode< PointT >.
Definition at line 107 of file G4KDNode.cc.
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.
|
inlinevirtual |
Reimplemented in G4KDNodeCopy< PointCopyT >, and G4KDNode< PointT >.
Definition at line 75 of file G4KDNode.hh.
|
pure virtual |
Implemented in G4KDNodeCopy< PointCopyT >, and G4KDNode< PointT >.
Definition at line 178 of file G4KDNode.cc.
void G4KDNode_Base::PullSubTree | ( | ) |
Definition at line 147 of file G4KDNode.cc.
void G4KDNode_Base::RetrieveNodeList | ( | std::list< G4KDNode_Base * > & | node_list | ) |
Definition at line 167 of file G4KDNode.cc.
Definition at line 79 of file G4KDNode.hh.
|
protected |
Definition at line 112 of file G4KDNode.hh.
|
protected |
Definition at line 120 of file G4KDNode.hh.
|
protected |
Definition at line 120 of file G4KDNode.hh.
|
protected |
Definition at line 120 of file G4KDNode.hh.
|
protected |
Definition at line 113 of file G4KDNode.hh.
|
protected |
Definition at line 119 of file G4KDNode.hh.