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

#include <G4VtkQtSceneHandler.hh>

+ Inheritance diagram for G4VtkQtSceneHandler:

Public Member Functions

 G4VtkQtSceneHandler (G4VGraphicsSystem &system, const G4String &name)
 
 ~G4VtkQtSceneHandler () override=default
 
void AddPrimitive (const G4Polyline &) override
 
void AddPrimitive (const G4Text &) override
 
void AddPrimitive (const G4Circle &) override
 
void AddPrimitive (const G4Square &) override
 
void AddPrimitive (const G4Polyhedron &) override
 
void AddPrimitive (const G4Polymarker &polymarker) override
 
- Public Member Functions inherited from G4VtkSceneHandler
 G4VtkSceneHandler (G4VGraphicsSystem &system, const G4String &name)
 
 ~G4VtkSceneHandler () override=default
 
void AddPrimitive (const G4Polyline &) override
 
void AddPrimitive (const G4Text &) override
 
void AddPrimitive (const G4Circle &) override
 
void AddPrimitive (const G4Square &) override
 
void AddPrimitive (const G4Polyhedron &) override
 
void AddPrimitive (const G4Polymarker &polymarker) override
 
void AddSolid (const G4Box &box) override
 
void AddCompound (const G4Mesh &mesh) override
 
void Modified ()
 
void ClearStore () override
 
void ClearTransientStore () override
 
G4VtkVisContext MakeDefaultVisContext ()
 
G4VtkStoreGetStore ()
 
G4VtkStoreGetTransientStore ()
 
virtual void Print ()
 
void SetPolyhedronPipeline (const G4String &str)
 
virtual void AddPrimitive (const G4Plotter &)
 
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 > &)
 
- 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 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 G4ColourGetColour (const G4Visible &)
 
const G4ColourGetColor (const G4Visible &)
 
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 ()
 
void AddViewerToList (G4VViewer *pView)
 
void RemoveViewerFromList (G4VViewer *pView)
 
- Public Member Functions inherited from G4VGraphicsScene
 G4VGraphicsScene ()
 
virtual ~G4VGraphicsScene ()
 

Static Protected Attributes

static G4int fSceneIdCount = 0
 
- Static Protected Attributes inherited from G4VtkSceneHandler
static G4int fSceneIdCount = 0
 

Friends

class G4VtkQtViewer
 

Additional Inherited Members

- Public Types inherited from G4VSceneHandler
enum  MarkerSizeType { world , screen }
 
- Protected Member Functions inherited from G4VSceneHandler
virtual void ProcessScene ()
 
virtual void RequestPrimitives (const G4VSolid &solid)
 
virtual G4DisplacedSolidCreateSectionSolid ()
 
virtual G4DisplacedSolidCreateCutawaySolid ()
 
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 inherited from G4VtkSceneHandler
G4VtkStore store = G4VtkStore("perm")
 
G4VtkStore transientStore = G4VtkStore("trans")
 
G4String polyhedronPipelineType
 
- 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 36 of file G4VtkQtSceneHandler.hh.

Constructor & Destructor Documentation

◆ G4VtkQtSceneHandler()

G4VtkQtSceneHandler::G4VtkQtSceneHandler ( G4VGraphicsSystem & system,
const G4String & name )

Definition at line 45 of file G4VtkQtSceneHandler.cc.

46 : G4VtkSceneHandler(system, name)
47{}
G4VtkSceneHandler(G4VGraphicsSystem &system, const G4String &name)

◆ ~G4VtkQtSceneHandler()

G4VtkQtSceneHandler::~G4VtkQtSceneHandler ( )
overridedefault

Member Function Documentation

◆ AddPrimitive() [1/6]

void G4VtkQtSceneHandler::AddPrimitive ( const G4Circle & circle)
overridevirtual

Implements G4VSceneHandler.

Definition at line 69 of file G4VtkQtSceneHandler.cc.

70{
71#ifdef G4VTKDEBUG
73#endif
74
75 // Normal base class behaviour
77}
#define G4endl
Definition G4ios.hh:67
G4GLOB_DLL std::ostream G4cout
const G4String & GetGlobalDescription() const
const G4String & GetType() const
void AddPrimitive(const G4Polyline &) override

◆ AddPrimitive() [2/6]

void G4VtkQtSceneHandler::AddPrimitive ( const G4Polyhedron & polyhedron)
overridevirtual

Implements G4VSceneHandler.

Definition at line 89 of file G4VtkQtSceneHandler.cc.

90{
91#ifdef G4VTKDEBUG
93#endif
94
95 // Normal base class behaviour
97}

◆ AddPrimitive() [3/6]

void G4VtkQtSceneHandler::AddPrimitive ( const G4Polyline & polyline)
overridevirtual

Implements G4VSceneHandler.

Definition at line 49 of file G4VtkQtSceneHandler.cc.

50{
51#ifdef G4VTKDEBUG
53#endif
54
55 // Normal base class behaviour
57}

◆ AddPrimitive() [4/6]

void G4VtkSceneHandler::AddPrimitive ( const G4Polymarker & polymarker)
inlineoverridevirtual

Reimplemented from G4VSceneHandler.

Definition at line 101 of file G4VtkSceneHandler.hh.

102 {
104 }
virtual void AddPrimitive(const G4Polyline &)=0

◆ AddPrimitive() [5/6]

void G4VtkQtSceneHandler::AddPrimitive ( const G4Square & square)
overridevirtual

Implements G4VSceneHandler.

Definition at line 79 of file G4VtkQtSceneHandler.cc.

80{
81#ifdef G4VTKDEBUG
83#endif
84
85 // Normal base class behaviour
87}

◆ AddPrimitive() [6/6]

void G4VtkQtSceneHandler::AddPrimitive ( const G4Text & text)
overridevirtual

Implements G4VSceneHandler.

Definition at line 59 of file G4VtkQtSceneHandler.cc.

60{
61#ifdef G4VTKDEBUG
63#endif
64
65 // Normal base class behaviour
67}

Friends And Related Symbol Documentation

◆ G4VtkQtViewer

friend class G4VtkQtViewer
friend

Definition at line 55 of file G4VtkQtSceneHandler.hh.

Member Data Documentation

◆ fSceneIdCount

G4int G4VtkQtSceneHandler::fSceneIdCount = 0
staticprotected

Definition at line 52 of file G4VtkQtSceneHandler.hh.


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