Geant4 10.7.0
Toolkit for the simulation of the passage of particles through matter
|
#include <G4HepRepSceneHandler.hh>
Public Member Functions | |
G4HepRepSceneHandler (G4VGraphicsSystem &system, const G4String &name="") | |
virtual | ~G4HepRepSceneHandler () |
void | AddSolid (const G4Box &box) |
void | AddSolid (const G4Cons &cons) |
void | AddSolid (const G4Tubs &tubs) |
void | AddSolid (const G4Trd &trd) |
void | AddSolid (const G4Trap &trap) |
void | AddSolid (const G4Sphere &sphere) |
void | AddSolid (const G4Para ¶) |
void | AddSolid (const G4Torus &torus) |
void | AddSolid (const G4Polycone &polycone) |
void | AddSolid (const G4Polyhedra &polyhedra) |
void | AddSolid (const G4Orb &orb) |
void | AddSolid (const G4Ellipsoid &ellipsoid) |
void | AddSolid (const G4TessellatedSolid &tess) |
void | AddSolid (const G4VSolid &solid) |
void | AddCompound (const G4VTrajectory &) |
void | AddCompound (const G4VHit &hit) |
void | AddCompound (const G4VDigi &digi) |
void | AddCompound (const G4THitsMap< G4double > &hits) |
void | AddCompound (const G4THitsMap< G4StatDouble > &hits) |
void | PreAddSolid (const G4Transform3D &objectTransformation, const G4VisAttributes &visAttribs) |
void | PostAddSolid () |
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 &scale) |
void | BeginPrimitives (const G4Transform3D &objectTransformation) |
void | EndPrimitives () |
void | BeginModeling () |
void | EndModeling () |
void | openHepRep () |
bool | closeHepRep (bool final=false) |
void | openFile (G4String name) |
void | closeFile () |
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 void | AddPrimitive (const G4Polyline &)=0 |
virtual void | AddPrimitive (const G4Scale &) |
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 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 & | 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 | 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 G4Scale &)=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 const G4VisExtent & | GetExtent () const |
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 G4DisplacedSolid * | CreateSectionSolid () |
virtual G4DisplacedSolid * | CreateCutawaySolid () |
void | LoadAtts (const G4Visible &, G4AttHolder *) |
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 |
Definition at line 63 of file G4HepRepSceneHandler.hh.
G4HepRepSceneHandler::G4HepRepSceneHandler | ( | G4VGraphicsSystem & | system, |
const G4String & | name = "" |
||
) |
Definition at line 92 of file G4HepRepSceneHandler.cc.
|
virtual |
Definition at line 134 of file G4HepRepSceneHandler.cc.
|
inlinevirtual |
Reimplemented from G4VSceneHandler.
Definition at line 89 of file G4HepRepSceneHandler.hh.
|
inlinevirtual |
Reimplemented from G4VSceneHandler.
Definition at line 92 of file G4HepRepSceneHandler.hh.
|
inlinevirtual |
Reimplemented from G4VSceneHandler.
Definition at line 86 of file G4HepRepSceneHandler.hh.
|
virtual |
Reimplemented from G4VSceneHandler.
Definition at line 1017 of file G4HepRepSceneHandler.cc.
|
virtual |
Reimplemented from G4VSceneHandler.
Definition at line 1005 of file G4HepRepSceneHandler.cc.
|
virtual |
Implements G4VSceneHandler.
Definition at line 844 of file G4HepRepSceneHandler.cc.
|
virtual |
Implements G4VSceneHandler.
Definition at line 879 of file G4HepRepSceneHandler.cc.
|
virtual |
Implements G4VSceneHandler.
Definition at line 755 of file G4HepRepSceneHandler.cc.
|
virtual |
Reimplemented from G4VSceneHandler.
Definition at line 792 of file G4HepRepSceneHandler.cc.
|
virtual |
Reimplemented from G4VSceneHandler.
Definition at line 1000 of file G4HepRepSceneHandler.cc.
|
virtual |
Implements G4VSceneHandler.
Definition at line 967 of file G4HepRepSceneHandler.cc.
|
virtual |
Implements G4VSceneHandler.
Definition at line 943 of file G4HepRepSceneHandler.cc.
|
virtual |
Reimplemented from G4VSceneHandler.
Definition at line 467 of file G4HepRepSceneHandler.cc.
|
virtual |
Reimplemented from G4VSceneHandler.
Definition at line 523 of file G4HepRepSceneHandler.cc.
|
virtual |
Reimplemented from G4VSceneHandler.
Definition at line 739 of file G4HepRepSceneHandler.cc.
|
virtual |
Reimplemented from G4VSceneHandler.
Definition at line 734 of file G4HepRepSceneHandler.cc.
|
virtual |
Reimplemented from G4VSceneHandler.
Definition at line 714 of file G4HepRepSceneHandler.cc.
|
virtual |
Reimplemented from G4VSceneHandler.
Definition at line 724 of file G4HepRepSceneHandler.cc.
|
virtual |
Reimplemented from G4VSceneHandler.
Definition at line 729 of file G4HepRepSceneHandler.cc.
|
virtual |
Reimplemented from G4VSceneHandler.
Definition at line 709 of file G4HepRepSceneHandler.cc.
|
virtual |
Reimplemented from G4VSceneHandler.
Definition at line 744 of file G4HepRepSceneHandler.cc.
|
virtual |
Reimplemented from G4VSceneHandler.
Definition at line 719 of file G4HepRepSceneHandler.cc.
|
virtual |
Reimplemented from G4VSceneHandler.
Definition at line 704 of file G4HepRepSceneHandler.cc.
|
virtual |
Reimplemented from G4VSceneHandler.
Definition at line 647 of file G4HepRepSceneHandler.cc.
|
virtual |
Reimplemented from G4VSceneHandler.
Definition at line 587 of file G4HepRepSceneHandler.cc.
|
virtual |
Reimplemented from G4VSceneHandler.
Definition at line 749 of file G4HepRepSceneHandler.cc.
|
virtual |
Reimplemented from G4VSceneHandler.
Definition at line 452 of file G4HepRepSceneHandler.cc.
|
virtual |
Reimplemented from G4VSceneHandler.
Definition at line 1048 of file G4HepRepSceneHandler.cc.
void G4HepRepSceneHandler::closeFile | ( | ) |
Definition at line 434 of file G4HepRepSceneHandler.cc.
Referenced by closeHepRep().
bool G4HepRepSceneHandler::closeHepRep | ( | bool | final = false | ) |
Returns true if the HepRep was (already) closed, false if the HepRep is still open
Definition at line 294 of file G4HepRepSceneHandler.cc.
Referenced by G4HepRepViewer::ShowView().
|
virtual |
Reimplemented from G4VSceneHandler.
Definition at line 460 of file G4HepRepSceneHandler.cc.
|
virtual |
Reimplemented from G4VSceneHandler.
Definition at line 1058 of file G4HepRepSceneHandler.cc.
void G4HepRepSceneHandler::openFile | ( | G4String | name | ) |
Definition at line 429 of file G4HepRepSceneHandler.cc.
Referenced by closeHepRep().
void G4HepRepSceneHandler::openHepRep | ( | ) |
Definition at line 264 of file G4HepRepSceneHandler.cc.
Referenced by G4HepRepSceneHandler(), and G4HepRepViewer::ShowView().
|
virtual |
Reimplemented from G4VSceneHandler.
Definition at line 1040 of file G4HepRepSceneHandler.cc.
|
virtual |
Reimplemented from G4VSceneHandler.
Definition at line 1028 of file G4HepRepSceneHandler.cc.