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

#include <G4PseudoScene.hh>

+ Inheritance diagram for G4PseudoScene:

Public Member Functions

 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
 

Protected Member Functions

virtual void ProcessVolume (const G4VSolid &)
 

Protected Attributes

const G4Transform3DfpCurrentObjectTransformation = nullptr
 
const G4VisAttributesfpVisAttributes = nullptr
 

Detailed Description

Definition at line 50 of file G4PseudoScene.hh.

Constructor & Destructor Documentation

◆ G4PseudoScene()

G4PseudoScene::G4PseudoScene ( )
default

◆ ~G4PseudoScene()

virtual G4PseudoScene::~G4PseudoScene ( )
virtualdefault

Member Function Documentation

◆ AddCompound() [1/6]

void G4PseudoScene::AddCompound ( const G4Mesh & mesh)
virtual

Implements G4VGraphicsScene.

Definition at line 38 of file G4PseudoScene.cc.

38 {
39 // Catches mesh if special mesh rendering set
41}
G4VSolid * GetSolid() const
G4VPhysicalVolume * GetContainerVolume() const
Definition G4Mesh.hh:73
virtual void ProcessVolume(const G4VSolid &)
G4LogicalVolume * GetLogicalVolume() const

◆ AddCompound() [2/6]

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

Implements G4VGraphicsScene.

Definition at line 83 of file G4PseudoScene.hh.

83{}

◆ AddCompound() [3/6]

void G4PseudoScene::AddCompound ( const G4THitsMap< G4StatDouble > & )
inlinevirtual

Implements G4VGraphicsScene.

Definition at line 84 of file G4PseudoScene.hh.

84{}

◆ AddCompound() [4/6]

void G4PseudoScene::AddCompound ( const G4VDigi & )
inlinevirtual

Implements G4VGraphicsScene.

Definition at line 82 of file G4PseudoScene.hh.

82{}

◆ AddCompound() [5/6]

void G4PseudoScene::AddCompound ( const G4VHit & )
inlinevirtual

Implements G4VGraphicsScene.

Definition at line 81 of file G4PseudoScene.hh.

81{}

◆ AddCompound() [6/6]

void G4PseudoScene::AddCompound ( const G4VTrajectory & )
inlinevirtual

Implements G4VGraphicsScene.

Definition at line 80 of file G4PseudoScene.hh.

80{}

◆ AddPrimitive() [1/7]

void G4PseudoScene::AddPrimitive ( const G4Circle & )
inlinevirtual

Implements G4VGraphicsScene.

Definition at line 93 of file G4PseudoScene.hh.

93{}

◆ AddPrimitive() [2/7]

void G4PseudoScene::AddPrimitive ( const G4Plotter & )
inlinevirtual

Implements G4VGraphicsScene.

Definition at line 98 of file G4PseudoScene.hh.

98{}

◆ AddPrimitive() [3/7]

void G4PseudoScene::AddPrimitive ( const G4Polyhedron & )
inlinevirtual

Implements G4VGraphicsScene.

Definition at line 96 of file G4PseudoScene.hh.

96{}

◆ AddPrimitive() [4/7]

void G4PseudoScene::AddPrimitive ( const G4Polyline & )
inlinevirtual

Implements G4VGraphicsScene.

Definition at line 91 of file G4PseudoScene.hh.

91{}

◆ AddPrimitive() [5/7]

void G4PseudoScene::AddPrimitive ( const G4Polymarker & )
inlinevirtual

Implements G4VGraphicsScene.

Definition at line 95 of file G4PseudoScene.hh.

95{}

◆ AddPrimitive() [6/7]

void G4PseudoScene::AddPrimitive ( const G4Square & )
inlinevirtual

Implements G4VGraphicsScene.

Definition at line 94 of file G4PseudoScene.hh.

94{}

◆ AddPrimitive() [7/7]

void G4PseudoScene::AddPrimitive ( const G4Text & )
inlinevirtual

Implements G4VGraphicsScene.

Definition at line 92 of file G4PseudoScene.hh.

92{}

◆ AddSolid() [1/14]

