Geant4  10.01.p03
G4UExtrudedSolid Class Reference

#include <G4UExtrudedSolid.hh>

+ Inheritance diagram for G4UExtrudedSolid:
+ Collaboration diagram for G4UExtrudedSolid:

Classes

struct  ZSection
 

Public Member Functions

 G4UExtrudedSolid (const G4String &pName, std::vector< G4TwoVector > polygon, std::vector< ZSection > zsections)
 
 G4UExtrudedSolid (const G4String &pName, std::vector< G4TwoVector > polygon, G4double halfZ, G4TwoVector off1, G4double scale1, G4TwoVector off2, G4double scale2)
 
 ~G4UExtrudedSolid ()
 
UExtrudedSolidGetShape () const
 
G4int GetNofVertices () const
 
G4TwoVector GetVertex (G4int index) const
 
std::vector< G4TwoVectorGetPolygon () const
 
G4int GetNofZSections () const
 
ZSection GetZSection (G4int index) const
 
std::vector< ZSectionGetZSections () const
 
 G4UExtrudedSolid (__void__ &)
 
 G4UExtrudedSolid (const G4UExtrudedSolid &source)
 
G4UExtrudedSolidoperator= (const G4UExtrudedSolid &source)
 
- Public Member Functions inherited from G4USolid
 G4USolid (const G4String &pName, VUSolid *shape)
 
virtual ~G4USolid ()
 
G4bool operator== (const G4USolid &s) const
 
virtual G4bool CalculateExtent (const EAxis pAxis, const G4VoxelLimits &pVoxelLimit, const G4AffineTransform &pTransform, G4double &pMin, G4double &pMax) const
 
virtual EInside Inside (const G4ThreeVector &p) const
 
virtual G4ThreeVector SurfaceNormal (const G4ThreeVector &p) const
 
virtual G4double DistanceToIn (const G4ThreeVector &p, const G4ThreeVector &v) const
 
virtual G4double DistanceToIn (const G4ThreeVector &p) const
 
virtual G4double DistanceToOut (const G4ThreeVector &p, const G4ThreeVector &v, const G4bool calcNorm=false, G4bool *validNorm=0, G4ThreeVector *n=0) const
 
virtual G4double DistanceToOut (const G4ThreeVector &p) const
 
virtual void ComputeDimensions (G4VPVParameterisation *p, const G4int n, const G4VPhysicalVolume *pRep)
 
virtual G4double GetCubicVolume ()
 
virtual G4double GetSurfaceArea ()
 
virtual G4GeometryType GetEntityType () const
 
virtual G4ThreeVector GetPointOnSurface () const
 
virtual G4VSolidClone () const
 
virtual std::ostream & StreamInfo (std::ostream &os) const
 
virtual void DescribeYourselfTo (G4VGraphicsScene &scene) const
 
virtual G4VisExtent GetExtent () const
 
G4PolyhedronCreatePolyhedron () const
 
virtual G4PolyhedronGetPolyhedron () const
 
 G4USolid (__void__ &)
 
 G4USolid (const G4USolid &rhs)
 
G4USolidoperator= (const G4USolid &rhs)
 
VUSolidGetSolid () const
 
- Public Member Functions inherited from G4VSolid
 G4VSolid (const G4String &name)
 
virtual ~G4VSolid ()
 
G4bool operator== (const G4VSolid &s) const
 
G4String GetName () const
 
void SetName (const G4String &name)
 
G4double GetTolerance () const
 
void DumpInfo () const
 
virtual const G4VSolidGetConstituentSolid (G4int no) const
 
virtual G4VSolidGetConstituentSolid (G4int no)
 
virtual const G4DisplacedSolidGetDisplacedSolidPtr () const
 
virtual G4DisplacedSolidGetDisplacedSolidPtr ()
 
 G4VSolid (__void__ &)
 
 G4VSolid (const G4VSolid &rhs)
 
G4VSolidoperator= (const G4VSolid &rhs)
 

Additional Inherited Members

- Protected Member Functions inherited from G4USolid
G4ThreeVectorListCreateRotatedVertices (const G4AffineTransform &pT) const
 
- Protected Member Functions inherited from G4VSolid
void CalculateClippedPolygonExtent (G4ThreeVectorList &pPolygon, const G4VoxelLimits &pVoxelLimit, const EAxis pAxis, G4double &pMin, G4double &pMax) const
 
void ClipCrossSection (G4ThreeVectorList *pVertices, const G4int pSectionIndex, const G4VoxelLimits &pVoxelLimit, const EAxis pAxis, G4double &pMin, G4double &pMax) const
 
