|
Geant4 11.4.0
Toolkit for the simulation of the passage of particles through matter
|
#include <G4VisManager.hh>
Classes | |
| struct | UserVisAction |
Public Types | |
| enum | Verbosity { quiet , startup , errors , warnings , confirmations , parameters , all } |
Static Public Member Functions | |
| static G4VisManager * | GetInstance () |
| static G4ThreadFunReturnType | G4VisSubThread (G4ThreadFunArgType) |
| static Verbosity | GetVerbosity () |
| static Verbosity | GetVerbosityValue (const G4String &) |
| static Verbosity | GetVerbosityValue (G4int) |
| static G4String | VerbosityString (Verbosity) |
| static void | PrintAvailableVerbosity (std::ostream &os) |
| Static Public Member Functions inherited from G4VVisManager | |
| static G4VVisManager * | GetConcreteInstance () |
Static Public Attributes | |
| static std::vector< G4String > | VerbosityGuidanceStrings |
Protected Member Functions | |
| G4VisManager (const G4String &verbosityString="warnings") | |
| virtual void | RegisterGraphicsSystems ()=0 |
| virtual void | RegisterModelFactories () |
| void | RegisterMessengers () |
Protected Attributes | |
| const G4int | fVerbose |
| G4String | fDefaultGraphicsSystemName |
| G4String | fDefaultXGeometryString |
| G4String | fDefaultGraphicsSystemBasis |
| G4String | fDefaultXGeometryStringBasis |
Static Protected Attributes | |
| static Verbosity | fVerbosity = G4VisManager::warnings |
| Static Protected Attributes inherited from G4VVisManager | |
| static G4VVisManager * | fpConcreteInstance = nullptr |
Friends | |
| class | G4VSceneHandler |
| class | G4VViewer |
| class | G4VisStateDependent |
| class | G4VisCommandList |
| std::ostream & | operator<< (std::ostream &os, const G4VGraphicsSystem &gs) |
| std::ostream & | operator<< (std::ostream &os, const G4VSceneHandler &sh) |
Additional Inherited Members | |
| Static Protected Member Functions inherited from G4VVisManager | |
| static void | SetConcreteInstance (G4VVisManager *) |
Definition at line 123 of file G4VisManager.hh.
| Enumerator | |
|---|---|
| quiet | |
| startup | |
| errors | |
| warnings | |
| confirmations | |
| parameters | |
| all | |
Definition at line 137 of file G4VisManager.hh.
|
protected |
Definition at line 115 of file G4VisManager.cc.
Referenced by G4VisSubThread(), GetInstance(), and operator<<.
|
virtual |
Definition at line 231 of file G4VisManager.cc.
|
virtual |
Implements G4VVisManager.
Definition at line 926 of file G4VisManager.cc.
|
virtual |
Implements G4VVisManager.
Definition at line 961 of file G4VisManager.cc.
| void G4VisManager::CreateSceneHandler | ( | const G4String & | name = "" | ) |
Definition at line 1231 of file G4VisManager.cc.
Referenced by CreateSceneHandler().
Definition at line 1252 of file G4VisManager.cc.
Referenced by CreateViewer().
| const G4VTrajectoryModel * G4VisManager::CurrentTrajDrawModel | ( | ) | const |
Definition at line 855 of file G4VisManager.cc.
Referenced by DispatchToModel().
| void G4VisManager::Disable | ( | ) |
Definition at line 786 of file G4VisManager.cc.
|
virtual |
Implements G4VVisManager.
Definition at line 1497 of file G4VisManager.cc.
|
virtual |
Implements G4VVisManager.
Definition at line 1040 of file G4VisManager.cc.
|
virtual |
Implements G4VVisManager.
Definition at line 1168 of file G4VisManager.cc.
|
virtual |
Implements G4VVisManager.
Definition at line 1046 of file G4VisManager.cc.
|
virtual |
Implements G4VVisManager.
Definition at line 1052 of file G4VisManager.cc.
|
virtual |
Implements G4VVisManager.
Definition at line 1058 of file G4VisManager.cc.
|
virtual |
Implements G4VVisManager.
Definition at line 1064 of file G4VisManager.cc.
|
virtual |
Implements G4VVisManager.
Definition at line 1070 of file G4VisManager.cc.
|
virtual |
Implements G4VVisManager.
Definition at line 1125 of file G4VisManager.cc.
|
virtual |
Implements G4VVisManager.
Definition at line 1112 of file G4VisManager.cc.
|
virtual |
Implements G4VVisManager.
Definition at line 1197 of file G4VisManager.cc.
|
virtual |
Implements G4VVisManager.
Definition at line 1178 of file G4VisManager.cc.
|
virtual |
Implements G4VVisManager.
Definition at line 1138 of file G4VisManager.cc.
|
virtual |
Implements G4VVisManager.
Definition at line 1076 of file G4VisManager.cc.
|
virtual |
Implements G4VVisManager.
Definition at line 1082 of file G4VisManager.cc.
|
virtual |
Implements G4VVisManager.
Definition at line 1088 of file G4VisManager.cc.
|
virtual |
Implements G4VVisManager.
Definition at line 1094 of file G4VisManager.cc.
|
virtual |
Implements G4VVisManager.
Definition at line 1100 of file G4VisManager.cc.
|
virtual |
Implements G4VVisManager.
Definition at line 1106 of file G4VisManager.cc.
|
virtual |
Reimplemented from G4VVisManager.
Definition at line 1219 of file G4VisManager.cc.
| void G4VisManager::Enable | ( | ) |
Definition at line 751 of file G4VisManager.cc.
|
virtual |
Implements G4VVisManager.
Definition at line 946 of file G4VisManager.cc.
|
virtual |
Implements G4VVisManager.
Definition at line 981 of file G4VisManager.cc.
|
virtual |
Reimplemented from G4VVisManager.
Definition at line 2121 of file G4VisManager.cc.
Implements G4VVisManager.
Definition at line 1492 of file G4VisManager.cc.
Implements G4VVisManager.
Definition at line 1487 of file G4VisManager.cc.
|
virtual |
Implements G4VVisManager.
Definition at line 1482 of file G4VisManager.cc.
Referenced by DispatchToModel().
|
static |
Definition at line 1909 of file G4VisManager.cc.
|
virtual |
Implements G4VVisManager.
Definition at line 1344 of file G4VisManager.cc.
| G4bool G4VisManager::GetAbortReviewKeptEvents | ( | ) | const |
| G4bool G4VisManager::GetAbortReviewPlots | ( | ) | const |
| const G4GraphicsSystemList & G4VisManager::GetAvailableGraphicsSystems | ( | ) |
Definition at line 811 of file G4VisManager.cc.
| const G4SceneHandlerList & G4VisManager::GetAvailableSceneHandlers | ( | ) | const |
Referenced by operator<<.
| G4VGraphicsSystem * G4VisManager::GetCurrentGraphicsSystem | ( | ) | const |
| G4Scene * G4VisManager::GetCurrentScene | ( | ) | const |
Referenced by G4RayTracerSceneHandler::G4RayTracerSceneHandler().
| G4VSceneHandler * G4VisManager::GetCurrentSceneHandler | ( | ) | const |
| G4VViewer * G4VisManager::GetCurrentViewer | ( | ) | const |
Referenced by G4VisSubThread(), G4OpenGLViewerMessenger::SetNewValue(), G4OpenGLXmViewerMessenger::SetNewValue(), G4OpenInventorXtExaminerViewerMessenger::SetNewValue(), G4RTMessenger::SetNewValue(), G4ToolsSGOffscreenViewer::Messenger::SetNewValue(), G4ToolsSGViewer< SG_SESSION, SG_VIEWER >::Messenger::SetNewValue(), and G4VtkMessenger::SetNewValue().
| const G4String & G4VisManager::GetDefaultGraphicsSystemBasis | ( | ) | const |
|
virtual |
| const G4ViewParameters & G4VisManager::GetDefaultViewParameters | ( | ) | const |
| const G4String & G4VisManager::GetDefaultXGeometryString | ( | ) | const |
| const G4String & G4VisManager::GetDefaultXGeometryStringBasis | ( | ) | const |
| G4bool G4VisManager::GetDrawEventOnlyIfToBeKept | ( | ) | const |
| const std::vector< UserVisAction > & G4VisManager::GetEndOfEventUserVisActions | ( | ) | const |
| const std::vector< UserVisAction > & G4VisManager::GetEndOfRunUserVisActions | ( | ) | const |
|
static |
Definition at line 267 of file G4VisManager.cc.
Referenced by G4DAWNFILESceneHandler::AddSolid(), G4RayTrajectory::AppendStep(), G4RayTracerSceneHandler::BuildVisAttsMap(), G4RayTracerSceneHandler::G4RayTracerSceneHandler(), G4VViewer::G4VViewer(), G4VViewer::InsertModelInSceneTree(), operator<<, G4VSceneHandler::ProcessScene(), G4VSceneHandler::ProcessTransients(), G4VSceneHandler::RemoveViewerFromList(), G4OpenGLViewerMessenger::SetNewValue(), G4OpenGLXmViewerMessenger::SetNewValue(), G4OpenInventorXtExaminerViewerMessenger::SetNewValue(), G4RTMessenger::SetNewValue(), G4VtkMessenger::SetNewValue(), and G4RTSteppingAction::UserSteppingAction().
| G4int G4VisManager::GetMaxEventQueueSize | ( | ) | const |
| G4int G4VisManager::GetNKeepForPostProcessingRequests | ( | ) | const |
| G4int G4VisManager::GetNKeepRequests | ( | ) | const |
| G4int G4VisManager::GetNKeepTheEventRequests | ( | ) | const |
| const G4Event * G4VisManager::GetRequestedEvent | ( | ) | const |
Referenced by G4VSceneHandler::ProcessTransients().
| G4bool G4VisManager::GetReviewingKeptEvents | ( | ) | const |
| G4bool G4VisManager::GetReviewingPlots | ( | ) | const |
| const std::vector< UserVisAction > & G4VisManager::GetRunDurationUserVisActions | ( | ) | const |
| const G4SceneList & G4VisManager::GetSceneList | ( | ) | const |
| G4bool G4VisManager::GetTransientsDrawnThisEvent | ( | ) | const |
| G4bool G4VisManager::GetTransientsDrawnThisRun | ( | ) | const |
| const std::map< G4VUserVisAction *, G4VisExtent > & G4VisManager::GetUserVisActionExtents | ( | ) | const |
|
static |
Definition at line 2561 of file G4VisManager.cc.
Referenced by G4GMocrenFileSceneHandler::AddPrimitive(), G4GMocrenFileSceneHandler::AddPrimitive(), G4GMocrenFileSceneHandler::AddPrimitive(), G4GMocrenFileSceneHandler::AddPrimitive(), G4GMocrenFileSceneHandler::AddPrimitive(), G4GMocrenFileSceneHandler::AddSolid(), G4GMocrenFileSceneHandler::AddSolid(), G4GMocrenFileSceneHandler::AddSolid(), G4GMocrenFileSceneHandler::AddSolid(), G4GMocrenFileSceneHandler::AddSolid(), G4GMocrenFileSceneHandler::AddSolid(), G4GMocrenFileSceneHandler::AddSolid(), G4GMocrenFileSceneHandler::AddSolid(), G4GMocrenFileSceneHandler::BeginPrimitives(), G4DAWNFILESceneHandler::BeginSavingG4Prim(), G4GMocrenFileSceneHandler::BeginSavingGdd(), G4DAWNFILEViewer::ClearView(), G4GMocrenFileViewer::ClearView(), G4VRML2FileViewer::ClearView(), G4VRML2FileSceneHandler::closePort(), G4VRML2FileSceneHandler::connectPort(), G4OpenGLXViewer::CreateGLXContext(), G4OpenGLXViewer::CreateMainWindow(), G4VSceneHandler::CreateModelingParameters(), G4VSceneHandler::Draw3DRectMeshAsDots(), G4VSceneHandler::Draw3DRectMeshAsSurfaces(), G4VSceneHandler::DrawTetMeshAsDots(), G4VSceneHandler::DrawTetMeshAsSurfaces(), G4DAWNFILEViewer::DrawView(), G4GMocrenFileViewer::DrawView(), G4ToolsSGOffscreenViewer::DrawView(), G4VRML2FileViewer::DrawView(), G4GMocrenFileSceneHandler::EndPrimitives(), G4DAWNFILESceneHandler::EndSavingG4Prim(), G4GMocrenFileSceneHandler::EndSavingGdd(), G4VRML2FileViewer::FinishView(), G4DAWNFILESceneHandler::FRBeginModeling(), G4OpenInventorQtViewer::G4OpenInventorQtViewer(), G4OpenInventorWinViewer::G4OpenInventorWinViewer(), G4OpenInventorXtExtendedViewer::G4OpenInventorXtExtendedViewer(), G4OpenInventorXtViewer::G4OpenInventorXtViewer(), G4GMocrenIO::getDetector(), GMocrenDetector::getEdge(), G4GMocrenIO::getShortDoseDist(), GMocrenTrack::getStep(), G4GMocrenIO::getTrack(), G4GMocrenFileSceneHandler::GFBeginModeling(), G4GMocrenFileSceneHandler::GFEndModeling(), G4GMocrenIO::mergeDoseDist(), GMocrenDataPrimitive< T >::operator+(), GMocrenDataPrimitive< T >::operator+=(), operator<<, G4VSceneHandler::ProcessScene(), G4VSceneHandler::ProcessTransients(), G4VSceneHandler::RequestPrimitives(), G4GMocrenIO::retrieveData(), G4GMocrenIO::retrieveData2(), G4GMocrenIO::retrieveData3(), G4GMocrenIO::retrieveData4(), G4DAWNFILEViewer::SendViewParameters(), G4DAWNFILESceneHandler::SetG4PrimFileName(), G4GMocrenFileSceneHandler::SetGddFileName(), G4ToolsSGOffscreenViewer::Messenger::SetNewValue(), G4ToolsSGViewer< SG_SESSION, SG_VIEWER >::Messenger::SetNewValue(), G4DAWNFILEViewer::SetView(), G4GMocrenFileViewer::SetView(), G4DAWNFILEViewer::ShowView(), G4GMocrenFileViewer::ShowView(), G4VRML2FileViewer::ShowView(), G4GMocrenIO::storeData3(), G4DAWNFILESceneHandler::~G4DAWNFILESceneHandler(), G4GMocrenFileSceneHandler::~G4GMocrenFileSceneHandler(), and G4VRML2FileSceneHandler::~G4VRML2FileSceneHandler().
|
static |
Definition at line 2524 of file G4VisManager.cc.
Referenced by G4VisManager(), GetVerbosityValue(), SetVerboseLevel(), and SetVerboseLevel().
|
static |
Definition at line 2475 of file G4VisManager.cc.
| G4bool G4VisManager::GetWaitOnEventQueueFull | ( | ) | const |
|
virtual |
Reimplemented from G4VVisManager.
Definition at line 2700 of file G4VisManager.cc.
| void G4VisManager::Initialise | ( | ) |
Definition at line 276 of file G4VisManager.cc.
Referenced by CreateSceneHandler(), and CreateViewer().
| void G4VisManager::Initialize | ( | ) |
| G4bool G4VisManager::IsEnabled | ( | ) | const |
|
virtual |
Reimplemented from G4VVisManager.
Definition at line 1441 of file G4VisManager.cc.
| void G4VisManager::PrintAvailableGraphicsSystems | ( | Verbosity | verbosity, |
| std::ostream & | out = G4cout ) const |
Definition at line 1731 of file G4VisManager.cc.
Referenced by Initialise().
|
static |
Definition at line 2513 of file G4VisManager.cc.
Referenced by GetVerbosityValue(), and G4VisCommandList::SetNewValue().
| void G4VisManager::RegisterEndOfEventUserVisAction | ( | const G4String & | name, |
| G4VUserVisAction * | pVisAction, | ||
| const G4VisExtent & | extent = G4VisExtent() ) |
Definition at line 1544 of file G4VisManager.cc.
| void G4VisManager::RegisterEndOfRunUserVisAction | ( | const G4String & | name, |
| G4VUserVisAction * | pVisAction, | ||
| const G4VisExtent & | extent = G4VisExtent() ) |
Definition at line 1565 of file G4VisManager.cc.
| G4bool G4VisManager::RegisterGraphicsSystem | ( | G4VGraphicsSystem * | pSystem | ) |
Definition at line 831 of file G4VisManager.cc.
|
protectedpure virtual |
Referenced by Initialise().
| void G4VisManager::RegisterMessenger | ( | G4UImessenger * | messenger | ) |
Referenced by G4VisManager(), and RegisterMessengers().
|
protected |
Definition at line 483 of file G4VisManager.cc.
Referenced by Initialise().
Definition at line 910 of file G4VisManager.cc.
Definition at line 899 of file G4VisManager.cc.
| void G4VisManager::RegisterModel | ( | G4VFilter< G4VTrajectory > * | filter | ) |
Definition at line 888 of file G4VisManager.cc.
| void G4VisManager::RegisterModel | ( | G4VTrajectoryModel * | model | ) |
Definition at line 877 of file G4VisManager.cc.
|
protectedvirtual |
| void G4VisManager::RegisterModelFactory | ( | G4DigiFilterFactory * | factory | ) |
Definition at line 916 of file G4VisManager.cc.
| void G4VisManager::RegisterModelFactory | ( | G4HitFilterFactory * | factory | ) |
Definition at line 905 of file G4VisManager.cc.
| void G4VisManager::RegisterModelFactory | ( | G4TrajDrawModelFactory * | factory | ) |
Definition at line 883 of file G4VisManager.cc.
| void G4VisManager::RegisterModelFactory | ( | G4TrajFilterFactory * | factory | ) |
Definition at line 894 of file G4VisManager.cc.
| void G4VisManager::RegisterRunDurationUserVisAction | ( | const G4String & | name, |
| G4VUserVisAction * | pVisAction, | ||
| const G4VisExtent & | extent = G4VisExtent() ) |
Definition at line 1523 of file G4VisManager.cc.
| void G4VisManager::ResetTransientsDrawnFlags | ( | ) |
Definition at line 2458 of file G4VisManager.cc.
Referenced by SetCurrentScene().
| void G4VisManager::SelectTrajectoryModel | ( | const G4String & | model | ) |
Definition at line 921 of file G4VisManager.cc.
| void G4VisManager::SetAbortReviewKeptEvents | ( | G4bool | ) |
| void G4VisManager::SetAbortReviewPlots | ( | G4bool | ) |
| G4SceneHandlerList & G4VisManager::SetAvailableSceneHandlers | ( | ) |
| void G4VisManager::SetCurrentGraphicsSystem | ( | G4VGraphicsSystem * | pSystem | ) |
Definition at line 1595 of file G4VisManager.cc.
| void G4VisManager::SetCurrentScene | ( | G4Scene * | pScene | ) |
Definition at line 1586 of file G4VisManager.cc.
Referenced by G4RayTracerSceneHandler::G4RayTracerSceneHandler().
| void G4VisManager::SetCurrentSceneHandler | ( | G4VSceneHandler * | pSceneHandler | ) |
Definition at line 1642 of file G4VisManager.cc.
| void G4VisManager::SetCurrentViewer | ( | G4VViewer * | pViewer | ) |
Definition at line 1694 of file G4VisManager.cc.
Referenced by CreateViewer(), and SetCurrentViewer().
| void G4VisManager::SetDefaultGraphicsSystemBasis | ( | const G4String & | ) |
| void G4VisManager::SetDefaultGraphicsSystemName | ( | const G4String & | ) |
| void G4VisManager::SetDefaultViewParameters | ( | const G4ViewParameters & | ) |
| void G4VisManager::SetDefaultXGeometryString | ( | const G4String & | ) |
| void G4VisManager::SetDefaultXGeometryStringBasis | ( | const G4String & | ) |
| void G4VisManager::SetDrawEventOnlyIfToBeKept | ( | G4bool | ) |
| void G4VisManager::SetEventRefreshing | ( | G4bool | ) |
Referenced by G4VSceneHandler::ProcessTransients().
| void G4VisManager::SetMaxEventQueueSize | ( | G4int | ) |
| void G4VisManager::SetRequestedEvent | ( | const G4Event * | ) |
| void G4VisManager::SetReviewingKeptEvents | ( | G4bool | ) |
| void G4VisManager::SetReviewingPlots | ( | G4bool | ) |
| G4SceneList & G4VisManager::SetSceneList | ( | ) |
Referenced by G4RayTracerSceneHandler::G4RayTracerSceneHandler().
| void G4VisManager::SetTransientsDrawnThisEvent | ( | G4bool | ) |
Referenced by G4VisSubThread().
| void G4VisManager::SetTransientsDrawnThisRun | ( | G4bool | ) |
|
virtual |
Reimplemented from G4VVisManager.
Definition at line 2692 of file G4VisManager.cc.
| void G4VisManager::SetVerboseLevel | ( | const G4String & | verbosityString | ) |
Definition at line 2569 of file G4VisManager.cc.
| void G4VisManager::SetVerboseLevel | ( | G4int | intVerbosity | ) |
Definition at line 2565 of file G4VisManager.cc.
| void G4VisManager::SetVerboseLevel | ( | Verbosity | ) |
| void G4VisManager::SetWaitOnEventQueueFull | ( | G4bool | ) |
Definition at line 2499 of file G4VisManager.cc.
Referenced by G4VisManager(), PrintAvailableVerbosity(), and G4VisCommandVerbose::SetNewValue().
Definition at line 2470 of file G4VisManager.cc.
Referenced by GetViewer().
|
friend |
Definition at line 129 of file G4VisManager.hh.
Referenced by G4VisCommandList, and RegisterMessengers().
|
friend |
Definition at line 128 of file G4VisManager.hh.
Referenced by G4VisManager(), G4VisStateDependent, and SetUpForAThread().
|
friend |
Definition at line 126 of file G4VisManager.hh.
Referenced by CreateSceneHandler(), G4VisCommandList, G4VisSubThread(), G4VSceneHandler, GetCurrentSceneHandler(), GetDefaultXGeometryStringBasis(), GetViewer(), operator<<, and SetCurrentSceneHandler().
|
friend |
Definition at line 127 of file G4VisManager.hh.
Referenced by CreateViewer(), G4VisSubThread(), G4VViewer, GetCurrentViewer(), GetDefaultXGeometryStringBasis(), GetViewer(), SetCurrentViewer(), and SetDefaultXGeometryStringBasis().
|
friend |
Definition at line 73 of file G4VGraphicsSystem.cc.
|
friend |
Definition at line 1342 of file G4VSceneHandler.cc.
|
protected |
Definition at line 502 of file G4VisManager.hh.
Referenced by G4VisManager().
|
protected |
Definition at line 500 of file G4VisManager.hh.
Referenced by G4VisManager().
|
protected |
Definition at line 501 of file G4VisManager.hh.
Referenced by G4VisManager().
|
protected |
Definition at line 503 of file G4VisManager.hh.
Referenced by G4VisManager().
|
protected |
Definition at line 492 of file G4VisManager.hh.
Referenced by G4VisManager().
|
staticprotected |
Definition at line 498 of file G4VisManager.hh.
Referenced by CreateSceneHandler(), CreateViewer(), CurrentTrajDrawModel(), Disable(), Enable(), G4VisManager(), GeometryHasChanged(), GetAvailableGraphicsSystems(), GetVerbosity(), GetVerbosityValue(), Initialise(), NotifyHandlers(), PrintAvailableVerbosity(), RegisterEndOfEventUserVisAction(), RegisterEndOfRunUserVisAction(), RegisterGraphicsSystem(), RegisterModelFactories(), RegisterRunDurationUserVisAction(), SetCurrentGraphicsSystem(), SetCurrentSceneHandler(), SetCurrentViewer(), SetVerboseLevel(), SetVerboseLevel(), and ~G4VisManager().
|
static |
Definition at line 474 of file G4VisManager.hh.
Referenced by G4VisCommandVerbose::G4VisCommandVerbose(), G4VisManager(), and PrintAvailableVerbosity().