80 #ifndef G4VISMANAGER_HH
81 #define G4VISMANAGER_HH
85 #define G4VIS_USE_STD11
342 #ifdef G4MULTITHREADED
344 virtual void SetUpForAThread();
412 #ifdef G4MULTITHREADED
413 G4int GetMaxEventQueueSize ()
const;
414 G4bool GetWaitOnEventQueueFull ()
const;
435 #ifdef G4MULTITHREADED
436 void SetMaxEventQueueSize (
G4int);
437 void SetWaitOnEventQueueFull (
G4bool);
487 template <
class T>
void DrawT
488 (
const T& graphics_primitive,
const G4Transform3D& objectTransform);
489 template <
class T>
void DrawT2D
490 (
const T& graphics_primitive,
const G4Transform3D& objectTransform);
534 #ifdef G4MULTITHREADED
535 G4int fMaxEventQueueSize;
536 G4bool fWaitOnEventQueueFull;
552 #include "G4VisManager.icc"
void RegisterModelFactory(G4TrajDrawModelFactory *factory)
void SetTransientsDrawnThisEvent(G4bool)
std::vector< G4UImessenger * > fMessengerList
const G4VTrajectoryModel * CurrentTrajDrawModel() const
G4bool fTransientsDrawnThisEvent
void Draw2D(const G4Circle &, const G4Transform3D &objectTransformation=G4Transform3D())
G4bool GetAbortReviewKeptEvents() const
const G4ViewParameters & GetDefaultViewParameters() const
const G4SceneList & GetSceneList() const
void ResetTransientsDrawnFlags()
G4bool fAbortReviewKeptEvents
void SetDrawEventOnlyIfToBeKept(G4bool)
const std::vector< UserVisAction > & GetEndOfRunUserVisActions() const
G4bool GetTransientsDrawnThisRun() const
static Verbosity GetVerbosityValue(const G4String &)
G4VSceneHandler * fpSceneHandler
void PrintAvailableColours(Verbosity) const
G4int fDrawGroupNestingDepth
const G4Event * GetRequestedEvent() const
UserVisAction(const G4String &name, G4VUserVisAction *pUserVisAction)
G4VisModelManager< G4VTrajectoryModel > * fpTrajDrawModelMgr
G4VModelFactory< G4VTrajectoryModel > G4TrajDrawModelFactory
G4bool fTransientsDrawnThisRun
static G4VisManager * GetInstance()
void SetTransientsDrawnThisRun(G4bool)
void CreateViewer(const G4String &name="", const G4String &XGeometry="")
void RegisterEndOfRunUserVisAction(const G4String &name, G4VUserVisAction *, const G4VisExtent &=G4VisExtent())
G4bool fEventKeepingSuspended
void PrintAvailableUserVisActions(Verbosity) const
static std::vector< G4String > VerbosityGuidanceStrings
G4Scene * GetCurrentScene() const
G4VisFilterManager< G4VDigi > * fpDigiFilterMgr
G4GraphicsSystemList fAvailableGraphicsSystems
void SetVerboseLevel(G4int)
void PrintAvailableModels(Verbosity) const
static Verbosity fVerbosity
std::vector< UserVisAction > fEndOfRunUserVisActions
void DispatchToModel(const G4VTrajectory &)
void PrintAvailableGraphicsSystems(Verbosity) const
G4bool FilterHit(const G4VHit &)
G4ViewParameters fDefaultViewParameters
G4bool fIgnoreStateChanges
G4VisFilterManager< G4VHit > * fpHitFilterMgr
virtual void RegisterGraphicsSystems()=0
friend std::ostream & operator<<(std::ostream &, const G4VGraphicsSystem &)
G4VGraphicsSystem * fpGraphicsSystem
G4bool RegisterGraphicsSystem(G4VGraphicsSystem *)
G4VModelFactory< G4VFilter< G4VDigi > > G4DigiFilterFactory
void SetCurrentViewer(G4VViewer *)
void InitialiseG4ColourMap() const
G4VisManager(const G4String &verbosityString="warnings")
G4VViewer * GetCurrentViewer() const
void RegisterModel(G4VTrajectoryModel *model)
void SetAbortReviewKeptEvents(G4bool)
G4VUserVisAction * fpUserVisAction
G4VisFilterManager< G4VTrajectory > * fpTrajFilterMgr
void SetRequestedEvent(const G4Event *)
void SetUserActionExtent(const G4VisExtent &)
void Draw(const G4Circle &, const G4Transform3D &objectTransformation=G4Transform3D())
G4int fNoOfEventsDrawnThisRun
static Verbosity GetVerbosity()
G4bool GetDrawEventOnlyIfToBeKept() const
static G4VisManager * fpInstance
void RegisterMessenger(G4UImessenger *messenger)
void RegisterMessengers()
void SetDefaultViewParameters(const G4ViewParameters &)
void SetCurrentGraphicsSystem(G4VGraphicsSystem *)
void ClearTransientStoreIfMarked()
void SetCurrentSceneHandler(G4VSceneHandler *)
const std::vector< UserVisAction > & GetEndOfEventUserVisActions() const
void * G4ThreadFunReturnType
std::vector< G4UIcommand * > fDirectoryList
void PrintInvalidPointers() const
std::vector< UserVisAction > fEndOfEventUserVisActions
void BeginDraw(const G4Transform3D &objectTransformation=G4Transform3D())
void SetEventRefreshing(G4bool)
G4bool GetTransientsDrawnThisEvent() const
G4bool fDrawEventOnlyIfToBeKept
void SetCurrentScene(G4Scene *)
std::map< G4VUserVisAction *, G4VisExtent > fUserVisActionExtents
void SelectTrajectoryModel(const G4String &model)
const G4GraphicsSystemList & GetAvailableGraphicsSystems()
void * G4ThreadFunArgType
const std::vector< UserVisAction > & GetRunDurationUserVisActions() const
G4bool FilterDigi(const G4VDigi &)
const G4Event * fpRequestedEvent
void SetUserAction(G4VUserVisAction *pVisAction, const G4VisExtent &=G4VisExtent())
void GeometryHasChanged()
G4bool FilterTrajectory(const G4VTrajectory &)
void RegisterRunDurationUserVisAction(const G4String &name, G4VUserVisAction *, const G4VisExtent &=G4VisExtent())
void DrawT2D(const T &graphics_primitive, const G4Transform3D &objectTransform)
G4VisStateDependent * fpStateDependent
const G4SceneHandlerList & GetAvailableSceneHandlers() const
G4SceneList & SetSceneList()
void BeginDraw2D(const G4Transform3D &objectTransformation=G4Transform3D())
G4VModelFactory< G4VFilter< G4VTrajectory > > G4TrajFilterFactory
G4VSceneHandler * GetCurrentSceneHandler() const
std::vector< UserVisAction > fRunDurationUserVisActions
G4VViewer * GetViewer(const G4String &viewerName) const
const XML_Char XML_Content * model
static G4String VerbosityString(Verbosity)
virtual void RegisterModelFactories()
G4String ViewerShortName(const G4String &viewerName) const
G4VisManager & operator=(const G4VisManager &)
G4SceneHandlerList fAvailableSceneHandlers
void CreateSceneHandler(const G4String &name="")
void RegisterEndOfEventUserVisAction(const G4String &name, G4VUserVisAction *, const G4VisExtent &=G4VisExtent())
G4VModelFactory< G4VFilter< G4VHit > > G4HitFilterFactory
G4SceneHandlerList & SetAvailableSceneHandlers()
const std::map< G4VUserVisAction *, G4VisExtent > & GetUserVisActionExtents() const
G4VGraphicsSystem * GetCurrentGraphicsSystem() const
void IgnoreStateChanges(G4bool)
void DrawT(const T &graphics_primitive, const G4Transform3D &objectTransform)