Geant4
10.02.p02
|
G4KDNode stores one entity in G4KDTree This class is for internal use only. More...
#include <G4KDNode.hh>
Public Member Functions | |
G4KDNodeCopy (G4KDTree *tree, const PointCopyT &point, G4KDNode_Base *parent) | |
virtual | ~G4KDNodeCopy () |
void * | operator new (size_t) |
void | operator delete (void *aNode) |
const PointCopyT & | 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) |
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 | |
PointCopyT | 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 | |
G4KDNodeCopy (const G4KDNodeCopy< PointCopyT > &right) | |
G4KDNodeCopy< PointCopyT > & | operator= (const G4KDNodeCopy< PointCopyT > &right) |
Static Private Attributes | |
static G4ThreadLocal G4Allocator< G4KDNodeCopy < PointCopyT > > * | fgAllocator |
G4KDNode stores one entity in G4KDTree This class is for internal use only.
Definition at line 201 of file G4KDNode.hh.
|
inline |
Definition at line 207 of file G4KDNode.hh.
References G4KDNodeCopy< PointCopyT >::fPoint, and G4KDNodeCopy< PointCopyT >::fValid.
|
inlinevirtual |
Definition at line 216 of file G4KDNode.hh.
|
inlineprivate |
Definition at line 255 of file G4KDNode.hh.
|
inline |
Definition at line 229 of file G4KDNode.hh.
References G4KDNodeCopy< PointCopyT >::fPoint.
|
inlinevirtual |
Reimplemented from G4KDNode_Base.
Definition at line 239 of file G4KDNode.hh.
References G4KDNodeCopy< PointCopyT >::fValid, and G4KDNode_Base::InactiveNode().
|
inlinevirtual |
Reimplemented from G4KDNode_Base.
Definition at line 245 of file G4KDNode.hh.
References G4KDNodeCopy< PointCopyT >::fValid.
|
inline |
Definition at line 224 of file G4KDNode.hh.
References G4KDNodeCopy< PointCopyT >::fgAllocator, and G4Allocator< Type >::FreeSingle().
|
inline |
Definition at line 218 of file G4KDNode.hh.
References G4KDNodeCopy< PointCopyT >::fgAllocator, and G4Allocator< Type >::MallocSingle().
|
inlineprivate |
Definition at line 262 of file G4KDNode.hh.
References G4KDNode_Base::fAxis, G4KDNode_Base::fLeft, G4KDNode_Base::fParent, G4KDNodeCopy< PointCopyT >::fPoint, G4KDNode_Base::fRight, G4KDNode_Base::fSide, and G4KDNode_Base::fTree.
|
inlinevirtual |
Implements G4KDNode_Base.
Definition at line 234 of file G4KDNode.hh.
References G4KDNodeCopy< PointCopyT >::fPoint.
|
staticprivate |
Definition at line 275 of file G4KDNode.hh.
Referenced by G4KDNodeCopy< PointCopyT >::operator delete(), and G4KDNodeCopy< PointCopyT >::operator new().
|
protected |
Definition at line 251 of file G4KDNode.hh.
Referenced by G4KDNodeCopy< PointCopyT >::G4KDNodeCopy(), G4KDNodeCopy< PointCopyT >::GetPoint(), G4KDNodeCopy< PointCopyT >::operator=(), and G4KDNodeCopy< PointCopyT >::operator[]().
|
protected |
Definition at line 252 of file G4KDNode.hh.
Referenced by G4KDNodeCopy< PointCopyT >::G4KDNodeCopy(), G4KDNodeCopy< PointCopyT >::InactiveNode(), and G4KDNodeCopy< PointCopyT >::IsValid().