G4VisManager.icc

Go to the documentation of this file.
00001 //
00002 // ********************************************************************
00003 // * License and Disclaimer                                           *
00004 // *                                                                  *
00005 // * The  Geant4 software  is  copyright of the Copyright Holders  of *
00006 // * the Geant4 Collaboration.  It is provided  under  the terms  and *
00007 // * conditions of the Geant4 Software License,  included in the file *
00008 // * LICENSE and available at  http://cern.ch/geant4/license .  These *
00009 // * include a list of copyright holders.                             *
00010 // *                                                                  *
00011 // * Neither the authors of this software system, nor their employing *
00012 // * institutes,nor the agencies providing financial support for this *
00013 // * work  make  any representation or  warranty, express or implied, *
00014 // * regarding  this  software system or assume any liability for its *
00015 // * use.  Please see the license in the file  LICENSE  and URL above *
00016 // * for the full disclaimer and the limitation of liability.         *
00017 // *                                                                  *
00018 // * This  code  implementation is the result of  the  scientific and *
00019 // * technical work of the GEANT4 collaboration.                      *
00020 // * By using,  copying,  modifying or  distributing the software (or *
00021 // * any work based  on the software)  you  agree  to acknowledge its *
00022 // * use  in  resulting  scientific  publications,  and indicate your *
00023 // * acceptance of all terms of the Geant4 Software license.          *
00024 // ********************************************************************
00025 //
00026 //
00027 // $Id$
00028 //
00029 // 
00030 // GEANT4 Visualization Manager - John Allison 02/Jan/1996.
00031 
00032 inline void G4VisManager::Initialize () {
00033   Initialise ();
00034 }
00035 
00036 inline const std::vector<G4VisManager::UserVisAction>&
00037 G4VisManager::GetRunDurationUserVisActions () const {
00038   return fRunDurationUserVisActions;
00039 }
00040 
00041 inline const std::vector<G4VisManager::UserVisAction>&
00042 G4VisManager::GetEndOfEventUserVisActions () const {
00043   return fEndOfEventUserVisActions;
00044 }
00045 
00046 inline const std::vector<G4VisManager::UserVisAction>&
00047 G4VisManager::GetEndOfRunUserVisActions () const {
00048   return fEndOfRunUserVisActions;
00049 }
00050 
00051 inline const std::map<G4VUserVisAction*,G4VisExtent>&
00052 G4VisManager::GetUserVisActionExtents () const {
00053   return fUserVisActionExtents;
00054 }
00055 
00056 inline G4VSceneHandler* G4VisManager::GetCurrentSceneHandler () const {
00057   return fpSceneHandler;
00058 }
00059 
00060 inline G4VViewer* G4VisManager::GetCurrentViewer () const {
00061   return fpViewer;
00062 }
00063 
00064 inline G4Scene* G4VisManager::GetCurrentScene () const {
00065   return fpScene;
00066 }
00067 
00068 inline const G4SceneHandlerList&
00069 G4VisManager::GetAvailableSceneHandlers () const {
00070   return fAvailableSceneHandlers;
00071 }
00072 
00073 inline const G4SceneList& G4VisManager::GetSceneList () const {
00074   return fSceneList;
00075 }
00076 
00077 inline G4VGraphicsSystem*
00078 G4VisManager::GetCurrentGraphicsSystem () const {
00079   return fpGraphicsSystem;
00080 }
00081 
00082 inline G4bool G4VisManager::GetTransientsDrawnThisEvent() const {
00083   return fTransientsDrawnThisEvent;
00084 }
00085 
00086 inline G4bool G4VisManager::GetTransientsDrawnThisRun() const {
00087   return fTransientsDrawnThisRun;
00088 }
00089 
00090 inline const G4Event* G4VisManager::GetRequestedEvent() const {
00091   return fpRequestedEvent;
00092 }
00093 
00094 inline G4bool G4VisManager::GetAbortReviewKeptEvents() const {
00095   return fAbortReviewKeptEvents;
00096 }
00097 
00098 inline const G4ViewParameters& G4VisManager::GetDefaultViewParameters() const {
00099   return fDefaultViewParameters;
00100 }
00101 
00102 inline void G4VisManager::SetUserAction
00103 (G4VUserVisAction* pVisAction,
00104  const G4VisExtent& extent) {
00105   RegisterRunDurationUserVisAction("SetUserAction",pVisAction,extent);
00106 }
00107 
00108 inline G4SceneList& G4VisManager::SetSceneList () {
00109   return fSceneList;
00110 }
00111 
00112 inline G4SceneHandlerList& G4VisManager::SetAvailableSceneHandlers () {
00113   return fAvailableSceneHandlers;
00114 }
00115 
00116 inline void G4VisManager::SetVerboseLevel (G4VisManager::Verbosity verbosity) {
00117   fVerbosity = verbosity;
00118 }
00119 
00120 inline void G4VisManager::SetEventRefreshing (G4bool eventRefreshing) {
00121   fEventRefreshing = eventRefreshing;
00122 }
00123 
00124 inline void G4VisManager::RegisterMessenger(G4UImessenger* msgr)
00125 {
00126   fMessengerList.push_back(msgr);
00127 }
00128 
00129 inline void G4VisManager::SetRequestedEvent (const G4Event* event) {
00130   fpRequestedEvent = event;
00131 }
00132 
00133 inline void G4VisManager::SetAbortReviewKeptEvents (G4bool abort) {
00134   fAbortReviewKeptEvents = abort;
00135 }
00136 
00137 inline void G4VisManager::SetDefaultViewParameters
00138 (const G4ViewParameters& vp) {
00139   fDefaultViewParameters = vp;
00140 }

Generated on Mon May 27 17:50:16 2013 for Geant4 by  doxygen 1.4.7