Geant4
10.00.p03
|
#include <G4VoxelLimits.hh>
Public Member Functions | |
G4VoxelLimits () | |
~G4VoxelLimits () | |
void | AddLimit (const EAxis pAxis, const G4double pMin, const G4double pMax) |
G4double | GetMaxXExtent () const |
G4double | GetMaxYExtent () const |
G4double | GetMaxZExtent () const |
G4double | GetMinXExtent () const |
G4double | GetMinYExtent () const |
G4double | GetMinZExtent () const |
G4double | GetMaxExtent (const EAxis pAxis) const |
G4double | GetMinExtent (const EAxis pAxis) const |
G4bool | IsXLimited () const |
G4bool | IsYLimited () const |
G4bool | IsZLimited () const |
G4bool | IsLimited () const |
G4bool | IsLimited (const EAxis pAxis) const |
G4bool | ClipToLimits (G4ThreeVector &pStart, G4ThreeVector &pEnd) const |
G4bool | Inside (const G4ThreeVector &pVec) const |
G4int | OutCode (const G4ThreeVector &pVec) const |
Private Attributes | |
G4double | fxAxisMin |
G4double | fxAxisMax |
G4double | fyAxisMin |
G4double | fyAxisMax |
G4double | fzAxisMin |
G4double | fzAxisMax |
Definition at line 62 of file G4VoxelLimits.hh.
G4VoxelLimits::G4VoxelLimits | ( | ) |
Definition at line 48 of file G4VoxelLimits.cc.
G4VoxelLimits::~G4VoxelLimits | ( | ) |
Definition at line 55 of file G4VoxelLimits.cc.
Definition at line 65 of file G4VoxelLimits.cc.
References assert, fxAxisMax, fxAxisMin, fyAxisMax, fyAxisMin, fzAxisMax, fzAxisMin, kXAxis, kYAxis, and kZAxis.
Referenced by G4ClippablePolygon::ClipAlongOneAxis(), G4VSolid::ClipPolygon(), G4DrawVoxels::ComputeVoxelPolyhedra(), and G4SmartVoxelHeader::RefineNodes().
G4bool G4VoxelLimits::ClipToLimits | ( | G4ThreeVector & | pStart, |
G4ThreeVector & | pEnd | ||
) | const |
Definition at line 102 of file G4VoxelLimits.cc.
References fxAxisMax, fxAxisMin, fyAxisMax, fyAxisMin, fzAxisMax, fzAxisMin, and OutCode().
Referenced by G4VSolid::ClipPolygonToSimpleLimits(), and G4ClippablePolygon::ClipToSimpleLimits().
Referenced by G4SmartVoxelHeader::BuildNodes(), G4USolid::CalculateExtent(), G4ReflectedSolid::CalculateExtent(), G4Box::CalculateExtent(), G4CutTubs::CalculateExtent(), G4VTwistedFaceted::CalculateExtent(), G4OTubs::CalculateExtent(), G4Ellipsoid::CalculateExtent(), G4Paraboloid::CalculateExtent(), G4Trd::CalculateExtent(), G4GenericTrap::CalculateExtent(), G4Para::CalculateExtent(), G4Tubs::CalculateExtent(), G4Cons::CalculateExtent(), G4Sphere::CalculateExtent(), G4Torus::CalculateExtent(), G4TessellatedSolid::CalculateExtent(), G4ClippablePolygon::ClipAlongOneAxis(), and G4SolidExtentList::G4SolidExtentList().
G4double G4VoxelLimits::GetMaxXExtent | ( | ) | const |
Referenced by G4USolid::CalculateExtent(), G4ReflectedSolid::CalculateExtent(), G4Box::CalculateExtent(), G4CutTubs::CalculateExtent(), G4VTwistedFaceted::CalculateExtent(), G4Tet::CalculateExtent(), G4Orb::CalculateExtent(), G4OTubs::CalculateExtent(), G4Ellipsoid::CalculateExtent(), G4Paraboloid::CalculateExtent(), G4Trd::CalculateExtent(), G4GenericTrap::CalculateExtent(), G4Para::CalculateExtent(), G4Tubs::CalculateExtent(), G4Cons::CalculateExtent(), G4Sphere::CalculateExtent(), G4Torus::CalculateExtent(), G4Trap::CalculateExtent(), G4VSolid::ClipPolygon(), and operator<<().
G4double G4VoxelLimits::GetMaxYExtent | ( | ) | const |
Referenced by G4USolid::CalculateExtent(), G4ReflectedSolid::CalculateExtent(), G4Box::CalculateExtent(), G4CutTubs::CalculateExtent(), G4VTwistedFaceted::CalculateExtent(), G4Tet::CalculateExtent(), G4Orb::CalculateExtent(), G4OTubs::CalculateExtent(), G4Ellipsoid::CalculateExtent(), G4Paraboloid::CalculateExtent(), G4Trd::CalculateExtent(), G4GenericTrap::CalculateExtent(), G4Para::CalculateExtent(), G4Tubs::CalculateExtent(), G4Cons::CalculateExtent(), G4Sphere::CalculateExtent(), G4Torus::CalculateExtent(), G4Trap::CalculateExtent(), G4VSolid::ClipPolygon(), and operator<<().
G4double G4VoxelLimits::GetMaxZExtent | ( | ) | const |
Referenced by G4USolid::CalculateExtent(), G4ReflectedSolid::CalculateExtent(), G4Box::CalculateExtent(), G4CutTubs::CalculateExtent(), G4VTwistedFaceted::CalculateExtent(), G4Tet::CalculateExtent(), G4Orb::CalculateExtent(), G4OTubs::CalculateExtent(), G4Ellipsoid::CalculateExtent(), G4Paraboloid::CalculateExtent(), G4Trd::CalculateExtent(), G4GenericTrap::CalculateExtent(), G4Para::CalculateExtent(), G4Tubs::CalculateExtent(), G4Cons::CalculateExtent(), G4Sphere::CalculateExtent(), G4Torus::CalculateExtent(), G4Trap::CalculateExtent(), G4VSolid::ClipPolygon(), and operator<<().
Referenced by G4SmartVoxelHeader::BuildNodes(), G4USolid::CalculateExtent(), G4ReflectedSolid::CalculateExtent(), G4Box::CalculateExtent(), G4CutTubs::CalculateExtent(), G4VTwistedFaceted::CalculateExtent(), G4OTubs::CalculateExtent(), G4Ellipsoid::CalculateExtent(), G4Paraboloid::CalculateExtent(), G4Trd::CalculateExtent(), G4GenericTrap::CalculateExtent(), G4Para::CalculateExtent(), G4Tubs::CalculateExtent(), G4Cons::CalculateExtent(), G4Sphere::CalculateExtent(), G4Torus::CalculateExtent(), G4TessellatedSolid::CalculateExtent(), G4ClippablePolygon::ClipAlongOneAxis(), and G4SolidExtentList::G4SolidExtentList().
G4double G4VoxelLimits::GetMinXExtent | ( | ) | const |
Referenced by G4USolid::CalculateExtent(), G4ReflectedSolid::CalculateExtent(), G4Box::CalculateExtent(), G4CutTubs::CalculateExtent(), G4VTwistedFaceted::CalculateExtent(), G4Tet::CalculateExtent(), G4Orb::CalculateExtent(), G4OTubs::CalculateExtent(), G4Ellipsoid::CalculateExtent(), G4Paraboloid::CalculateExtent(), G4Trd::CalculateExtent(), G4GenericTrap::CalculateExtent(), G4Para::CalculateExtent(), G4Tubs::CalculateExtent(), G4Cons::CalculateExtent(), G4Sphere::CalculateExtent(), G4Torus::CalculateExtent(), G4Trap::CalculateExtent(), G4VSolid::ClipPolygon(), and operator<<().
G4double G4VoxelLimits::GetMinYExtent | ( | ) | const |
Referenced by G4USolid::CalculateExtent(), G4ReflectedSolid::CalculateExtent(), G4Box::CalculateExtent(), G4CutTubs::CalculateExtent(), G4VTwistedFaceted::CalculateExtent(), G4Tet::CalculateExtent(), G4Orb::CalculateExtent(), G4OTubs::CalculateExtent(), G4Ellipsoid::CalculateExtent(), G4Paraboloid::CalculateExtent(), G4Trd::CalculateExtent(), G4GenericTrap::CalculateExtent(), G4Para::CalculateExtent(), G4Tubs::CalculateExtent(), G4Cons::CalculateExtent(), G4Sphere::CalculateExtent(), G4Torus::CalculateExtent(), G4Trap::CalculateExtent(), G4VSolid::ClipPolygon(), and operator<<().
G4double G4VoxelLimits::GetMinZExtent | ( | ) | const |
Referenced by G4USolid::CalculateExtent(), G4ReflectedSolid::CalculateExtent(), G4Box::CalculateExtent(), G4CutTubs::CalculateExtent(), G4VTwistedFaceted::CalculateExtent(), G4Tet::CalculateExtent(), G4Orb::CalculateExtent(), G4OTubs::CalculateExtent(), G4Ellipsoid::CalculateExtent(), G4Paraboloid::CalculateExtent(), G4Trd::CalculateExtent(), G4GenericTrap::CalculateExtent(), G4Para::CalculateExtent(), G4Tubs::CalculateExtent(), G4Cons::CalculateExtent(), G4Sphere::CalculateExtent(), G4Torus::CalculateExtent(), G4Trap::CalculateExtent(), G4VSolid::ClipPolygon(), and operator<<().
G4bool G4VoxelLimits::Inside | ( | const G4ThreeVector & | pVec | ) | const |
Referenced by G4VSolid::ClipPolygonToSimpleLimits(), and G4ClippablePolygon::ClipToSimpleLimits().
G4bool G4VoxelLimits::IsLimited | ( | ) | const |
Referenced by G4SmartVoxelHeader::BuildNodes(), G4SmartVoxelHeader::BuildVoxelsWithinLimits(), G4USolid::CalculateExtent(), G4ReflectedSolid::CalculateExtent(), G4Box::CalculateExtent(), G4VTwistedFaceted::CalculateExtent(), G4TessellatedSolid::CalculateExtent(), G4ClippablePolygon::Clip(), G4ClippablePolygon::ClipAlongOneAxis(), G4VSolid::ClipPolygon(), G4SolidExtentList::G4SolidExtentList(), and G4ClippablePolygon::PartialClip().
G4bool G4VoxelLimits::IsXLimited | ( | ) | const |
Referenced by G4Box::CalculateExtent(), G4CutTubs::CalculateExtent(), G4VTwistedFaceted::CalculateExtent(), G4Tet::CalculateExtent(), G4Orb::CalculateExtent(), G4OTubs::CalculateExtent(), G4Ellipsoid::CalculateExtent(), G4Paraboloid::CalculateExtent(), G4Trd::CalculateExtent(), G4GenericTrap::CalculateExtent(), G4Para::CalculateExtent(), G4Tubs::CalculateExtent(), G4Cons::CalculateExtent(), G4Sphere::CalculateExtent(), G4Torus::CalculateExtent(), G4Trap::CalculateExtent(), G4VSolid::ClipPolygon(), operator<<(), OutCode(), and G4SmartVoxelHeader::RefineNodes().
G4bool G4VoxelLimits::IsYLimited | ( | ) | const |
Referenced by G4Box::CalculateExtent(), G4CutTubs::CalculateExtent(), G4VTwistedFaceted::CalculateExtent(), G4Tet::CalculateExtent(), G4Orb::CalculateExtent(), G4OTubs::CalculateExtent(), G4Ellipsoid::CalculateExtent(), G4Paraboloid::CalculateExtent(), G4Trd::CalculateExtent(), G4GenericTrap::CalculateExtent(), G4Para::CalculateExtent(), G4Tubs::CalculateExtent(), G4Cons::CalculateExtent(), G4Sphere::CalculateExtent(), G4Torus::CalculateExtent(), G4Trap::CalculateExtent(), G4VSolid::ClipPolygon(), operator<<(), OutCode(), and G4SmartVoxelHeader::RefineNodes().
G4bool G4VoxelLimits::IsZLimited | ( | ) | const |
Referenced by G4Box::CalculateExtent(), G4CutTubs::CalculateExtent(), G4VTwistedFaceted::CalculateExtent(), G4Tet::CalculateExtent(), G4Orb::CalculateExtent(), G4OTubs::CalculateExtent(), G4Ellipsoid::CalculateExtent(), G4Paraboloid::CalculateExtent(), G4Trd::CalculateExtent(), G4GenericTrap::CalculateExtent(), G4Para::CalculateExtent(), G4Tubs::CalculateExtent(), G4Cons::CalculateExtent(), G4Sphere::CalculateExtent(), G4Torus::CalculateExtent(), G4Trap::CalculateExtent(), G4VSolid::ClipPolygon(), operator<<(), OutCode(), and G4SmartVoxelHeader::RefineNodes().
G4int G4VoxelLimits::OutCode | ( | const G4ThreeVector & | pVec | ) | const |
Definition at line 262 of file G4VoxelLimits.cc.
References fxAxisMax, fxAxisMin, fyAxisMax, fyAxisMin, fzAxisMax, fzAxisMin, IsXLimited(), IsYLimited(), and IsZLimited().
Referenced by ClipToLimits().
|
private |
Definition at line 128 of file G4VoxelLimits.hh.
Referenced by AddLimit(), ClipToLimits(), and OutCode().
|
private |
Definition at line 128 of file G4VoxelLimits.hh.
Referenced by AddLimit(), ClipToLimits(), and OutCode().
|
private |
Definition at line 129 of file G4VoxelLimits.hh.
Referenced by AddLimit(), ClipToLimits(), and OutCode().
|
private |
Definition at line 129 of file G4VoxelLimits.hh.
Referenced by AddLimit(), ClipToLimits(), and OutCode().
|
private |
Definition at line 130 of file G4VoxelLimits.hh.
Referenced by AddLimit(), ClipToLimits(), and OutCode().
|
private |
Definition at line 130 of file G4VoxelLimits.hh.
Referenced by AddLimit(), ClipToLimits(), and OutCode().