Geant4 10.7.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4PhysicalVolumeMassScene Class Reference

#include <G4PhysicalVolumeMassScene.hh>

+ Inheritance diagram for G4PhysicalVolumeMassScene:

Public Member Functions

 G4PhysicalVolumeMassScene (G4PhysicalVolumeModel *)
 
virtual ~G4PhysicalVolumeMassScene ()
 
G4double GetVolume () const
 
G4double GetMass () const
 
void Reset ()
 
- Public Member Functions inherited from G4PseudoScene
 G4PseudoScene ()
 
virtual ~G4PseudoScene ()
 
void PreAddSolid (const G4Transform3D &objectTransformation, const G4VisAttributes &)
 
void PostAddSolid ()
 
void AddSolid (const G4Box &solid)
 
void AddSolid (const G4Cons &solid)
 
void AddSolid (const G4Orb &solid)
 
void AddSolid (const G4Para &solid)
 
void AddSolid (const G4Sphere &solid)
 
void AddSolid (const G4Torus &solid)
 
void AddSolid (const G4Trap &solid)
 
void AddSolid (const G4Trd &solid)
 
void AddSolid (const G4Tubs &solid)
 
void AddSolid (const G4Ellipsoid &solid)
 
void AddSolid (const G4Polycone &solid)
 
void AddSolid (const G4Polyhedra &solid)
 
void AddSolid (const G4TessellatedSolid &solid)
 
void AddSolid (const G4VSolid &solid)
 
void AddCompound (const G4VTrajectory &)
 
void AddCompound (const G4VHit &)
 
void AddCompound (const G4VDigi &)
 
void AddCompound (const G4THitsMap< G4double > &)
 
void AddCompound (const G4THitsMap< G4StatDouble > &)
 
void BeginPrimitives (const G4Transform3D &)
 
void EndPrimitives ()
 
void BeginPrimitives2D (const G4Transform3D &)
 
void EndPrimitives2D ()
 
void AddPrimitive (const G4Polyline &)
 
void AddPrimitive (const G4Scale &)
 
void AddPrimitive (const G4Text &)
 
void AddPrimitive (const G4Circle &)
 
void AddPrimitive (const G4Square &)
 
void AddPrimitive (const G4Polymarker &)
 
void AddPrimitive (const G4Polyhedron &)
 
- Public Member Functions inherited from G4VGraphicsScene
 G4VGraphicsScene ()
 
virtual ~G4VGraphicsScene ()
 
virtual void PreAddSolid (const G4Transform3D &objectTransformation, const G4VisAttributes &visAttribs)=0
 
virtual void PostAddSolid ()=0
 
virtual void AddSolid (const G4Box &)=0
 
virtual void AddSolid (const G4Cons &)=0
 
virtual void AddSolid (const G4Orb &)=0
 
virtual void AddSolid (const G4Para &)=0
 
virtual void AddSolid (const G4Sphere &)=0
 
virtual void AddSolid (const G4Torus &)=0
 
virtual void AddSolid (const G4Trap &)=0
 
virtual void AddSolid (const G4Trd &)=0
 
virtual void AddSolid (const G4Tubs &)=0
 
virtual void AddSolid (const G4Ellipsoid &)=0
 
virtual void AddSolid (const G4Polycone &)=0
 
virtual void AddSolid (const G4Polyhedra &)=0
 
virtual void AddSolid (const G4TessellatedSolid &)=0
 
virtual void AddSolid (const G4VSolid &)=0
 
virtual void AddCompound (const G4VTrajectory &)=0
 
virtual void AddCompound (const G4VHit &)=0
 
virtual void AddCompound (const G4VDigi &)=0
 
virtual void AddCompound (const G4THitsMap< G4double > &)=0
 
virtual void AddCompound (const G4THitsMap< G4StatDouble > &)=0
 
virtual void BeginPrimitives (const G4Transform3D &objectTransformation=G4Transform3D())=0
 
virtual void EndPrimitives ()=0
 
virtual void BeginPrimitives2D (const G4Transform3D &objectTransformation=G4Transform3D())=0
 
virtual void EndPrimitives2D ()=0
 
virtual void AddPrimitive (const G4Polyline &)=0
 
virtual void AddPrimitive (const G4Scale &)=0
 
virtual void AddPrimitive (const G4Text &)=0
 
virtual void AddPrimitive (const G4Circle &)=0
 
virtual void AddPrimitive (const G4Square &)=0
 
virtual void AddPrimitive (const G4Polymarker &)=0
 
virtual void AddPrimitive (const G4Polyhedron &)=0
 
virtual const G4VisExtentGetExtent () const
 

Additional Inherited Members

virtual void ProcessVolume (const G4VSolid &)=0
 
- Protected Attributes inherited from G4PseudoScene
const G4Transform3DfpCurrentObjectTransformation
 

Detailed Description

Definition at line 64 of file G4PhysicalVolumeMassScene.hh.

Constructor & Destructor Documentation

◆ G4PhysicalVolumeMassScene()

G4PhysicalVolumeMassScene::G4PhysicalVolumeMassScene ( G4PhysicalVolumeModel pPVModel)

Definition at line 43 of file G4PhysicalVolumeMassScene.cc.

44 :
45 fpPVModel (pPVModel),
46 fVolume (0.),
47 fMass (0.),
48 fpLastPV (0),
49 fPVPCount (0),
50 fLastDepth (0),
51 fLastDensity (0.)
52{}

◆ ~G4PhysicalVolumeMassScene()

G4PhysicalVolumeMassScene::~G4PhysicalVolumeMassScene ( )
virtual

Definition at line 54 of file G4PhysicalVolumeMassScene.cc.

54{}

Member Function Documentation

◆ GetMass()

G4double G4PhysicalVolumeMassScene::GetMass ( ) const
inline

Definition at line 76 of file G4PhysicalVolumeMassScene.hh.

76{return fMass;}

Referenced by G4ASCIITreeSceneHandler::EndModeling().

◆ GetVolume()

G4double G4PhysicalVolumeMassScene::GetVolume ( ) const
inline

Definition at line 73 of file G4PhysicalVolumeMassScene.hh.

73{return fVolume;}

Referenced by G4ASCIITreeSceneHandler::EndModeling().

◆ Reset()

void G4PhysicalVolumeMassScene::Reset ( )

Definition at line 56 of file G4PhysicalVolumeMassScene.cc.

57{
58 fVolume = 0.;
59 fMass = 0.;
60 fpLastPV = 0;
61 fPVPCount = 0;
62 fLastDepth = 0;
63 fLastDensity = 0.;
64 fDensityStack.clear();
65}

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