Geant4  10.01.p02
G4PhysicalVolumeMassScene Class Reference

#include <G4PhysicalVolumeMassScene.hh>

+ Inheritance diagram for G4PhysicalVolumeMassScene:
+ Collaboration diagram for G4PhysicalVolumeMassScene:

Public Member Functions

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

Private Member Functions

void AccrueMass (const G4VSolid &)
 

Private Attributes

G4PhysicalVolumeModelfpPVModel
 
G4double fVolume
 
G4double fMass
 
G4VPhysicalVolumefpLastPV
 
G4int fPVPCount
 
G4int fLastDepth
 
G4double fLastDensity
 
std::deque< G4doublefDensityStack
 

Detailed Description

Definition at line 75 of file G4PhysicalVolumeMassScene.hh.

Constructor & Destructor Documentation

G4PhysicalVolumeMassScene::G4PhysicalVolumeMassScene ( G4PhysicalVolumeModel pPVModel)

Definition at line 45 of file G4PhysicalVolumeMassScene.cc.

G4PhysicalVolumeMassScene::~G4PhysicalVolumeMassScene ( )
virtual

Definition at line 55 of file G4PhysicalVolumeMassScene.cc.

Member Function Documentation

void G4PhysicalVolumeMassScene::AccrueMass ( const G4VSolid solid)
private

Definition at line 68 of file G4PhysicalVolumeMassScene.cc.

References fDensityStack, fLastDensity, fLastDepth, fMass, fpLastPV, fpPVModel, fPVPCount, fVolume, G4cout, G4endl, G4VPhysicalVolume::GetCopyNo(), G4PhysicalVolumeModel::GetCurrentDepth(), G4PhysicalVolumeModel::GetCurrentMaterial(), G4PhysicalVolumeModel::GetCurrentPV(), G4Material::GetDensity(), and G4VPhysicalVolume::GetName().

Referenced by AddSolid().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4PhysicalVolumeMassScene::AddCompound ( const G4VTrajectory )
inlinevirtual

Implements G4VGraphicsScene.

Definition at line 108 of file G4PhysicalVolumeMassScene.hh.

void G4PhysicalVolumeMassScene::AddCompound ( const G4VHit )
inlinevirtual

Implements G4VGraphicsScene.

Definition at line 109 of file G4PhysicalVolumeMassScene.hh.

void G4PhysicalVolumeMassScene::AddCompound ( const G4VDigi )
inlinevirtual

Implements G4VGraphicsScene.

Definition at line 110 of file G4PhysicalVolumeMassScene.hh.

void G4PhysicalVolumeMassScene::AddCompound ( const G4THitsMap< G4double > &  )
inlinevirtual

Implements G4VGraphicsScene.

Definition at line 111 of file G4PhysicalVolumeMassScene.hh.

virtual void G4PhysicalVolumeMassScene::AddPrimitive ( const G4Polyline )
inlinevirtual

Implements G4VGraphicsScene.

Definition at line 120 of file G4PhysicalVolumeMassScene.hh.

virtual void G4PhysicalVolumeMassScene::AddPrimitive ( const G4Scale )
inlinevirtual

Implements G4VGraphicsScene.

Definition at line 121 of file G4PhysicalVolumeMassScene.hh.

virtual void G4PhysicalVolumeMassScene::AddPrimitive ( const G4Text )
inlinevirtual

Implements G4VGraphicsScene.

Definition at line 122 of file G4PhysicalVolumeMassScene.hh.

virtual void G4PhysicalVolumeMassScene::AddPrimitive ( const G4Circle )
inlinevirtual

Implements G4VGraphicsScene.

Definition at line 123 of file G4PhysicalVolumeMassScene.hh.

virtual void G4PhysicalVolumeMassScene::AddPrimitive ( const G4Square )
inlinevirtual

Implements G4VGraphicsScene.

Definition at line 124 of file G4PhysicalVolumeMassScene.hh.

virtual void G4PhysicalVolumeMassScene::AddPrimitive ( const G4Polymarker )
inlinevirtual

Implements G4VGraphicsScene.

Definition at line 125 of file G4PhysicalVolumeMassScene.hh.

virtual void G4PhysicalVolumeMassScene::AddPrimitive ( const G4Polyhedron )
inlinevirtual

Implements G4VGraphicsScene.

Definition at line 126 of file G4PhysicalVolumeMassScene.hh.

void G4PhysicalVolumeMassScene::AddSolid ( const G4Box solid)
inlinevirtual

Implements G4VGraphicsScene.

Definition at line 97 of file G4PhysicalVolumeMassScene.hh.

References AccrueMass().

+ Here is the call graph for this function:

void G4PhysicalVolumeMassScene::AddSolid ( const G4Cons solid)
inlinevirtual

Implements G4VGraphicsScene.

Definition at line 98 of file G4PhysicalVolumeMassScene.hh.

References AccrueMass().

+ Here is the call graph for this function:

void G4PhysicalVolumeMassScene::AddSolid ( const G4Tubs solid)
inlinevirtual

Implements G4VGraphicsScene.

Definition at line 99 of file G4PhysicalVolumeMassScene.hh.

References AccrueMass().

+ Here is the call graph for this function:

void G4PhysicalVolumeMassScene::AddSolid ( const G4Trd solid)
inlinevirtual

Implements G4VGraphicsScene.

Definition at line 100 of file G4PhysicalVolumeMassScene.hh.

References AccrueMass().

+ Here is the call graph for this function:

