Geant4_10
|
#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.
G4KDNode * G4KDNode::FindParent | ( | const double * | x0 | ) |
|
inline |
|
inline |
int G4KDNode::GetDim | ( | ) |
|
inline |
|
inline |
Definition at line 132 of file G4KDNode.hh.
|
inline |
|
inline |
|
inline |
Definition at line 147 of file G4KDNode.hh.
void G4KDNode::InactiveNode | ( | ) |
Definition at line 156 of file G4KDNode.cc.
void G4KDNode::PullSubTree | ( | ) |
Definition at line 220 of file G4KDNode.cc.
Definition at line 240 of file G4KDNode.cc.
|
protected |
Definition at line 152 of file G4KDNode.hh.
|
protected |
Definition at line 93 of file G4KDNode.hh.
|
protected |
Definition at line 94 of file G4KDNode.hh.
|
protected |
Definition at line 102 of file G4KDNode.hh.
|
protected |
Definition at line 102 of file G4KDNode.hh.
|
protected |
Definition at line 92 of file G4KDNode.hh.
|
protected |
Definition at line 102 of file G4KDNode.hh.
|
protected |
Definition at line 95 of file G4KDNode.hh.
|
protected |
Definition at line 101 of file G4KDNode.hh.