Geant4
10.03
|
#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 (Verbosity) const |
Protected Attributes | |
const G4int | fVerbose |
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 () |
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 124 of file G4VisManager.hh.
Enumerator | |
---|---|
quiet | |
startup | |
errors | |
warnings | |
confirmations | |
parameters | |
all |
Definition at line 138 of file G4VisManager.hh.
|
protected |
Definition at line 99 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 208 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 709 of file G4VisManager.cc.
References ClearTransientStoreIfMarked(), fDrawGroupNestingDepth, fIsDrawGroup, fpSceneHandler, G4Exception(), IsValidView(), G4Threading::IsWorkerThread(), and JustWarning.
|
virtual |
Implements G4VVisManager.
Definition at line 746 of file G4VisManager.cc.
References ClearTransientStoreIfMarked(), fDrawGroupNestingDepth, fIsDrawGroup, fpSceneHandler, G4Exception(), IsValidView(), G4Threading::IsWorkerThread(), and JustWarning.
|
private |
Definition at line 1800 of file G4VisManager.cc.
References fIgnoreStateChanges, fpSceneHandler, fTransientsDrawnThisEvent, G4VVisManager::GetConcreteInstance(), and G4VSceneHandler::SetTransientsDrawnThisEvent().
|
private |
Definition at line 1740 of file G4VisManager.cc.
References fEventKeepingSuspended, fIgnoreStateChanges, fKeptLastEvent, fNKeepRequests, fNoOfEventsDrawnThisRun, fpSceneHandler, fpViewer, fTransientsDrawnThisRun, G4MUTEXLOCK, G4MUTEXUNLOCK, G4THREADCREATE, G4VVisManager::GetConcreteInstance(), G4MTRunManager::GetMasterRunManager(), G4RunManager::GetNumberOfEventsToBeProcessed(), G4RunManager::GetRunManager(), G4Threading::IsMultithreadedApplication(), G4Threading::IsWorkerThread(), and G4VSceneHandler::SetTransientsDrawnThisRun().
|
private |
Definition at line 2174 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 1025 of file G4VisManager.cc.
References errors, fAvailableSceneHandlers, fInitialised, fpGraphicsSystem, fpSceneHandler, fVerbosity, G4cout, G4endl, Initialise(), and PrintInvalidPointers().
Definition at line 1047 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 638 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 570 of file G4VisManager.cc.
References confirmations, fVerbosity, G4cout, G4endl, G4RunManagerKernel::GetRunManagerKernel(), G4TrackingManager::GetStoreTrajectory(), G4RunManagerKernel::GetTrackingManager(), G4VVisManager::SetConcreteInstance(), and warnings.
Referenced by G4VisCommandEnable::SetNewValue(), and G4VisCommandReviewKeptEvents::SetNewValue().
|
virtual |
Implements G4VVisManager.
Definition at line 1248 of file G4VisManager.cc.
References CurrentTrajDrawModel(), G4VTrajectoryModel::Draw(), FilterTrajectory(), fpTrajDrawModelMgr, fpTrajFilterMgr, G4VisFilterManager< T >::GetMode(), IsValidView(), and FilterMode::Soft.
|
virtual |
Implements G4VVisManager.
Definition at line 829 of file G4VisManager.cc.
References DrawT().
Referenced by Draw(), CexmcEventAction::DrawReconstructionData(), and CexmcEventAction::DrawTrackPoints().
|
virtual |
Implements G4VVisManager.
Definition at line 835 of file G4VisManager.cc.
References DrawT().
|
virtual |
Implements G4VVisManager.
Definition at line 841 of file G4VisManager.cc.
References DrawT().
|
virtual |
Implements G4VVisManager.
Definition at line 847 of file G4VisManager.cc.
References DrawT().
|
virtual |
Implements G4VVisManager.
Definition at line 853 of file G4VisManager.cc.
References DrawT().
|
virtual |
Implements G4VVisManager.
Definition at line 859 of file G4VisManager.cc.
References DrawT().
|
virtual |
Implements G4VVisManager.
Definition at line 865 of file G4VisManager.cc.
References DrawT().
|
virtual |
Implements G4VVisManager.
Definition at line 935 of file G4VisManager.cc.
References ClearTransientStoreIfMarked(), fIsDrawGroup, fpSceneHandler, G4EventManager::GetConstCurrentEvent(), G4RunManager::GetCurrentRun(), G4Event::GetEventID(), G4EventManager::GetEventManager(), G4MTRunManager::GetMasterRunManager(), G4Run::GetRunID(), G4RunManager::GetRunManager(), G4Threading::IsMultithreadedApplication(), IsValidView(), G4Threading::IsWorkerThread(), G4TrajectoriesModel::SetCurrentTrajectory(), G4TrajectoriesModel::SetEventID(), and G4TrajectoriesModel::SetRunID().
|
virtual |
Implements G4VVisManager.
Definition at line 907 of file G4VisManager.cc.
References ClearTransientStoreIfMarked(), fIsDrawGroup, fpSceneHandler, IsValidView(), and G4Threading::IsWorkerThread().
|
virtual |
Implements G4VVisManager.
Definition at line 921 of file G4VisManager.cc.
References ClearTransientStoreIfMarked(), fIsDrawGroup, fpSceneHandler, IsValidView(), and G4Threading::IsWorkerThread().
|
virtual |
Implements G4VVisManager.
Definition at line 971 of file G4VisManager.cc.
References Draw(), G4LogicalVolume::GetSolid(), and G4Threading::IsWorkerThread().
|
virtual |
Implements G4VVisManager.
Definition at line 1002 of file G4VisManager.cc.
References Draw(), G4VPhysicalVolume::GetLogicalVolume(), and G4Threading::IsWorkerThread().
|
virtual |
Implements G4VVisManager.
Definition at line 982 of file G4VisManager.cc.
References ClearTransientStoreIfMarked(), G4VSolid::DescribeYourselfTo(), fIsDrawGroup, fpSceneHandler, IsValidView(), and G4Threading::IsWorkerThread().
|
virtual |
Implements G4VVisManager.
Definition at line 871 of file G4VisManager.cc.
References DrawT2D().
|
virtual |
Implements G4VVisManager.
Definition at line 877 of file G4VisManager.cc.
References DrawT2D().
|
virtual |
Implements G4VVisManager.
Definition at line 883 of file G4VisManager.cc.
References DrawT2D().
|
virtual |
Implements G4VVisManager.
Definition at line 889 of file G4VisManager.cc.
References DrawT2D().
|
virtual |
Implements G4VVisManager.
Definition at line 895 of file G4VisManager.cc.
References DrawT2D().
|
virtual |
Implements G4VVisManager.
Definition at line 901 of file G4VisManager.cc.
References DrawT2D().
|
private |
Definition at line 784 of file G4VisManager.cc.
References FatalException, G4Exception(), and G4Threading::IsWorkerThread().
Referenced by Draw().
|
private |
Definition at line 807 of file G4VisManager.cc.
References FatalException, G4Exception(), and G4Threading::IsWorkerThread().
Referenced by Draw2D().
void G4VisManager::Enable | ( | ) |
Definition at line 543 of file G4VisManager.cc.
References confirmations, fVerbosity, G4cout, G4endl, G4RunManager::GetCurrentRun(), G4Run::GetEventVector(), G4RunManager::GetRunManager(), IsValidView(), G4VVisManager::SetConcreteInstance(), and warnings.
Referenced by G4VisCommandEnable::SetNewValue(), and G4VisCommandReviewKeptEvents::SetNewValue().
|
virtual |
Implements G4VVisManager.
Definition at line 730 of file G4VisManager.cc.
References fDrawGroupNestingDepth, fIsDrawGroup, fpSceneHandler, IsValidView(), and G4Threading::IsWorkerThread().
|
virtual |
Implements G4VVisManager.
Definition at line 767 of file G4VisManager.cc.
References fDrawGroupNestingDepth, fIsDrawGroup, fpSceneHandler, IsValidView(), and G4Threading::IsWorkerThread().
|
private |
Definition at line 1817 of file G4VisManager.cc.
References ClearTransientStoreIfMarked(), G4VSceneHandler::DrawEvent(), fEventKeepingSuspended, fIgnoreStateChanges, fKeptLastEvent, fNKeepRequests, fNoOfEventsDrawnThisRun, fpScene, fpSceneHandler, fpViewer, fVerbosity, G4cout, G4endl, G4MUTEXLOCK, G4MUTEXUNLOCK, G4THREADSLEEP, G4VVisManager::GetConcreteInstance(), G4EventManager::GetConstCurrentEvent(), G4RunManager::GetCurrentRun(), G4Event::GetEventID(), G4EventManager::GetEventManager(), G4Run::GetEventVector(), G4MTRunManager::GetMasterRunManager(), G4Scene::GetMaxNumberOfKeptEvents(), G4RunManager::GetNumberOfEventsToBeProcessed(), G4Scene::GetRefreshAtEndOfEvent(), G4RunManager::GetRunManager(), G4Threading::IsMultithreadedApplication(), IsValidView(), G4Event::KeepForPostProcessing(), G4EventManager::KeepTheCurrentEvent(), G4VSceneHandler::SetMarkForClearingTransientStore(), G4VViewer::ShowView(), and warnings.
|
private |
Definition at line 2022 of file G4VisManager.cc.
References G4VSceneHandler::DrawEndOfRunModels(), fEventKeepingSuspended, fEventRefreshing, fIgnoreStateChanges, G4VGraphicsSystem::fileWriter, fKeptLastEvent, fNKeepRequests, fNoOfEventsDrawnThisRun, fpGraphicsSystem, fpScene, fpSceneHandler, fpViewer, fVerbosity, G4cout, G4endl, G4MUTEXLOCK, G4MUTEXUNLOCK, G4THREADJOIN, G4VVisManager::GetConcreteInstance(), G4RunManager::GetCurrentRun(), G4Run::GetEventVector(), G4VGraphicsSystem::GetFunctionality(), G4MTRunManager::GetMasterRunManager(), G4Scene::GetMaxNumberOfKeptEvents(), G4RunManager::GetNumberOfEventsToBeProcessed(), G4Scene::GetRefreshAtEndOfRun(), G4RunManager::GetRunManager(), G4VViewer::GetViewParameters(), G4ViewParameters::IsAutoRefresh(), G4Threading::IsMultithreadedApplication(), IsValidView(), G4Threading::IsWorkerThread(), G4VViewer::RefreshView(), G4VSceneHandler::SetMarkForClearingTransientStore(), G4VViewer::ShowView(), and warnings.
Implements G4VVisManager.
Definition at line 1243 of file G4VisManager.cc.
References G4VisFilterManager< T >::Accept(), and fpDigiFilterMgr.
Implements G4VVisManager.
Definition at line 1238 of file G4VisManager.cc.
References G4VisFilterManager< T >::Accept(), and fpHitFilterMgr.
|
virtual |
Implements G4VVisManager.
Definition at line 1233 of file G4VisManager.cc.
References G4VisFilterManager< T >::Accept(), and fpTrajFilterMgr.
Referenced by DispatchToModel().
|
virtual |
Implements G4VVisManager.
Definition at line 1129 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 594 of file G4VisManager.cc.
References fAvailableGraphicsSystems, fVerbosity, G4cout, G4endl, and warnings.
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(), G4VisCommandViewerInterpolate::SetNewValue(), G4VisCommandViewerPan::SetNewValue(), G4VisCommandSceneAddLogo::SetNewValue(), G4VisCommandViewerSave::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().
|
static |
Definition at line 241 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 2284 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(), G4VisCommandViewerClearVisAttributesModifiers::SetNewValue(), G4VisCommandSceneAddDigis::SetNewValue(), G4VisCommandSceneSelect::SetNewValue(), G4VisCommandViewerClone::SetNewValue(), G4VisCommandSceneAddEventID::SetNewValue(), G4VisCommandViewerCopyViewFrom::SetNewValue(), G4VisCommandSceneAddExtent::SetNewValue(), G4VisCommandViewerCreate::SetNewValue(), G4VisCommandViewerDolly::SetNewValue(), G4VisCommandSceneAddFrame::SetNewValue(), G4VisCommandViewerFlush::SetNewValue(), G4VisCommandViewerInterpolate::SetNewValue(), G4VisCommandSceneAddHits::SetNewValue(), G4VisCommandSceneAddLine::SetNewValue(), G4VisCommandViewerPan::SetNewValue(), G4VisCommandViewerReset::SetNewValue(), G4VisCommandSceneAddLine2D::SetNewValue(), G4VisCommandViewerRefresh::SetNewValue(), G4VisCommandSceneAddLogicalVolume::SetNewValue(), G4VisCommandViewerRebuild::SetNewValue(), G4VisCommandSceneAddLogo::SetNewValue(), G4VisCommandViewerSave::SetNewValue(), G4VisCommandViewerScale::SetNewValue(), G4VisCommandSceneAddLogo2D::SetNewValue(), G4VisCommandViewerSelect::SetNewValue(), G4VisCommandViewerUpdate::SetNewValue(), G4VisCommandSceneAddMagneticField::SetNewValue(), G4VisCommandViewerZoom::SetNewValue(), G4VisCommandSceneAddPSHits::SetNewValue(), G4VisCommandSceneAddScale::SetNewValue(), G4VisCommandSceneAddText::SetNewValue(), G4VisCommandSceneAddText2D::SetNewValue(), G4VisCommandSceneAddTrajectories::SetNewValue(), G4VisCommandSceneAddUserAction::SetNewValue(), G4VisCommandSceneAddVolume::SetNewValue(), G4VRML1FileViewer::SetView(), G4VRML2FileViewer::SetView(), G4DAWNFILEViewer::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 2245 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 2276 of file G4VisManager.cc.
Definition at line 2206 of file G4VisManager.cc.
References fAvailableSceneHandlers, and ViewerShortName().
|
virtual |
Reimplemented from G4VVisManager.
Definition at line 2423 of file G4VisManager.cc.
References fIgnoreStateChanges.
void G4VisManager::Initialise | ( | ) |
Definition at line 250 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 2296 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 1202 of file G4VisManager.cc.
References G4Scene::CalculateExtent(), confirmations, fpScene, fSceneList, fVerbosity, G4cout, G4endl, G4Scene::GetName(), G4UImanager::GetUIpointer(), and warnings.
|
private |
|
private |
Definition at line 1578 of file G4VisManager.cc.
References G4cout, G4endl, and G4Colour::GetMap().
Referenced by Initialise(), and G4VisCommandList::SetNewValue().
|
protected |
Definition at line 1459 of file G4VisManager.cc.
References fAvailableGraphicsSystems, G4cout, G4endl, and warnings.
Referenced by Initialise(), and G4VisCommandList::SetNewValue().
|
private |
Definition at line 1487 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 1542 of file G4VisManager.cc.
References fEndOfEventUserVisActions, fEndOfRunUserVisActions, fRunDurationUserVisActions, G4cout, and G4endl.
Referenced by Initialise(), and G4VisCommandList::SetNewValue().
|
private |
Definition at line 1591 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 1291 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 1307 of file G4VisManager.cc.
References G4cout, G4endl, and G4VisExtent::GetExtentRadius().
G4bool G4VisManager::RegisterGraphicsSystem | ( | G4VGraphicsSystem * | pSystem | ) |
Definition at line 614 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 361 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 660 of file G4VisManager.cc.
References fpTrajDrawModelMgr, and G4VisModelManager< Model >::Register().
void G4VisManager::RegisterModel | ( | G4VFilter< G4VTrajectory > * | filter | ) |
Definition at line 671 of file G4VisManager.cc.
References fpTrajFilterMgr, and G4VisFilterManager< T >::Register().
Definition at line 682 of file G4VisManager.cc.
References fpHitFilterMgr, and G4VisFilterManager< T >::Register().
Definition at line 693 of file G4VisManager.cc.
References fpDigiFilterMgr, and G4VisFilterManager< T >::Register().
|
protectedvirtual |
Reimplemented in G4VisExecutive, and PyG4VisManager.
Definition at line 2407 of file G4VisManager.cc.
References fVerbosity, G4cout, G4endl, and warnings.
Referenced by Initialise().
void G4VisManager::RegisterModelFactory | ( | G4TrajDrawModelFactory * | factory | ) |
Definition at line 666 of file G4VisManager.cc.
References fpTrajDrawModelMgr, and G4VisModelManager< Model >::Register().
void G4VisManager::RegisterModelFactory | ( | G4TrajFilterFactory * | factory | ) |
Definition at line 677 of file G4VisManager.cc.
References fpTrajFilterMgr, and G4VisFilterManager< T >::Register().
void G4VisManager::RegisterModelFactory | ( | G4HitFilterFactory * | factory | ) |
Definition at line 688 of file G4VisManager.cc.
References fpHitFilterMgr, and G4VisFilterManager< T >::Register().
void G4VisManager::RegisterModelFactory | ( | G4DigiFilterFactory * | factory | ) |
Definition at line 699 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 1275 of file G4VisManager.cc.
References G4cout, G4endl, and G4VisExtent::GetExtentRadius().
Referenced by main().
void G4VisManager::ResetTransientsDrawnFlags | ( | ) |
Definition at line 2188 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 704 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 1331 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 1322 of file G4VisManager.cc.
References fpScene, and ResetTransientsDrawnFlags().
Referenced by G4RayTracerSceneHandler::G4RayTracerSceneHandler(), and G4VisCommandDrawTree::SetNewValue().
void G4VisManager::SetCurrentSceneHandler | ( | G4VSceneHandler * | pSceneHandler | ) |
Definition at line 1378 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 1430 of file G4VisManager.cc.
References confirmations, fpGraphicsSystem, fpScene, fpSceneHandler, fpViewer, fVerbosity, G4cout, G4endl, IsValidView(), G4VViewer::SetView(), 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::SetTransientsDrawnThisEvent | ( | G4bool | ) |
void G4VisManager::SetTransientsDrawnThisRun | ( | G4bool | ) |
void G4VisManager::SetUserAction | ( | G4VUserVisAction * | pVisAction, |
const G4VisExtent & | = G4VisExtent::NullExtent |
||
) |
void G4VisManager::SetUserActionExtent | ( | const G4VisExtent & | ) |
void G4VisManager::SetVerboseLevel | ( | G4int | intVerbosity | ) |
Definition at line 2288 of file G4VisManager.cc.
References fVerbosity, and GetVerbosityValue().
Referenced by main(), G4VisCommandVerbose::SetNewValue(), and G4VisCommandViewerInterpolate::SetNewValue().
void G4VisManager::SetVerboseLevel | ( | const G4String & | verbosityString | ) |
Definition at line 2292 of file G4VisManager.cc.
References fVerbosity, and GetVerbosityValue().
void G4VisManager::SetVerboseLevel | ( | Verbosity | ) |
Definition at line 2230 of file G4VisManager.cc.
References all, confirmations, errors, parameters, quiet, startup, and warnings.
Referenced by G4VisManager(), GetVerbosityValue(), and G4VisCommandVerbose::SetNewValue().
Definition at line 2200 of file G4VisManager.cc.
References G4String::strip().
Referenced by GetViewer().
|
friend |
Definition at line 130 of file G4VisManager.hh.
|
friend |
Definition at line 129 of file G4VisManager.hh.
Referenced by G4VisManager().
|
friend |
Definition at line 127 of file G4VisManager.hh.
|
friend |
Definition at line 128 of file G4VisManager.hh.
|
friend |
Definition at line 74 of file G4VGraphicsSystem.cc.
|
friend |
Definition at line 1060 of file G4VSceneHandler.cc.
|
private |
Definition at line 523 of file G4VisManager.hh.
|
private |
Definition at line 508 of file G4VisManager.hh.
Referenced by GetAvailableGraphicsSystems(), PrintAvailableGraphicsSystems(), RegisterGraphicsSystem(), and ~G4VisManager().
|
private |
Definition at line 510 of file G4VisManager.hh.
Referenced by CreateSceneHandler(), GetViewer(), ResetTransientsDrawnFlags(), SetCurrentGraphicsSystem(), and ~G4VisManager().
|
private |
Definition at line 524 of file G4VisManager.hh.
|
private |
Definition at line 513 of file G4VisManager.hh.
Referenced by G4VisManager(), Initialise(), RegisterMessengers(), and ~G4VisManager().
|
private |
Definition at line 526 of file G4VisManager.hh.
Referenced by BeginDraw(), BeginDraw2D(), EndDraw(), and EndDraw2D().
|
private |
Definition at line 501 of file G4VisManager.hh.
Referenced by PrintAvailableUserVisActions().
|
private |
Definition at line 502 of file G4VisManager.hh.
Referenced by PrintAvailableUserVisActions().
|
private |
Definition at line 520 of file G4VisManager.hh.
Referenced by BeginOfRun(), EndOfEvent(), and EndOfRun().
|
private |
Definition at line 515 of file G4VisManager.hh.
Referenced by EndOfRun().
|
private |
Definition at line 527 of file G4VisManager.hh.
Referenced by BeginOfEvent(), BeginOfRun(), EndOfEvent(), EndOfRun(), and IgnoreStateChanges().
|
private |
Definition at line 499 of file G4VisManager.hh.
Referenced by CreateSceneHandler(), Initialise(), and IsValidView().
|
private |
Definition at line 525 of file G4VisManager.hh.
Referenced by BeginDraw(), BeginDraw2D(), Draw(), EndDraw(), and EndDraw2D().
|
private |
Definition at line 521 of file G4VisManager.hh.
Referenced by BeginOfRun(), EndOfEvent(), and EndOfRun().
|
private |
Definition at line 512 of file G4VisManager.hh.
Referenced by ~G4VisManager().
|
private |
Definition at line 519 of file G4VisManager.hh.
Referenced by BeginOfRun(), EndOfEvent(), and EndOfRun().
|
private |
Definition at line 518 of file G4VisManager.hh.
Referenced by BeginOfRun(), EndOfEvent(), and EndOfRun().
|
private |
Definition at line 543 of file G4VisManager.hh.
Referenced by FilterDigi(), G4VisManager(), RegisterMessengers(), RegisterModel(), RegisterModelFactory(), and ~G4VisManager().
|
private |
Definition at line 504 of file G4VisManager.hh.
Referenced by CreateSceneHandler(), EndOfRun(), IsValidView(), PrintInvalidPointers(), SetCurrentGraphicsSystem(), SetCurrentSceneHandler(), and SetCurrentViewer().
|
private |
Definition at line 540 of file G4VisManager.hh.
Referenced by FilterHit(), G4VisManager(), RegisterMessengers(), RegisterModel(), RegisterModelFactory(), and ~G4VisManager().
|
staticprivate |
Definition at line 498 of file G4VisManager.hh.
Referenced by G4VisManager(), GetInstance(), and ~G4VisManager().
|
private |
Definition at line 522 of file G4VisManager.hh.
|
private |
Definition at line 505 of file G4VisManager.hh.
Referenced by EndOfEvent(), EndOfRun(), GeometryHasChanged(), IsValidView(), NotifyHandlers(), PrintInvalidPointers(), SetCurrentGraphicsSystem(), SetCurrentScene(), SetCurrentSceneHandler(), and SetCurrentViewer().
|
private |
Definition at line 506 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 514 of file G4VisManager.hh.
Referenced by G4VisManager().
|
private |
Definition at line 534 of file G4VisManager.hh.
Referenced by CurrentTrajDrawModel(), DispatchToModel(), G4VisManager(), PrintAvailableModels(), RegisterMessengers(), RegisterModel(), RegisterModelFactory(), SelectTrajectoryModel(), and ~G4VisManager().
|
private |
Definition at line 537 of file G4VisManager.hh.
Referenced by DispatchToModel(), FilterTrajectory(), G4VisManager(), PrintAvailableModels(), RegisterMessengers(), RegisterModel(), RegisterModelFactory(), and ~G4VisManager().
|
private |
Definition at line 507 of file G4VisManager.hh.
Referenced by BeginOfRun(), EndOfEvent(), EndOfRun(), IsValidView(), PrintInvalidPointers(), SetCurrentGraphicsSystem(), SetCurrentSceneHandler(), and SetCurrentViewer().
|
private |
Definition at line 500 of file G4VisManager.hh.
Referenced by PrintAvailableUserVisActions().
|
private |
Definition at line 509 of file G4VisManager.hh.
Referenced by GeometryHasChanged(), NotifyHandlers(), and ~G4VisManager().
|
private |
Definition at line 517 of file G4VisManager.hh.
Referenced by BeginOfEvent(), ClearTransientStoreIfMarked(), and ResetTransientsDrawnFlags().
|
private |
Definition at line 516 of file G4VisManager.hh.
Referenced by BeginOfRun(), ClearTransientStoreIfMarked(), and ResetTransientsDrawnFlags().
|
private |
Definition at line 503 of file G4VisManager.hh.
|
protected |
Definition at line 471 of file G4VisManager.hh.
|
staticprivate |
Definition at line 511 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 457 of file G4VisManager.hh.
Referenced by G4VisCommandVerbose::G4VisCommandVerbose(), G4VisManager(), and GetVerbosityValue().