void G4PseudoScene::AddSolid ( const G4Box & solid)
inlinevirtual

Implements G4VGraphicsScene.

Reimplemented in G4VtkUnstructuredGridPipeline::PseudoSceneVtkBase.

Definition at line 63 of file G4PseudoScene.hh.

63{ProcessVolume (solid);}

◆ AddSolid() [2/14]

void G4PseudoScene::AddSolid ( const G4Cons & solid)
inlinevirtual

Implements G4VGraphicsScene.

Reimplemented in G4VtkUnstructuredGridPipeline::PseudoSceneVtkBase.

Definition at line 64 of file G4PseudoScene.hh.

64{ProcessVolume (solid);}

◆ AddSolid() [3/14]

void G4PseudoScene::AddSolid ( const G4Ellipsoid & solid)
inlinevirtual

Implements G4VGraphicsScene.

Reimplemented in G4VtkUnstructuredGridPipeline::PseudoSceneVtkBase.

Definition at line 73 of file G4PseudoScene.hh.

73{ProcessVolume (solid);}

◆ AddSolid() [4/14]

void G4PseudoScene::AddSolid ( const G4Orb & solid)
inlinevirtual

Implements G4VGraphicsScene.

Reimplemented in G4VtkUnstructuredGridPipeline::PseudoSceneVtkBase.

Definition at line 65 of file G4PseudoScene.hh.

65{ProcessVolume (solid);}

◆ AddSolid() [5/14]

void G4PseudoScene::AddSolid ( const G4Para & solid)
inlinevirtual

Implements G4VGraphicsScene.

Reimplemented in G4VtkUnstructuredGridPipeline::PseudoSceneVtkBase.

Definition at line 66 of file G4PseudoScene.hh.

66{ProcessVolume (solid);}

◆ AddSolid() [6/14]

void G4PseudoScene::AddSolid ( const G4Polycone & solid)
inlinevirtual

Implements G4VGraphicsScene.

Reimplemented in G4VtkUnstructuredGridPipeline::PseudoSceneVtkBase.

Definition at line 74 of file G4PseudoScene.hh.

74{ProcessVolume (solid);}

◆ AddSolid() [7/14]

void G4PseudoScene::AddSolid ( const G4Polyhedra & solid)
inlinevirtual

Implements G4VGraphicsScene.

Reimplemented in G4VtkUnstructuredGridPipeline::PseudoSceneVtkBase.

Definition at line 75 of file G4PseudoScene.hh.

75{ProcessVolume (solid);}

◆ AddSolid() [8/14]

void G4PseudoScene::AddSolid ( const G4Sphere & solid)
inlinevirtual

Implements G4VGraphicsScene.

Reimplemented in G4VtkUnstructuredGridPipeline::PseudoSceneVtkBase.

Definition at line 67 of file G4PseudoScene.hh.

67{ProcessVolume (solid);}

◆ AddSolid() [9/14]

void G4PseudoScene::AddSolid ( const G4TessellatedSolid & solid)
inlinevirtual

Implements G4VGraphicsScene.

Reimplemented in G4VtkUnstructuredGridPipeline::PseudoSceneVtkBase.

Definition at line 76 of file G4PseudoScene.hh.

76{ProcessVolume (solid);}

◆ AddSolid() [10/14]

void G4PseudoScene::AddSolid ( const G4Torus & solid)
inlinevirtual

Implements G4VGraphicsScene.

Reimplemented in G4VtkUnstructuredGridPipeline::PseudoSceneVtkBase.

Definition at line 68 of file G4PseudoScene.hh.

68{ProcessVolume (solid);}

◆ AddSolid() [11/14]

void G4PseudoScene::AddSolid ( const G4Trap & solid)
inlinevirtual

Implements G4VGraphicsScene.

Reimplemented in G4VtkUnstructuredGridPipeline::PseudoSceneVtkBase.

Definition at line 69 of file G4PseudoScene.hh.

69{ProcessVolume (solid);}

◆ AddSolid() [12/14]

void G4PseudoScene::AddSolid ( const G4Trd & solid)
inlinevirtual

Implements G4VGraphicsScene.

