Geant4  10.00.p02
G4KDMap Class Reference

#include <G4KDMap.hh>

Public Member Functions

 G4KDMap (int dimensions)
 
void Insert (G4KDNode *pos)
 
void Sort ()
 
G4KDNodePopOutMiddle (int dimension)
 
int GetDimension ()
 
size_t GetSize ()
 

Private Attributes

bool fIsSorted
 
std::vector< __1DSortOut * > fSortOut
 
std::map< G4KDNode
*, std::vector< std::deque
< G4KDNode * >::iterator > > 
fMap
 

Detailed Description

Definition at line 73 of file G4KDMap.hh.

Constructor & Destructor Documentation

G4KDMap::G4KDMap ( int  dimensions)
inline

Definition at line 76 of file G4KDMap.hh.

References fIsSorted, and fSortOut.

Member Function Documentation

int G4KDMap::GetDimension ( )
inline

Definition at line 89 of file G4KDMap.hh.

References fSortOut.

size_t G4KDMap::GetSize ( )
inline

Definition at line 94 of file G4KDMap.hh.

References fMap.

Referenced by G4KDTree::Build().

+ Here is the caller graph for this function:

void G4KDMap::Insert ( G4KDNode pos)

Definition at line 73 of file G4KDMap.cc.

References fIsSorted, fMap, fSortOut, and pos.

Referenced by G4KDTree::InsertMap().

+ Here is the caller graph for this function:

G4KDNode * G4KDMap::PopOutMiddle ( int  dimension)

Definition at line 92 of file G4KDMap.cc.

References fIsSorted, fMap, fSortOut, and Sort().

Referenced by G4KDTree::Build().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4KDMap::Sort ( )

Definition at line 112 of file G4KDMap.cc.

References fIsSorted, and fSortOut.

Referenced by PopOutMiddle().

+ Here is the caller graph for this function:

Member Data Documentation

bool G4KDMap::fIsSorted
private

Definition at line 100 of file G4KDMap.hh.

Referenced by G4KDMap(), Insert(), PopOutMiddle(), and Sort().

std::map<G4KDNode*, std::vector<std::deque<G4KDNode*>::iterator > > G4KDMap::fMap
private

Definition at line 104 of file G4KDMap.hh.

Referenced by GetSize(), Insert(), and PopOutMiddle().

std::vector<__1DSortOut*> G4KDMap::fSortOut
private

Definition at line 101 of file G4KDMap.hh.

Referenced by G4KDMap(), GetDimension(), Insert(), PopOutMiddle(), and Sort().


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