80 #ifndef G4VISMANAGER_HH
81 #define G4VISMANAGER_HH
85 #define G4VIS_USE_STD11
336 #ifdef G4MULTITHREADED
338 virtual void SetUpForAThread();
405 #ifdef G4MULTITHREADED
406 G4int GetMaxEventQueueSize ()
const;
407 G4bool GetWaitOnEventQueueFull ()
const;
431 #ifdef G4MULTITHREADED
432 void SetMaxEventQueueSize (
G4int);
433 void SetWaitOnEventQueueFull (
G4bool);
483 template <
class T>
void DrawT
484 (
const T& graphics_primitive,
const G4Transform3D& objectTransform);
485 template <
class T>
void DrawT2D
486 (
const T& graphics_primitive,
const G4Transform3D& objectTransform);
528 #ifdef G4MULTITHREADED
529 G4int fMaxEventQueueSize;
530 G4bool fWaitOnEventQueueFull;
G4bool GetTransientsDrawnThisRun() const
G4bool FilterDigi(const G4VDigi &)
void RegisterEndOfEventUserVisAction(const G4String &name, G4VUserVisAction *, const G4VisExtent &=G4VisExtent::NullExtent)
void RegisterModelFactory(G4TrajDrawModelFactory *factory)
G4VisFilterManager< G4VTrajectory > * fpTrajFilterMgr
void SetTransientsDrawnThisRun(G4bool)
static const G4VisExtent NullExtent
static Verbosity fVerbosity
friend std::ostream & operator<<(std::ostream &, const G4VGraphicsSystem &)
void PrintAvailableColours(Verbosity) const
G4VisFilterManager< G4VHit > * fpHitFilterMgr
void PrintAvailableUserVisActions(Verbosity) const
virtual void RegisterModelFactories()
void PrintAvailableModels(Verbosity) const
void SetCurrentSceneHandler(G4VSceneHandler *)
void PrintAvailableGraphicsSystems(Verbosity) const
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 *)
const char * name(G4int ptype)
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
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()
G4int fNoOfEventsDrawnThisRun
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 &)
void SetTransientsDrawnThisEvent(G4bool)
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()
void * G4ThreadFunArgType
G4Scene * GetCurrentScene() const
void * G4ThreadFunReturnType
void SetAbortReviewKeptEvents(G4bool)
G4bool fTransientsDrawnThisRun