Geant4.10
 All Data Structures 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 66373 2012-12-18 09:41:34Z 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:
121  virtual ~G4VisCommandViewerClone ();
123  void SetNewValue (G4UIcommand* command, G4String newValue);
124 private:
126  G4VisCommandViewerClone& operator =
127  (const G4VisCommandViewerClone&);
128  G4UIcommand* fpCommand;
129 };
130 
132 public:
136  void SetNewValue (G4UIcommand* command, G4String newValue);
137 private:
141  G4UIcmdWithAString* fpCommand;
142 };
143 
145 public:
147  virtual ~G4VisCommandViewerCreate ();
149  void SetNewValue (G4UIcommand* command, G4String newValue);
150 private:
153  G4String NextName ();
154  G4UIcommand* fpCommand;
155  G4int fId;
156 };
157 
159 public:
161  virtual ~G4VisCommandViewerDolly ();
163  void SetNewValue (G4UIcommand* command, G4String newValue);
164 private:
167  G4UIcmdWithADoubleAndUnit* fpCommandDolly;
168  G4UIcmdWithADoubleAndUnit* fpCommandDollyTo;
169  G4double fDollyIncrement;
170  G4double fDollyTo;
171 };
172 
174 public:
176  virtual ~G4VisCommandViewerFlush ();
178  void SetNewValue (G4UIcommand* command, G4String newValue);
179 private:
182  G4UIcmdWithAString* fpCommand;
183 };
184 
186 public:
188  virtual ~G4VisCommandViewerList ();
190  void SetNewValue (G4UIcommand* command, G4String newValue);
191 private:
193  G4VisCommandViewerList& operator = (const G4VisCommandViewerList&);
194  G4UIcommand* fpCommand;
195 };
196 
198 public:
200  virtual ~G4VisCommandViewerPan ();
202  void SetNewValue (G4UIcommand* command, G4String newValue);
203 private:
205  G4VisCommandViewerPan& operator = (const G4VisCommandViewerPan&);
206  G4UIcommand* fpCommandPan;
207  G4UIcommand* fpCommandPanTo;
208  G4double fPanIncrementRight, fPanIncrementUp;
209  G4double fPanToRight, fPanToUp;
210 };
211 
213 public:
215  virtual ~G4VisCommandViewerReset ();
217  void SetNewValue (G4UIcommand* command, G4String newValue);
218 private:
221  G4UIcmdWithAString* fpCommand;
222 };
223 
225 public:
227  virtual ~G4VisCommandViewerRefresh ();
229  void SetNewValue (G4UIcommand* command, G4String newValue);
230 private:
233  G4UIcmdWithAString* fpCommand;
234 };
235 
237 public:
239  virtual ~G4VisCommandViewerRebuild ();
241  void SetNewValue (G4UIcommand* command, G4String newValue);
242 private:
245  G4UIcmdWithAString* fpCommand;
246 };
247 
249 public:
251  virtual ~G4VisCommandViewerSave ();
253  void SetNewValue (G4UIcommand* command, G4String newValue);
254 private:
256  G4VisCommandViewerSave& operator = (const G4VisCommandViewerSave&);
257  G4UIcmdWithAString* fpCommand;
258 };
259 
261 public:
263  virtual ~G4VisCommandViewerScale ();
265  void SetNewValue (G4UIcommand* command, G4String newValue);
266 private:
269  G4UIcmdWith3Vector* fpCommandScale;
270  G4UIcmdWith3Vector* fpCommandScaleTo;
271  G4Vector3D fScaleMultiplier;
272  G4Vector3D fScaleTo;
273 };
274 
276 public:
278  virtual ~G4VisCommandViewerSelect ();
280  void SetNewValue (G4UIcommand* command, G4String newValue);
281 private:
284  G4UIcmdWithAString* fpCommand;
285 };
286 
288 public:
290  virtual ~G4VisCommandViewerUpdate ();
292  void SetNewValue (G4UIcommand* command, G4String newValue);
293 private:
296  G4UIcmdWithAString* fpCommand;
297 };
298 
300 public:
302  virtual ~G4VisCommandViewerZoom ();
304  void SetNewValue (G4UIcommand* command, G4String newValue);
305 private:
307  G4VisCommandViewerZoom& operator = (const G4VisCommandViewerZoom&);
308  G4UIcmdWithADouble* fpCommandZoom;
309  G4UIcmdWithADouble* fpCommandZoomTo;
310  G4double fZoomMultiplier;
311  G4double fZoomTo;
312 };
313 
314 #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)
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)
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)