Geant4 9.6.0
Toolkit for the simulation of the passage of particles through matter
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
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$
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
36class G4VViewer;
38class G4UIcommand;
44
46public:
48 virtual ~G4VVisCommandViewer ();
49protected:
52private:
54 G4VVisCommandViewer& operator = (const G4VVisCommandViewer&);
55};
56
58public:
62 void SetNewValue (G4UIcommand* command, G4String newValue);
63private:
66 G4UIcommand* fpCommand;
67};
68
70public:
74 void SetNewValue (G4UIcommand* command, G4String newValue);
75private:
78 G4UIcommand* fpCommand;
79};
80
82public:
84 virtual ~G4VisCommandViewerClear ();
86 void SetNewValue (G4UIcommand* command, G4String newValue);
87private:
90 G4UIcmdWithAString* fpCommand;
91};
92
94public:
98 void SetNewValue (G4UIcommand* command, G4String newValue);
99private:
102 G4UIcmdWithoutParameter* fpCommand;
103};
104
106public:
110 void SetNewValue (G4UIcommand* command, G4String newValue);
111private:
115 G4UIcmdWithAString* fpCommand;
116};
117
119public:
121 virtual ~G4VisCommandViewerClone ();
123 void SetNewValue (G4UIcommand* command, G4String newValue);
124private:
126 G4VisCommandViewerClone& operator =
128 G4UIcommand* fpCommand;
129};
130
132public:
136 void SetNewValue (G4UIcommand* command, G4String newValue);
137private:
141 G4UIcmdWithAString* fpCommand;
142};
143
145public:
147 virtual ~G4VisCommandViewerCreate ();
149 void SetNewValue (G4UIcommand* command, G4String newValue);
150private:
153 G4String NextName ();
154 G4UIcommand* fpCommand;
155 G4int fId;
156};
157
159public:
161 virtual ~G4VisCommandViewerDolly ();
163 void SetNewValue (G4UIcommand* command, G4String newValue);
164private:
167 G4UIcmdWithADoubleAndUnit* fpCommandDolly;
168 G4UIcmdWithADoubleAndUnit* fpCommandDollyTo;
169 G4double fDollyIncrement;
170 G4double fDollyTo;
171};
172
174public:
176 virtual ~G4VisCommandViewerFlush ();
178 void SetNewValue (G4UIcommand* command, G4String newValue);
179private:
182 G4UIcmdWithAString* fpCommand;
183};
184
186public:
188 virtual ~G4VisCommandViewerList ();
190 void SetNewValue (G4UIcommand* command, G4String newValue);
191private:
194 G4UIcommand* fpCommand;
195};
196
198public:
200 virtual ~G4VisCommandViewerPan ();
202 void SetNewValue (G4UIcommand* command, G4String newValue);
203private:
205 G4VisCommandViewerPan& operator = (const G4VisCommandViewerPan&);
206 G4UIcommand* fpCommandPan;
207 G4UIcommand* fpCommandPanTo;
208 G4double fPanIncrementRight, fPanIncrementUp;
209 G4double fPanToRight, fPanToUp;
210};
211
213public:
215 virtual ~G4VisCommandViewerReset ();
217 void SetNewValue (G4UIcommand* command, G4String newValue);
218private:
221 G4UIcmdWithAString* fpCommand;
222};
223
225public:
229 void SetNewValue (G4UIcommand* command, G4String newValue);
230private:
233 G4UIcmdWithAString* fpCommand;
234};
235
237public:
241 void SetNewValue (G4UIcommand* command, G4String newValue);
242private:
245 G4UIcmdWithAString* fpCommand;
246};
247
249public:
251 virtual ~G4VisCommandViewerSave ();
253 void SetNewValue (G4UIcommand* command, G4String newValue);
254private:
257 G4UIcmdWithAString* fpCommand;
258};
259
261public:
263 virtual ~G4VisCommandViewerScale ();
265 void SetNewValue (G4UIcommand* command, G4String newValue);
266private:
269 G4UIcmdWith3Vector* fpCommandScale;
270 G4UIcmdWith3Vector* fpCommandScaleTo;
271 G4Vector3D fScaleMultiplier;
272 G4Vector3D fScaleTo;
273};
274
276public:
278 virtual ~G4VisCommandViewerSelect ();
280 void SetNewValue (G4UIcommand* command, G4String newValue);
281private:
284 G4UIcmdWithAString* fpCommand;
285};
286
288public:
290 virtual ~G4VisCommandViewerUpdate ();
292 void SetNewValue (G4UIcommand* command, G4String newValue);
293private:
296 G4UIcmdWithAString* fpCommand;
297};
298
300public:
302 virtual ~G4VisCommandViewerZoom ();
304 void SetNewValue (G4UIcommand* command, G4String newValue);
305private:
308 G4UIcmdWithADouble* fpCommandZoom;
309 G4UIcmdWithADouble* fpCommandZoomTo;
310 G4double fZoomMultiplier;
311 G4double fZoomTo;
312};
313
314#endif
double G4double
Definition: G4Types.hh:64
int G4int
Definition: G4Types.hh:66
void RefreshIfRequired(G4VViewer *)
void SetViewParameters(G4VViewer *, const G4ViewParameters &)
void SetNewValue(G4UIcommand *command, G4String newValue)
G4String GetCurrentValue(G4UIcommand *command)
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)
G4String GetCurrentValue(G4UIcommand *command)
void SetNewValue(G4UIcommand *command, G4String newValue)
G4String GetCurrentValue(G4UIcommand *command)
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)
G4String GetCurrentValue(G4UIcommand *command)
void SetNewValue(G4UIcommand *command, G4String newValue)
G4String GetCurrentValue(G4UIcommand *command)
void SetNewValue(G4UIcommand *command, G4String newValue)
G4String GetCurrentValue(G4UIcommand *command)
G4String GetCurrentValue(G4UIcommand *command)
void SetNewValue(G4UIcommand *command, G4String newValue)
G4String GetCurrentValue(G4UIcommand *command)
void SetNewValue(G4UIcommand *command, G4String newValue)
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)
G4String GetCurrentValue(G4UIcommand *command)
void SetNewValue(G4UIcommand *command, G4String newValue)
G4String GetCurrentValue(G4UIcommand *command)
void SetNewValue(G4UIcommand *command, G4String newValue)
G4String GetCurrentValue(G4UIcommand *command)
void SetNewValue(G4UIcommand *command, G4String newValue)
G4String GetCurrentValue(G4UIcommand *command)
void SetNewValue(G4UIcommand *command, G4String newValue)
G4String GetCurrentValue(G4UIcommand *command)
void SetNewValue(G4UIcommand *command, G4String newValue)