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

#include <geant4/tree/geant4-10.6-release/source/visualization/Tree/include/G4ASCIITreeSceneHandler.hh>

+ Inheritance diagram for G4ASCIITreeSceneHandler:
+ Collaboration diagram for G4ASCIITreeSceneHandler:

Public Member Functions

 G4ASCIITreeSceneHandler (G4VGraphicsSystem &system, const G4String &name)
 
virtual ~G4ASCIITreeSceneHandler ()
 
virtual void BeginModeling ()
 
virtual void EndModeling ()
 
- Public Member Functions inherited from G4VTreeSceneHandler
 G4VTreeSceneHandler (G4VGraphicsSystem &system, const G4String &name)
 
virtual ~G4VTreeSceneHandler ()
 
void PreAddSolid (const G4Transform3D &objectTransformation, const G4VisAttributes &)
 
void PostAddSolid ()
 
virtual void AddPrimitive (const G4Polyline &)
 
virtual void AddPrimitive (const G4Text &)
 
virtual void AddPrimitive (const G4Circle &)
 
virtual void AddPrimitive (const G4Square &)
 
virtual void AddPrimitive (const G4Polyhedron &)
 
virtual void AddPrimitive (const G4Polymarker &)
 
virtual void AddPrimitive (const G4Scale &)
 
- Public Member Functions inherited from G4VSceneHandler
 G4VSceneHandler (G4VGraphicsSystem &system, G4int id, const G4String &name="")
 
virtual ~G4VSceneHandler ()
 
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 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 ClearStore ()
 
virtual void ClearTransientStore ()
 
void AddViewerToList (G4VViewer *pView)
 
void RemoveViewerFromList (G4VViewer *pView)
 
- Public Member Functions inherited from G4VGraphicsScene
 G4VGraphicsScene ()
 
virtual ~G4VGraphicsScene ()
 

Protected Types

typedef std::set
< G4LogicalVolume * >
::iterator 
LVSetIterator
 
typedef
G4PhysicalVolumeModel::G4PhysicalVolumeNodeID 
PVNodeID
 
typedef std::vector< PVNodeIDPVPath
 
typedef std::set< PVPath >
::iterator 
ReplicaSetIterator
 
typedef std::set< PVPath >
::reverse_iterator 
ReplicaSetReverseIterator
 

Protected Member Functions

virtual void RequestPrimitives (const G4VSolid &)
 
void WriteHeader (std::ostream &)
 

Protected Attributes

std::ostream * fpOutFile
 
std::ofstream fOutFile
 
std::ostringstream fRestOfLine
 
const G4VPhysicalVolumefpLastPV
 
G4String fLastPVName
 
G4int fLastCopyNo
 
G4int fLastNonSequentialCopyNo
 
std::set< G4LogicalVolume * > fLVSet
 
std::set< PVPathfReplicaSet
 
- Protected Attributes inherited from G4VTreeSceneHandler
const G4Transform3DfpCurrentObjectTransformation
 
std::set< G4LogicalVolume * > fDrawnLVStore
 
- 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
 

Additional Inherited Members

- Public Types inherited from G4VSceneHandler
enum  MarkerSizeType { world, screen }
 
- Static Protected Attributes inherited from G4VTreeSceneHandler
static G4int fSceneIdCount = 0
 

Detailed Description

Definition at line 47 of file G4ASCIITreeSceneHandler.hh.

View newest version in sPHENIX GitHub at line 47 of file G4ASCIITreeSceneHandler.hh

Member Typedef Documentation

typedef std::set<G4LogicalVolume*>::iterator G4ASCIITreeSceneHandler::LVSetIterator
protected

Definition at line 72 of file G4ASCIITreeSceneHandler.hh.

View newest version in sPHENIX GitHub at line 72 of file G4ASCIITreeSceneHandler.hh

Definition at line 73 of file G4ASCIITreeSceneHandler.hh.

View newest version in sPHENIX GitHub at line 73 of file G4ASCIITreeSceneHandler.hh

typedef std::vector<PVNodeID> G4ASCIITreeSceneHandler::PVPath
protected

Definition at line 74 of file G4ASCIITreeSceneHandler.hh.

View newest version in sPHENIX GitHub at line 74 of file G4ASCIITreeSceneHandler.hh

typedef std::set<PVPath>::iterator G4ASCIITreeSceneHandler::ReplicaSetIterator
protected

Definition at line 76 of file G4ASCIITreeSceneHandler.hh.

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

typedef std::set<PVPath>::reverse_iterator G4ASCIITreeSceneHandler::ReplicaSetReverseIterator
protected

Definition at line 77 of file G4ASCIITreeSceneHandler.hh.

View newest version in sPHENIX GitHub at line 77 of file G4ASCIITreeSceneHandler.hh

Constructor & Destructor Documentation

G4ASCIITreeSceneHandler::G4ASCIITreeSceneHandler ( G4VGraphicsSystem system,
const G4String name 
)

Definition at line 55 of file G4ASCIITreeSceneHandler.cc.

View newest version in sPHENIX GitHub at line 55 of file G4ASCIITreeSceneHandler.cc

G4ASCIITreeSceneHandler::~G4ASCIITreeSceneHandler ( )
virtual

Definition at line 64 of file G4ASCIITreeSceneHandler.cc.

View newest version in sPHENIX GitHub at line 64 of file G4ASCIITreeSceneHandler.cc

Member Function Documentation

void G4ASCIITreeSceneHandler::BeginModeling ( )
virtual

Reimplemented from G4VTreeSceneHandler.

Definition at line 66 of file G4ASCIITreeSceneHandler.cc.

View newest version in sPHENIX GitHub at line 66 of file G4ASCIITreeSceneHandler.cc