void ClipBetweenSections (G4ThreeVectorList *pVertices, const G4int pSectionIndex, const G4VoxelLimits &pVoxelLimit, const EAxis pAxis, G4double &pMin, G4double &pMax) const
 
void ClipPolygon (G4ThreeVectorList &pPolygon, const G4VoxelLimits &pVoxelLimit, const EAxis pAxis) const
 
G4double EstimateCubicVolume (G4int nStat, G4double epsilon) const
 
G4double EstimateSurfaceArea (G4int nStat, G4double ell) const
 
- Protected Attributes inherited from G4USolid
VUSolidfShape
 
G4bool fRebuildPolyhedron
 
G4PolyhedronfPolyhedron
 
- Protected Attributes inherited from G4VSolid
G4double kCarTolerance
 

Detailed Description

Definition at line 50 of file G4UExtrudedSolid.hh.

Constructor & Destructor Documentation

G4UExtrudedSolid::G4UExtrudedSolid ( const G4String pName,
std::vector< G4TwoVector polygon,
std::vector< ZSection zsections 
)

Definition at line 41 of file G4UExtrudedSolid.cc.

References G4UExtrudedSolid::ZSection::fOffset, G4UExtrudedSolid::ZSection::fScale, G4UExtrudedSolid::ZSection::fZ, GetShape(), UExtrudedSolid::Initialise(), and VUSolid::SetName().

+ Here is the call graph for this function:

G4UExtrudedSolid::G4UExtrudedSolid ( const G4String pName,
std::vector< G4TwoVector polygon,
G4double  halfZ,
G4TwoVector  off1,
G4double  scale1,
G4TwoVector  off2,
G4double  scale2 
)

Definition at line 63 of file G4UExtrudedSolid.cc.

References GetShape(), UExtrudedSolid::Initialise(), and VUSolid::SetName().

+ Here is the call graph for this function:

G4UExtrudedSolid::~G4UExtrudedSolid ( )

Definition at line 95 of file G4UExtrudedSolid.cc.

G4UExtrudedSolid::G4UExtrudedSolid ( __void__ &  a)

Definition at line 85 of file G4UExtrudedSolid.cc.

G4UExtrudedSolid::G4UExtrudedSolid ( const G4UExtrudedSolid source)

Definition at line 104 of file G4UExtrudedSolid.cc.

Member Function Documentation

G4int G4UExtrudedSolid::GetNofVertices ( ) const
inline

Definition at line 113 of file G4UExtrudedSolid.hh.

References UExtrudedSolid::GetNofVertices(), and GetShape().

+ Here is the call graph for this function:

G4int G4UExtrudedSolid::GetNofZSections ( ) const
inline

Definition at line 132 of file G4UExtrudedSolid.hh.

References UExtrudedSolid::GetNofZSections(), and GetShape().

+ Here is the call graph for this function:

std::vector< G4TwoVector > G4UExtrudedSolid::GetPolygon ( ) const
inline

Definition at line 122 of file G4UExtrudedSolid.hh.

References UExtrudedSolid::GetPolygon(), and GetShape().

+ Here is the call graph for this function:

UExtrudedSolid * G4UExtrudedSolid::GetShape ( ) const
inline

Definition at line 108 of file G4UExtrudedSolid.hh.

References G4USolid::fShape.

Referenced by G4UExtrudedSolid(), GetNofVertices(), GetNofZSections(), GetPolygon(), GetVertex(), GetZSection(), and GetZSections().

+ Here is the caller graph for this function:

G4TwoVector G4UExtrudedSolid::GetVertex ( G4int  index) const
inline

Definition at line 117 of file G4UExtrudedSolid.hh.

References GetShape(), UExtrudedSolid::GetVertex(), UVector2::x, and UVector2::y.

+ Here is the call graph for this function:

G4UExtrudedSolid::ZSection G4UExtrudedSolid::GetZSection ( G4int  index) const
inline

Definition at line 136 of file G4UExtrudedSolid.hh.

References GetShape().

+ Here is the call graph for this function:

std::vector< G4UExtrudedSolid::ZSection > G4UExtrudedSolid::GetZSections ( ) const
inline

Definition at line 140 of file G4UExtrudedSolid.hh.

References GetShape(), and UExtrudedSolid::GetZSections().

+ Here is the call graph for this function:

G4UExtrudedSolid & G4UExtrudedSolid::operator= ( const G4UExtrudedSolid source)

Definition at line 115 of file G4UExtrudedSolid.cc.

References G4USolid::operator=().

+ Here is the call graph for this function:


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