Geant4 9.6.0
Toolkit for the simulation of the passage of particles through matter
|
#include <G4SurfaceVoxelizer.hh>
Static Public Member Functions | |
template<typename T > | |
static G4int | BinarySearch (const std::vector< T > &vec, T value) |
static G4double | MinDistanceToBox (const G4ThreeVector &aPoint, const G4ThreeVector &f) |
static G4int | SetDefaultVoxelsCount (G4int count) |
static G4int | GetDefaultVoxelsCount () |
Friends | |
class | G4VoxelCandidatesIterator |
Definition at line 68 of file G4SurfaceVoxelizer.hh.
G4SurfaceVoxelizer::G4SurfaceVoxelizer | ( | ) |
Definition at line 61 of file G4SurfaceVoxelizer.cc.
G4SurfaceVoxelizer::~G4SurfaceVoxelizer | ( | ) |
Definition at line 74 of file G4SurfaceVoxelizer.cc.
G4int G4SurfaceVoxelizer::AllocatedMemory | ( | ) |
Definition at line 1029 of file G4SurfaceVoxelizer.cc.
Referenced by G4TessellatedSolid::AllocatedMemory().
|
inlinestatic |
Referenced by GetCandidatesVoxelArray(), and UpdateCurrentVoxel().
G4bool G4SurfaceVoxelizer::Contains | ( | const G4ThreeVector & | point | ) | const |
Definition at line 872 of file G4SurfaceVoxelizer.cc.
|
inline |
Referenced by Voxelize().
void G4SurfaceVoxelizer::DisplayBoundaries | ( | ) |
Definition at line 272 of file G4SurfaceVoxelizer.cc.
Referenced by DisplayBoundaries().
void G4SurfaceVoxelizer::DisplayListNodes | ( | ) |
Definition at line 374 of file G4SurfaceVoxelizer.cc.
void G4SurfaceVoxelizer::DisplayVoxelLimits | ( | ) |
Definition at line 155 of file G4SurfaceVoxelizer.cc.
G4double G4SurfaceVoxelizer::DistanceToBoundingBox | ( | const G4ThreeVector & | point | ) | const |
Definition at line 894 of file G4SurfaceVoxelizer.cc.
Referenced by G4TessellatedSolid::SafetyFromOutside().
G4double G4SurfaceVoxelizer::DistanceToFirst | ( | const G4ThreeVector & | point, |
const G4ThreeVector & | direction | ||
) | const |
Definition at line 884 of file G4SurfaceVoxelizer.cc.
G4double G4SurfaceVoxelizer::DistanceToNext | ( | const G4ThreeVector & | point, |
const G4ThreeVector & | direction, | ||
const std::vector< G4int > & | curVoxel | ||
) | const |
Definition at line 929 of file G4SurfaceVoxelizer.cc.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Referenced by G4TessellatedSolid::Normal(), and G4TessellatedSolid::SafetyFromOutside().
void G4SurfaceVoxelizer::GetCandidatesVoxel | ( | std::vector< G4int > & | voxels | ) |
Definition at line 704 of file G4SurfaceVoxelizer.cc.
G4int G4SurfaceVoxelizer::GetCandidatesVoxelArray | ( | const G4ThreeVector & | point, |
std::vector< G4int > & | list, | ||
G4SurfBits * | crossed = 0 |
||
) | const |
Definition at line 738 of file G4SurfaceVoxelizer.cc.
Referenced by GetCandidatesVoxel(), and GetCandidatesVoxelArray().
G4int G4SurfaceVoxelizer::GetCandidatesVoxelArray | ( | const std::vector< G4int > & | voxels, |
const G4SurfBits | bitmasks[], | ||
std::vector< G4int > & | list, | ||
G4SurfBits * | crossed = 0 |
||
) | const |
Definition at line 805 of file G4SurfaceVoxelizer.cc.
G4int G4SurfaceVoxelizer::GetCandidatesVoxelArray | ( | const std::vector< G4int > & | voxels, |
std::vector< G4int > & | list, | ||
G4SurfBits * | crossed = 0 |
||
) | const |
Definition at line 863 of file G4SurfaceVoxelizer.cc.
|
inline |
|
static |
Definition at line 1023 of file G4SurfaceVoxelizer.cc.
|
inline |
|
inline |
Referenced by G4TessellatedSolid::SafetyFromOutside().
|
inline |
Referenced by G4TessellatedSolid::Normal(), and G4TessellatedSolid::SafetyFromOutside().
|
inline |
|
inline |
|
static |
Definition at line 903 of file G4SurfaceVoxelizer.cc.
Referenced by DistanceToBoundingBox().
Definition at line 1015 of file G4SurfaceVoxelizer.cc.
void G4SurfaceVoxelizer::SetMaxVoxels | ( | const G4ThreeVector & | reductionRatio | ) |
Definition at line 1008 of file G4SurfaceVoxelizer.cc.
void G4SurfaceVoxelizer::SetMaxVoxels | ( | G4int | max | ) |
Definition at line 1001 of file G4SurfaceVoxelizer.cc.
Referenced by G4SurfaceVoxelizer(), and G4TessellatedSolid::SetMaxVoxels().
G4bool G4SurfaceVoxelizer::UpdateCurrentVoxel | ( | const G4ThreeVector & | point, |
const G4ThreeVector & | direction, | ||
std::vector< G4int > & | curVoxel | ||
) | const |
Definition at line 970 of file G4SurfaceVoxelizer.cc.
void G4SurfaceVoxelizer::Voxelize | ( | std::vector< G4VFacet * > & | facets | ) |
Definition at line 611 of file G4SurfaceVoxelizer.cc.
|
friend |
Definition at line 70 of file G4SurfaceVoxelizer.hh.