80#ifndef G4VISMANAGER_HH
81#define G4VISMANAGER_HH
359 void BeginOfEvent ();
473 template <
class T>
void DrawT
474 (
const T& graphics_primitive,
const G4Transform3D& objectTransform);
475 template <
class T>
void DrawT2D
476 (
const T& graphics_primitive,
const G4Transform3D& objectTransform);
478 void PrintAvailableModels (
Verbosity)
const;
479 void PrintAvailableColours (
Verbosity)
const;
480 void PrintAvailableUserVisActions (
Verbosity)
const;
481 void PrintInvalidPointers ()
const;
484 void ClearTransientStoreIfMarked();
490 std::vector<UserVisAction> fRunDurationUserVisActions;
491 std::vector<UserVisAction> fEndOfEventUserVisActions;
492 std::vector<UserVisAction> fEndOfRunUserVisActions;
493 std::map<G4VUserVisAction*,G4VisExtent> fUserVisActionExtents;
502 std::vector<G4UImessenger*> fMessengerList;
503 std::vector<G4UIcommand*> fDirectoryList;
507 G4bool fTransientsDrawnThisRun;
508 G4bool fTransientsDrawnThisEvent;
509 G4bool fEventKeepingSuspended;
511 const G4Event* fpRequestedEvent;
512 G4bool fAbortReviewKeptEvents;
515 G4int fDrawGroupNestingDepth;
531#include "G4VisManager.icc"
G4VModelFactory< G4VFilter< G4VHit > > G4HitFilterFactory
G4VModelFactory< G4VTrajectoryModel > G4TrajDrawModelFactory
G4VModelFactory< G4VFilter< G4VTrajectory > > G4TrajFilterFactory
G4VModelFactory< G4VFilter< G4VDigi > > G4DigiFilterFactory
static const G4VisExtent NullExtent
void SelectTrajectoryModel(const G4String &model)
void Draw(const G4Circle &, const G4Transform3D &objectTransformation=G4Transform3D())
void SetCurrentGraphicsSystem(G4VGraphicsSystem *)
G4Scene * GetCurrentScene() const
void Draw2D(const G4Circle &, const G4Transform3D &objectTransformation=G4Transform3D())
virtual void RegisterGraphicsSystems()=0
void BeginDraw2D(const G4Transform3D &objectTransformation=G4Transform3D())
friend class G4OpenGLXmViewerMessenger
void SetCurrentSceneHandler(G4VSceneHandler *)
const std::vector< UserVisAction > & GetRunDurationUserVisActions() const
const G4VTrajectoryModel * CurrentTrajDrawModel() const
G4bool FilterDigi(const G4VDigi &)
void SetEventRefreshing(G4bool)
void SetCurrentScene(G4Scene *)
static std::vector< G4String > VerbosityGuidanceStrings
static G4String VerbosityString(Verbosity)
void RegisterEndOfEventUserVisAction(const G4String &name, G4VUserVisAction *, const G4VisExtent &=G4VisExtent::NullExtent)
G4bool GetTransientsDrawnThisEvent() const
G4String ViewerShortName(const G4String &viewerName) const
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 CreateSceneHandler(G4String name="")
const G4ViewParameters & GetDefaultViewParameters() const
void SetUserActionExtent(const G4VisExtent &)
const std::vector< UserVisAction > & GetEndOfRunUserVisActions() const
void RegisterModelFactory(G4TrajDrawModelFactory *factory)
G4bool GetTransientsDrawnThisRun() const
G4SceneList & SetSceneList()
G4VGraphicsSystem * GetCurrentGraphicsSystem() const
G4bool FilterHit(const G4VHit &)
void SetUserAction(G4VUserVisAction *pVisAction, const G4VisExtent &=G4VisExtent::NullExtent)
void SetAbortReviewKeptEvents(G4bool)
G4SceneHandlerList & SetAvailableSceneHandlers()
G4VViewer * GetCurrentViewer() const
void SetRequestedEvent(const G4Event *)
G4bool RegisterGraphicsSystem(G4VGraphicsSystem *)
const std::vector< UserVisAction > & GetEndOfEventUserVisActions() const
virtual void RegisterModelFactories()
G4VSceneHandler * GetCurrentSceneHandler() const
void RegisterEndOfRunUserVisAction(const G4String &name, G4VUserVisAction *, const G4VisExtent &=G4VisExtent::NullExtent)
const G4SceneList & GetSceneList() const
static Verbosity GetVerbosity()
void RegisterMessengers()
void ResetTransientsDrawnFlags()
void CreateViewer(G4String name="", G4String XGeometry="")
G4bool FilterTrajectory(const G4VTrajectory &)
void SetVerboseLevel(G4int)
void SetDefaultViewParameters(const G4ViewParameters &)
void RegisterRunDurationUserVisAction(const G4String &name, G4VUserVisAction *, const G4VisExtent &=G4VisExtent::NullExtent)
const G4SceneHandlerList & GetAvailableSceneHandlers() const
void SetVerboseLevel(Verbosity)
const G4Event * GetRequestedEvent() const
static Verbosity GetVerbosityValue(const G4String &)
void GeometryHasChanged()
const G4GraphicsSystemList & GetAvailableGraphicsSystems()
void BeginDraw(const G4Transform3D &objectTransformation=G4Transform3D())
void DispatchToModel(const G4VTrajectory &)
void PrintAvailableGraphicsSystems() const
G4VViewer * GetViewer(const G4String &viewerName) const
UserVisAction(const G4String &name, G4VUserVisAction *pUserVisAction)
G4VUserVisAction * fpUserVisAction