| [531] | 1 | //
|
|---|
| 2 | // ********************************************************************
|
|---|
| 3 | // * License and Disclaimer *
|
|---|
| 4 | // * *
|
|---|
| 5 | // * The Geant4 software is copyright of the Copyright Holders of *
|
|---|
| 6 | // * the Geant4 Collaboration. It is provided under the terms and *
|
|---|
| 7 | // * conditions of the Geant4 Software License, included in the file *
|
|---|
| 8 | // * LICENSE and available at http://cern.ch/geant4/license . These *
|
|---|
| 9 | // * include a list of copyright holders. *
|
|---|
| 10 | // * *
|
|---|
| 11 | // * Neither the authors of this software system, nor their employing *
|
|---|
| 12 | // * institutes,nor the agencies providing financial support for this *
|
|---|
| 13 | // * work make any representation or warranty, express or implied, *
|
|---|
| 14 | // * regarding this software system or assume any liability for its *
|
|---|
| 15 | // * use. Please see the license in the file LICENSE and URL above *
|
|---|
| 16 | // * for the full disclaimer and the limitation of liability. *
|
|---|
| 17 | // * *
|
|---|
| 18 | // * This code implementation is the result of the scientific and *
|
|---|
| 19 | // * technical work of the GEANT4 collaboration. *
|
|---|
| 20 | // * By using, copying, modifying or distributing the software (or *
|
|---|
| 21 | // * any work based on the software) you agree to acknowledge its *
|
|---|
| 22 | // * use in resulting scientific publications, and indicate your *
|
|---|
| 23 | // * acceptance of all terms of the Geant4 Software license. *
|
|---|
| 24 | // ********************************************************************
|
|---|
| 25 | //
|
|---|
| 26 | //
|
|---|
| [907] | 27 | // $Id: G4VisManager.icc,v 1.21 2009/01/13 09:55:15 lgarnier Exp $
|
|---|
| [954] | 28 | // GEANT4 tag $Name: $
|
|---|
| [531] | 29 | //
|
|---|
| 30 | //
|
|---|
| 31 | // GEANT4 Visualization Manager - John Allison 02/Jan/1996.
|
|---|
| 32 |
|
|---|
| 33 | inline void G4VisManager::Initialize () {
|
|---|
| 34 | Initialise ();
|
|---|
| 35 | }
|
|---|
| 36 |
|
|---|
| 37 | inline G4VisExtent G4VisManager::GetUserActionExtent () const {
|
|---|
| 38 | return fUserVisActionExtent;
|
|---|
| 39 | }
|
|---|
| 40 |
|
|---|
| 41 | inline G4VUserVisAction* G4VisManager::GetUserAction () const {
|
|---|
| 42 | return fpUserVisAction;
|
|---|
| 43 | }
|
|---|
| 44 |
|
|---|
| 45 | inline G4VSceneHandler* G4VisManager::GetCurrentSceneHandler () const {
|
|---|
| 46 | return fpSceneHandler;
|
|---|
| 47 | }
|
|---|
| 48 |
|
|---|
| 49 | inline G4VViewer* G4VisManager::GetCurrentViewer () const {
|
|---|
| 50 | return fpViewer;
|
|---|
| 51 | }
|
|---|
| 52 |
|
|---|
| 53 | inline G4Scene* G4VisManager::GetCurrentScene () const {
|
|---|
| 54 | return fpScene;
|
|---|
| 55 | }
|
|---|
| 56 |
|
|---|
| 57 | inline const G4SceneHandlerList&
|
|---|
| 58 | G4VisManager::GetAvailableSceneHandlers () const {
|
|---|
| 59 | return fAvailableSceneHandlers;
|
|---|
| 60 | }
|
|---|
| 61 |
|
|---|
| 62 | inline const G4SceneList& G4VisManager::GetSceneList () const {
|
|---|
| 63 | return fSceneList;
|
|---|
| 64 | }
|
|---|
| 65 |
|
|---|
| 66 | inline G4VGraphicsSystem*
|
|---|
| 67 | G4VisManager::GetCurrentGraphicsSystem () const {
|
|---|
| 68 | return fpGraphicsSystem;
|
|---|
| 69 | }
|
|---|
| 70 |
|
|---|
| 71 | inline G4VisManager::Verbosity G4VisManager::GetVerbosity () const {
|
|---|
| 72 | return fVerbosity;
|
|---|
| 73 | }
|
|---|
| 74 |
|
|---|
| 75 |
|
|---|
| 76 | inline G4bool G4VisManager::GetTransientsDrawnThisEvent() const {
|
|---|
| 77 | return fTransientsDrawnThisEvent;
|
|---|
| 78 | }
|
|---|
| 79 |
|
|---|
| 80 | inline G4bool G4VisManager::GetTransientsDrawnThisRun() const {
|
|---|
| 81 | return fTransientsDrawnThisRun;
|
|---|
| 82 | }
|
|---|
| 83 |
|
|---|
| [593] | 84 | inline const G4Event* G4VisManager::GetRequestedEvent() const {
|
|---|
| 85 | return fpRequestedEvent;
|
|---|
| 86 | }
|
|---|
| 87 |
|
|---|
| 88 | inline G4bool G4VisManager::GetAbortReviewKeptEvents() const {
|
|---|
| 89 | return fAbortReviewKeptEvents;
|
|---|
| 90 | }
|
|---|
| 91 |
|
|---|
| [531] | 92 | inline void G4VisManager::SetUserActionExtent (const G4VisExtent& extent) {
|
|---|
| 93 | fUserVisActionExtent = extent;
|
|---|
| 94 | }
|
|---|
| 95 |
|
|---|
| 96 | inline G4SceneList& G4VisManager::SetSceneList () {
|
|---|
| 97 | return fSceneList;
|
|---|
| 98 | }
|
|---|
| 99 |
|
|---|
| 100 | inline G4SceneHandlerList& G4VisManager::SetAvailableSceneHandlers () {
|
|---|
| 101 | return fAvailableSceneHandlers;
|
|---|
| 102 | }
|
|---|
| 103 |
|
|---|
| 104 | inline void G4VisManager::SetVerboseLevel (G4VisManager::Verbosity verbosity) {
|
|---|
| 105 | fVerbosity = verbosity;
|
|---|
| 106 | }
|
|---|
| 107 |
|
|---|
| 108 | inline void G4VisManager::SetEventRefreshing (G4bool eventRefreshing) {
|
|---|
| 109 | fEventRefreshing = eventRefreshing;
|
|---|
| 110 | }
|
|---|
| 111 |
|
|---|
| 112 | inline void G4VisManager::RegisterMessenger(G4UImessenger* msgr)
|
|---|
| 113 | {
|
|---|
| 114 | fMessengerList.push_back(msgr);
|
|---|
| 115 | }
|
|---|
| [593] | 116 |
|
|---|
| 117 | inline void G4VisManager::SetRequestedEvent (const G4Event* event) {
|
|---|
| 118 | fpRequestedEvent = event;
|
|---|
| 119 | }
|
|---|
| 120 |
|
|---|
| 121 | inline void G4VisManager::SetAbortReviewKeptEvents (G4bool abort) {
|
|---|
| 122 | fAbortReviewKeptEvents = abort;
|
|---|
| 123 | }
|
|---|