Geant4
10.01.p03
|
G4KDNode stores one entity in G4KDTree This class is for internal use only. More...
#include <G4KDNode.hh>
Public Member Functions | |
G4KDNode (G4KDTree *, PointT *, G4KDNode_Base *) | |
virtual | ~G4KDNode () |
void * | operator new (size_t) |
void | operator delete (void *) |
PointT * | GetPoint () |
virtual double | operator[] (size_t i) const |
virtual void | InactiveNode () |
virtual bool | IsValid () const |
Public Member Functions inherited from G4KDNode_Base | |
G4KDNode_Base (G4KDTree *, G4KDNode_Base *) | |
virtual | ~G4KDNode_Base () |
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) |
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 | |
PointT * | fPoint |
G4bool | fValid |
Protected Attributes inherited from G4KDNode_Base | |
size_t | fAxis |
int | fSide |
G4KDTree * | fTree |
G4KDNode_Base * | fLeft |
G4KDNode_Base * | fRight |
G4KDNode_Base * | fParent |
Private Member Functions | |
G4KDNode (const G4KDNode< PointT > &right) | |
G4KDNode & | operator= (const G4KDNode< PointT > &right) |
Static Private Attributes | |
static G4ThreadLocal G4Allocator< G4KDNode< PointT > > * | fgAllocator = 0 |
G4KDNode stores one entity in G4KDTree This class is for internal use only.
Definition at line 128 of file G4KDNode.hh.
G4KDNode< PointT >::G4KDNode | ( | G4KDTree * | , |
PointT * | , | ||
G4KDNode_Base * | |||
) |
|
inline |
Definition at line 141 of file G4KDNode.hh.
References G4KDNode< PointT >::fPoint.
Referenced by G4KDTreeResult::GetItem().
|
inlinevirtual |
Reimplemented from G4KDNode_Base.
Definition at line 151 of file G4KDNode.hh.
References G4KDNode< PointT >::fValid, and G4KDNode_Base::InactiveNode().
|
inlinevirtual |
Reimplemented from G4KDNode_Base.
Definition at line 157 of file G4KDNode.hh.
References G4KDNode< PointT >::fValid.
void G4KDNode< PointT >::operator delete | ( | void * | aNode | ) |
Definition at line 184 of file G4KDNode.hh.
void * G4KDNode< PointT >::operator new | ( | size_t | ) |
Definition at line 177 of file G4KDNode.hh.
References G4Allocator< Type >::MallocSingle().
|
private |
|
inlinevirtual |
Implements G4KDNode_Base.
Definition at line 145 of file G4KDNode.hh.
References G4KDNode< PointT >::fPoint.
|
staticprivate |
Definition at line 170 of file G4KDNode.hh.
|
protected |
Definition at line 163 of file G4KDNode.hh.
Referenced by G4KDNode< PointT >::GetPoint(), and G4KDNode< PointT >::operator[]().
Definition at line 164 of file G4KDNode.hh.
Referenced by G4KDNode< PointT >::InactiveNode(), and G4KDNode< PointT >::IsValid().