Geant4
10.01.p02
|
#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 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 |
Private Member Functions | |
G4VisManager (const G4VisManager &) | |
G4VisManager & | operator= (const G4VisManager &) |
void | BeginOfRun () |
void | BeginOfEvent () |
void | EndOfEvent () |
void | EndOfRun () |
void | DrawEvent (const G4Event *) |
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 () |
Static Private Attributes | |
static G4VisManager * | fpInstance = 0 |
static Verbosity | fVerbosity = G4VisManager::warnings |
Friends | |
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 133 of file G4VisManager.hh.
|
protected |
Definition at line 89 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 193 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 661 of file G4VisManager.cc.
References ClearTransientStoreIfMarked(), fDrawGroupNestingDepth, fIsDrawGroup, fpSceneHandler, G4Exception(), IsValidView(), G4Threading::IsWorkerThread(), and JustWarning.
|
virtual |
Implements G4VVisManager.
Definition at line 698 of file G4VisManager.cc.
References ClearTransientStoreIfMarked(), fDrawGroupNestingDepth, fIsDrawGroup, fpSceneHandler, G4Exception(), IsValidView(), G4Threading::IsWorkerThread(), and JustWarning.
|
private |
Definition at line 1828 of file G4VisManager.cc.
References fIgnoreStateChanges, fpSceneHandler, fTransientsDrawnThisEvent, and G4VSceneHandler::SetTransientsDrawnThisEvent().
|
private |
Definition at line 1817 of file G4VisManager.cc.
References fEventKeepingSuspended, fIgnoreStateChanges, fKeptLastEvent, fNKeepRequests, fpSceneHandler, fTransientsDrawnThisRun, and G4VSceneHandler::SetTransientsDrawnThisRun().
|
private |
Definition at line 2032 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 DrawEvent().
void G4VisManager::CreateSceneHandler | ( | const G4String & | name = "" | ) |
Definition at line 971 of file G4VisManager.cc.
References errors, fAvailableSceneHandlers, fInitialised, fpGraphicsSystem, fpSceneHandler, fVerbosity, G4cout, G4endl, Initialise(), and PrintInvalidPointers().
Definition at line 993 of file G4VisManager.cc.
References G4cerr, G4cout, G4endl, G4ViewParameters::IsCulling(), G4ViewParameters::IsCullingCovered(), G4ViewParameters::IsCullingInvisible(), and G4ViewParameters::SetXGeometryString().
const G4VTrajectoryModel * G4VisManager::CurrentTrajDrawModel | ( | ) | const |
Definition at line 589 of file G4VisManager.cc.
References G4VisModelManager< Model >::Current(), fpTrajDrawModelMgr, fVerbosity, G4cout, G4endl, G4VisModelManager< Model >::Register(), and warnings.
Referenced by G4HepRepFileSceneHandler::BeginModeling(), and DispatchToModel().
void G4VisManager::Disable | ( | ) |
Definition at line 534 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 1194 of file G4VisManager.cc.
References CurrentTrajDrawModel(), G4VTrajectoryModel::Draw(), FilterTrajectory(), fpTrajDrawModelMgr, fpTrajFilterMgr, G4VisFilterManager< T >::GetMode(), IsValidView(), and FilterMode::Soft.
|
virtual |
Implements G4VVisManager.
Definition at line 781 of file G4VisManager.cc.
References DrawT().
Referenced by Draw(), CexmcEventAction::DrawReconstructionData(), and CexmcEventAction::DrawTrackPoints().
|
virtual |
Implements G4VVisManager.
Definition at line 787 of file G4VisManager.cc.
References DrawT().
|
virtual |
Implements G4VVisManager.
Definition at line 793 of file G4VisManager.cc.
References DrawT().
|
virtual |
Implements G4VVisManager.
Definition at line 799 of file G4VisManager.cc.
References DrawT().
|
virtual |
Implements G4VVisManager.
Definition at line 805 of file G4VisManager.cc.
References DrawT().
|
virtual |
Implements G4VVisManager.
Definition at line 811 of file G4VisManager.cc.
References DrawT().
|
virtual |
Implements G4VVisManager.
Definition at line 817 of file G4VisManager.cc.
References DrawT().
|
virtual |
Implements G4VVisManager.
Definition at line 887 of file G4VisManager.cc.
References ClearTransientStoreIfMarked(), fIsDrawGroup, fpSceneHandler, G4EventManager::GetConstCurrentEvent(), G4RunManager::GetCurrentRun(), G4Event::GetEventID(), G4EventManager::GetEventManager(), G4Run::GetRunID(), G4RunManager::GetRunManager(), IsValidView(), G4Threading::IsWorkerThread(), G4TrajectoriesModel::SetCurrentTrajectory(), G4TrajectoriesModel::SetEventID(), and G4TrajectoriesModel::SetRunID().
|
virtual |
Implements G4VVisManager.
Definition at line 859 of file G4VisManager.cc.
References ClearTransientStoreIfMarked(), fIsDrawGroup, fpSceneHandler, IsValidView(), and G4Threading::IsWorkerThread().
|
virtual |
Implements G4VVisManager.
Definition at line 873 of file G4VisManager.cc.
References ClearTransientStoreIfMarked(), fIsDrawGroup, fpSceneHandler, IsValidView(), and G4Threading::IsWorkerThread().
|
virtual |
Implements G4VVisManager.
Definition at line 917 of file G4VisManager.cc.
References Draw(), G4LogicalVolume::GetSolid(), and G4Threading::IsWorkerThread().
|
virtual |
Implements G4VVisManager.
Definition at line 948 of file G4VisManager.cc.
References Draw(), G4VPhysicalVolume::GetLogicalVolume(), and G4Threading::IsWorkerThread().
|
virtual |
Implements G4VVisManager.
Definition at line 928 of file G4VisManager.cc.
References ClearTransientStoreIfMarked(), G4VSolid::DescribeYourselfTo(), fIsDrawGroup, fpSceneHandler, IsValidView(), and G4Threading::IsWorkerThread().
|
virtual |
Implements G4VVisManager.
Definition at line 823 of file G4VisManager.cc.
References DrawT2D().
|
virtual |
Implements G4VVisManager.
Definition at line 829 of file G4VisManager.cc.
References DrawT2D().
|
virtual |
Implements G4VVisManager.
Definition at line 835 of file G4VisManager.cc.
References DrawT2D().
|
virtual |
Implements G4VVisManager.
Definition at line 841 of file G4VisManager.cc.
References DrawT2D().
|
virtual |
Implements G4VVisManager.
Definition at line 847 of file G4VisManager.cc.
References DrawT2D().
|
virtual |
Implements G4VVisManager.
Definition at line 853 of file G4VisManager.cc.
References DrawT2D().
|
private |
Definition at line 1950 of file G4VisManager.cc.
References ClearTransientStoreIfMarked(), G4VSceneHandler::DrawEvent(), fEventKeepingSuspended, fKeptLastEvent, fNKeepRequests, fpScene, fpSceneHandler, fpViewer, fVerbosity, G4cout, G4endl, G4VVisManager::GetConcreteInstance(), G4RunManager::GetCurrentRun(), G4EventManager::GetEventManager(), G4Run::GetEventVector(), G4Scene::GetMaxNumberOfKeptEvents(), G4Run::GetNumberOfEventToBeProcessed(), G4Scene::GetRefreshAtEndOfEvent(), G4RunManager::GetRunManager(), G4EventManager::KeepTheCurrentEvent(), G4VSceneHandler::SetMarkForClearingTransientStore(), G4VViewer::ShowView(), and warnings.
Referenced by EndOfEvent().
|
private |
Definition at line 736 of file G4VisManager.cc.
References FatalException, G4Exception(), and G4Threading::IsWorkerThread().
Referenced by Draw().
|
private |
Definition at line 759 of file G4VisManager.cc.
References FatalException, G4Exception(), and G4Threading::IsWorkerThread().
Referenced by Draw2D().
void G4VisManager::Enable | ( | ) |
Definition at line 516 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 682 of file G4VisManager.cc.
References fDrawGroupNestingDepth, fIsDrawGroup, fpSceneHandler, IsValidView(), and G4Threading::IsWorkerThread().
|
virtual |
Implements G4VVisManager.
Definition at line 719 of file G4VisManager.cc.
References fDrawGroupNestingDepth, fIsDrawGroup, fpSceneHandler, IsValidView(), and G4Threading::IsWorkerThread().
|
private |
Definition at line 1836 of file G4VisManager.cc.
References DrawEvent(), fIgnoreStateChanges, fpSceneHandler, G4VVisManager::GetConcreteInstance(), G4EventManager::GetConstCurrentEvent(), G4EventManager::GetEventManager(), and IsValidView().
|
private |
Definition at line 1857 of file G4VisManager.cc.
References G4VSceneHandler::DrawEndOfRunModels(), fEventKeepingSuspended, fEventRefreshing, fIgnoreStateChanges, G4VGraphicsSystem::fileWriter, fKeptLastEvent, fNKeepRequests, fpGraphicsSystem, fpScene, fpSceneHandler, fpViewer, fVerbosity, G4cout, G4endl, G4VVisManager::GetConcreteInstance(), G4RunManager::GetCurrentRun(), G4Run::GetEventVector(), G4VGraphicsSystem::GetFunctionality(), 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 1189 of file G4VisManager.cc.
References G4VisFilterManager< T >::Accept(), and fpDigiFilterMgr.
Implements G4VVisManager.
Definition at line 1184 of file G4VisManager.cc.
References G4VisFilterManager< T >::Accept(), and fpHitFilterMgr.
|
virtual |
Implements G4VVisManager.
Definition at line 1179 of file G4VisManager.cc.
References G4VisFilterManager< T >::Accept(), and fpTrajFilterMgr.
Referenced by DispatchToModel().
|
virtual |
Implements G4VVisManager.
Definition at line 1075 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 545 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(), G4VisCommandSceneAddExtent::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(), G4VisCommandViewerScale::SetNewValue(), G4VisCommandSceneAddLogo::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().
|
static |
Definition at line 226 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 2142 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(), G4VisCommandViewerDefaultStyle::SetNewValue(), G4VisCommandSceneHandlerCreate::SetNewValue(), G4VisCommandSceneActivateModel::SetNewValue(), G4VisCommandGeometryList::SetNewValue(), G4VisCommandSetLineWidth::SetNewValue(), G4VisCommandDrawVolume::SetNewValue(), G4VisCommandViewerAddCutawayPlane::SetNewValue(), G4VisCommandSceneAddArrow2D::SetNewValue(), G4VisCommandGeometryRestore::SetNewValue(), G4VisCommandSceneCreate::SetNewValue(), G4VisCommandSetTextColour::SetNewValue(), G4VisCommandOpen::SetNewValue(), G4VisCommandViewerChangeCutawayPlane::SetNewValue(), G4VisCommandSceneHandlerSelect::SetNewValue(), G4VisCommandSetTextLayout::SetNewValue(), G4VisCommandSceneEndOfEventAction::SetNewValue(), G4VisCommandSpecify::SetNewValue(), G4VisCommandSceneAddAxes::SetNewValue(), G4VisCommandViewerClear::SetNewValue(), G4VisCommandReviewKeptEvents::SetNewValue(), G4VisCommandSetTextSize::SetNewValue(), G4VisCommandSceneEndOfRunAction::SetNewValue(), G4VisCommandSceneAddDate::SetNewValue(), G4VisCommandViewerClearCutawayPlanes::SetNewValue(), G4VisCommandSetTouchable::SetNewValue(), G4VisCommandViewerClearTransients::SetNewValue(), G4VisCommandSceneNotifyHandlers::SetNewValue(), G4VisCommandViewerClone::SetNewValue(), G4VisCommandSceneAddDigis::SetNewValue(), G4VisCommandSceneSelect::SetNewValue(), G4VisCommandSceneAddEventID::SetNewValue(), G4VisCommandViewerCopyViewFrom::SetNewValue(), G4VisCommandViewerCreate::SetNewValue(), G4VisCommandSceneAddExtent::SetNewValue(), G4VisCommandViewerDolly::SetNewValue(), G4VisCommandViewerFlush::SetNewValue(), G4VisCommandSceneAddFrame::SetNewValue(), G4VisCommandViewerPan::SetNewValue(), G4VisCommandSceneAddHits::SetNewValue(), G4VisCommandViewerReset::SetNewValue(), G4VisCommandSceneAddLine::SetNewValue(), G4VisCommandViewerRefresh::SetNewValue(), G4VisCommandViewerRebuild::SetNewValue(), G4VisCommandSceneAddLine2D::SetNewValue(), G4VisCommandViewerSave::SetNewValue(), G4VisCommandSceneAddLogicalVolume::SetNewValue(), G4VisCommandViewerScale::SetNewValue(), G4VisCommandSceneAddLogo::SetNewValue(), G4VisCommandViewerSelect::SetNewValue(), G4VisCommandViewerUpdate::SetNewValue(), G4VisCommandSceneAddLogo2D::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 2103 of file G4VisManager.cc.
References all, confirmations, errors, G4cerr, 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 2134 of file G4VisManager.cc.
Definition at line 2064 of file G4VisManager.cc.
References fAvailableSceneHandlers, and ViewerShortName().
|
virtual |
Reimplemented from G4VVisManager.
Definition at line 2281 of file G4VisManager.cc.
References fIgnoreStateChanges.
void G4VisManager::Initialise | ( | ) |
Definition at line 235 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 2154 of file G4VisManager.cc.
References G4UImanager::ApplyCommand(), errors, fInitialised, fpGraphicsSystem, fpScene, fpSceneHandler, fpViewer, fVerbosity, G4cerr, 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 1148 of file G4VisManager.cc.
References G4Scene::CalculateExtent(), confirmations, fpScene, fSceneList, fVerbosity, G4cout, G4endl, G4Scene::GetName(), G4UImanager::GetUIpointer(), and warnings.
|
private |
|
private |
Definition at line 1533 of file G4VisManager.cc.
References G4cout, G4endl, and G4Colour::GetMap().
Referenced by Initialise(), and G4VisCommandList::SetNewValue().
|
protected |
Definition at line 1411 of file G4VisManager.cc.
References fAvailableGraphicsSystems, G4cout, G4endl, G4VGraphicsSystem::GetName(), and G4VGraphicsSystem::GetNickname().
Referenced by Initialise(), and G4VisCommandList::SetNewValue().
|
private |
Definition at line 1442 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 1497 of file G4VisManager.cc.
References fEndOfEventUserVisActions, fEndOfRunUserVisActions, fRunDurationUserVisActions, G4cout, and G4endl.
Referenced by Initialise(), and G4VisCommandList::SetNewValue().
|
private |
Definition at line 1546 of file G4VisManager.cc.
References errors, fpGraphicsSystem, fpScene, fpSceneHandler, fpViewer, fVerbosity, G4cerr, and G4endl.
Referenced by CreateSceneHandler(), and IsValidView().
void G4VisManager::RegisterEndOfEventUserVisAction | ( | const G4String & | name, |
G4VUserVisAction * | pVisAction, | ||
const G4VisExtent & | extent = G4VisExtent::NullExtent |
||
) |
Definition at line 1237 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 1253 of file G4VisManager.cc.
References G4cout, G4endl, and G4VisExtent::GetExtentRadius().
G4bool G4VisManager::RegisterGraphicsSystem | ( | G4VGraphicsSystem * | pSystem | ) |
Definition at line 565 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 346 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 612 of file G4VisManager.cc.
References fpTrajDrawModelMgr, and G4VisModelManager< Model >::Register().
void G4VisManager::RegisterModel | ( | G4VFilter< G4VTrajectory > * | filter | ) |
Definition at line 623 of file G4VisManager.cc.
References fpTrajFilterMgr, and G4VisFilterManager< T >::Register().
Definition at line 634 of file G4VisManager.cc.
References fpHitFilterMgr, and G4VisFilterManager< T >::Register().
Definition at line 645 of file G4VisManager.cc.
References fpDigiFilterMgr, and G4VisFilterManager< T >::Register().
|
protectedvirtual |
Reimplemented in G4VisExecutive, and PyG4VisManager.
Definition at line 2265 of file G4VisManager.cc.
References fVerbosity, G4cout, G4endl, and warnings.
Referenced by Initialise().
void G4VisManager::RegisterModelFactory | ( | G4TrajDrawModelFactory * | factory | ) |
Definition at line 618 of file G4VisManager.cc.
References fpTrajDrawModelMgr, and G4VisModelManager< Model >::Register().
void G4VisManager::RegisterModelFactory | ( | G4TrajFilterFactory * | factory | ) |
Definition at line 629 of file G4VisManager.cc.
References fpTrajFilterMgr, and G4VisFilterManager< T >::Register().
void G4VisManager::RegisterModelFactory | ( | G4HitFilterFactory * | factory | ) |
Definition at line 640 of file G4VisManager.cc.
References fpHitFilterMgr, and G4VisFilterManager< T >::Register().
void G4VisManager::RegisterModelFactory | ( | G4DigiFilterFactory * | factory | ) |
Definition at line 651 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 1221 of file G4VisManager.cc.
References G4cout, G4endl, and G4VisExtent::GetExtentRadius().
Referenced by main().
void G4VisManager::ResetTransientsDrawnFlags | ( | ) |
Definition at line 2046 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 656 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 1277 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 1268 of file G4VisManager.cc.
References fpScene, and ResetTransientsDrawnFlags().
Referenced by G4RayTracerSceneHandler::G4RayTracerSceneHandler(), and G4VisCommandDrawTree::SetNewValue().
void G4VisManager::SetCurrentSceneHandler | ( | G4VSceneHandler * | pSceneHandler | ) |
Definition at line 1324 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 1376 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 2146 of file G4VisManager.cc.
References fVerbosity, and GetVerbosityValue().
Referenced by main(), and G4VisCommandVerbose::SetNewValue().
void G4VisManager::SetVerboseLevel | ( | const G4String & | verbosityString | ) |
Definition at line 2150 of file G4VisManager.cc.
References fVerbosity, and GetVerbosityValue().
void G4VisManager::SetVerboseLevel | ( | Verbosity | ) |
Definition at line 2088 of file G4VisManager.cc.
References all, confirmations, errors, parameters, quiet, startup, and warnings.
Referenced by G4VisManager(), GetVerbosityValue(), and G4VisCommandVerbose::SetNewValue().
Definition at line 2058 of file G4VisManager.cc.
References G4String::strip().
Referenced by GetViewer().
|
friend |
Definition at line 125 of file G4VisManager.hh.
|
friend |
Definition at line 124 of file G4VisManager.hh.
Referenced by G4VisManager().
|
friend |
Definition at line 122 of file G4VisManager.hh.
|
friend |
Definition at line 123 of file G4VisManager.hh.
|
friend |
Definition at line 68 of file G4VGraphicsSystem.cc.
|
friend |
Definition at line 946 of file G4VSceneHandler.cc.
|
private |
Definition at line 504 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 505 of file G4VisManager.hh.
|
private |
Definition at line 495 of file G4VisManager.hh.
Referenced by G4VisManager(), Initialise(), RegisterMessengers(), and ~G4VisManager().
|
private |
Definition at line 507 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 501 of file G4VisManager.hh.
Referenced by BeginOfRun(), DrawEvent(), and EndOfRun().
|
private |
Definition at line 497 of file G4VisManager.hh.
Referenced by EndOfRun().
|
private |
Definition at line 508 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 506 of file G4VisManager.hh.
Referenced by BeginDraw(), BeginDraw2D(), Draw(), EndDraw(), and EndDraw2D().
|
private |
Definition at line 502 of file G4VisManager.hh.
Referenced by BeginOfRun(), DrawEvent(), and EndOfRun().
|
private |
Definition at line 494 of file G4VisManager.hh.
Referenced by ~G4VisManager().
|
private |
Definition at line 500 of file G4VisManager.hh.
Referenced by BeginOfRun(), DrawEvent(), 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(), EndOfRun(), 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 503 of file G4VisManager.hh.
|
private |
Definition at line 487 of file G4VisManager.hh.
Referenced by DrawEvent(), 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(), DrawEvent(), 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 DrawEvent(), 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 499 of file G4VisManager.hh.
Referenced by BeginOfEvent(), ClearTransientStoreIfMarked(), and ResetTransientsDrawnFlags().
|
private |
Definition at line 498 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(), DrawEvent(), Enable(), 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().