Geant4  9.6.p02
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
G4KDNode Class Reference

#include <G4KDNode.hh>

Collaboration diagram for G4KDNode:
Collaboration graph
[legend]

Public Member Functions

 G4KDNode (G4KDTree *, const double *, void *, G4KDNode *, int axis0)
 
virtual ~G4KDNode ()
 
G4KDTreeGetTree ()
 
void SetTree (G4KDTree *)
 
const double * GetPosition ()
 
int GetDim ()
 
int GetAxis ()
 
voidGetData ()
 
void SetData (void *)
 
G4KDNodeGetParent ()
 
G4KDNodeGetLeft ()
 
G4KDNodeGetRight ()
 
G4KDNodeFindParent (const double *x0)
 
G4KDNodeInsert (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
 
voidfData
 
int fSide
 
G4KDTreefTree
 
G4KDNodefLeft
 
G4KDNodefRight
 
G4KDNodefParent
 

Detailed Description

G4KDNode stores one entity in G4KDTree This class is for internal use only

Definition at line 50 of file G4KDNode.hh.

Constructor & Destructor Documentation

G4KDNode::G4KDNode ( G4KDTree tree,
const double *  position,
void data,
G4KDNode parent,
int  axis0 
)

Definition at line 71 of file G4KDNode.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

G4KDNode::~G4KDNode ( )
virtual

Definition at line 107 of file G4KDNode.cc.

Member Function Documentation

G4KDNode * G4KDNode::FindParent ( const double *  x0)

Definition at line 138 of file G4KDNode.cc.

Here is the caller graph for this function:

int G4KDNode::GetAxis ( )
inline

Definition at line 112 of file G4KDNode.hh.

Here is the caller graph for this function:

void * G4KDNode::GetData ( )
inline

Definition at line 117 of file G4KDNode.hh.

Here is the caller graph for this function:

int G4KDNode::GetDim ( )

Definition at line 112 of file G4KDNode.cc.

Here is the call graph for this function:

G4KDNode * G4KDNode::GetLeft ( )
inline

Definition at line 137 of file G4KDNode.hh.

Here is the caller graph for this function:

G4KDNode * G4KDNode::GetParent ( )
inline

Definition at line 132 of file G4KDNode.hh.

const double * G4KDNode::GetPosition ( )
inline

Definition at line 127 of file G4KDNode.hh.

Here is the caller graph for this function:

G4KDNode * G4KDNode::GetRight ( )
inline

Definition at line 142 of file G4KDNode.hh.

Here is the caller graph for this function:

G4KDTree * G4KDNode::GetTree ( )
inline

Definition at line 147 of file G4KDNode.hh.

void G4KDNode::InactiveNode ( )

Definition at line 120 of file G4KDNode.cc.

Here is the caller graph for this function:

G4KDNode * G4KDNode::Insert ( const double *  p,
void data 
)

Definition at line 156 of file G4KDNode.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

int G4KDNode::Insert ( G4KDNode newNode,
double *  p 
)

Definition at line 180 of file G4KDNode.cc.

Here is the call graph for this function:

int G4KDNode::Insert ( G4KDNode newNode,
const double &  x,
const double &  y,
const double &  z 
)

Definition at line 206 of file G4KDNode.cc.

Here is the call graph for this function:

int G4KDNode::Insert ( G4KDNode newNode)

Definition at line 215 of file G4KDNode.cc.

Here is the call graph for this function:

void G4KDNode::PullSubTree ( )

Definition at line 220 of file G4KDNode.cc.

void G4KDNode::RetrieveNodeList ( std::list< G4KDNode * > &  node_list)

Definition at line 240 of file G4KDNode.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

void G4KDNode::SetData ( void data)
inline

Definition at line 122 of file G4KDNode.hh.

Here is the caller graph for this function:

int G4KDNode::SetPosition ( const double *  newposition)
protected

Definition at line 125 of file G4KDNode.cc.

Here is the caller graph for this function:

void G4KDNode::SetTree ( G4KDTree tree)
inline

Definition at line 152 of file G4KDNode.hh.

Member Data Documentation

int G4KDNode::fAxis
protected

Definition at line 93 of file G4KDNode.hh.

void* G4KDNode::fData
protected

Definition at line 94 of file G4KDNode.hh.

G4KDNode* G4KDNode::fLeft
protected

Definition at line 102 of file G4KDNode.hh.

G4KDNode * G4KDNode::fParent
protected

Definition at line 102 of file G4KDNode.hh.

double* G4KDNode::fPosition
protected

Definition at line 92 of file G4KDNode.hh.

G4KDNode * G4KDNode::fRight
protected

Definition at line 102 of file G4KDNode.hh.

int G4KDNode::fSide
protected

Definition at line 95 of file G4KDNode.hh.

G4KDTree* G4KDNode::fTree
protected

Definition at line 101 of file G4KDNode.hh.


The documentation for this class was generated from the following files: