80 #ifndef G4VISMANAGER_HH
81 #define G4VISMANAGER_HH
331 #ifdef G4MULTITHREADED
332 virtual void SetUpForAThread();
465 template <
class T>
void DrawT
466 (
const T& graphics_primitive,
const G4Transform3D& objectTransform);
467 template <
class T>
void DrawT2D
468 (
const T& graphics_primitive,
const G4Transform3D& objectTransform);
G4bool GetTransientsDrawnThisRun() const
G4bool FilterDigi(const G4VDigi &)
void RegisterEndOfEventUserVisAction(const G4String &name, G4VUserVisAction *, const G4VisExtent &=G4VisExtent::NullExtent)
void RegisterModelFactory(G4TrajDrawModelFactory *factory)
G4VisFilterManager< G4VTrajectory > * fpTrajFilterMgr
static const G4VisExtent NullExtent
static Verbosity fVerbosity
friend std::ostream & operator<<(std::ostream &, const G4VGraphicsSystem &)
void PrintAvailableColours(Verbosity) const
G4VisFilterManager< G4VHit > * fpHitFilterMgr
void DrawEvent(const G4Event *)
void PrintAvailableUserVisActions(Verbosity) const
virtual void RegisterModelFactories()
void PrintAvailableModels(Verbosity) const
void SetCurrentSceneHandler(G4VSceneHandler *)
void SetEventRefreshing(G4bool)
void RegisterEndOfRunUserVisAction(const G4String &name, G4VUserVisAction *, const G4VisExtent &=G4VisExtent::NullExtent)
G4VisStateDependent * fpStateDependent
G4ViewParameters fDefaultViewParameters
void PrintInvalidPointers() const
void SetVerboseLevel(G4int)
const G4Event * fpRequestedEvent
void SetRequestedEvent(const G4Event *)
G4VModelFactory< G4VFilter< G4VDigi > > G4DigiFilterFactory
void GeometryHasChanged()
G4bool fAbortReviewKeptEvents
G4VGraphicsSystem * GetCurrentGraphicsSystem() const
void SetCurrentScene(G4Scene *)
void SetUserActionExtent(const G4VisExtent &)
static std::vector< G4String > VerbosityGuidanceStrings
std::map< G4VUserVisAction *, G4VisExtent > fUserVisActionExtents
static Verbosity GetVerbosityValue(const G4String &)
void BeginDraw(const G4Transform3D &objectTransformation=G4Transform3D())
const G4VTrajectoryModel * CurrentTrajDrawModel() const
G4bool fTransientsDrawnThisEvent
void SetDefaultViewParameters(const G4ViewParameters &)
std::vector< G4UIcommand * > fDirectoryList
std::vector< G4UImessenger * > fMessengerList
void RegisterMessengers()
const G4SceneHandlerList & GetAvailableSceneHandlers() const
G4VModelFactory< G4VFilter< G4VHit > > G4HitFilterFactory
static G4VisManager * fpInstance
void RegisterMessenger(G4UImessenger *messenger)
void SelectTrajectoryModel(const G4String &model)
G4VSceneHandler * fpSceneHandler
G4VModelFactory< G4VFilter< G4VTrajectory > > G4TrajFilterFactory
void PrintAvailableGraphicsSystems() const
std::vector< UserVisAction > fEndOfRunUserVisActions
const G4ViewParameters & GetDefaultViewParameters() const
G4SceneList & SetSceneList()
G4int fDrawGroupNestingDepth
void IgnoreStateChanges(G4bool)
G4bool fEventKeepingSuspended
G4String ViewerShortName(const G4String &viewerName) const
std::vector< UserVisAction > fRunDurationUserVisActions
G4VisModelManager< G4VTrajectoryModel > * fpTrajDrawModelMgr
G4SceneHandlerList fAvailableSceneHandlers
G4bool FilterTrajectory(const G4VTrajectory &)
void ResetTransientsDrawnFlags()
static G4VisManager * GetInstance()
const G4SceneList & GetSceneList() const
const std::vector< UserVisAction > & GetEndOfEventUserVisActions() const
G4SceneHandlerList & SetAvailableSceneHandlers()
void SetCurrentGraphicsSystem(G4VGraphicsSystem *)
const std::map< G4VUserVisAction *, G4VisExtent > & GetUserVisActionExtents() const
G4VisFilterManager< G4VDigi > * fpDigiFilterMgr
G4VUserVisAction * fpUserVisAction
const std::vector< UserVisAction > & GetRunDurationUserVisActions() const
G4bool GetTransientsDrawnThisEvent() const
void RegisterRunDurationUserVisAction(const G4String &name, G4VUserVisAction *, const G4VisExtent &=G4VisExtent::NullExtent)
void SetCurrentViewer(G4VViewer *)
G4VisManager & operator=(const G4VisManager &)
G4GraphicsSystemList fAvailableGraphicsSystems
G4VisManager(const G4String &verbosityString="warnings")
G4bool FilterHit(const G4VHit &)
void SetUserAction(G4VUserVisAction *pVisAction, const G4VisExtent &=G4VisExtent::NullExtent)
G4VViewer * GetViewer(const G4String &viewerName) const
void DrawT(const T &graphics_primitive, const G4Transform3D &objectTransform)
std::vector< UserVisAction > fEndOfEventUserVisActions
void BeginDraw2D(const G4Transform3D &objectTransformation=G4Transform3D())
G4VModelFactory< G4VTrajectoryModel > G4TrajDrawModelFactory
static G4String VerbosityString(Verbosity)
G4VSceneHandler * GetCurrentSceneHandler() const
UserVisAction(const G4String &name, G4VUserVisAction *pUserVisAction)
static Verbosity GetVerbosity()
const G4Event * GetRequestedEvent() const
G4bool fIgnoreStateChanges
void Draw(const G4Circle &, const G4Transform3D &objectTransformation=G4Transform3D())
virtual void RegisterGraphicsSystems()=0
void RegisterModel(G4VTrajectoryModel *model)
G4bool RegisterGraphicsSystem(G4VGraphicsSystem *)
G4VViewer * GetCurrentViewer() const
G4bool GetAbortReviewKeptEvents() const
const std::vector< UserVisAction > & GetEndOfRunUserVisActions() const
void DispatchToModel(const G4VTrajectory &)
void CreateViewer(const G4String &name="", const G4String &XGeometry="")
void CreateSceneHandler(const G4String &name="")
G4VGraphicsSystem * fpGraphicsSystem
void DrawT2D(const T &graphics_primitive, const G4Transform3D &objectTransform)
const G4GraphicsSystemList & GetAvailableGraphicsSystems()
void Draw2D(const G4Circle &, const G4Transform3D &objectTransformation=G4Transform3D())
void ClearTransientStoreIfMarked()
G4Scene * GetCurrentScene() const
void SetAbortReviewKeptEvents(G4bool)
G4bool fTransientsDrawnThisRun