79#ifndef G4VISMANAGER_HH
80#define G4VISMANAGER_HH
84#define G4VIS_USE_STD11
332#ifdef G4MULTITHREADED
334 virtual void SetUpForAThread();
404#ifdef G4MULTITHREADED
405 G4int GetMaxEventQueueSize ()
const;
406 G4bool GetWaitOnEventQueueFull ()
const;
428#ifdef G4MULTITHREADED
429 void SetMaxEventQueueSize (
G4int);
430 void SetWaitOnEventQueueFull (
G4bool);
480 template <
class T>
void DrawT
481 (
const T& graphics_primitive,
const G4Transform3D& objectTransform);
482 template <
class T>
void DrawT2D
483 (
const T& graphics_primitive,
const G4Transform3D& objectTransform);
527#ifdef G4MULTITHREADED
528 G4int fMaxEventQueueSize;
529 G4bool fWaitOnEventQueueFull;
void * G4ThreadFunReturnType
void * G4ThreadFunArgType
G4VModelFactory< G4VFilter< G4VHit > > G4HitFilterFactory
G4VModelFactory< G4VTrajectoryModel > G4TrajDrawModelFactory
G4VModelFactory< G4VFilter< G4VTrajectory > > G4TrajFilterFactory
G4VModelFactory< G4VFilter< G4VDigi > > G4DigiFilterFactory
std::vector< G4UImessenger * > fMessengerList
void SelectTrajectoryModel(const G4String &model)
void RegisterRunDurationUserVisAction(const G4String &name, G4VUserVisAction *, const G4VisExtent &=G4VisExtent())
void Draw(const G4Circle &, const G4Transform3D &objectTransformation=G4Transform3D())
void SetCurrentGraphicsSystem(G4VGraphicsSystem *)
G4Scene * GetCurrentScene() const
void Draw2D(const G4Circle &, const G4Transform3D &objectTransformation=G4Transform3D())
static G4VisManager * fpInstance
G4bool fEventKeepingSuspended
std::vector< G4UIcommand * > fDirectoryList
virtual void RegisterGraphicsSystems()=0
G4GraphicsSystemList fAvailableGraphicsSystems
void SetDrawEventOnlyIfToBeKept(G4bool)
void InitialiseG4ColourMap() const
void BeginDraw2D(const G4Transform3D &objectTransformation=G4Transform3D())
void CreateSceneHandler(const G4String &name="")
G4int GetNKeepRequests() const
void DrawT2D(const T &graphics_primitive, const G4Transform3D &objectTransform)
G4VSceneHandler * fpSceneHandler
void SetCurrentSceneHandler(G4VSceneHandler *)
const std::vector< UserVisAction > & GetRunDurationUserVisActions() const
void ClearTransientStoreIfMarked()
void PrintAvailableModels(Verbosity) const
const G4VTrajectoryModel * CurrentTrajDrawModel() const
G4int fNoOfEventsDrawnThisRun
static Verbosity fVerbosity
G4bool FilterDigi(const G4VDigi &)
void SetTransientsDrawnThisEvent(G4bool)
void SetEventRefreshing(G4bool)
void SetCurrentScene(G4Scene *)
static std::vector< G4String > VerbosityGuidanceStrings
static G4String VerbosityString(Verbosity)
void RegisterEndOfEventUserVisAction(const G4String &name, G4VUserVisAction *, const G4VisExtent &=G4VisExtent())
G4VisFilterManager< G4VHit > * fpHitFilterMgr
G4bool GetTransientsDrawnThisEvent() const
G4String ViewerShortName(const G4String &viewerName) const
G4VisModelManager< G4VTrajectoryModel > * fpTrajDrawModelMgr
const std::map< G4VUserVisAction *, G4VisExtent > & GetUserVisActionExtents() const
void RegisterModel(G4VTrajectoryModel *model)
void RegisterMessenger(G4UImessenger *messenger)
G4bool GetAbortReviewKeptEvents() const
void SetCurrentViewer(G4VViewer *)
friend std::ostream & operator<<(std::ostream &, const G4VGraphicsSystem &)
void DrawT(const T &graphics_primitive, const G4Transform3D &objectTransform)
const G4ViewParameters & GetDefaultViewParameters() const
const G4Event * fpRequestedEvent
std::vector< UserVisAction > fRunDurationUserVisActions
const std::vector< UserVisAction > & GetEndOfRunUserVisActions() const
G4VisFilterManager< G4VTrajectory > * fpTrajFilterMgr
void RegisterModelFactory(G4TrajDrawModelFactory *factory)
G4bool GetTransientsDrawnThisRun() const
G4SceneList & SetSceneList()
G4VGraphicsSystem * GetCurrentGraphicsSystem() const
G4bool FilterHit(const G4VHit &)
void SetAbortReviewKeptEvents(G4bool)
std::map< G4VUserVisAction *, G4VisExtent > fUserVisActionExtents
std::vector< UserVisAction > fEndOfRunUserVisActions
G4SceneHandlerList & SetAvailableSceneHandlers()
G4bool fAbortReviewKeptEvents
G4bool fIgnoreStateChanges
G4VViewer * GetCurrentViewer() const
void SetRequestedEvent(const G4Event *)
G4bool RegisterGraphicsSystem(G4VGraphicsSystem *)
G4bool GetDrawEventOnlyIfToBeKept() const
const std::vector< UserVisAction > & GetEndOfEventUserVisActions() const
void PrintAvailableGraphicsSystems(Verbosity) const
G4VisFilterManager< G4VDigi > * fpDigiFilterMgr
virtual void RegisterModelFactories()
G4int fDrawGroupNestingDepth
G4VSceneHandler * GetCurrentSceneHandler() const
void SetReviewingKeptEvents(G4bool)
const G4SceneList & GetSceneList() const
static Verbosity GetVerbosity()
void RegisterMessengers()
G4VisStateDependent * fpStateDependent
G4bool fReviewingKeptEvents
G4VisManager(const G4VisManager &)
void ResetTransientsDrawnFlags()
std::vector< UserVisAction > fEndOfEventUserVisActions
G4bool FilterTrajectory(const G4VTrajectory &)
void PrintAvailableColours(Verbosity) const
void SetVerboseLevel(G4int)
void PrintAvailableUserVisActions(Verbosity) const
G4VisManager & operator=(const G4VisManager &)
void IgnoreStateChanges(G4bool)
void SetTransientsDrawnThisRun(G4bool)
void SetDefaultViewParameters(const G4ViewParameters &)
G4ViewParameters fDefaultViewParameters
const G4SceneHandlerList & GetAvailableSceneHandlers() const
G4bool fDrawEventOnlyIfToBeKept
void SetVerboseLevel(Verbosity)
G4bool GetReviewingKeptEvents() const
const G4Event * GetRequestedEvent() const
void PrintInvalidPointers() const
G4VisManager(const G4String &verbosityString="warnings")
G4SceneHandlerList fAvailableSceneHandlers
static Verbosity GetVerbosityValue(const G4String &)
static G4VisManager * GetInstance()
void GeometryHasChanged()
const G4GraphicsSystemList & GetAvailableGraphicsSystems()
G4VGraphicsSystem * fpGraphicsSystem
G4bool fTransientsDrawnThisEvent
void RegisterEndOfRunUserVisAction(const G4String &name, G4VUserVisAction *, const G4VisExtent &=G4VisExtent())
void BeginDraw(const G4Transform3D &objectTransformation=G4Transform3D())
void CreateViewer(const G4String &name="", const G4String &XGeometry="")
void DispatchToModel(const G4VTrajectory &)
G4bool fTransientsDrawnThisRun
G4VViewer * GetViewer(const G4String &viewerName) const
const char * name(G4int ptype)
UserVisAction(const G4String &name, G4VUserVisAction *pUserVisAction)
G4VUserVisAction * fpUserVisAction