void G4PhysicalVolumeMassScene::AddSolid ( const G4Trap solid)
inlinevirtual

Implements G4VGraphicsScene.

Definition at line 101 of file G4PhysicalVolumeMassScene.hh.

References AccrueMass().

+ Here is the call graph for this function:

void G4PhysicalVolumeMassScene::AddSolid ( const G4Sphere solid)
inlinevirtual

Implements G4VGraphicsScene.

Definition at line 102 of file G4PhysicalVolumeMassScene.hh.

References AccrueMass().

+ Here is the call graph for this function:

void G4PhysicalVolumeMassScene::AddSolid ( const G4Para solid)
inlinevirtual

Implements G4VGraphicsScene.

Definition at line 103 of file G4PhysicalVolumeMassScene.hh.

References AccrueMass().

+ Here is the call graph for this function:

void G4PhysicalVolumeMassScene::AddSolid ( const G4Torus solid)
inlinevirtual

Implements G4VGraphicsScene.

Definition at line 104 of file G4PhysicalVolumeMassScene.hh.

References AccrueMass().

+ Here is the call graph for this function:

void G4PhysicalVolumeMassScene::AddSolid ( const G4Polycone solid)
inlinevirtual

Implements G4VGraphicsScene.

Definition at line 105 of file G4PhysicalVolumeMassScene.hh.

References AccrueMass().

+ Here is the call graph for this function:

void G4PhysicalVolumeMassScene::AddSolid ( const G4Polyhedra solid)
inlinevirtual

Implements G4VGraphicsScene.

Definition at line 106 of file G4PhysicalVolumeMassScene.hh.

References AccrueMass().

+ Here is the call graph for this function:

void G4PhysicalVolumeMassScene::AddSolid ( const G4VSolid solid)
inlinevirtual

Implements G4VGraphicsScene.

Definition at line 107 of file G4PhysicalVolumeMassScene.hh.

References AccrueMass().

+ Here is the call graph for this function:

virtual void G4PhysicalVolumeMassScene::BeginPrimitives ( const G4Transform3D )
inlinevirtual

Implements G4VGraphicsScene.

Definition at line 116 of file G4PhysicalVolumeMassScene.hh.

virtual void G4PhysicalVolumeMassScene::BeginPrimitives2D ( const G4Transform3D )
inlinevirtual

Implements G4VGraphicsScene.

Definition at line 118 of file G4PhysicalVolumeMassScene.hh.

virtual void G4PhysicalVolumeMassScene::EndPrimitives ( )
inlinevirtual

Implements G4VGraphicsScene.

Definition at line 117 of file G4PhysicalVolumeMassScene.hh.

virtual void G4PhysicalVolumeMassScene::EndPrimitives2D ( )
inlinevirtual

Implements G4VGraphicsScene.

Definition at line 119 of file G4PhysicalVolumeMassScene.hh.

G4double G4PhysicalVolumeMassScene::GetMass ( ) const
inline

Definition at line 86 of file G4PhysicalVolumeMassScene.hh.

References fMass.

Referenced by G4ASCIITreeSceneHandler::EndModeling().

+ Here is the caller graph for this function:

G4double G4PhysicalVolumeMassScene::GetVolume ( ) const
inline

Definition at line 83 of file G4PhysicalVolumeMassScene.hh.

References fVolume.

Referenced by G4ASCIITreeSceneHandler::EndModeling().

+ Here is the caller graph for this function:

void G4PhysicalVolumeMassScene::PostAddSolid ( )
inlinevirtual

Implements G4VGraphicsScene.

Definition at line 96 of file G4PhysicalVolumeMassScene.hh.

void G4PhysicalVolumeMassScene::PreAddSolid ( const G4Transform3D ,
const G4VisAttributes  
)
inlinevirtual

Implements G4VGraphicsScene.

Definition at line 95 of file G4PhysicalVolumeMassScene.hh.

void G4PhysicalVolumeMassScene::Reset ( )

Member Data Documentation

std::deque<G4double> G4PhysicalVolumeMassScene::fDensityStack
private

Definition at line 137 of file G4PhysicalVolumeMassScene.hh.

Referenced by AccrueMass(), and Reset().

G4double G4PhysicalVolumeMassScene::fLastDensity
private

Definition at line 136 of file G4PhysicalVolumeMassScene.hh.

Referenced by AccrueMass(), and Reset().

G4int G4PhysicalVolumeMassScene::fLastDepth
private

Definition at line 135 of file G4PhysicalVolumeMassScene.hh.

Referenced by AccrueMass(), and Reset().

G4double G4PhysicalVolumeMassScene::fMass
private

Definition at line 132 of file G4PhysicalVolumeMassScene.hh.

Referenced by AccrueMass(), GetMass(), and Reset().

G4VPhysicalVolume* G4PhysicalVolumeMassScene::fpLastPV
private

Definition at line 133 of file G4PhysicalVolumeMassScene.hh.

Referenced by AccrueMass(), and Reset().

G4PhysicalVolumeModel* G4PhysicalVolumeMassScene::fpPVModel
private

Definition at line 130 of file G4PhysicalVolumeMassScene.hh.

Referenced by AccrueMass().

G4int G4PhysicalVolumeMassScene::fPVPCount
private

Definition at line 134 of file G4PhysicalVolumeMassScene.hh.

Referenced by AccrueMass(), and Reset().

G4double G4PhysicalVolumeMassScene::fVolume
private

Definition at line 131 of file G4PhysicalVolumeMassScene.hh.

Referenced by AccrueMass(), GetVolume(), and Reset().


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