Geant4  10.03.p03
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
G4VisCommandsViewer.hh
Go to the documentation of this file.
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 //
27 // $Id: G4VisCommandsViewer.hh 102575 2017-02-09 09:07:12Z gcosmo $
28 
29 // /vis/viewer commands - John Allison 25th October 1998
30 
31 #ifndef G4VISCOMMANDSVIEWER_HH
32 #define G4VISCOMMANDSVIEWER_HH
33 
34 #include "G4VVisCommand.hh"
35 
36 class G4VViewer;
37 class G4ViewParameters;
38 class G4UIcommand;
40 class G4UIcmdWithAString;
41 class G4UIcmdWithADouble;
43 class G4UIcmdWith3Vector;
44 
46 public:
48  virtual ~G4VVisCommandViewer ();
49 protected:
52 private:
54  G4VVisCommandViewer& operator = (const G4VVisCommandViewer&);
55 };
56 
58 public:
62  void SetNewValue (G4UIcommand* command, G4String newValue);
63 private:
66  G4UIcommand* fpCommand;
67 };
68 
70 public:
74  void SetNewValue (G4UIcommand* command, G4String newValue);
75 private:
78  G4UIcommand* fpCommand;
79 };
80 
82 public:
84  virtual ~G4VisCommandViewerClear ();
86  void SetNewValue (G4UIcommand* command, G4String newValue);
87 private:
90  G4UIcmdWithAString* fpCommand;
91 };
92 
94 public:
98  void SetNewValue (G4UIcommand* command, G4String newValue);
99 private:
102  G4UIcmdWithoutParameter* fpCommand;
103 };
104 
106 public:
110  void SetNewValue (G4UIcommand* command, G4String newValue);
111 private:
115  G4UIcmdWithAString* fpCommand;
116 };
117 
119 public:
123  void SetNewValue (G4UIcommand* command, G4String newValue);
124 private:
127  G4UIcmdWithoutParameter* fpCommand;
128 };
129 
131 public:
133  virtual ~G4VisCommandViewerClone ();
135  void SetNewValue (G4UIcommand* command, G4String newValue);
136 private:
138  G4VisCommandViewerClone& operator =
139  (const G4VisCommandViewerClone&);
140  G4UIcommand* fpCommand;
141 };
142 
144 public:
148  void SetNewValue (G4UIcommand* command, G4String newValue);
149 private:
153  G4UIcmdWithAString* fpCommand;
154 };
155 
157 public:
159  virtual ~G4VisCommandViewerCreate ();
161  void SetNewValue (G4UIcommand* command, G4String newValue);
162 private:
165  G4String NextName ();
166  G4UIcommand* fpCommand;
167  G4int fId;
168 };
169 
171 public:
173  virtual ~G4VisCommandViewerDolly ();
175  void SetNewValue (G4UIcommand* command, G4String newValue);
176 private:
179  G4UIcmdWithADoubleAndUnit* fpCommandDolly;
180  G4UIcmdWithADoubleAndUnit* fpCommandDollyTo;
181  G4double fDollyIncrement;
182  G4double fDollyTo;
183 };
184 
186 public:
188  virtual ~G4VisCommandViewerFlush ();
190  void SetNewValue (G4UIcommand* command, G4String newValue);
191 private:
194  G4UIcmdWithAString* fpCommand;
195 };
196 
198 public:
202  void SetNewValue (G4UIcommand* command, G4String newValue);
203 private:
206  G4UIcommand* fpCommand;
207 };
208 
210 public:
212  virtual ~G4VisCommandViewerList ();
214  void SetNewValue (G4UIcommand* command, G4String newValue);
215 private:
217  G4VisCommandViewerList& operator = (const G4VisCommandViewerList&);
218  G4UIcommand* fpCommand;
219 };
220 
222 public:
224  virtual ~G4VisCommandViewerPan ();
226  void SetNewValue (G4UIcommand* command, G4String newValue);
227 private:
229  G4VisCommandViewerPan& operator = (const G4VisCommandViewerPan&);
230  G4UIcommand* fpCommandPan;
231  G4UIcommand* fpCommandPanTo;
232  G4double fPanIncrementRight, fPanIncrementUp;
233  G4double fPanToRight, fPanToUp;
234 };
235 
237 public:
239  virtual ~G4VisCommandViewerReset ();
241  void SetNewValue (G4UIcommand* command, G4String newValue);
242 private:
245  G4UIcmdWithAString* fpCommand;
246 };
247 
249 public:
251  virtual ~G4VisCommandViewerRefresh ();
253  void SetNewValue (G4UIcommand* command, G4String newValue);
254 private:
257  G4UIcmdWithAString* fpCommand;
258 };
259 
261 public:
263  virtual ~G4VisCommandViewerRebuild ();
265  void SetNewValue (G4UIcommand* command, G4String newValue);
266 private:
269  G4UIcmdWithAString* fpCommand;
270 };
271 
273 public:
275  virtual ~G4VisCommandViewerSave ();
277  void SetNewValue (G4UIcommand* command, G4String newValue);
278 private:
280  G4VisCommandViewerSave& operator = (const G4VisCommandViewerSave&);
281  G4UIcmdWithAString* fpCommand;
282 };
283 
285 public:
287  virtual ~G4VisCommandViewerScale ();
289  void SetNewValue (G4UIcommand* command, G4String newValue);
290 private:
293  G4UIcmdWith3Vector* fpCommandScale;
294  G4UIcmdWith3Vector* fpCommandScaleTo;
295  G4Vector3D fScaleMultiplier;
296  G4Vector3D fScaleTo;
297 };
298 
300 public:
302  virtual ~G4VisCommandViewerSelect ();
304  void SetNewValue (G4UIcommand* command, G4String newValue);
305 private:
308  G4UIcmdWithAString* fpCommand;
309 };
310 
312 public:
314  virtual ~G4VisCommandViewerUpdate ();
316  void SetNewValue (G4UIcommand* command, G4String newValue);
317 private:
320  G4UIcmdWithAString* fpCommand;
321 };
322 
324 public:
326  virtual ~G4VisCommandViewerZoom ();
328  void SetNewValue (G4UIcommand* command, G4String newValue);
329 private:
331  G4VisCommandViewerZoom& operator = (const G4VisCommandViewerZoom&);
332  G4UIcmdWithADouble* fpCommandZoom;
333  G4UIcmdWithADouble* fpCommandZoomTo;
334  G4double fZoomMultiplier;
335  G4double fZoomTo;
336 };
337 
338 #endif
G4String GetCurrentValue(G4UIcommand *command)
G4String GetCurrentValue(G4UIcommand *command)
G4String GetCurrentValue(G4UIcommand *command)
void SetNewValue(G4UIcommand *command, G4String newValue)
void SetNewValue(G4UIcommand *command, G4String newValue)
void SetNewValue(G4UIcommand *command, G4String newValue)
void SetNewValue(G4UIcommand *command, G4String newValue)
void SetNewValue(G4UIcommand *command, G4String newValue)
void SetNewValue(G4UIcommand *command, G4String newValue)
G4String GetCurrentValue(G4UIcommand *command)
G4String GetCurrentValue(G4UIcommand *command)
void SetViewParameters(G4VViewer *, const G4ViewParameters &)
void SetNewValue(G4UIcommand *command, G4String newValue)
G4String GetCurrentValue(G4UIcommand *command)
G4String GetCurrentValue(G4UIcommand *command)
int G4int
Definition: G4Types.hh:78
G4String GetCurrentValue(G4UIcommand *command)
void SetNewValue(G4UIcommand *command, G4String newValue)
G4String GetCurrentValue(G4UIcommand *command)
void SetNewValue(G4UIcommand *command, G4String newValue)
void SetNewValue(G4UIcommand *command, G4String newValue)
G4String GetCurrentValue(G4UIcommand *command)
void SetNewValue(G4UIcommand *command, G4String newValue)
void SetNewValue(G4UIcommand *command, G4String newValue)
void SetNewValue(G4UIcommand *command, G4String newValue)
void SetNewValue(G4UIcommand *command, G4String newValue)
G4String GetCurrentValue(G4UIcommand *command)
void SetNewValue(G4UIcommand *command, G4String newValue)
void SetNewValue(G4UIcommand *command, G4String newValue)
void RefreshIfRequired(G4VViewer *)
void SetNewValue(G4UIcommand *command, G4String newValue)
void SetNewValue(G4UIcommand *command, G4String newValue)
void SetNewValue(G4UIcommand *command, G4String newValue)
G4String GetCurrentValue(G4UIcommand *command)
G4String GetCurrentValue(G4UIcommand *command)
G4String GetCurrentValue(G4UIcommand *command)
G4String GetCurrentValue(G4UIcommand *command)
void SetNewValue(G4UIcommand *command, G4String newValue)
double G4double
Definition: G4Types.hh:76
G4String GetCurrentValue(G4UIcommand *command)
G4String GetCurrentValue(G4UIcommand *command)
G4String GetCurrentValue(G4UIcommand *command)
G4String GetCurrentValue(G4UIcommand *command)
G4String GetCurrentValue(G4UIcommand *command)
G4String GetCurrentValue(G4UIcommand *command)
void SetNewValue(G4UIcommand *command, G4String newValue)
void SetNewValue(G4UIcommand *command, G4String newValue)