Geant4  10.01.p03
G4VoxelLimits Class Reference

#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
 

Detailed Description

Definition at line 62 of file G4VoxelLimits.hh.

Constructor & Destructor Documentation

G4VoxelLimits::G4VoxelLimits ( )

Definition at line 48 of file G4VoxelLimits.cc.

G4VoxelLimits::~G4VoxelLimits ( )

Definition at line 55 of file G4VoxelLimits.cc.

Member Function Documentation

void G4VoxelLimits::AddLimit ( const EAxis  pAxis,
const G4double  pMin,
const G4double  pMax 
)

Definition at line 65 of file G4VoxelLimits.cc.

References fxAxisMax, fxAxisMin, fyAxisMax, fyAxisMin, fzAxisMax, fzAxisMin, kXAxis, kYAxis, and kZAxis.

Referenced by G4ClippablePolygon::ClipAlongOneAxis(), G4VSolid::ClipPolygon(), G4DrawVoxels::ComputeVoxelPolyhedra(), and G4SmartVoxelHeader::RefineNodes().

+ Here is the caller graph for this function:

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().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4bool G4VoxelLimits::Inside ( const G4ThreeVector pVec) const

Referenced by G4VSolid::ClipPolygonToSimpleLimits(), and G4ClippablePolygon::ClipToSimpleLimits().

+ Here is the caller graph for this function:

G4bool G4VoxelLimits::IsLimited ( const EAxis  pAxis) const
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().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Member Data Documentation

G4double G4VoxelLimits::fxAxisMax
private

Definition at line 128 of file G4VoxelLimits.hh.

Referenced by AddLimit(), ClipToLimits(), and OutCode().

G4double G4VoxelLimits::fxAxisMin
private

Definition at line 128 of file G4VoxelLimits.hh.

Referenced by AddLimit(), ClipToLimits(), and OutCode().

G4double G4VoxelLimits::fyAxisMax
private

Definition at line 129 of file G4VoxelLimits.hh.

Referenced by AddLimit(), ClipToLimits(), and OutCode().

G4double G4VoxelLimits::fyAxisMin
private

Definition at line 129 of file G4VoxelLimits.hh.

Referenced by AddLimit(), ClipToLimits(), and OutCode().

G4double G4VoxelLimits::fzAxisMax
private

Definition at line 130 of file G4VoxelLimits.hh.

Referenced by AddLimit(), ClipToLimits(), and OutCode().

G4double G4VoxelLimits::fzAxisMin
private

Definition at line 130 of file G4VoxelLimits.hh.

Referenced by AddLimit(), ClipToLimits(), and OutCode().


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