ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
G4RayTracerSceneHandler Class Reference

#include <geant4/tree/geant4-10.6-release/source/visualization/RayTracer/include/G4RayTracerSceneHandler.hh>

+ Inheritance diagram for G4RayTracerSceneHandler:
+ Collaboration diagram for G4RayTracerSceneHandler:

Classes

struct  PathLessThan
 

Public Member Functions

 G4RayTracerSceneHandler (G4VGraphicsSystem &system, const G4String &name="")
 
virtual ~G4RayTracerSceneHandler ()
 
void BuildVisAttsMap (const G4VSolid &solid)
 
void RequestPrimitives (const G4VSolid &solid)
 
void AddPrimitive (const G4Polyline &)
 
void AddPrimitive (const G4Text &)
 
void AddPrimitive (const G4Circle &)
 
void AddPrimitive (const G4Square &)
 
void AddPrimitive (const G4Polyhedron &)
 
void AddPrimitive (const G4Polymarker &)
 
void AddPrimitive (const G4Scale &)
 
void ClearStore ()
 
const std::map
< G4ModelingParameters::PVPointerCopyNoPath,
G4VisAttributes, PathLessThan > & 
GetSceneVisAttsMap () const
 
- Public Member Functions inherited from G4VSceneHandler
 G4VSceneHandler (G4VGraphicsSystem &system, G4int id, const G4String &name="")
 
virtual ~G4VSceneHandler ()
 
virtual void PreAddSolid (const G4Transform3D &objectTransformation, const G4VisAttributes &)
 
virtual void PostAddSolid ()
 
virtual void AddSolid (const G4Box &)
 
virtual void AddSolid (const G4Cons &)
 
virtual void AddSolid (const G4Orb &)
 
virtual void AddSolid (const G4Para &)
 
virtual void AddSolid (const G4Sphere &)
 
virtual void AddSolid (const G4Torus &)
 
virtual void AddSolid (const G4Trap &)
 
virtual void AddSolid (const G4Trd &)
 
virtual void AddSolid (const G4Tubs &)
 
virtual void AddSolid (const G4Ellipsoid &)
 
virtual void AddSolid (const G4Polycone &)
 
virtual void AddSolid (const G4Polyhedra &)
 
virtual void AddSolid (const G4TessellatedSolid &)
 
virtual void AddSolid (const G4VSolid &)
 
virtual void AddCompound (const G4VTrajectory &)
 
virtual void AddCompound (const G4VHit &)
 
virtual void AddCompound (const G4VDigi &)
 
virtual void AddCompound (const G4THitsMap< G4double > &)
 
virtual void AddCompound (const G4THitsMap< G4StatDouble > &)
 
virtual void BeginModeling ()
 
virtual void EndModeling ()
 
virtual void BeginPrimitives (const G4Transform3D &objectTransformation=G4Transform3D())
 
virtual void EndPrimitives ()
 
virtual void BeginPrimitives2D (const G4Transform3D &objectTransformation=G4Transform3D())
 
virtual void EndPrimitives2D ()
 
virtual const G4VisExtentGetExtent () const
 
const G4StringGetName () const
 
G4int GetSceneHandlerId () const
 
G4int GetViewCount () const
 
G4VGraphicsSystemGetGraphicsSystem () const
 
G4SceneGetScene () const
 
const G4ViewerListGetViewerList () const
 
G4VModelGetModel () const
 
G4VViewerGetCurrentViewer () const
 
G4bool GetMarkForClearingTransientStore () const
 
G4bool IsReadyForTransients () const
 
G4bool GetTransientsDrawnThisEvent () const
 
G4bool GetTransientsDrawnThisRun () const
 
const G4Transform3DGetObjectTransformation () const
 
void SetName (const G4String &)
 
void SetCurrentViewer (G4VViewer *)
 
virtual void SetScene (G4Scene *)
 
G4ViewerListSetViewerList ()
 
void SetModel (G4VModel *)
 
void SetMarkForClearingTransientStore (G4bool)
 
void SetTransientsDrawnThisEvent (G4bool)
 
void SetTransientsDrawnThisRun (G4bool)
 
void SetObjectTransformation (const G4Transform3D &)
 
const G4ColourGetColour ()
 
const G4ColourGetColor ()
 
const G4ColourGetTextColour (const G4Text &)
 
