ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
G4VisCommandsSceneAdd.hh
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file G4VisCommandsSceneAdd.hh
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 
28 // /vis/scene commands - John Allison 9th August 1998
29 // Michael Kelsey 31 Jan 2019 -- Add new command for electric field
30 
31 #ifndef G4VISCOMMANDSSCENEADD_HH
32 #define G4VISCOMMANDSSCENEADD_HH
33 
34 #include "G4VisCommandsScene.hh"
35 
37 class G4UIcmdWithAString;
39 
40 #include "G4Transform3D.hh"
41 #include "G4VisAttributes.hh"
42 #include "G4Polyline.hh"
43 #include "G4Text.hh"
44 #include "G4Timer.hh"
45 
47 public:
49  virtual ~G4VisCommandSceneAddArrow ();
51  void SetNewValue (G4UIcommand* command, G4String newValue);
52 private:
56 };
57 
59 public:
63  void SetNewValue (G4UIcommand* command, G4String newValue);
64 private:
67  struct Arrow2D {
70  G4double width, const G4Colour& colour);
76  };
78 };
79 
81 public:
83  virtual ~G4VisCommandSceneAddAxes ();
85  void SetNewValue (G4UIcommand* command, G4String newValue);
86 private:
90 };
91 
93 public:
95  virtual ~G4VisCommandSceneAddDate ();
97  void SetNewValue (G4UIcommand* command, G4String newValue);
98 private:
101  struct Date {
102  Date
103  (G4VisManager* vm, G4int size,
105  const G4String& date):
106  fpVisManager(vm), fSize(size),
107  fX(x), fY(y), fLayout(layout), fDate(date) {}
115  };
117 };
118 
120 public:
122  virtual ~G4VisCommandSceneAddDigis ();
124  void SetNewValue (G4UIcommand* command, G4String newValue);
125 private:
129 };
130 
132 public:
134  virtual ~G4VisCommandSceneAddEventID ();
136  void SetNewValue (G4UIcommand* command, G4String newValue);
137 private:
141  struct EventID {
143  G4double x, G4double y, G4Text::Layout layout):
144  fForWhat(w), fpVisManager(vm), fSize(size),
145  fX(x), fY(y), fLayout(layout) {}
152  };
154 };
155 
157 public:
159  virtual ~G4VisCommandSceneAddExtent ();
161  void SetNewValue (G4UIcommand* command, G4String newValue);
162 private:
165  struct Extent {
168  G4double zmin, G4double zmax);
171  };
173 };
174 
176 public:
180  void SetNewValue (G4UIcommand* command, G4String newValue);
181 private:
185 };
186 
188 public:
190  virtual ~G4VisCommandSceneAddFrame ();
192  void SetNewValue (G4UIcommand* command, G4String newValue);
193 private:
196  struct Frame {
197  Frame(G4double size, G4double width, const G4Colour& colour):
198  fSize(size), fWidth(width), fColour(colour) {}
203  };
205 };
206 
208 public:
210  virtual ~G4VisCommandSceneAddGPS ();
212  void SetNewValue (G4UIcommand* command, G4String newValue);
213 private:
217 };
218 
220 public:
222  virtual ~G4VisCommandSceneAddGhosts ();
224  void SetNewValue (G4UIcommand* command, G4String newValue);
225 private:
227  G4VisCommandSceneAddGhosts& operator =
230 };
231 
233 public:
235  virtual ~G4VisCommandSceneAddHits ();
237  void SetNewValue (G4UIcommand* command, G4String newValue);
238 private:
242 };
243 
245 public:
247  virtual ~G4VisCommandSceneAddLine ();
249  void SetNewValue (G4UIcommand* command, G4String newValue);
250 private:
253  struct Line {
256  G4double width, const G4Colour& colour);
261  };
263 };
264 
266 public:
268  virtual ~G4VisCommandSceneAddLine2D ();
270  void SetNewValue (G4UIcommand* command, G4String newValue);
271 private:
274  struct Line2D {
277  G4double width, const G4Colour& colour);
282  };
284 };
285 
287 public:
291  void SetNewValue (G4UIcommand* command, G4String newValue);
292 private:
297 };
298 
300 public:
302  virtual ~G4VisCommandSceneAddLogo ();
304  void SetNewValue (G4UIcommand* command, G4String newValue);
305 private:
308  // Direction of outward-facing normal to front face of logo.
310  struct G4Logo {
311  G4Logo(G4double height, const G4VisAttributes&);
312  ~G4Logo();
314  private:
317  };
319 };
320 
322 public:
324  virtual ~G4VisCommandSceneAddLogo2D ();
326  void SetNewValue (G4UIcommand* command, G4String newValue);
327 private:
330  struct Logo2D {
331  Logo2D
332  (G4VisManager* vm, G4int size,
333  G4double x, G4double y, G4Text::Layout layout):
334  fpVisManager(vm), fSize(size),
335  fX(x), fY(y), fLayout(layout) {}
341  };
343 };
344 
346 public:
350  void SetNewValue (G4UIcommand* command, G4String newValue);
351 private:
355 };
356 
358 public:
360  virtual ~G4VisCommandSceneAddPSHits ();
362  void SetNewValue (G4UIcommand* command, G4String newValue);
363 private:
367 };
368 
370 public:
372  virtual ~G4VisCommandSceneAddScale ();
374  void SetNewValue (G4UIcommand* command, G4String newValue);
375 private:
379 };
380 
382 public:
384  virtual ~G4VisCommandSceneAddText ();
386  void SetNewValue (G4UIcommand* command, G4String newValue);
387 private:
391 };
392 
394 public:
396  virtual ~G4VisCommandSceneAddText2D ();
398  void SetNewValue (G4UIcommand* command, G4String newValue);
399 private:
402  struct G4Text2D {
403  G4Text2D(const G4Text&);
405  private:
407  };
409 };
410 
412 public:
416  void SetNewValue (G4UIcommand* command, G4String newValue);
417 private:
422 };
423 
425 public:
429  void SetNewValue (G4UIcommand* command, G4String newValue);
430 private:
437 };
438 
440 public:
442  virtual ~G4VisCommandSceneAddVolume ();
444  void SetNewValue (G4UIcommand* command, G4String newValue);
445 private:
449 };
450 
451 #endif