Geant4 11.2.2
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 ()=default
 
virtual ~G4PseudoScene ()=default
 
void PreAddSolid (const G4Transform3D &objectTransformation, const G4VisAttributes &visAttributes)
 
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 AddCompound (const G4Mesh &)
 
void BeginPrimitives (const G4Transform3D &)
 
void EndPrimitives ()
 
void BeginPrimitives2D (const G4Transform3D &)
 
void EndPrimitives2D ()
 
void AddPrimitive (const G4Polyline &)
 
void AddPrimitive (const G4Text &)
 
void AddPrimitive (const G4Circle &)
 
void AddPrimitive (const G4Square &)
 
void AddPrimitive (const G4Polymarker &)
 
void AddPrimitive (const G4Polyhedron &)
 
void AddPrimitive (const G4Plotter &)
 
- Public Member Functions inherited from G4VGraphicsScene
 G4VGraphicsScene ()
 
virtual ~G4VGraphicsScene ()
 
virtual const G4VisExtentGetExtent () const
 

Additional Inherited Members

- Protected Member Functions inherited from G4PseudoScene
- Protected Attributes inherited from G4PseudoScene
const G4Transform3DfpCurrentObjectTransformation = nullptr
 
const G4VisAttributesfpVisAttributes = nullptr
 

Detailed Description

Definition at line 64 of file G4PhysicalVolumeMassScene.hh.

Constructor & Destructor Documentation

◆ G4PhysicalVolumeMassScene()

G4PhysicalVolumeMassScene::G4PhysicalVolumeMassScene ( G4PhysicalVolumeModel * pPVModel)

Definition at line 45 of file G4PhysicalVolumeMassScene.cc.

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

◆ ~G4PhysicalVolumeMassScene()

G4PhysicalVolumeMassScene::~G4PhysicalVolumeMassScene ( )
virtual

Definition at line 56 of file G4PhysicalVolumeMassScene.cc.

56{}

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 58 of file G4PhysicalVolumeMassScene.cc.

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

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