Geant4 11.1.1
Toolkit for the simulation of the passage of particles through matter
|
#include <G4OpenGLStoredSceneHandler.hh>
Classes | |
struct | G4TextPlus |
struct | PO |
struct | TO |
Public Member Functions | |
G4OpenGLStoredSceneHandler (G4VGraphicsSystem &system, const G4String &name="") | |
virtual | ~G4OpenGLStoredSceneHandler () |
void | BeginPrimitives (const G4Transform3D &objectTransformation) |
void | EndPrimitives () |
void | BeginPrimitives2D (const G4Transform3D &objectTransformation) |
void | EndPrimitives2D () |
void | BeginModeling () |
void | EndModeling () |
void | AddPrimitive (const G4Polyline &) |
void | AddPrimitive (const G4Polymarker &) |
void | AddPrimitive (const G4Circle &) |
void | AddPrimitive (const G4Square &) |
void | AddPrimitive (const G4Text &) |
void | AddPrimitive (const G4Polyhedron &) |
void | ClearStore () |
void | ClearTransientStore () |
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 &) |
Public Member Functions inherited from G4OpenGLSceneHandler | |
virtual void | BeginPrimitives (const G4Transform3D &objectTransformation) |
virtual void | EndPrimitives () |
virtual void | BeginPrimitives2D (const G4Transform3D &objectTransformation) |
virtual void | EndPrimitives2D () |
void | AddPrimitive (const G4Polyline &) |
void | AddPrimitive (const G4Polymarker &) |
void | AddPrimitive (const G4Text &) |
void | AddPrimitive (const G4Circle &) |
void | AddPrimitive (const G4Square &) |
void | AddPrimitivesCircle (const std::vector< G4VMarker > &) |
void | AddPrimitivesSquare (const std::vector< G4VMarker > &) |
void | AddPrimitive (const G4Polyhedron &) |
void | PreAddSolid (const G4Transform3D &objectTransformation, const G4VisAttributes &) |
void | AddSolid (const G4Box &) |
void | AddSolid (const G4Cons &) |
void | AddSolid (const G4Tubs &) |
void | AddSolid (const G4Trd &) |
void | AddSolid (const G4Trap &) |
void | AddSolid (const G4Sphere &) |
void | AddSolid (const G4Para &) |
void | AddSolid (const G4Torus &) |
void | AddSolid (const G4Polycone &) |
void | AddSolid (const G4Polyhedra &) |
void | AddSolid (const G4Orb &) |
void | AddSolid (const G4Ellipsoid &) |
void | AddSolid (const G4TessellatedSolid &) |
void | AddSolid (const G4VSolid &) |
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 &) |
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 &) |
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 |
Static Protected Attributes | |
static G4int | fSceneIdCount = 0 |
static G4int | fDisplayListId = 0 |
Static Protected Attributes inherited from G4OpenGLSceneHandler | |
static FlushAction | fFlushAction = G4OpenGLSceneHandler::NthEvent |
static G4int | fEntitiesFlushInterval = 100 |
static const GLubyte | fStippleMaskHashed [128] |
Friends | |
class | G4OpenGLStoredViewer |
Additional Inherited Members | |
Public Types inherited from G4OpenGLSceneHandler | |
enum | FlushAction { endOfEvent , endOfRun , eachPrimitive , NthPrimitive , NthEvent , never } |
Public Types inherited from G4VSceneHandler | |
enum | MarkerSizeType { world , screen } |
Static Public Member Functions inherited from G4OpenGLSceneHandler | |
static G4int | GetEntitiesFlushInterval () |
static FlushAction | GetFlushAction () |
static void | SetEntitiesFlushInterval (G4int interval) |
static void | SetFlushAction (FlushAction action) |
Definition at line 43 of file G4OpenGLStoredSceneHandler.hh.
G4OpenGLStoredSceneHandler::G4OpenGLStoredSceneHandler | ( | G4VGraphicsSystem & | system, |
const G4String & | name = "" |
||
) |
Definition at line 147 of file G4OpenGLStoredSceneHandler.cc.
|
virtual |
Definition at line 155 of file G4OpenGLStoredSceneHandler.cc.
|
virtual |
Reimplemented from G4OpenGLSceneHandler.
Definition at line 451 of file G4OpenGLStoredSceneHandler.cc.
|
virtual |
Reimplemented from G4OpenGLSceneHandler.
|
virtual |
Reimplemented from G4OpenGLSceneHandler.
Definition at line 193 of file G4VSceneHandler.cc.
|
virtual |
Reimplemented from G4OpenGLSceneHandler.
Definition at line 469 of file G4OpenGLStoredSceneHandler.cc.
|
virtual |
Reimplemented from G4OpenGLSceneHandler.
|
virtual |
Reimplemented from G4OpenGLSceneHandler.
Definition at line 421 of file G4OpenGLStoredSceneHandler.cc.
|
virtual |
Reimplemented from G4OpenGLSceneHandler.
|
virtual |
Reimplemented from G4OpenGLSceneHandler.
Definition at line 191 of file G4VSceneHandler.cc.
|
virtual |
Reimplemented from G4OpenGLSceneHandler.
Definition at line 430 of file G4OpenGLStoredSceneHandler.cc.
|
virtual |
Reimplemented from G4OpenGLSceneHandler.
Definition at line 460 of file G4OpenGLStoredSceneHandler.cc.
|
virtual |
Reimplemented from G4OpenGLSceneHandler.
|
virtual |
Reimplemented from G4OpenGLSceneHandler.
Definition at line 439 of file G4OpenGLStoredSceneHandler.cc.
|
virtual |
Reimplemented from G4OpenGLSceneHandler.
|
protected |
Definition at line 390 of file G4OpenGLStoredSceneHandler.cc.
Referenced by AddPrimitive().
|
protected |
Definition at line 197 of file G4OpenGLStoredSceneHandler.cc.
|
protected |
Definition at line 193 of file G4OpenGLStoredSceneHandler.cc.
Definition at line 189 of file G4OpenGLStoredSceneHandler.cc.
Referenced by AddPrimitive().
|
virtual |
Reimplemented from G4VSceneHandler.
Definition at line 481 of file G4OpenGLStoredSceneHandler.cc.
|
virtual |
Reimplemented from G4OpenGLSceneHandler.
Definition at line 158 of file G4OpenGLStoredSceneHandler.cc.
|
virtual |
Reimplemented from G4OpenGLSceneHandler.
Definition at line 174 of file G4OpenGLStoredSceneHandler.cc.
|
virtual |
Reimplemented from G4VSceneHandler.
Definition at line 523 of file G4OpenGLStoredSceneHandler.cc.
Referenced by G4OpenGLStoredQtSceneHandler::ClearStore().
|
virtual |
Reimplemented from G4VSceneHandler.
Definition at line 546 of file G4OpenGLStoredSceneHandler.cc.
Referenced by G4OpenGLStoredQtSceneHandler::ClearTransientStore().
|
virtual |
Reimplemented from G4VSceneHandler.
Definition at line 489 of file G4OpenGLStoredSceneHandler.cc.
|
virtual |
Reimplemented from G4OpenGLSceneHandler.
Definition at line 166 of file G4OpenGLStoredSceneHandler.cc.
|
virtual |
Reimplemented from G4OpenGLSceneHandler.
Definition at line 181 of file G4OpenGLStoredSceneHandler.cc.
|
inlineprotectedvirtual |
Reimplemented in G4OpenGLStoredQtSceneHandler.
Definition at line 82 of file G4OpenGLStoredSceneHandler.hh.
|
inlineprotectedvirtual |
Reimplemented in G4OpenGLStoredQtSceneHandler.
Definition at line 84 of file G4OpenGLStoredSceneHandler.hh.
|
friend |
Definition at line 45 of file G4OpenGLStoredSceneHandler.hh.
|
staticprotected |
Definition at line 91 of file G4OpenGLStoredSceneHandler.hh.
Referenced by ClearStore(), ClearTransientStore(), EndModeling(), G4OpenGLStoredSceneHandler::PO::operator=(), and G4OpenGLStoredSceneHandler::TO::operator=().
|
protected |
Definition at line 98 of file G4OpenGLStoredSceneHandler.hh.
Referenced by G4OpenGLStoredViewer::AddPrimitiveForASingleFrame(), and AddPrimitivePostamble().
|
protected |
Definition at line 127 of file G4OpenGLStoredSceneHandler.hh.
Referenced by ClearStore(), G4OpenGLStoredViewer::DrawDisplayLists(), EndModeling(), and G4OpenGLStoredQtSceneHandler::ExtraPOProcessing().
|
staticprotected |
Definition at line 87 of file G4OpenGLStoredSceneHandler.hh.
|
protected |
Definition at line 148 of file G4OpenGLStoredSceneHandler.hh.
Referenced by ClearStore().
|
protected |
Definition at line 144 of file G4OpenGLStoredSceneHandler.hh.
Referenced by ClearStore(), ClearTransientStore(), G4OpenGLStoredViewer::DrawDisplayLists(), and G4OpenGLStoredQtSceneHandler::ExtraTOProcessing().
|
protected |
Definition at line 104 of file G4OpenGLStoredSceneHandler.hh.
Referenced by ClearStore(), EndModeling(), and G4OpenGLStoredViewer::KernelVisitDecision().