const G4ColourGetTextColor (const G4Text &)
 
G4double GetLineWidth (const G4VisAttributes *)
 
G4ViewParameters::DrawingStyle GetDrawingStyle (const G4VisAttributes *)
 
G4int GetNumberOfCloudPoints (const G4VisAttributes *) const
 
G4bool GetAuxEdgeVisible (const G4VisAttributes *)
 
G4int GetNoOfSides (const G4VisAttributes *)
 
G4double GetMarkerSize (const G4VMarker &, MarkerSizeType &)
 
G4double GetMarkerDiameter (const G4VMarker &, MarkerSizeType &)
 
G4double GetMarkerRadius (const G4VMarker &, MarkerSizeType &)
 
G4ModelingParametersCreateModelingParameters ()
 
void DrawEvent (const G4Event *)
 
void DrawEndOfRunModels ()
 
template<class T >
void AddSolidT (const T &solid)
 
template<class T >
void AddSolidWithAuxiliaryEdges (const T &solid)
 
G4int IncrementViewCount ()
 
virtual void ClearTransientStore ()
 
void AddViewerToList (G4VViewer *pView)
 
void RemoveViewerFromList (G4VViewer *pView)
 
- Public Member Functions inherited from G4VGraphicsScene
 G4VGraphicsScene ()
 
virtual ~G4VGraphicsScene ()
 

Private Attributes

std::map
< G4ModelingParameters::PVPointerCopyNoPath,
G4VisAttributes, PathLessThan
fSceneVisAttsMap
 

Static Private Attributes

static G4int fSceneIdCount = 0
 

Additional Inherited Members

- Public Types inherited from G4VSceneHandler
enum  MarkerSizeType { world, screen }
 
- Protected Member Functions inherited from G4VSceneHandler
virtual void ProcessScene ()
 
virtual G4DisplacedSolidCreateSectionSolid ()
 
virtual G4DisplacedSolidCreateCutawaySolid ()
 
void LoadAtts (const G4Visible &, G4AttHolder *)
 
- Protected Attributes inherited from G4VSceneHandler
G4VGraphicsSystemfSystem
 
const G4int fSceneHandlerId
 
G4String fName
 
G4int fViewCount
 
G4ViewerList fViewerList
 
G4VViewerfpViewer
 
G4ScenefpScene
 
G4bool fMarkForClearingTransientStore
 
G4bool fReadyForTransients
 
G4bool fTransientsDrawnThisEvent
 
G4bool fTransientsDrawnThisRun
 
G4bool fProcessingSolid
 
G4bool fProcessing2D
 
G4VModelfpModel
 
G4Transform3D fObjectTransformation
 
G4int fNestingDepth
 
const G4VisAttributesfpVisAttribs
 
const G4Transform3D fIdentityTransformation
 

Detailed Description

Definition at line 38 of file G4RayTracerSceneHandler.hh.

View newest version in sPHENIX GitHub at line 38 of file G4RayTracerSceneHandler.hh

Constructor & Destructor Documentation

G4RayTracerSceneHandler::G4RayTracerSceneHandler ( G4VGraphicsSystem system,
const G4String name = "" 
)

Definition at line 35 of file G4RayTracerSceneHandler.cc.

View newest version in sPHENIX GitHub at line 35 of file G4RayTracerSceneHandler.cc

References G4Scene::AddWorldIfEmpty(), G4VSceneHandler::fpScene, G4VisManager::GetCurrentScene(), G4VisManager::GetInstance(), G4VisManager::SetCurrentScene(), and G4VisManager::SetSceneList().

+ Here is the call graph for this function:

G4RayTracerSceneHandler::~G4RayTracerSceneHandler ( )
virtual

Definition at line 60 of file G4RayTracerSceneHandler.cc.

View newest version in sPHENIX GitHub at line 60 of file G4RayTracerSceneHandler.cc

Member Function Documentation

void G4RayTracerSceneHandler::AddPrimitive ( const G4Polyline )
inlinevirtual

Implements G4VSceneHandler.

Definition at line 53 of file G4RayTracerSceneHandler.hh.

View newest version in sPHENIX GitHub at line 53 of file G4RayTracerSceneHandler.hh

void G4RayTracerSceneHandler::AddPrimitive ( const G4Text )
inlinevirtual

Implements G4VSceneHandler.