Reimplemented in G4VtkUnstructuredGridPipeline::PseudoSceneVtkBase.

Definition at line 70 of file G4PseudoScene.hh.

70{ProcessVolume (solid);}

◆ AddSolid() [13/14]

void G4PseudoScene::AddSolid ( const G4Tubs & solid)
inlinevirtual

Implements G4VGraphicsScene.

Reimplemented in G4VtkUnstructuredGridPipeline::PseudoSceneVtkBase.

Definition at line 71 of file G4PseudoScene.hh.

71{ProcessVolume (solid);}

◆ AddSolid() [14/14]

void G4PseudoScene::AddSolid ( const G4VSolid & solid)
inlinevirtual

Implements G4VGraphicsScene.

Reimplemented in G4VtkUnstructuredGridPipeline::PseudoSceneVtkBase.

Definition at line 78 of file G4PseudoScene.hh.

78{ProcessVolume (solid);}

◆ BeginPrimitives()

void G4PseudoScene::BeginPrimitives ( const G4Transform3D & )
inlinevirtual

Implements G4VGraphicsScene.

Definition at line 87 of file G4PseudoScene.hh.

87{}

◆ BeginPrimitives2D()

void G4PseudoScene::BeginPrimitives2D ( const G4Transform3D & )
inlinevirtual

Implements G4VGraphicsScene.

Definition at line 89 of file G4PseudoScene.hh.

89{}

◆ EndPrimitives()

void G4PseudoScene::EndPrimitives ( )
inlinevirtual

Implements G4VGraphicsScene.

Definition at line 88 of file G4PseudoScene.hh.

88{}

◆ EndPrimitives2D()

void G4PseudoScene::EndPrimitives2D ( )
inlinevirtual

Implements G4VGraphicsScene.

Definition at line 90 of file G4PseudoScene.hh.

90{}

◆ PostAddSolid()

void G4PseudoScene::PostAddSolid ( )
inlinevirtual

Implements G4VGraphicsScene.

Definition at line 61 of file G4PseudoScene.hh.

61{}

◆ PreAddSolid()

void G4PseudoScene::PreAddSolid ( const G4Transform3D & objectTransformation,
const G4VisAttributes & visAttributes )
inlinevirtual

Implements G4VGraphicsScene.

Definition at line 56 of file G4PseudoScene.hh.

57 {
58 fpCurrentObjectTransformation = &objectTransformation;
59 fpVisAttributes = &visAttributes;
60 }
const G4VisAttributes * fpVisAttributes
const G4Transform3D * fpCurrentObjectTransformation

◆ ProcessVolume()

void G4PseudoScene::ProcessVolume ( const G4VSolid & solid)
protectedvirtual

Reimplemented in G4VtkUnstructuredGridPipeline::PseudoSceneVtkBase.

Definition at line 43 of file G4PseudoScene.cc.

44{
46 ed << "G4PseudoScene::ProcessVolume called for solid \"" << solid.GetName()
47 << "\".\n This is a base class - it shouldn't happen."
48 << "\n The concrete implementation has not processed this solid.";
49 G4Exception("G4PseudoScene::ProcessVolume", "modeling0014",
50 FatalException, ed);
51}
@ FatalException
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *description)
std::ostringstream G4ExceptionDescription
G4String GetName() const

Referenced by AddCompound(), AddSolid(), AddSolid(), AddSolid(), AddSolid(), AddSolid(), AddSolid(), AddSolid(), AddSolid(), AddSolid(), AddSolid(), AddSolid(), AddSolid(), AddSolid(), and AddSolid().

Member Data Documentation

◆ fpCurrentObjectTransformation

const G4Transform3D* G4PseudoScene::fpCurrentObjectTransformation = nullptr
protected

Definition at line 103 of file G4PseudoScene.hh.

Referenced by PreAddSolid(), and G4BoundingExtentScene::ResetBoundingExtent().

◆ fpVisAttributes

const G4VisAttributes* G4PseudoScene::fpVisAttributes = nullptr
protected

Definition at line 104 of file G4PseudoScene.hh.

Referenced by PreAddSolid().


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