Geant4
10.01.p03
|
#include <G4KDMap.hh>
Public Member Functions | |
G4KDMap (size_t dimensions) | |
void | Insert (G4KDNode_Base *pos) |
void | Sort () |
G4KDNode_Base * | PopOutMiddle (size_t dimension) |
size_t | GetDimension () |
size_t | GetSize () |
Private Attributes | |
bool | fIsSorted |
std::vector< __1DSortOut > | fSortOut |
std::map< G4KDNode_Base *, std::vector< std::deque < G4KDNode_Base * >::iterator > > | fMap |
Definition at line 89 of file G4KDMap.hh.
|
inline |
Definition at line 92 of file G4KDMap.hh.
References fIsSorted.
|
inline |
Definition at line 105 of file G4KDMap.hh.
References fSortOut.
|
inline |
Definition at line 110 of file G4KDMap.hh.
References fMap.
Referenced by G4KDTree::Build().
void G4KDMap::Insert | ( | G4KDNode_Base * | pos | ) |
Definition at line 90 of file G4KDMap.cc.
References fIsSorted, fMap, fSortOut, G4cout, G4endl, and pos.
Referenced by G4KDTree::__InsertMap().
G4KDNode_Base * G4KDMap::PopOutMiddle | ( | size_t | dimension | ) |
Definition at line 138 of file G4KDMap.cc.
References fIsSorted, fMap, fSortOut, G4cout, G4endl, G4KDNode_Base::GetAxis(), and Sort().
Referenced by G4KDTree::Build().
void G4KDMap::Sort | ( | ) |
Definition at line 197 of file G4KDMap.cc.
References fIsSorted, and fSortOut.
Referenced by PopOutMiddle().
|
private |
Definition at line 116 of file G4KDMap.hh.
Referenced by G4KDMap(), Insert(), PopOutMiddle(), and Sort().
|
private |
Definition at line 118 of file G4KDMap.hh.
Referenced by GetSize(), Insert(), and PopOutMiddle().
|
private |
Definition at line 117 of file G4KDMap.hh.
Referenced by GetDimension(), Insert(), PopOutMiddle(), and Sort().