Geant4 11.1.1
Toolkit for the simulation of the passage of particles through matter
|
#include <G4ToolsSGSceneHandler.hh>
Classes | |
class | Messenger |
Public Member Functions | |
virtual void | AddPrimitive (const G4Polyline &) |
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 &) |
virtual void | AddPrimitive (const G4Plotter &) |
virtual void | AddCompound (const G4Mesh &) |
virtual void | ClearStore () |
virtual void | ClearTransientStore () |
G4ToolsSGSceneHandler (G4VGraphicsSystem &system, const G4String &name) | |
virtual | ~G4ToolsSGSceneHandler () |
tools::sg::separator & | GetTransient2DObjects () |
tools::sg::separator & | GetPersistent2DObjects () |
tools::sg::separator & | GetTransient3DObjects () |
tools::sg::separator & | GetPersistent3DObjects () |
void | TouchPlotters (tools::sg::node &) |
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 | AddCompound (const G4Mesh &) |
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 | AddCompound (const G4Mesh &) |
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 void | AddPrimitive (const G4Polyline &)=0 |
virtual void | AddPrimitive (const G4Text &)=0 |
virtual void | AddPrimitive (const G4Circle &)=0 |
virtual void | AddPrimitive (const G4Square &)=0 |
virtual void | AddPrimitive (const G4Polymarker &) |
virtual void | AddPrimitive (const G4Polyhedron &)=0 |
virtual void | AddPrimitive (const G4Plotter &) |
virtual const G4VisExtent & | GetExtent () const |
const G4String & | GetName () const |
G4int | GetSceneHandlerId () const |
G4int | GetViewCount () const |
G4VGraphicsSystem * | GetGraphicsSystem () const |
G4Scene * | GetScene () const |
const G4ViewerList & | GetViewerList () const |
G4VModel * | GetModel () const |
G4VViewer * | GetCurrentViewer () const |
G4bool | GetMarkForClearingTransientStore () const |
G4bool | IsReadyForTransients () const |
G4bool | GetTransientsDrawnThisEvent () const |
G4bool | GetTransientsDrawnThisRun () const |
const G4Transform3D & | GetObjectTransformation () const |
void | SetName (const G4String &) |
void | SetCurrentViewer (G4VViewer *) |
virtual void | SetScene (G4Scene *) |
G4ViewerList & | SetViewerList () |
void | SetModel (G4VModel *) |
void | SetMarkForClearingTransientStore (G4bool) |
void | SetTransientsDrawnThisEvent (G4bool) |
void | SetTransientsDrawnThisRun (G4bool) |
void | SetObjectTransformation (const G4Transform3D &) |
const G4Colour & | GetColour () |
const G4Colour & | GetColor () |
const G4Colour & | GetColour (const G4Visible &) |
const G4Colour & | GetColor (const G4Visible &) |
const G4Colour & | GetTextColour (const G4Text &) |
const G4Colour & | GetTextColor (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 &) |
G4ModelingParameters * | CreateModelingParameters () |
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 () |
virtual void | PreAddSolid (const G4Transform3D &objectTransformation, const G4VisAttributes &visAttribs)=0 |
virtual void | PostAddSolid ()=0 |
virtual void | AddSolid (const G4Box &)=0 |
virtual void | AddSolid (const G4Cons &)=0 |
virtual void | AddSolid (const G4Orb &)=0 |
virtual void | AddSolid (const G4Para &)=0 |
virtual void | AddSolid (const G4Sphere &)=0 |
virtual void | AddSolid (const G4Torus &)=0 |
virtual void | AddSolid (const G4Trap &)=0 |
virtual void | AddSolid (const G4Trd &)=0 |
virtual void | AddSolid (const G4Tubs &)=0 |
virtual void | AddSolid (const G4Ellipsoid &)=0 |
virtual void | AddSolid (const G4Polycone &)=0 |
virtual void | AddSolid (const G4Polyhedra &)=0 |
virtual void | AddSolid (const G4TessellatedSolid &)=0 |
virtual void | AddSolid (const G4VSolid &)=0 |
virtual void | AddCompound (const G4VTrajectory &)=0 |
virtual void | AddCompound (const G4VHit &)=0 |
virtual void | AddCompound (const G4VDigi &)=0 |
virtual void | AddCompound (const G4THitsMap< G4double > &)=0 |
virtual void | AddCompound (const G4THitsMap< G4StatDouble > &)=0 |
virtual void | AddCompound (const G4Mesh &)=0 |
virtual void | BeginPrimitives (const G4Transform3D &objectTransformation=G4Transform3D())=0 |
virtual void | EndPrimitives ()=0 |
virtual void | BeginPrimitives2D (const G4Transform3D &objectTransformation=G4Transform3D())=0 |
virtual void | EndPrimitives2D ()=0 |
virtual void | AddPrimitive (const G4Polyline &)=0 |
virtual void | AddPrimitive (const G4Text &)=0 |
virtual void | AddPrimitive (const G4Circle &)=0 |
virtual void | AddPrimitive (const G4Square &)=0 |
virtual void | AddPrimitive (const G4Polymarker &)=0 |
virtual void | AddPrimitive (const G4Polyhedron &)=0 |
virtual void | AddPrimitive (const G4Plotter &)=0 |
virtual const G4VisExtent & | GetExtent () const |
Protected Types | |
using | Region_h1 = std::pair< unsigned int, int > |
using | Region_h2 = std::pair< unsigned int, int > |
Protected Member Functions | |
G4ToolsSGSceneHandler (const G4ToolsSGSceneHandler &) | |
G4ToolsSGSceneHandler & | operator= (const G4ToolsSGSceneHandler &) |
void | CreateSG () |
void | EstablishBaseNodes () |
tools::sg::separator * | GetOrCreateNode () |
void | SetPlotterHistograms (tools::sg::plots &) |
Protected Member Functions inherited from G4VSceneHandler | |
virtual void | ProcessScene () |
virtual void | RequestPrimitives (const G4VSolid &solid) |
virtual G4DisplacedSolid * | CreateSectionSolid () |
virtual G4DisplacedSolid * | CreateCutawaySolid () |
void | LoadAtts (const G4Visible &, G4AttHolder *) |
void | StandardSpecialMeshRendering (const G4Mesh &) |
void | Draw3DRectMeshAsDots (const G4Mesh &) |
void | Draw3DRectMeshAsSurfaces (const G4Mesh &) |
void | DrawTetMeshAsDots (const G4Mesh &) |
void | DrawTetMeshAsSurfaces (const G4Mesh &) |
G4ThreeVector | GetPointInBox (const G4ThreeVector &pos, G4double halfX, G4double halfY, G4double halfZ) const |
G4ThreeVector | GetPointInTet (const std::vector< G4ThreeVector > &vertices) const |
Protected Attributes | |
tools::sg::separator | fpTransient2DObjects |
tools::sg::separator | fpPersistent2DObjects |
tools::sg::separator | fpTransient3DObjects |
tools::sg::separator | fpPersistent3DObjects |
std::vector< G4ToolsSGNode * > | fpPhysicalVolumeObjects |
tools::sg::base_freetype * | fFreetypeNode |
std::vector< Region_h1 > | fRegionH1s |
std::vector< Region_h2 > | fRegionH2s |
Protected Attributes inherited from G4VSceneHandler | |
G4VGraphicsSystem & | fSystem |
const G4int | fSceneHandlerId |
G4String | fName |
G4int | fViewCount |
G4ViewerList | fViewerList |
G4VViewer * | fpViewer |
G4Scene * | fpScene |
G4bool | fMarkForClearingTransientStore |
G4bool | fReadyForTransients |
G4bool | fTransientsDrawnThisEvent |
G4bool | fTransientsDrawnThisRun |
G4bool | fProcessingSolid |
G4bool | fProcessing2D |
G4VModel * | fpModel |
G4Transform3D | fObjectTransformation |
G4int | fNestingDepth |
const G4VisAttributes * | fpVisAttribs |
const G4Transform3D | fIdentityTransformation |
Static Protected Attributes | |
static G4int | fSceneIdCount = 0 |
Additional Inherited Members | |
Public Types inherited from G4VSceneHandler | |
enum | MarkerSizeType { world , screen } |
Definition at line 44 of file G4ToolsSGSceneHandler.hh.
|
protected |
Definition at line 94 of file G4ToolsSGSceneHandler.hh.
|
protected |
Definition at line 95 of file G4ToolsSGSceneHandler.hh.
G4ToolsSGSceneHandler::G4ToolsSGSceneHandler | ( | G4VGraphicsSystem & | system, |
const G4String & | name | ||
) |
Definition at line 76 of file G4ToolsSGSceneHandler.cc.
|
virtual |
Definition at line 93 of file G4ToolsSGSceneHandler.cc.
|
protected |
|
virtual |
Reimplemented from G4VSceneHandler.
Definition at line 133 of file G4VSceneHandler.cc.
|
virtual |
Reimplemented from G4VSceneHandler.
Definition at line 586 of file G4ToolsSGSceneHandler.cc.
|
virtual |
Reimplemented from G4VSceneHandler.
Definition at line 131 of file G4VSceneHandler.cc.
|
virtual |
Reimplemented from G4VSceneHandler.
Definition at line 132 of file G4VSceneHandler.cc.
|
virtual |
Reimplemented from G4VSceneHandler.
Definition at line 130 of file G4VSceneHandler.cc.
|
virtual |
Reimplemented from G4VSceneHandler.
Definition at line 129 of file G4VSceneHandler.cc.
|
virtual |
Reimplemented from G4VSceneHandler.
Definition at line 128 of file G4VSceneHandler.cc.
|
virtual |
Implements G4VSceneHandler.
Definition at line 415 of file G4ToolsSGSceneHandler.cc.
|
virtual |
Reimplemented from G4VSceneHandler.
Definition at line 815 of file G4ToolsSGSceneHandler.cc.
|
virtual |
Implements G4VSceneHandler.
Definition at line 433 of file G4ToolsSGSceneHandler.cc.
|
virtual |
Implements G4VSceneHandler.
Definition at line 213 of file G4ToolsSGSceneHandler.cc.
Referenced by AddPrimitive().
|
virtual |
Reimplemented from G4VSceneHandler.
Definition at line 264 of file G4ToolsSGSceneHandler.cc.
|
virtual |
Implements G4VSceneHandler.
Definition at line 424 of file G4ToolsSGSceneHandler.cc.
|
virtual |
Implements G4VSceneHandler.
Definition at line 341 of file G4ToolsSGSceneHandler.cc.
|
virtual |
Reimplemented from G4VSceneHandler.
Definition at line 198 of file G4ToolsSGSceneHandler.cc.
|
virtual |
Reimplemented from G4VSceneHandler.
Definition at line 207 of file G4ToolsSGSceneHandler.cc.
|
protected |
|
protected |
Definition at line 106 of file G4ToolsSGSceneHandler.cc.
Referenced by ClearStore(), and G4ToolsSGSceneHandler().
|
protected |
Definition at line 122 of file G4ToolsSGSceneHandler.cc.
Referenced by AddPrimitive().
|
inline |
Definition at line 65 of file G4ToolsSGSceneHandler.hh.
Referenced by G4ToolsSGViewer< SG_SESSION, SG_VIEWER >::CreateSG().
|
inline |
Definition at line 67 of file G4ToolsSGSceneHandler.hh.
Referenced by G4ToolsSGViewer< SG_SESSION, SG_VIEWER >::CreateSG().
|
inline |
Definition at line 64 of file G4ToolsSGSceneHandler.hh.
Referenced by G4ToolsSGViewer< SG_SESSION, SG_VIEWER >::CreateSG().
|
inline |
Definition at line 66 of file G4ToolsSGSceneHandler.hh.
Referenced by G4ToolsSGViewer< SG_SESSION, SG_VIEWER >::CreateSG().
|
inlineprotected |
Definition at line 73 of file G4ToolsSGSceneHandler.hh.
|
protected |
Definition at line 708 of file G4ToolsSGSceneHandler.cc.
Referenced by AddPrimitive(), and TouchPlotters().
void G4ToolsSGSceneHandler::TouchPlotters | ( | tools::sg::node & | a_sg | ) |
Definition at line 804 of file G4ToolsSGSceneHandler.cc.
Referenced by G4ToolsSGOffscreenViewer::DrawView(), G4ToolsSGOffscreenViewer::FinishView(), and G4ToolsSGViewer< SG_SESSION, SG_VIEWER >::FinishView().
|
protected |
Definition at line 92 of file G4ToolsSGSceneHandler.hh.
Referenced by AddPrimitive(), G4ToolsSGSceneHandler(), and ~G4ToolsSGSceneHandler().
|
protected |
Definition at line 85 of file G4ToolsSGSceneHandler.hh.
Referenced by AddPrimitive(), ClearStore(), GetPersistent2DObjects(), and ~G4ToolsSGSceneHandler().
|
protected |
Definition at line 88 of file G4ToolsSGSceneHandler.hh.
Referenced by ClearStore(), EstablishBaseNodes(), GetOrCreateNode(), GetPersistent3DObjects(), and ~G4ToolsSGSceneHandler().
|
protected |
Definition at line 90 of file G4ToolsSGSceneHandler.hh.
Referenced by EstablishBaseNodes(), and GetOrCreateNode().
|
protected |
Definition at line 84 of file G4ToolsSGSceneHandler.hh.
Referenced by AddPrimitive(), ClearStore(), ClearTransientStore(), GetTransient2DObjects(), and ~G4ToolsSGSceneHandler().
|
protected |
Definition at line 87 of file G4ToolsSGSceneHandler.hh.
Referenced by ClearStore(), ClearTransientStore(), GetOrCreateNode(), GetTransient3DObjects(), and ~G4ToolsSGSceneHandler().
|
protected |
Definition at line 96 of file G4ToolsSGSceneHandler.hh.
Referenced by AddPrimitive(), and SetPlotterHistograms().
|
protected |
Definition at line 97 of file G4ToolsSGSceneHandler.hh.
Referenced by AddPrimitive(), and SetPlotterHistograms().
|
staticprotected |
Definition at line 82 of file G4ToolsSGSceneHandler.hh.