|
Geant4
10.04
|
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) |
| G4KDNode_Base | ( | G4KDTree * | , |
| G4KDNode_Base * | |||
| ) |
|
virtual |
|
private |
|
pure virtual |
Implemented in G4KDNodeCopy< PointCopyT >, and G4KDNode< PointT >.
|
virtual |
Reimplemented in G4KDNodeCopy< PointCopyT >, and G4KDNode< PointT >.
Referenced by G4KDNode< PointT >::InactiveNode(), and G4KDNodeCopy< PointCopyT >::InactiveNode().
|
virtual |
Reimplemented in G4KDNodeCopy< PointCopyT >, and G4KDNode< PointT >.
| int GetDim | ( | ) | const |
| G4KDNode_Base* GetParent | ( | ) |
References fParent.
| G4KDNode_Base* GetLeft | ( | ) |
References fLeft.
| G4KDNode_Base* GetRight | ( | ) |
References fRight.
| G4KDNode_Base* FindParent | ( | const Position & | x0 | ) |
| G4KDNode_Base* Insert | ( | PointT * | point | ) |
| G4KDNode_Base* Insert | ( | const PointT & | point | ) |
| int Insert | ( | G4KDNode_Base * | newNode | ) |
| void PullSubTree | ( | ) |
| void RetrieveNodeList | ( | std::list< G4KDNode_Base * > & | node_list | ) |
|
private |
|
protected |
Referenced by GetAxis(), and G4KDNodeCopy< PointCopyT >::operator=().
|
protected |
Referenced by G4KDNodeCopy< PointCopyT >::operator=().
|
protected |
Referenced by GetTree(), G4KDNodeCopy< PointCopyT >::operator=(), and SetTree().
|
protected |
Referenced by GetLeft(), and G4KDNodeCopy< PointCopyT >::operator=().
|
protected |
Referenced by GetRight(), and G4KDNodeCopy< PointCopyT >::operator=().
|
protected |
Referenced by GetParent(), and G4KDNodeCopy< PointCopyT >::operator=().