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10.5.p1 ] [ 10.6 ] [ 10.6.p1 ] [ 10.6.p2 ] [ 10.6.p3 ] [ 10.7 ] [ 10.7.p1 ] [ 10.7.p2 ] [ 10.7.p3 ] [ 10.7.p4 ] [ 11.0 ] [ 11.0.p1 ] [ 11.0.p2 ] [ 11.0.p3, ] [ 11.0.p4 ] [ 11.1 ] [ 11.1.1 ] [ 11.1.2 ] [ 11.1.3 ] [ 11.2 ] [ 11.2.1 ] [ 11.2.2 ] [ 11.3.0 ]

Diff markup

Differences between /visualization/management/include/G4VisManager.icc (Version 11.3.0) and /visualization/management/include/G4VisManager.icc (Version 6.0.p1)


  1 //                                                  1 //
  2 // *******************************************      2 // ********************************************************************
  3 // * License and Disclaimer                    <<   3 // * DISCLAIMER                                                       *
  4 // *                                                4 // *                                                                  *
  5 // * The  Geant4 software  is  copyright of th <<   5 // * The following disclaimer summarizes all the specific disclaimers *
  6 // * the Geant4 Collaboration.  It is provided <<   6 // * of contributors to this software. The specific disclaimers,which *
  7 // * conditions of the Geant4 Software License <<   7 // * govern, are listed with their locations in:                      *
  8 // * LICENSE and available at  http://cern.ch/ <<   8 // *   http://cern.ch/geant4/license                                  *
  9 // * include a list of copyright holders.      << 
 10 // *                                                9 // *                                                                  *
 11 // * Neither the authors of this software syst     10 // * Neither the authors of this software system, nor their employing *
 12 // * institutes,nor the agencies providing fin     11 // * institutes,nor the agencies providing financial support for this *
 13 // * work  make  any representation or  warran     12 // * work  make  any representation or  warranty, express or implied, *
 14 // * regarding  this  software system or assum     13 // * regarding  this  software system or assume any liability for its *
 15 // * use.  Please see the license in the file  <<  14 // * use.                                                             *
 16 // * for the full disclaimer and the limitatio << 
 17 // *                                               15 // *                                                                  *
 18 // * This  code  implementation is the result  <<  16 // * This  code  implementation is the  intellectual property  of the *
 19 // * technical work of the GEANT4 collaboratio <<  17 // * GEANT4 collaboration.                                            *
 20 // * By using,  copying,  modifying or  distri <<  18 // * By copying,  distributing  or modifying the Program (or any work *
 21 // * any work based  on the software)  you  ag <<  19 // * based  on  the Program)  you indicate  your  acceptance of  this *
 22 // * use  in  resulting  scientific  publicati <<  20 // * statement, and all its terms.                                    *
 23 // * acceptance of all terms of the Geant4 Sof << 
 24 // *******************************************     21 // ********************************************************************
 25 //                                                 22 //
 26 //                                                 23 //
                                                   >>  24 // $Id: G4VisManager.icc,v 1.8 2001/08/05 02:29:05 johna Exp $
                                                   >>  25 // GEANT4 tag $Name: geant4-05-02-patch-01 $
 27 //                                                 26 //
 28 //                                                 27 // 
 29 // GEANT4 Visualization Manager - John Allison     28 // GEANT4 Visualization Manager - John Allison 02/Jan/1996.
 30                                                    29 
 31 inline void G4VisManager::Initialize () {          30 inline void G4VisManager::Initialize () {
 32   Initialise ();                                   31   Initialise ();
 33 }                                                  32 }
 34                                                    33 
 35 inline G4bool G4VisManager::IsEnabled () const << 
 36   return GetConcreteInstance();                << 
 37 }                                              << 
 38                                                << 
 39 inline const std::vector<G4VisManager::UserVis << 
 40 G4VisManager::GetRunDurationUserVisActions ()  << 
 41   return fRunDurationUserVisActions;           << 
 42 }                                              << 
 43                                                << 
 44 inline const std::vector<G4VisManager::UserVis << 
 45 G4VisManager::GetEndOfEventUserVisActions () c << 
 46   return fEndOfEventUserVisActions;            << 
 47 }                                              << 
 48                                                << 
 49 inline const std::vector<G4VisManager::UserVis << 
 50 G4VisManager::GetEndOfRunUserVisActions () con << 
 51   return fEndOfRunUserVisActions;              << 
 52 }                                              << 
 53                                                << 
 54 inline const std::map<G4VUserVisAction*,G4VisE << 
 55 G4VisManager::GetUserVisActionExtents () const << 
 56   return fUserVisActionExtents;                << 
 57 }                                              << 
 58                                                << 
 59 inline G4VSceneHandler* G4VisManager::GetCurre     34 inline G4VSceneHandler* G4VisManager::GetCurrentSceneHandler () const {
 60   return fpSceneHandler;                           35   return fpSceneHandler;
 61 }                                                  36 }
 62                                                    37 
 63 inline G4VViewer* G4VisManager::GetCurrentView     38 inline G4VViewer* G4VisManager::GetCurrentViewer () const {
 64   return fpViewer;                                 39   return fpViewer;
 65 }                                                  40 }
 66                                                    41 
 67 inline G4Scene* G4VisManager::GetCurrentScene      42 inline G4Scene* G4VisManager::GetCurrentScene () const {
 68   return fpScene;                                  43   return fpScene;
 69 }                                                  44 }
 70                                                    45 
 71 inline const G4SceneHandlerList&                   46 inline const G4SceneHandlerList&
 72 G4VisManager::GetAvailableSceneHandlers () con     47 G4VisManager::GetAvailableSceneHandlers () const {
 73   return fAvailableSceneHandlers;                  48   return fAvailableSceneHandlers;
 74 }                                                  49 }
 75                                                    50 
 76 inline const G4SceneList& G4VisManager::GetSce     51 inline const G4SceneList& G4VisManager::GetSceneList () const {
 77   return fSceneList;                               52   return fSceneList;
 78 }                                                  53 }
 79                                                    54 
 80 inline G4VGraphicsSystem*                          55 inline G4VGraphicsSystem*
 81 G4VisManager::GetCurrentGraphicsSystem () cons     56 G4VisManager::GetCurrentGraphicsSystem () const {
 82   return fpGraphicsSystem;                         57   return fpGraphicsSystem;
 83 }                                                  58 }
 84                                                    59 
 85 inline G4bool G4VisManager::GetTransientsDrawn <<  60 inline G4VisManager::Verbosity G4VisManager::GetVerbosity () const {
 86   return fTransientsDrawnThisEvent;            <<  61   return fVerbosity;
 87 }                                              << 
 88                                                << 
 89 inline G4bool G4VisManager::GetTransientsDrawn << 
 90   return fTransientsDrawnThisRun;              << 
 91 }                                              << 
 92                                                << 
 93 inline G4bool G4VisManager::GetDrawEventOnlyIf << 
 94   return fDrawEventOnlyIfToBeKept;             << 
 95 }                                              << 
 96                                                << 
 97 inline const G4Event* G4VisManager::GetRequest << 
 98   return fpRequestedEvent;                     << 
 99 }                                              << 