References G4VTreeSceneHandler::BeginModeling(), fOutFile, fpOutFile, G4cout, G4endl, G4VSceneHandler::GetGraphicsSystem(), writeMapConfig::outFileName, and WriteHeader().

+ Here is the call graph for this function:

void G4ASCIITreeSceneHandler::RequestPrimitives ( const G4VSolid solid)
protectedvirtual

Reimplemented from G4VSceneHandler.

Definition at line 192 of file G4ASCIITreeSceneHandler.cc.

View newest version in sPHENIX GitHub at line 192 of file G4ASCIITreeSceneHandler.cc

References G4PhysicalVolumeModel::CreateCurrentAttValues(), G4PhysicalVolumeModel::CurtailDescent(), fLastCopyNo, fLastNonSequentialCopyNo, fLastPVName, fLVSet, fpLastPV, G4VSceneHandler::fpModel, fpOutFile, fReplicaSet, fRestOfLine, G4BestUnit, G4Exception(), G4PhysicalVolumeModel::GetAttDefs(), G4VPhysicalVolume::GetCopyNo(), G4PhysicalVolumeModel::GetCurrentLV(), G4PhysicalVolumeModel::GetCurrentMaterial(), G4PhysicalVolumeModel::GetCurrentPV(), G4PhysicalVolumeModel::GetCurrentTransform(), G4Material::GetDensity(), G4PhysicalVolumeModel::GetDrawnPVPath(), G4VSolid::GetEntityType(), G4VSceneHandler::GetGraphicsSystem(), G4VPhysicalVolume::GetLogicalVolume(), G4LogicalVolume::GetMass(), G4VReadOutGeometry::GetName(), G4VSolid::GetName(), G4VSensitiveDetector::GetName(), G4VPhysicalVolume::GetName(), G4Material::GetName(), G4LogicalVolume::GetName(), G4LogicalVolume::GetNoDaughters(), G4VPhysicalVolume::GetParameterisation(), G4VSolid::GetPolyhedron(), G4VPhysicalVolume::GetReplicationData(), G4VSensitiveDetector::GetROgeometry(), G4LogicalVolume::GetSensitiveDetector(), G4ASCIITree::GetVerbosity(), G4VPhysicalVolume::IsParameterised(), G4VPhysicalVolume::IsReplicated(), JustWarning, offset, Acts::Test::transform, and width.

+ Here is the call graph for this function:

void G4ASCIITreeSceneHandler::WriteHeader ( std::ostream &  os)
protected

Definition at line 98 of file G4ASCIITreeSceneHandler.cc.

View newest version in sPHENIX GitHub at line 98 of file G4ASCIITreeSceneHandler.cc

References G4ASCIITreeMessenger::fVerbosityGuidance, G4VSceneHandler::GetGraphicsSystem(), and G4ASCIITree::GetVerbosity().

Referenced by BeginModeling().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Member Data Documentation

G4int G4ASCIITreeSceneHandler::fLastCopyNo
protected

Definition at line 68 of file G4ASCIITreeSceneHandler.hh.

View newest version in sPHENIX GitHub at line 68 of file G4ASCIITreeSceneHandler.hh

Referenced by EndModeling(), and RequestPrimitives().

G4int G4ASCIITreeSceneHandler::fLastNonSequentialCopyNo
protected

Definition at line 69 of file G4ASCIITreeSceneHandler.hh.

View newest version in sPHENIX GitHub at line 69 of file G4ASCIITreeSceneHandler.hh

Referenced by EndModeling(), and RequestPrimitives().

G4String G4ASCIITreeSceneHandler::fLastPVName
protected

Definition at line 67 of file G4ASCIITreeSceneHandler.hh.

View newest version in sPHENIX GitHub at line 67 of file G4ASCIITreeSceneHandler.hh

Referenced by EndModeling(), and RequestPrimitives().

std::set<G4LogicalVolume*> G4ASCIITreeSceneHandler::fLVSet
protected

Definition at line 71 of file G4ASCIITreeSceneHandler.hh.

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

Referenced by EndModeling(), and RequestPrimitives().

std::ofstream G4ASCIITreeSceneHandler::fOutFile
protected

Definition at line 62 of file G4ASCIITreeSceneHandler.hh.

View newest version in sPHENIX GitHub at line 62 of file G4ASCIITreeSceneHandler.hh

Referenced by BeginModeling(), and EndModeling().

const G4VPhysicalVolume* G4ASCIITreeSceneHandler::fpLastPV
protected

Definition at line 66 of file G4ASCIITreeSceneHandler.hh.

View newest version in sPHENIX GitHub at line 66 of file G4ASCIITreeSceneHandler.hh

Referenced by EndModeling(), and RequestPrimitives().

std::ostream* G4ASCIITreeSceneHandler::fpOutFile
protected

Definition at line 61 of file G4ASCIITreeSceneHandler.hh.

View newest version in sPHENIX GitHub at line 61 of file G4ASCIITreeSceneHandler.hh

Referenced by BeginModeling(), EndModeling(), and RequestPrimitives().

std::set<PVPath> G4ASCIITreeSceneHandler::fReplicaSet
protected

Definition at line 75 of file G4ASCIITreeSceneHandler.hh.

View newest version in sPHENIX GitHub at line 75 of file G4ASCIITreeSceneHandler.hh

Referenced by EndModeling(), and RequestPrimitives().

std::ostringstream G4ASCIITreeSceneHandler::fRestOfLine
protected

Definition at line 63 of file G4ASCIITreeSceneHandler.hh.

View newest version in sPHENIX GitHub at line 63 of file G4ASCIITreeSceneHandler.hh

Referenced by EndModeling(), and RequestPrimitives().


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