38 #ifndef G4VSCENEHANDLER_HH
39 #define G4VSCENEHANDLER_HH
290 template <
class T>
void AddSolidT (
const T& solid);
G4VModel * GetModel() const
virtual void ClearStore()
virtual ~G4VSceneHandler()
virtual void AddSolid(const G4Box &)
virtual G4VSolid * CreateSectionSolid()
G4double GetMarkerDiameter(const G4VMarker &, MarkerSizeType &)
static constexpr double s
virtual void BeginModeling()
G4ModelingParameters * CreateModelingParameters()
virtual void BeginPrimitives(const G4Transform3D &objectTransformation)
G4ViewerList & SetViewerList()
G4int GetViewCount() const
G4bool IsReadyForTransients() const
void LoadAtts(const G4Visible &, G4AttHolder *)
G4VViewer * GetCurrentViewer() const
G4int IncrementViewCount()
void RemoveViewerFromList(G4VViewer *pView)
virtual void PostAddSolid()
const G4String & GetName() const
G4Transform3D fObjectTransformation
const char * name(G4int ptype)
G4int GetNoOfSides(const G4VisAttributes *)
G4bool GetMarkForClearingTransientStore() const
virtual const G4VisExtent & GetExtent() const
virtual void AddPrimitive(const G4Polyline &)=0
virtual G4VSolid * CreateCutawaySolid()
G4VSceneHandler(G4VGraphicsSystem &system, G4int id, const G4String &name="")
const G4Transform3D & GetObjectTransformation() const
const G4ViewerList & GetViewerList() const
void SetTransientsDrawnThisEvent(G4bool)
G4double GetLineWidth(const G4VisAttributes *)
const G4int fSceneHandlerId
void AddViewerToList(G4VViewer *pView)
const G4Colour & GetColour()
friend std::ostream & operator<<(std::ostream &os, const G4VSceneHandler &s)
const G4Transform3D fIdentityTransformation
void SetName(const G4String &)
G4bool GetTransientsDrawnThisRun() const
G4double GetMarkerRadius(const G4VMarker &, MarkerSizeType &)
virtual void EndModeling()
G4VGraphicsSystem * GetGraphicsSystem() const
virtual void EndPrimitives()
void DrawEndOfRunModels()
G4bool GetTransientsDrawnThisEvent() const
void SetObjectTransformation(const G4Transform3D &)
virtual void BeginPrimitives2D(const G4Transform3D &objectTransformation)
virtual void SetScene(G4Scene *)
const G4Colour & GetColor()
const G4VisAttributes * fpVisAttribs
G4Scene * GetScene() const
G4bool fMarkForClearingTransientStore
virtual void AddCompound(const G4VTrajectory &)
void DrawEvent(const G4Event *)
virtual void ProcessScene()
G4bool fTransientsDrawnThisEvent
const G4Colour & GetTextColor(const G4Text &)
G4ViewParameters::DrawingStyle GetDrawingStyle(const G4VisAttributes *)
G4double GetMarkerSize(const G4VMarker &, MarkerSizeType &)
G4bool GetAuxEdgeVisible(const G4VisAttributes *)
virtual void PreAddSolid(const G4Transform3D &objectTransformation, const G4VisAttributes &)
virtual void RequestPrimitives(const G4VSolid &solid)
G4bool fReadyForTransients
void AddSolidWithAuxiliaryEdges(const T &solid)
void SetModel(G4VModel *)
virtual void ClearTransientStore()
G4bool fTransientsDrawnThisRun
void SetTransientsDrawnThisRun(G4bool)
G4int GetSceneHandlerId() const
G4VGraphicsSystem & fSystem
G4VSceneHandler & operator=(const G4VSceneHandler &)
void SetCurrentViewer(G4VViewer *)
void SetMarkForClearingTransientStore(G4bool)
virtual void EndPrimitives2D()
void AddSolidT(const T &solid)
const G4Colour & GetTextColour(const G4Text &)