100                                                << 
101 inline G4int G4VisManager::GetNKeepForPostProc << 
102   return fNKeepForPostProcessingRequests;      << 
103 }                                              << 
104                                                << 
105 inline G4int G4VisManager::GetNKeepTheEventReq << 
106   return fNKeepTheEventRequests;               << 
107 }                                              << 
108                                                << 
109 inline G4bool G4VisManager::GetReviewingKeptEv << 
110   return fReviewingKeptEvents;                 << 
111 }                                              << 
112                                                << 
113 inline G4bool G4VisManager::GetAbortReviewKept << 
114   return fAbortReviewKeptEvents;               << 
115 }                                              << 
116                                                << 
117 inline G4bool G4VisManager::GetReviewingPlots( << 
118   return fReviewingPlots;                      << 
119 }                                              << 
120                                                << 
121 inline G4bool G4VisManager::GetAbortReviewPlot << 
122   return fAbortReviewPlots;                    << 
123 }                                              << 
124                                                << 
125 inline const G4ViewParameters& G4VisManager::G << 
126   return fDefaultViewParameters;               << 
127 }                                              << 
128                                                << 
129 inline G4int G4VisManager::GetMaxEventQueueSiz << 
130   return fMaxEventQueueSize;                   << 
131 }                                              << 
132                                                << 
133 inline G4bool G4VisManager::GetWaitOnEventQueu << 
134   return fWaitOnEventQueueFull;                << 
135 }                                              << 
136                                                << 
137 inline const G4String& G4VisManager::GetDefaul << 
138   return fDefaultGraphicsSystemName;           << 
139 }                                              << 
140                                                << 
141 inline const G4String& G4VisManager::GetDefaul << 
142   return fDefaultXGeometryString;              << 
143 }                                                  62 }
144                                                    63 
145 inline const G4String& G4VisManager::GetDefaul <<  64 inline void G4VisManager::GetWindowSizeHint
146   return fDefaultGraphicsSystemBasis;          <<  65  (G4int& xHint, G4int& yHint) const {
                                                   >>  66   xHint = fWindowSizeHintX; yHint = fWindowSizeHintY;
147 }                                                  67 }
148                                                    68 
149 inline const G4String& G4VisManager::GetDefaul <<  69 inline void G4VisManager::SetCurrentScene (G4Scene* pScene) {
150   return fDefaultXGeometryStringBasis;         <<  70   fpScene = pScene;
151 }                                                  71 }
152                                                    72 
153 inline G4SceneList& G4VisManager::SetSceneList     73 inline G4SceneList& G4VisManager::SetSceneList () {
154   return fSceneList;                               74   return fSceneList;
155 }                                                  75 }
156                                                    76 
157 inline G4SceneHandlerList& G4VisManager::SetAv     77 inline G4SceneHandlerList& G4VisManager::SetAvailableSceneHandlers () {
158   return fAvailableSceneHandlers;                  78   return fAvailableSceneHandlers;
159 }                                                  79 }
160                                                    80 
161 inline void G4VisManager::SetVerboseLevel (G4V     81 inline void G4VisManager::SetVerboseLevel (G4VisManager::Verbosity verbosity) {
162   fVerbosity = verbosity;                          82   fVerbosity = verbosity;
163 }                                                  83 }
164                                                    84 
165 inline void G4VisManager::SetEventRefreshing ( <<  85 inline void G4VisManager::SetWindowSizeHint (G4int xHint, G4int yHint) {
166   fEventRefreshing = eventRefreshing;          <<  86   fWindowSizeHintX = xHint; fWindowSizeHintY = yHint;
167 }                                              << 
168                                                << 
169 inline void G4VisManager::RegisterMessenger(G4 << 
170 {                                              << 
171   fMessengerList.push_back(msgr);              << 
172 }                                              << 
173                                                << 
174 inline void G4VisManager::SetTransientsDrawnTh << 
175   fTransientsDrawnThisRun = b;                 << 
176 }                                              << 
177                                                << 
178 inline void G4VisManager::SetTransientsDrawnTh << 
179   fTransientsDrawnThisEvent = b;               << 
180 }                                              << 
181                                                << 
182 inline void G4VisManager::SetDrawEventOnlyIfTo << 
183   fDrawEventOnlyIfToBeKept = b;                << 
184 }                                              << 
185                                                << 
186 inline void G4VisManager::SetRequestedEvent (c << 
187   fpRequestedEvent = event;                    << 
188 }                                              << 
189                                                << 
190 inline void G4VisManager::SetReviewingKeptEven << 
191   fReviewingKeptEvents = reveiwing;            << 
192 }                                              << 
193                                                << 
194 inline void G4VisManager::SetAbortReviewKeptEv << 
195   fAbortReviewKeptEvents = abort;              << 
196 }                                              << 
197                                                << 
198 inline void G4VisManager::SetReviewingPlots (G << 
199   fReviewingPlots = reveiwing;                 << 
200 }                                              << 
201                                                << 
202 inline void G4VisManager::SetAbortReviewPlots  << 
203   fAbortReviewPlots = abort;                   << 
204 }                                              << 
205                                                << 
206 inline void G4VisManager::SetDefaultViewParame << 
207 (const G4ViewParameters& vp) {                 << 
208   fDefaultViewParameters = vp;                 << 
209 }                                              << 
210                                                << 
211 inline void G4VisManager::SetMaxEventQueueSize << 
212   fMaxEventQueueSize = size;                   << 
213 }                                              << 
214                                                << 
215 inline void G4VisManager::SetWaitOnEventQueueF << 
216   fWaitOnEventQueueFull = wait;                << 
217 }                                              << 
218                                                << 
219 inline void G4VisManager::SetDefaultGraphicsSy << 
220   fDefaultGraphicsSystemName = name;           << 
221 }                                              << 
222                                                << 
223 inline void G4VisManager::SetDefaultXGeometryS << 
224   fDefaultXGeometryString = string;            << 
225 }                                              << 
226                                                << 
227 inline void G4VisManager::SetDefaultGraphicsSy << 
228   fDefaultGraphicsSystemBasis = basis;         << 
229 }                                              << 
230                                                << 
231 inline void G4VisManager::SetDefaultXGeometryS << 
232   fDefaultXGeometryStringBasis = basis;        << 
233 }                                                  87 }
234                                                    88