Definition at line 54 of file G4RayTracerSceneHandler.hh.

View newest version in sPHENIX GitHub at line 54 of file G4RayTracerSceneHandler.hh

void G4RayTracerSceneHandler::AddPrimitive ( const G4Circle )
inlinevirtual

Implements G4VSceneHandler.

Definition at line 55 of file G4RayTracerSceneHandler.hh.

View newest version in sPHENIX GitHub at line 55 of file G4RayTracerSceneHandler.hh

void G4RayTracerSceneHandler::AddPrimitive ( const G4Square )
inlinevirtual

Implements G4VSceneHandler.

Definition at line 56 of file G4RayTracerSceneHandler.hh.

View newest version in sPHENIX GitHub at line 56 of file G4RayTracerSceneHandler.hh

void G4RayTracerSceneHandler::AddPrimitive ( const G4Polyhedron )
inlinevirtual

Implements G4VSceneHandler.

Definition at line 57 of file G4RayTracerSceneHandler.hh.

View newest version in sPHENIX GitHub at line 57 of file G4RayTracerSceneHandler.hh

void G4RayTracerSceneHandler::AddPrimitive ( const G4Polymarker )
inlinevirtual

Reimplemented from G4VSceneHandler.

Definition at line 58 of file G4RayTracerSceneHandler.hh.

View newest version in sPHENIX GitHub at line 58 of file G4RayTracerSceneHandler.hh

void G4RayTracerSceneHandler::AddPrimitive ( const G4Scale )
inlinevirtual

Reimplemented from G4VSceneHandler.

Definition at line 59 of file G4RayTracerSceneHandler.hh.

View newest version in sPHENIX GitHub at line 59 of file G4RayTracerSceneHandler.hh

void G4RayTracerSceneHandler::BuildVisAttsMap ( const G4VSolid solid)

Definition at line 87 of file G4RayTracerSceneHandler.cc.

View newest version in sPHENIX GitHub at line 87 of file G4RayTracerSceneHandler.cc

References G4VSceneHandler::fpModel, G4VSceneHandler::fpVisAttribs, fSceneVisAttsMap, G4cout, G4endl, G4PhysicalVolumeModel::GetFullPVPath(), G4VisManager::GetInstance(), G4VisManager::GetVerbosity(), and G4VisManager::warnings.

Referenced by RequestPrimitives().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4RayTracerSceneHandler::ClearStore ( )
virtual

Reimplemented from G4VSceneHandler.

Definition at line 63 of file G4RayTracerSceneHandler.cc.

View newest version in sPHENIX GitHub at line 63 of file G4RayTracerSceneHandler.cc

References fSceneVisAttsMap.

const std::map<G4ModelingParameters::PVPointerCopyNoPath,G4VisAttributes,PathLessThan>& G4RayTracerSceneHandler::GetSceneVisAttsMap ( ) const
inline

Definition at line 71 of file G4RayTracerSceneHandler.hh.

View newest version in sPHENIX GitHub at line 71 of file G4RayTracerSceneHandler.hh

References fSceneVisAttsMap.

Referenced by G4RayTrajectory::AppendStep(), and G4RTSteppingAction::UserSteppingAction().

+ Here is the caller graph for this function:

void G4RayTracerSceneHandler::RequestPrimitives ( const G4VSolid solid)
inlinevirtual

Reimplemented from G4VSceneHandler.

Definition at line 49 of file G4RayTracerSceneHandler.hh.

View newest version in sPHENIX GitHub at line 49 of file G4RayTracerSceneHandler.hh

References BuildVisAttsMap().

+ Here is the call graph for this function:

Member Data Documentation

G4int G4RayTracerSceneHandler::fSceneIdCount = 0
staticprivate

Definition at line 76 of file G4RayTracerSceneHandler.hh.

View newest version in sPHENIX GitHub at line 76 of file G4RayTracerSceneHandler.hh

std::map<G4ModelingParameters::PVPointerCopyNoPath,G4VisAttributes,PathLessThan> G4RayTracerSceneHandler::fSceneVisAttsMap
private

Definition at line 80 of file G4RayTracerSceneHandler.hh.

View newest version in sPHENIX GitHub at line 80 of file G4RayTracerSceneHandler.hh

Referenced by BuildVisAttsMap(), ClearStore(), and GetSceneVisAttsMap().


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