Geant4.10
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions
G4UOrb Class Reference

#include <G4UOrb.hh>

Inheritance diagram for G4UOrb:
G4USolid G4VSolid

Public Member Functions

 G4UOrb (const G4String &pName, G4double pRmax)
 
 ~G4UOrb ()
 
void ComputeDimensions (G4VPVParameterisation *p, const G4int n, const G4VPhysicalVolume *pRep)
 
G4VSolidClone () const
 
UOrbGetShape () const
 
G4double GetRadius () const
 
void SetRadius (G4double newRmax)
 
 G4UOrb (__void__ &)
 
 G4UOrb (const G4UOrb &rhs)
 
G4UOrboperator= (const G4UOrb &rhs)
 
- 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 G4double GetCubicVolume ()
 
virtual G4double GetSurfaceArea ()
 
virtual G4GeometryType GetEntityType () const
 
virtual G4ThreeVector GetPointOnSurface () 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
 
G4PolyhedronfPolyhedron
 
- Protected Attributes inherited from G4VSolid
G4double kCarTolerance
 

Detailed Description

Definition at line 48 of file G4UOrb.hh.

Constructor & Destructor Documentation

G4UOrb::G4UOrb ( const G4String pName,
G4double  pRmax 
)

Definition at line 41 of file G4UOrb.cc.

Referenced by Clone().

42  : G4USolid(pName, new UOrb(pName, pRmax))
43 {
44 }
Definition: UOrb.hh:28
G4USolid(const G4String &pName, VUSolid *shape)
Definition: G4USolid.cc:44
G4UOrb::~G4UOrb ( )

Definition at line 60 of file G4UOrb.cc.

61 {
62 }
G4UOrb::G4UOrb ( __void__ &  a)

Definition at line 51 of file G4UOrb.cc.

52  : G4USolid(a)
53 {
54 }
G4USolid(const G4String &pName, VUSolid *shape)
Definition: G4USolid.cc:44
G4UOrb::G4UOrb ( const G4UOrb rhs)

Definition at line 68 of file G4UOrb.cc.

69  : G4USolid(rhs)
70 {
71 }
G4USolid(const G4String &pName, VUSolid *shape)
Definition: G4USolid.cc:44

Member Function Documentation

G4VSolid * G4UOrb::Clone ( ) const
virtual

Reimplemented from G4USolid.

Definition at line 106 of file G4UOrb.cc.

References G4UOrb().

107 {
108  return new G4UOrb(*this);
109 }
G4UOrb(const G4String &pName, G4double pRmax)
Definition: G4UOrb.cc:41
void G4UOrb::ComputeDimensions ( G4VPVParameterisation p,
const G4int  n,
const G4VPhysicalVolume pRep 
)
virtual

Reimplemented from G4USolid.

Definition at line 95 of file G4UOrb.cc.

References G4VPVParameterisation::ComputeDimensions().

98 {
99  p->ComputeDimensions(*(G4Orb*)this,n,pRep);
100 }
const G4int n
Definition: G4Orb.hh:60
virtual void ComputeDimensions(G4Box &, const G4int, const G4VPhysicalVolume *) const
G4double G4UOrb::GetRadius ( ) const
inline

Definition at line 88 of file G4UOrb.hh.

References UOrb::GetRadius(), and GetShape().

89 {
90  return GetShape()->GetRadius();
91 }
UOrb * GetShape() const
Definition: G4UOrb.hh:83
double GetRadius() const
Definition: UOrb.hh:93
UOrb * G4UOrb::GetShape ( ) const
inline

Definition at line 83 of file G4UOrb.hh.

References G4USolid::fShape.

Referenced by GetRadius(), and SetRadius().

84 {
85  return (UOrb*) fShape;
86 }
Definition: UOrb.hh:28
VUSolid * fShape
Definition: G4USolid.hh:182
G4UOrb & G4UOrb::operator= ( const G4UOrb rhs)

Definition at line 77 of file G4UOrb.cc.

References G4USolid::operator=().

78 {
79  // Check assignment to self
80  //
81  if (this == &rhs) { return *this; }
82 
83  // Copy base class data
84  //
86 
87  return *this;
88 }
G4USolid & operator=(const G4USolid &rhs)
Definition: G4USolid.cc:370
void G4UOrb::SetRadius ( G4double  newRmax)
inline

Definition at line 93 of file G4UOrb.hh.

References G4USolid::fPolyhedron, GetShape(), and UOrb::SetRadius().

94 {
95  GetShape()->SetRadius(newRmax);
96  fPolyhedron = 0;
97 }
UOrb * GetShape() const
Definition: G4UOrb.hh:83
G4Polyhedron * fPolyhedron
Definition: G4USolid.hh:183
void SetRadius(double newRmax)
Definition: UOrb.hh:97

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