Geant4 9.6.0
Toolkit for the simulation of the passage of particles through matter
|
#include <G4KDNode.hh>
Public Member Functions | |
G4KDNode (G4KDTree *, const double *, void *, G4KDNode *, int axis0) | |
virtual | ~G4KDNode () |
G4KDTree * | GetTree () |
void | SetTree (G4KDTree *) |
const double * | GetPosition () |
int | GetDim () |
int | GetAxis () |
void * | GetData () |
void | SetData (void *) |
G4KDNode * | GetParent () |
G4KDNode * | GetLeft () |
G4KDNode * | GetRight () |
G4KDNode * | FindParent (const double *x0) |
G4KDNode * | Insert (const double *p, void *data) |
int | Insert (G4KDNode *newNode, double *p) |
int | Insert (G4KDNode *newNode, const double &x, const double &y, const double &z) |
int | Insert (G4KDNode *newNode) |
void | InactiveNode () |
void | PullSubTree () |
void | RetrieveNodeList (std::list< G4KDNode * > &node_list) |
Protected Member Functions | |
int | SetPosition (const double *newposition) |
Protected Attributes | |
double * | fPosition |
int | fAxis |
void * | fData |
int | fSide |
G4KDTree * | fTree |
G4KDNode * | fLeft |
G4KDNode * | fRight |
G4KDNode * | fParent |
G4KDNode stores one entity in G4KDTree This class is for internal use only
Definition at line 50 of file G4KDNode.hh.
G4KDNode::G4KDNode | ( | G4KDTree * | tree, |
const double * | position, | ||
void * | data, | ||
G4KDNode * | parent, | ||
int | axis0 | ||
) |
Definition at line 71 of file G4KDNode.cc.
|
virtual |
Definition at line 107 of file G4KDNode.cc.
Definition at line 138 of file G4KDNode.cc.
Referenced by Insert().
|
inline |
Definition at line 112 of file G4KDNode.hh.
Referenced by G4KDTree::__NearestInRange(), G4KDTree::__NearestToNode(), and G4KDTree::__NearestToPosition().
|
inline |
Definition at line 117 of file G4KDNode.hh.
Referenced by G4KDTree::__Clear_Rec(), G4KDTree::__NearestToNode(), G4KDTree::__NearestToPosition(), and GetData().
int G4KDNode::GetDim | ( | ) |
Definition at line 112 of file G4KDNode.cc.
|
inline |
Definition at line 137 of file G4KDNode.hh.
Referenced by G4KDTree::__Clear_Rec(), G4KDTree::__NearestInRange(), G4KDTree::__NearestToNode(), and G4KDTree::__NearestToPosition().
|
inline |
Definition at line 132 of file G4KDNode.hh.
|
inline |
Definition at line 127 of file G4KDNode.hh.
Referenced by G4KDTree::__NearestInRange(), G4KDTree::__NearestToNode(), G4KDTree::__NearestToPosition(), GetNodePosition(), G4KDTree::Nearest(), and G4KDTree::NearestInRange().
|
inline |
Definition at line 142 of file G4KDNode.hh.
Referenced by G4KDTree::__Clear_Rec(), G4KDTree::__NearestInRange(), G4KDTree::__NearestToNode(), and G4KDTree::__NearestToPosition().
|
inline |
Definition at line 147 of file G4KDNode.hh.
void G4KDNode::InactiveNode | ( | ) |
Definition at line 156 of file G4KDNode.cc.
Referenced by G4KDTree::Insert(), and Insert().
int G4KDNode::Insert | ( | G4KDNode * | newNode | ) |
Definition at line 215 of file G4KDNode.cc.
Definition at line 206 of file G4KDNode.cc.
int G4KDNode::Insert | ( | G4KDNode * | newNode, |
double * | p | ||
) |
Definition at line 180 of file G4KDNode.cc.
void G4KDNode::PullSubTree | ( | ) |
Definition at line 220 of file G4KDNode.cc.
Referenced by PullSubTree().
void G4KDNode::RetrieveNodeList | ( | std::list< G4KDNode * > & | node_list | ) |
Definition at line 240 of file G4KDNode.cc.
Referenced by RetrieveNodeList().
|
inline |
Definition at line 122 of file G4KDNode.hh.
Referenced by G4KDTree::__Clear_Rec().
|
protected |
Definition at line 125 of file G4KDNode.cc.
Referenced by G4KDNode().
|
inline |
Definition at line 152 of file G4KDNode.hh.
|
protected |
Definition at line 93 of file G4KDNode.hh.
Referenced by FindParent(), G4KDNode(), GetAxis(), and Insert().
|
protected |
Definition at line 94 of file G4KDNode.hh.
Referenced by GetData(), InactiveNode(), and SetData().
|
protected |
Definition at line 102 of file G4KDNode.hh.
Referenced by FindParent(), GetLeft(), Insert(), PullSubTree(), and RetrieveNodeList().
|
protected |
Definition at line 102 of file G4KDNode.hh.
Referenced by GetParent(), Insert(), and PullSubTree().
|
protected |
Definition at line 92 of file G4KDNode.hh.
Referenced by FindParent(), GetPosition(), Insert(), SetPosition(), and ~G4KDNode().
|
protected |
Definition at line 102 of file G4KDNode.hh.
Referenced by FindParent(), GetRight(), Insert(), PullSubTree(), and RetrieveNodeList().
|
protected |
Definition at line 95 of file G4KDNode.hh.
Referenced by G4KDNode(), Insert(), and PullSubTree().
|
protected |
Definition at line 101 of file G4KDNode.hh.
Referenced by GetDim(), GetTree(), Insert(), PullSubTree(), SetPosition(), and SetTree().