Geant4
10.00.p02
|
#include <G4VisManager.hh>
Classes | |
struct | UserVisAction |
Public Types | |
enum | Verbosity { quiet, startup, errors, warnings, confirmations, parameters, all } |
Static Public Member Functions | |
static Verbosity | GetVerbosity () |
static Verbosity | GetVerbosityValue (const G4String &) |
static Verbosity | GetVerbosityValue (G4int) |
static G4String | VerbosityString (Verbosity) |
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 () |
void | PrintAvailableGraphicsSystems () const |
Protected Attributes | |
const G4int | fVerbose |
G4bool | fIgnoreStateChanges |
Private Member Functions | |
G4VisManager (const G4VisManager &) | |
G4VisManager & | operator= (const G4VisManager &) |
void | BeginOfRun () |
void | BeginOfEvent () |
void | EndOfEvent () |
void | EndOfRun () |
template<class T > | |
void | DrawT (const T &graphics_primitive, const G4Transform3D &objectTransform) |
template<class T > | |
void | DrawT2D (const T &graphics_primitive, const G4Transform3D &objectTransform) |
void | PrintAvailableModels (Verbosity) const |
void | PrintAvailableColours (Verbosity) const |
void | PrintAvailableUserVisActions (Verbosity) const |
void | PrintInvalidPointers () const |
G4bool | IsValidView () |
void | ClearTransientStoreIfMarked () |
virtual void | IgnoreStateChanges (G4bool) |
Static Private Member Functions | |
static G4VisManager * | GetInstance () |
Static Private Attributes | |
static G4VisManager * | fpInstance = 0 |
static Verbosity | fVerbosity = G4VisManager::warnings |
Friends | |
class | G4RTSteppingAction |
class | G4RayTrajectory |
class | G4RayTracerSceneHandler |
class | G4RTMessenger |
class | G4OpenGLViewerMessenger |
class | G4OpenGLXmViewerMessenger |
class | G4HepRepFileSceneHandler |
class | G4VSceneHandler |
class | G4VViewer |
class | G4VisStateDependent |
class | G4VisCommandList |
std::ostream & | operator<< (std::ostream &, const G4VGraphicsSystem &) |
std::ostream & | operator<< (std::ostream &, const G4VSceneHandler &) |
Additional Inherited Members | |
Static Protected Member Functions inherited from G4VVisManager | |
static void | SetConcreteInstance (G4VVisManager *) |
Static Protected Attributes inherited from G4VVisManager | |
static G4VVisManager * | fpConcreteInstance = 0 |
Definition at line 119 of file G4VisManager.hh.
Enumerator | |
---|---|
quiet | |
startup | |
errors | |
warnings | |
confirmations | |
parameters | |
all |
Definition at line 149 of file G4VisManager.hh.
|
protected |
Definition at line 88 of file G4VisManager.cc.
References FatalException, fDirectoryList, fpDigiFilterMgr, fpHitFilterMgr, fpInstance, fpStateDependent, fpTrajDrawModelMgr, fpTrajFilterMgr, fVerbosity, G4cout, G4endl, G4Exception(), G4VisStateDependent, GetVerbosityValue(), RegisterMessenger(), G4VVisManager::SetConcreteInstance(), G4VVisCommand::SetVisManager(), startup, VerbosityGuidanceStrings, and VerbosityString().
|
virtual |
Definition at line 192 of file G4VisManager.cc.
References fAvailableGraphicsSystems, fAvailableSceneHandlers, fDirectoryList, fMessengerList, fpDigiFilterMgr, fpHitFilterMgr, fpInstance, fpTrajDrawModelMgr, fpTrajFilterMgr, fSceneList, fVerbosity, G4cout, G4endl, and startup.
|
private |
|
virtual |
Implements G4VVisManager.
Definition at line 656 of file G4VisManager.cc.
References ClearTransientStoreIfMarked(), fDrawGroupNestingDepth, fIsDrawGroup, fpSceneHandler, G4Exception(), IsValidView(), G4Threading::IsWorkerThread(), and JustWarning.
|
virtual |
Implements G4VVisManager.
Definition at line 693 of file G4VisManager.cc.
References ClearTransientStoreIfMarked(), fDrawGroupNestingDepth, fIsDrawGroup, fpSceneHandler, G4Exception(), IsValidView(), G4Threading::IsWorkerThread(), and JustWarning.
|
private |
Definition at line 1779 of file G4VisManager.cc.
References fIgnoreStateChanges, fpSceneHandler, fTransientsDrawnThisEvent, and G4VSceneHandler::SetTransientsDrawnThisEvent().
|
private |
Definition at line 1768 of file G4VisManager.cc.
References fEventKeepingSuspended, fIgnoreStateChanges, fKeptLastEvent, fNKeepRequests, fpSceneHandler, fTransientsDrawnThisRun, and G4VSceneHandler::SetTransientsDrawnThisRun().
|
private |
Definition at line 1967 of file G4VisManager.cc.
References G4VSceneHandler::ClearTransientStore(), fpSceneHandler, fTransientsDrawnThisEvent, fTransientsDrawnThisRun, G4VSceneHandler::GetMarkForClearingTransientStore(), G4VSceneHandler::GetTransientsDrawnThisEvent(), G4VSceneHandler::GetTransientsDrawnThisRun(), and G4VSceneHandler::SetMarkForClearingTransientStore().
Referenced by BeginDraw(), BeginDraw2D(), Draw(), and EndOfEvent().
void G4VisManager::CreateSceneHandler | ( | const G4String & | name = "" | ) |
Definition at line 941 of file G4VisManager.cc.
References errors, fAvailableSceneHandlers, fInitialised, fpGraphicsSystem, fpSceneHandler, fVerbosity, G4cout, G4endl, Initialise(), and PrintInvalidPointers().
Definition at line 963 of file G4VisManager.cc.
References G4cout, G4endl, G4ViewParameters::IsCulling(), G4ViewParameters::IsCullingCovered(), G4ViewParameters::IsCullingInvisible(), and G4ViewParameters::SetXGeometryString().
const G4VTrajectoryModel * G4VisManager::CurrentTrajDrawModel | ( | ) | const |
Definition at line 584 of file G4VisManager.cc.
References assert, G4VisModelManager< Model >::Current(), fpTrajDrawModelMgr, fVerbosity, G4cout, G4endl, G4VisModelManager< Model >::Register(), and warnings.
Referenced by G4HepRepFileSceneHandler::BeginModeling(), and DispatchToModel().
void G4VisManager::Disable | ( | ) |
Definition at line 529 of file G4VisManager.cc.
References confirmations, fVerbosity, G4cout, G4endl, and G4VVisManager::SetConcreteInstance().
Referenced by G4VisCommandEnable::SetNewValue(), and G4VisCommandReviewKeptEvents::SetNewValue().
|
virtual |
Implements G4VVisManager.
Definition at line 1164 of file G4VisManager.cc.
References assert, CurrentTrajDrawModel(), G4VTrajectoryModel::Draw(), FilterTrajectory(), fpTrajDrawModelMgr, fpTrajFilterMgr, G4VisFilterManager< T >::GetMode(), IsValidView(), and FilterMode::Soft.
|
virtual |
Implements G4VVisManager.
Definition at line 776 of file G4VisManager.cc.
References DrawT().
Referenced by Draw(), CexmcEventAction::DrawReconstructionData(), and CexmcEventAction::DrawTrackPoints().
|
virtual |
Implements G4VVisManager.
Definition at line 782 of file G4VisManager.cc.
References DrawT().
|
virtual |
Implements G4VVisManager.
Definition at line 788 of file G4VisManager.cc.
References DrawT().
|
virtual |
Implements G4VVisManager.
Definition at line 794 of file G4VisManager.cc.
References DrawT().
|
virtual |
Implements G4VVisManager.
Definition at line 800 of file G4VisManager.cc.
References DrawT().
|
virtual |
Implements G4VVisManager.
Definition at line 806 of file G4VisManager.cc.
References DrawT().
|
virtual |
Implements G4VVisManager.
Definition at line 812 of file G4VisManager.cc.
References DrawT().
|
virtual |
Implements G4VVisManager.
Definition at line 882 of file G4VisManager.cc.
References ClearTransientStoreIfMarked(), dummyTrajectoriesModel, fIsDrawGroup, fpSceneHandler, IsValidView(), and G4Threading::IsWorkerThread().
|
virtual |
Implements G4VVisManager.
Definition at line 854 of file G4VisManager.cc.
References ClearTransientStoreIfMarked(), fIsDrawGroup, fpSceneHandler, IsValidView(), and G4Threading::IsWorkerThread().
|
virtual |
Implements G4VVisManager.
Definition at line 868 of file G4VisManager.cc.
References ClearTransientStoreIfMarked(), fIsDrawGroup, fpSceneHandler, IsValidView(), and G4Threading::IsWorkerThread().
|
virtual |
Implements G4VVisManager.
Definition at line 898 of file G4VisManager.cc.
References Draw(), G4LogicalVolume::GetSolid(), and G4Threading::IsWorkerThread().
|
virtual |
Implements G4VVisManager.
Definition at line 929 of file G4VisManager.cc.
References Draw(), G4VPhysicalVolume::GetLogicalVolume(), and G4Threading::IsWorkerThread().
|
virtual |
Implements G4VVisManager.
Definition at line 909 of file G4VisManager.cc.
References ClearTransientStoreIfMarked(), G4VSolid::DescribeYourselfTo(), fIsDrawGroup, fpSceneHandler, IsValidView(), and G4Threading::IsWorkerThread().
|
virtual |
Implements G4VVisManager.
Definition at line 818 of file G4VisManager.cc.
References DrawT2D().
|
virtual |
Implements G4VVisManager.
Definition at line 824 of file G4VisManager.cc.
References DrawT2D().
|
virtual |
Implements G4VVisManager.
Definition at line 830 of file G4VisManager.cc.
References DrawT2D().
|
virtual |
Implements G4VVisManager.
Definition at line 836 of file G4VisManager.cc.
References DrawT2D().
|
virtual |
Implements G4VVisManager.
Definition at line 842 of file G4VisManager.cc.
References DrawT2D().
|
virtual |
Implements G4VVisManager.
Definition at line 848 of file G4VisManager.cc.
References DrawT2D().
|
private |
Definition at line 731 of file G4VisManager.cc.
References FatalException, G4Exception(), and G4Threading::IsWorkerThread().
Referenced by Draw().
|
private |
Definition at line 754 of file G4VisManager.cc.
References FatalException, G4Exception(), and G4Threading::IsWorkerThread().
Referenced by Draw2D().
void G4VisManager::Enable | ( | ) |
Definition at line 511 of file G4VisManager.cc.
References confirmations, fVerbosity, G4cout, G4endl, IsValidView(), G4VVisManager::SetConcreteInstance(), and warnings.
Referenced by G4VisCommandEnable::SetNewValue(), and G4VisCommandReviewKeptEvents::SetNewValue().
|
virtual |
Implements G4VVisManager.
Definition at line 677 of file G4VisManager.cc.
References fDrawGroupNestingDepth, fIsDrawGroup, fpSceneHandler, IsValidView(), and G4Threading::IsWorkerThread().
|
virtual |
Implements G4VVisManager.
Definition at line 714 of file G4VisManager.cc.
References fDrawGroupNestingDepth, fIsDrawGroup, fpSceneHandler, IsValidView(), and G4Threading::IsWorkerThread().
|
private |
Definition at line 1787 of file G4VisManager.cc.
References ClearTransientStoreIfMarked(), G4VSceneHandler::DrawEvent(), fEventKeepingSuspended, fIgnoreStateChanges, fKeptLastEvent, fNKeepRequests, fpScene, fpSceneHandler, fpViewer, fVerbosity, G4cout, G4endl, G4VVisManager::GetConcreteInstance(), G4EventManager::GetConstCurrentEvent(), G4RunManager::GetCurrentRun(), G4Event::GetEventID(), G4EventManager::GetEventManager(), G4Run::GetEventVector(), G4Scene::GetMaxNumberOfKeptEvents(), G4Run::GetNumberOfEventToBeProcessed(), G4Scene::GetRefreshAtEndOfEvent(), G4RunManager::GetRunManager(), IsValidView(), G4EventManager::KeepTheCurrentEvent(), G4VSceneHandler::SetMarkForClearingTransientStore(), G4VViewer::ShowView(), and warnings.
|
private |
Definition at line 1880 of file G4VisManager.cc.
References G4VSceneHandler::DrawEndOfRunModels(), fEventKeepingSuspended, fEventRefreshing, fIgnoreStateChanges, fKeptLastEvent, fNKeepRequests, fpScene, fpSceneHandler, fpViewer, fVerbosity, G4cout, G4endl, G4VVisManager::GetConcreteInstance(), G4RunManager::GetCurrentRun(), G4Run::GetEventVector(), G4VSceneHandler::GetMarkForClearingTransientStore(), G4Scene::GetMaxNumberOfKeptEvents(), G4Scene::GetRefreshAtEndOfRun(), G4RunManager::GetRunManager(), G4VViewer::GetViewParameters(), G4ViewParameters::IsAutoRefresh(), IsValidView(), G4VViewer::RefreshView(), G4VSceneHandler::SetMarkForClearingTransientStore(), G4VViewer::ShowView(), and warnings.
Implements G4VVisManager.
Definition at line 1159 of file G4VisManager.cc.
References G4VisFilterManager< T >::Accept(), and fpDigiFilterMgr.
Implements G4VVisManager.
Definition at line 1154 of file G4VisManager.cc.
References G4VisFilterManager< T >::Accept(), and fpHitFilterMgr.
|
virtual |
Implements G4VVisManager.
Definition at line 1149 of file G4VisManager.cc.
References G4VisFilterManager< T >::Accept(), and fpTrajFilterMgr.
Referenced by DispatchToModel().
|
virtual |
Implements G4VVisManager.
Definition at line 1045 of file G4VisManager.cc.
References G4Scene::CalculateExtent(), confirmations, fpScene, fSceneList, fVerbosity, G4cout, G4endl, G4Scene::GetName(), G4TransportationManager::GetTransportationManager(), G4UImanager::GetUIpointer(), and warnings.
G4bool G4VisManager::GetAbortReviewKeptEvents | ( | ) | const |
Referenced by G4VisCommandReviewKeptEvents::SetNewValue().
const G4GraphicsSystemList & G4VisManager::GetAvailableGraphicsSystems | ( | ) |
Definition at line 540 of file G4VisManager.cc.
References fAvailableGraphicsSystems, fVerbosity, G4cout, G4endl, and warnings.
Referenced by G4VisCommandOpen::G4VisCommandOpen().
const G4SceneHandlerList& G4VisManager::GetAvailableSceneHandlers | ( | ) | const |
G4VGraphicsSystem* G4VisManager::GetCurrentGraphicsSystem | ( | ) | const |
Referenced by CexmcEventAction::DrawReconstructionData(), CexmcEventAction::DrawTrackPoints(), CexmcEventAction::DrawTrajectories(), and G4VisCommandDrawTree::SetNewValue().
G4Scene* G4VisManager::GetCurrentScene | ( | ) | const |
Referenced by G4RayTracerSceneHandler::G4RayTracerSceneHandler(), CexmcRunManager::RegisterScenePrimitives(), G4VisCommandDrawTree::SetNewValue(), G4VisCommandSceneAddArrow::SetNewValue(), G4VisCommandSceneActivateModel::SetNewValue(), G4VisCommandSceneAddArrow2D::SetNewValue(), G4VisCommandSceneEndOfEventAction::SetNewValue(), G4VisCommandSceneAddAxes::SetNewValue(), G4VisCommandReviewKeptEvents::SetNewValue(), G4VisCommandSceneEndOfRunAction::SetNewValue(), G4VisCommandSceneAddDate::SetNewValue(), G4VisCommandSceneAddDigis::SetNewValue(), G4VisCommandSceneAddEventID::SetNewValue(), G4VisCommandSceneAddFrame::SetNewValue(), G4VisCommandSceneAddHits::SetNewValue(), G4VisCommandSceneAddLine::SetNewValue(), G4VisCommandSceneAddLine2D::SetNewValue(), G4VisCommandSceneAddLogicalVolume::SetNewValue(), G4VisCommandSceneAddLogo::SetNewValue(), G4VisCommandSceneAddLogo2D::SetNewValue(), G4VisCommandSceneAddMagneticField::SetNewValue(), G4VisCommandSceneAddPSHits::SetNewValue(), G4VisCommandSceneAddScale::SetNewValue(), G4VisCommandSceneAddText::SetNewValue(), G4VisCommandSceneAddText2D::SetNewValue(), G4VisCommandSceneAddTrajectories::SetNewValue(), G4VisCommandSceneAddUserAction::SetNewValue(), and G4VisCommandSceneAddVolume::SetNewValue().
G4VSceneHandler* G4VisManager::GetCurrentSceneHandler | ( | ) | const |
Referenced by G4VisCommandDrawTree::SetNewValue(), G4VisCommandSceneActivateModel::SetNewValue(), G4VisCommandSceneEndOfEventAction::SetNewValue(), and G4VisCommandSceneEndOfRunAction::SetNewValue().
G4VViewer* G4VisManager::GetCurrentViewer | ( | ) | const |
Referenced by G4RayTrajectory::AppendStep(), G4VisCommandDrawTree::SetNewValue(), G4VisCommandDrawView::SetNewValue(), G4RTMessenger::SetNewValue(), G4VisCommandGeometryRestore::SetNewValue(), G4VisCommandReviewKeptEvents::SetNewValue(), G4VisCommandViewerCopyViewFrom::SetNewValue(), G4VisCommandViewerDolly::SetNewValue(), G4VisCommandViewerPan::SetNewValue(), G4VisCommandViewerSave::SetNewValue(), G4VisCommandSceneAddLogo::SetNewValue(), G4VisCommandViewerScale::SetNewValue(), G4VisCommandViewerZoom::SetNewValue(), G4VisCommandSceneAddScale::SetNewValue(), and G4RTSteppingAction::UserSteppingAction().
const G4ViewParameters& G4VisManager::GetDefaultViewParameters | ( | ) | const |
Referenced by G4VViewer::G4VViewer(), G4VisCommandViewerDefaultHiddenEdge::SetNewValue(), and G4VisCommandViewerDefaultStyle::SetNewValue().
const std::vector<UserVisAction>& G4VisManager::GetEndOfEventUserVisActions | ( | ) | const |
Referenced by G4VisCommandSceneAddUserAction::SetNewValue().
const std::vector<UserVisAction>& G4VisManager::GetEndOfRunUserVisActions | ( | ) | const |
Referenced by G4VisCommandSceneAddUserAction::SetNewValue().
|
staticprivate |
Definition at line 225 of file G4VisManager.cc.
References FatalException, fpInstance, and G4Exception().
Referenced by G4RayTrajectory::AppendStep(), G4HepRepFileSceneHandler::BeginModeling(), G4RayTracerSceneHandler::G4RayTracerSceneHandler(), G4VSceneHandler::G4VSceneHandler(), G4VViewer::G4VViewer(), operator<<(), G4VSceneHandler::ProcessScene(), G4RTMessenger::SetNewValue(), and G4RTSteppingAction::UserSteppingAction().
const G4Event* G4VisManager::GetRequestedEvent | ( | ) | const |
const std::vector<UserVisAction>& G4VisManager::GetRunDurationUserVisActions | ( | ) | const |
Referenced by G4VisCommandSceneAddUserAction::SetNewValue().
const G4SceneList& G4VisManager::GetSceneList | ( | ) | const |
G4bool G4VisManager::GetTransientsDrawnThisEvent | ( | ) | const |
G4bool G4VisManager::GetTransientsDrawnThisRun | ( | ) | const |
const std::map<G4VUserVisAction*,G4VisExtent>& G4VisManager::GetUserVisActionExtents | ( | ) | const |
Referenced by G4VisCommandSceneAddUserAction::AddVisAction().
|
static |
Definition at line 2077 of file G4VisManager.cc.
References fVerbosity.
Referenced by G4GMocrenFileSceneHandler::AddPrimitive(), G4GMocrenFileSceneHandler::AddSolid(), G4GMocrenFileSceneHandler::BeginPrimitives(), G4DAWNFILESceneHandler::BeginSavingG4Prim(), G4GMocrenFileSceneHandler::BeginSavingGdd(), G4VRML1FileViewer::ClearView(), G4VRML2FileViewer::ClearView(), G4DAWNFILEViewer::ClearView(), G4GMocrenFileViewer::ClearView(), G4VRML1FileSceneHandler::closePort(), G4VRML2FileSceneHandler::closePort(), G4VRML1FileSceneHandler::connectPort(), G4VRML2FileSceneHandler::connectPort(), G4VSceneHandler::CreateModelingParameters(), G4VRML1FileViewer::DrawView(), G4VRML2FileViewer::DrawView(), G4DAWNFILEViewer::DrawView(), G4GMocrenFileViewer::DrawView(), G4GMocrenFileSceneHandler::EndPrimitives(), G4DAWNFILESceneHandler::EndSavingG4Prim(), G4GMocrenFileSceneHandler::EndSavingGdd(), export_G4VisManager(), G4VRML1FileViewer::FinishView(), G4VRML2FileViewer::FinishView(), G4DAWNFILESceneHandler::FRBeginModeling(), G4GMocrenIO::getDetector(), GMocrenDetector::getEdge(), G4GMocrenIO::getShortDoseDist(), GMocrenTrack::getStep(), G4GMocrenIO::getTrack(), G4GMocrenFileSceneHandler::GFBeginModeling(), G4GMocrenFileSceneHandler::GFEndModeling(), G4GMocrenIO::mergeDoseDist(), GMocrenDataPrimitive< T >::operator+(), GMocrenDataPrimitive< T >::operator+=(), G4VSceneHandler::ProcessScene(), G4VVisCommandViewer::RefreshIfRequired(), G4VSceneHandler::RequestPrimitives(), G4GMocrenIO::retrieveData(), G4GMocrenIO::retrieveData2(), G4GMocrenIO::retrieveData3(), G4GMocrenIO::retrieveData4(), G4VRML2FileViewer::SendViewParameters(), G4DAWNFILEViewer::SendViewParameters(), G4DAWNFILESceneHandler::SetG4PrimFileName(), G4GMocrenFileSceneHandler::SetGddFileName(), G4VisCommandDrawTree::SetNewValue(), G4VisCommandViewerDefaultHiddenEdge::SetNewValue(), G4VisCommandSceneHandlerAttach::SetNewValue(), G4VisCommandSetColour::SetNewValue(), G4VisCommandDrawView::SetNewValue(), G4VisCommandSceneAddArrow::SetNewValue(), G4VisCommandSceneHandlerCreate::SetNewValue(), G4VisCommandSceneActivateModel::SetNewValue(), G4VisCommandViewerDefaultStyle::SetNewValue(), G4VisCommandGeometryList::SetNewValue(), G4VisCommandSetTextColour::SetNewValue(), G4VisCommandDrawVolume::SetNewValue(), G4VisCommandViewerAddCutawayPlane::SetNewValue(), G4VisCommandSceneAddArrow2D::SetNewValue(), G4VisCommandGeometryRestore::SetNewValue(), G4VisCommandSceneCreate::SetNewValue(), G4VisCommandSetLineWidth::SetNewValue(), G4VisCommandOpen::SetNewValue(), G4VisCommandViewerChangeCutawayPlane::SetNewValue(), G4VisCommandSceneHandlerSelect::SetNewValue(), G4VisCommandSetTextLayout::SetNewValue(), G4VisCommandSceneEndOfEventAction::SetNewValue(), G4VisCommandSpecify::SetNewValue(), G4VisCommandSceneAddAxes::SetNewValue(), G4VisCommandViewerClear::SetNewValue(), G4VisCommandReviewKeptEvents::SetNewValue(), G4VisCommandSetTouchable::SetNewValue(), G4VisCommandSceneEndOfRunAction::SetNewValue(), G4VisCommandSceneAddDate::SetNewValue(), G4VisCommandViewerClearCutawayPlanes::SetNewValue(), G4VisCommandViewerClearTransients::SetNewValue(), G4VisCommandSceneNotifyHandlers::SetNewValue(), G4VisCommandViewerClone::SetNewValue(), G4VisCommandSceneAddDigis::SetNewValue(), G4VisCommandSceneSelect::SetNewValue(), G4VisCommandSceneAddEventID::SetNewValue(), G4VisCommandViewerCopyViewFrom::SetNewValue(), G4VisCommandViewerCreate::SetNewValue(), G4VisCommandSceneAddFrame::SetNewValue(), G4VisCommandViewerDolly::SetNewValue(), G4VisCommandViewerFlush::SetNewValue(), G4VisCommandSceneAddHits::SetNewValue(), G4VisCommandViewerPan::SetNewValue(), G4VisCommandSceneAddLine::SetNewValue(), G4VisCommandViewerReset::SetNewValue(), G4VisCommandSceneAddLine2D::SetNewValue(), G4VisCommandViewerRefresh::SetNewValue(), G4VisCommandViewerRebuild::SetNewValue(), G4VisCommandSceneAddLogicalVolume::SetNewValue(), G4VisCommandViewerSave::SetNewValue(), G4VisCommandSceneAddLogo::SetNewValue(), G4VisCommandViewerScale::SetNewValue(), G4VisCommandViewerSelect::SetNewValue(), G4VisCommandSceneAddLogo2D::SetNewValue(), G4VisCommandViewerUpdate::SetNewValue(), G4VisCommandViewerZoom::SetNewValue(), G4VisCommandSceneAddMagneticField::SetNewValue(), G4VisCommandSceneAddPSHits::SetNewValue(), G4VisCommandSceneAddScale::SetNewValue(), G4VisCommandSceneAddText::SetNewValue(), G4VisCommandSceneAddText2D::SetNewValue(), G4VisCommandSceneAddTrajectories::SetNewValue(), G4VisCommandSceneAddUserAction::SetNewValue(), G4VisCommandSceneAddVolume::SetNewValue(), G4VRML1FileViewer::SetView(), G4DAWNFILEViewer::SetView(), G4VRML2FileViewer::SetView(), G4GMocrenFileViewer::SetView(), G4VRML1FileViewer::ShowView(), G4VRML2FileViewer::ShowView(), G4DAWNFILEViewer::ShowView(), G4GMocrenFileViewer::ShowView(), G4GMocrenIO::storeData3(), G4DAWNFILESceneHandler::~G4DAWNFILESceneHandler(), G4GMocrenFileSceneHandler::~G4GMocrenFileSceneHandler(), G4VRML1FileSceneHandler::~G4VRML1FileSceneHandler(), and G4VRML2FileSceneHandler::~G4VRML2FileSceneHandler().
|
static |
Definition at line 2038 of file G4VisManager.cc.
References all, confirmations, errors, G4cout, G4endl, parameters, quiet, startup, G4String::toLower(), VerbosityGuidanceStrings, VerbosityString(), and warnings.
Referenced by G4VisManager(), G4VisCommandSceneHandlerList::SetNewValue(), G4VisCommandList::SetNewValue(), G4VisCommandVerbose::SetNewValue(), G4VisCommandSceneList::SetNewValue(), G4VisCommandViewerList::SetNewValue(), and SetVerboseLevel().
|
static |
Definition at line 2069 of file G4VisManager.cc.
Definition at line 1999 of file G4VisManager.cc.
References fAvailableSceneHandlers, and ViewerShortName().
|
privatevirtual |
Reimplemented from G4VVisManager.
Definition at line 2215 of file G4VisManager.cc.
References fIgnoreStateChanges.
void G4VisManager::Initialise | ( | ) |
Definition at line 234 of file G4VisManager.cc.
References fDirectoryList, fInitialised, fVerbosity, G4cout, G4endl, parameters, PrintAvailableColours(), PrintAvailableGraphicsSystems(), PrintAvailableModels(), PrintAvailableUserVisActions(), RegisterGraphicsSystems(), RegisterMessengers(), RegisterModelFactories(), startup, and warnings.
Referenced by CreateSceneHandler(), IsValidView(), and main().
void G4VisManager::Initialize | ( | ) |
Referenced by export_G4VisManager(), main(), XrayFluoSimulation::RunSimulation(), and G4VisCommandInitialize::SetNewValue().
|
private |
Definition at line 2089 of file G4VisManager.cc.
References G4UImanager::ApplyCommand(), errors, fInitialised, fpGraphicsSystem, fpScene, fpSceneHandler, fpViewer, fVerbosity, G4cout, G4endl, G4UImanager::GetUIpointer(), Initialise(), PrintInvalidPointers(), and warnings.
Referenced by BeginDraw(), BeginDraw2D(), DispatchToModel(), Draw(), Enable(), EndDraw(), EndDraw2D(), EndOfEvent(), EndOfRun(), SetCurrentSceneHandler(), and SetCurrentViewer().
|
virtual |
Reimplemented from G4VVisManager.
Definition at line 1118 of file G4VisManager.cc.
References G4Scene::CalculateExtent(), confirmations, fpScene, fSceneList, fVerbosity, G4cout, G4endl, G4Scene::GetName(), G4UImanager::GetUIpointer(), and warnings.
|
private |
|
private |
Definition at line 1495 of file G4VisManager.cc.
References G4cout, G4endl, and G4Colour::GetMap().
Referenced by Initialise(), and G4VisCommandList::SetNewValue().
|
protected |
Definition at line 1373 of file G4VisManager.cc.
References fAvailableGraphicsSystems, G4cout, G4endl, G4VGraphicsSystem::GetName(), and G4VGraphicsSystem::GetNickname().
Referenced by Initialise(), and G4VisCommandList::SetNewValue().
|
private |
Definition at line 1404 of file G4VisManager.cc.
References G4VisListManager< T >::Current(), G4VisModelManager< Model >::FactoryList(), G4VisFilterManager< T >::FactoryList(), G4VisFilterManager< T >::FilterList(), fpTrajDrawModelMgr, fpTrajFilterMgr, G4cout, G4endl, G4VisModelManager< Model >::ListManager(), G4VisListManager< T >::Map(), and parameters.
Referenced by Initialise(), and G4VisCommandList::SetNewValue().
|
private |
Definition at line 1459 of file G4VisManager.cc.
References fEndOfEventUserVisActions, fEndOfRunUserVisActions, fRunDurationUserVisActions, G4cout, and G4endl.
Referenced by Initialise(), and G4VisCommandList::SetNewValue().
|
private |
Definition at line 1508 of file G4VisManager.cc.
References errors, fpGraphicsSystem, fpScene, fpSceneHandler, fpViewer, fVerbosity, G4cout, and G4endl.
Referenced by CreateSceneHandler(), and IsValidView().
void G4VisManager::RegisterEndOfEventUserVisAction | ( | const G4String & | name, |
G4VUserVisAction * | pVisAction, | ||
const G4VisExtent & | extent = G4VisExtent::NullExtent |
||
) |
Definition at line 1207 of file G4VisManager.cc.
References G4cout, G4endl, and G4VisExtent::GetExtentRadius().
void G4VisManager::RegisterEndOfRunUserVisAction | ( | const G4String & | name, |
G4VUserVisAction * | pVisAction, | ||
const G4VisExtent & | extent = G4VisExtent::NullExtent |
||
) |
Definition at line 1223 of file G4VisManager.cc.
References G4cout, G4endl, and G4VisExtent::GetExtentRadius().
G4bool G4VisManager::RegisterGraphicsSystem | ( | G4VGraphicsSystem * | pSystem | ) |
Definition at line 560 of file G4VisManager.cc.
References confirmations, errors, fAvailableGraphicsSystems, fVerbosity, G4cout, and G4endl.
Referenced by export_G4VisManager().
|
protectedpure virtual |
Implemented in G4VisExecutive, and PyG4VisManager.
Referenced by Initialise().
void G4VisManager::RegisterMessenger | ( | G4UImessenger * | messenger | ) |
|
protected |
Definition at line 345 of file G4VisManager.cc.
References fDirectoryList, fpDigiFilterMgr, fpHitFilterMgr, fpTrajDrawModelMgr, fpTrajFilterMgr, G4VisModelManager< Model >::Placement(), G4VisFilterManager< T >::Placement(), and RegisterMessenger().
Referenced by Initialise().
void G4VisManager::RegisterModel | ( | G4VTrajectoryModel * | model | ) |
Definition at line 607 of file G4VisManager.cc.
References fpTrajDrawModelMgr, and G4VisModelManager< Model >::Register().
void G4VisManager::RegisterModel | ( | G4VFilter< G4VTrajectory > * | filter | ) |
Definition at line 618 of file G4VisManager.cc.
References fpTrajFilterMgr, and G4VisFilterManager< T >::Register().
Definition at line 629 of file G4VisManager.cc.
References fpHitFilterMgr, and G4VisFilterManager< T >::Register().
Definition at line 640 of file G4VisManager.cc.
References fpDigiFilterMgr, and G4VisFilterManager< T >::Register().
|
protectedvirtual |
Reimplemented in G4VisExecutive, and PyG4VisManager.
Definition at line 2199 of file G4VisManager.cc.
References fVerbosity, G4cout, G4endl, and warnings.
Referenced by Initialise().
void G4VisManager::RegisterModelFactory | ( | G4TrajDrawModelFactory * | factory | ) |
Definition at line 613 of file G4VisManager.cc.
References fpTrajDrawModelMgr, and G4VisModelManager< Model >::Register().
void G4VisManager::RegisterModelFactory | ( | G4TrajFilterFactory * | factory | ) |
Definition at line 624 of file G4VisManager.cc.
References fpTrajFilterMgr, and G4VisFilterManager< T >::Register().
void G4VisManager::RegisterModelFactory | ( | G4HitFilterFactory * | factory | ) |
Definition at line 635 of file G4VisManager.cc.
References fpHitFilterMgr, and G4VisFilterManager< T >::Register().
void G4VisManager::RegisterModelFactory | ( | G4DigiFilterFactory * | factory | ) |
Definition at line 646 of file G4VisManager.cc.
References fpDigiFilterMgr, and G4VisFilterManager< T >::Register().
void G4VisManager::RegisterRunDurationUserVisAction | ( | const G4String & | name, |
G4VUserVisAction * | pVisAction, | ||
const G4VisExtent & | extent = G4VisExtent::NullExtent |
||
) |
Definition at line 1191 of file G4VisManager.cc.
References G4cout, G4endl, and G4VisExtent::GetExtentRadius().
Referenced by main().
void G4VisManager::ResetTransientsDrawnFlags | ( | ) |
Definition at line 1981 of file G4VisManager.cc.
References fAvailableSceneHandlers, fTransientsDrawnThisEvent, and fTransientsDrawnThisRun.
Referenced by SetCurrentScene(), G4VisCommandSceneEndOfEventAction::SetNewValue(), G4VisCommandSceneEndOfRunAction::SetNewValue(), and G4VisCommandViewerClearTransients::SetNewValue().
void G4VisManager::SelectTrajectoryModel | ( | const G4String & | model | ) |
Definition at line 651 of file G4VisManager.cc.
References fpTrajDrawModelMgr, and G4VisModelManager< Model >::SetCurrent().
void G4VisManager::SetAbortReviewKeptEvents | ( | G4bool | ) |
Referenced by G4VisCommandAbortReviewKeptEvents::SetNewValue(), and G4VisCommandReviewKeptEvents::SetNewValue().
G4SceneHandlerList& G4VisManager::SetAvailableSceneHandlers | ( | ) |
void G4VisManager::SetCurrentGraphicsSystem | ( | G4VGraphicsSystem * | pSystem | ) |
Definition at line 1247 of file G4VisManager.cc.
References confirmations, fAvailableSceneHandlers, fpGraphicsSystem, fpScene, fpSceneHandler, fpViewer, fVerbosity, G4cout, and G4endl.
Referenced by G4VisCommandDrawTree::SetNewValue().
void G4VisManager::SetCurrentScene | ( | G4Scene * | pScene | ) |
Definition at line 1238 of file G4VisManager.cc.
References fpScene, and ResetTransientsDrawnFlags().
Referenced by G4RayTracerSceneHandler::G4RayTracerSceneHandler(), and G4VisCommandDrawTree::SetNewValue().
void G4VisManager::SetCurrentSceneHandler | ( | G4VSceneHandler * | pSceneHandler | ) |
Definition at line 1294 of file G4VisManager.cc.
References confirmations, fpGraphicsSystem, fpScene, fpSceneHandler, fpViewer, fVerbosity, G4cout, G4endl, IsValidView(), and warnings.
Referenced by G4VisCommandDrawTree::SetNewValue().
void G4VisManager::SetCurrentViewer | ( | G4VViewer * | pViewer | ) |
Definition at line 1346 of file G4VisManager.cc.
References confirmations, fpGraphicsSystem, fpScene, fpSceneHandler, fpViewer, fVerbosity, G4cout, G4endl, IsValidView(), and warnings.
Referenced by G4VisCommandDrawTree::SetNewValue().
void G4VisManager::SetDefaultViewParameters | ( | const G4ViewParameters & | ) |
Referenced by G4VisCommandViewerDefaultHiddenEdge::SetNewValue(), and G4VisCommandViewerDefaultStyle::SetNewValue().
void G4VisManager::SetEventRefreshing | ( | G4bool | ) |
void G4VisManager::SetRequestedEvent | ( | const G4Event * | ) |
Referenced by G4VisCommandReviewKeptEvents::SetNewValue().
G4SceneList& G4VisManager::SetSceneList | ( | ) |
Referenced by G4RayTracerSceneHandler::G4RayTracerSceneHandler().
void G4VisManager::SetUserAction | ( | G4VUserVisAction * | pVisAction, |
const G4VisExtent & | = G4VisExtent::NullExtent |
||
) |
void G4VisManager::SetUserActionExtent | ( | const G4VisExtent & | ) |
void G4VisManager::SetVerboseLevel | ( | G4int | intVerbosity | ) |
Definition at line 2081 of file G4VisManager.cc.
References fVerbosity, and GetVerbosityValue().
Referenced by main(), and G4VisCommandVerbose::SetNewValue().
void G4VisManager::SetVerboseLevel | ( | const G4String & | verbosityString | ) |
Definition at line 2085 of file G4VisManager.cc.
References fVerbosity, and GetVerbosityValue().
void G4VisManager::SetVerboseLevel | ( | Verbosity | ) |
Definition at line 2023 of file G4VisManager.cc.
References all, confirmations, errors, parameters, quiet, startup, and warnings.
Referenced by G4VisManager(), GetVerbosityValue(), and G4VisCommandVerbose::SetNewValue().
Definition at line 1993 of file G4VisManager.cc.
References G4String::strip().
Referenced by GetViewer().
|
friend |
Definition at line 135 of file G4VisManager.hh.
|
friend |
Definition at line 133 of file G4VisManager.hh.
|
friend |
Definition at line 134 of file G4VisManager.hh.
|
friend |
Definition at line 131 of file G4VisManager.hh.
|
friend |
Definition at line 130 of file G4VisManager.hh.
|
friend |
Definition at line 132 of file G4VisManager.hh.
|
friend |
Definition at line 129 of file G4VisManager.hh.
|
friend |
Definition at line 141 of file G4VisManager.hh.
|
friend |
Definition at line 140 of file G4VisManager.hh.
Referenced by G4VisManager().
|
friend |
Definition at line 138 of file G4VisManager.hh.
|
friend |
Definition at line 139 of file G4VisManager.hh.
|
friend |
Definition at line 68 of file G4VGraphicsSystem.cc.
|
friend |
Definition at line 933 of file G4VSceneHandler.cc.
|
private |
Definition at line 497 of file G4VisManager.hh.
Referenced by Draw().
|
private |
Definition at line 505 of file G4VisManager.hh.
|
private |
Definition at line 490 of file G4VisManager.hh.
Referenced by GetAvailableGraphicsSystems(), PrintAvailableGraphicsSystems(), RegisterGraphicsSystem(), and ~G4VisManager().
|
private |
Definition at line 492 of file G4VisManager.hh.
Referenced by CreateSceneHandler(), GetViewer(), ResetTransientsDrawnFlags(), SetCurrentGraphicsSystem(), and ~G4VisManager().
|
private |
Definition at line 506 of file G4VisManager.hh.
|
private |
Definition at line 495 of file G4VisManager.hh.
Referenced by G4VisManager(), Initialise(), RegisterMessengers(), and ~G4VisManager().
|
private |
Definition at line 508 of file G4VisManager.hh.
Referenced by BeginDraw(), BeginDraw2D(), EndDraw(), and EndDraw2D().
|
private |
Definition at line 483 of file G4VisManager.hh.
Referenced by PrintAvailableUserVisActions().
|
private |
Definition at line 484 of file G4VisManager.hh.
Referenced by PrintAvailableUserVisActions().
|
private |
Definition at line 502 of file G4VisManager.hh.
Referenced by BeginOfRun(), EndOfEvent(), and EndOfRun().
|
private |
Definition at line 498 of file G4VisManager.hh.
Referenced by EndOfRun().
|
protected |
Definition at line 530 of file G4VisManager.hh.
Referenced by BeginOfEvent(), BeginOfRun(), EndOfEvent(), EndOfRun(), and IgnoreStateChanges().
|
private |
Definition at line 481 of file G4VisManager.hh.
Referenced by CreateSceneHandler(), Initialise(), and IsValidView().
|
private |
Definition at line 507 of file G4VisManager.hh.
Referenced by BeginDraw(), BeginDraw2D(), Draw(), EndDraw(), and EndDraw2D().
|
private |
Definition at line 503 of file G4VisManager.hh.
Referenced by BeginOfRun(), EndOfEvent(), and EndOfRun().
|
private |
Definition at line 494 of file G4VisManager.hh.
Referenced by ~G4VisManager().
|
private |
Definition at line 501 of file G4VisManager.hh.
Referenced by BeginOfRun(), EndOfEvent(), and EndOfRun().
|
private |
Definition at line 520 of file G4VisManager.hh.
Referenced by FilterDigi(), G4VisManager(), RegisterMessengers(), RegisterModel(), RegisterModelFactory(), and ~G4VisManager().
|
private |
Definition at line 486 of file G4VisManager.hh.
Referenced by CreateSceneHandler(), IsValidView(), PrintInvalidPointers(), SetCurrentGraphicsSystem(), SetCurrentSceneHandler(), and SetCurrentViewer().
|
private |
Definition at line 517 of file G4VisManager.hh.
Referenced by FilterHit(), G4VisManager(), RegisterMessengers(), RegisterModel(), RegisterModelFactory(), and ~G4VisManager().
|
staticprivate |
Definition at line 480 of file G4VisManager.hh.
Referenced by G4VisManager(), GetInstance(), and ~G4VisManager().
|
private |
Definition at line 504 of file G4VisManager.hh.
|
private |
Definition at line 487 of file G4VisManager.hh.
Referenced by EndOfEvent(), EndOfRun(), GeometryHasChanged(), IsValidView(), NotifyHandlers(), PrintInvalidPointers(), SetCurrentGraphicsSystem(), SetCurrentScene(), SetCurrentSceneHandler(), and SetCurrentViewer().
|
private |
Definition at line 488 of file G4VisManager.hh.
Referenced by BeginDraw(), BeginDraw2D(), BeginOfEvent(), BeginOfRun(), ClearTransientStoreIfMarked(), CreateSceneHandler(), Draw(), EndDraw(), EndDraw2D(), EndOfEvent(), EndOfRun(), IsValidView(), PrintInvalidPointers(), SetCurrentGraphicsSystem(), SetCurrentSceneHandler(), and SetCurrentViewer().
|
private |
Definition at line 496 of file G4VisManager.hh.
Referenced by G4VisManager().
|
private |
Definition at line 511 of file G4VisManager.hh.
Referenced by CurrentTrajDrawModel(), DispatchToModel(), G4VisManager(), PrintAvailableModels(), RegisterMessengers(), RegisterModel(), RegisterModelFactory(), SelectTrajectoryModel(), and ~G4VisManager().
|
private |
Definition at line 514 of file G4VisManager.hh.
Referenced by DispatchToModel(), FilterTrajectory(), G4VisManager(), PrintAvailableModels(), RegisterMessengers(), RegisterModel(), RegisterModelFactory(), and ~G4VisManager().
|
private |
Definition at line 489 of file G4VisManager.hh.
Referenced by EndOfEvent(), EndOfRun(), IsValidView(), PrintInvalidPointers(), SetCurrentGraphicsSystem(), SetCurrentSceneHandler(), and SetCurrentViewer().
|
private |
Definition at line 482 of file G4VisManager.hh.
Referenced by PrintAvailableUserVisActions().
|
private |
Definition at line 491 of file G4VisManager.hh.
Referenced by GeometryHasChanged(), NotifyHandlers(), and ~G4VisManager().
|
private |
Definition at line 500 of file G4VisManager.hh.
Referenced by BeginOfEvent(), ClearTransientStoreIfMarked(), and ResetTransientsDrawnFlags().
|
private |
Definition at line 499 of file G4VisManager.hh.
Referenced by BeginOfRun(), ClearTransientStoreIfMarked(), and ResetTransientsDrawnFlags().
|
private |
Definition at line 485 of file G4VisManager.hh.
|
protected |
Definition at line 453 of file G4VisManager.hh.
|
staticprivate |
Definition at line 493 of file G4VisManager.hh.
Referenced by CreateSceneHandler(), CurrentTrajDrawModel(), Disable(), Enable(), EndOfEvent(), EndOfRun(), G4VisManager(), GeometryHasChanged(), GetAvailableGraphicsSystems(), GetVerbosity(), Initialise(), IsValidView(), NotifyHandlers(), PrintInvalidPointers(), RegisterGraphicsSystem(), RegisterModelFactories(), SetCurrentGraphicsSystem(), SetCurrentSceneHandler(), SetCurrentViewer(), SetVerboseLevel(), and ~G4VisManager().
|
static |
Definition at line 439 of file G4VisManager.hh.
Referenced by G4VisCommandVerbose::G4VisCommandVerbose(), G4VisManager(), and GetVerbosityValue().