Geant4  v4-10.4-release
 모두 클래스 네임스페이스들 파일들 함수 변수 타입정의 열거형 타입 열거형 멤버 Friends 매크로 그룹들 페이지들
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 // $Id: G4VisCommandsSceneAdd.hh 104163 2017-05-15 06:52:42Z gcosmo $
28 
29 // /vis/scene commands - John Allison 9th August 1998
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:
140  struct EventID {
142  G4double x, G4double y, G4Text::Layout layout):
143  fpVisManager(vm), fSize(size),
144  fX(x), fY(y), fLayout(layout) {}
150  };
152 };
153 
155 public:
157  virtual ~G4VisCommandSceneAddExtent ();
159  void SetNewValue (G4UIcommand* command, G4String newValue);
160 private:
163  struct Extent {
164  Extent(G4double xmin, G4double xmax,
166  G4double zmin, G4double zmax);
169  };
171 };
172 
174 public:
176  virtual ~G4VisCommandSceneAddFrame ();
178  void SetNewValue (G4UIcommand* command, G4String newValue);
179 private:
182  struct Frame {
183  Frame(G4double size, G4double width, const G4Colour& colour):
184  fSize(size), fWidth(width), fColour(colour) {}
189  };
191 };
192 
194 public:
196  virtual ~G4VisCommandSceneAddGPS ();
198  void SetNewValue (G4UIcommand* command, G4String newValue);
199 private:
203 };
204 
206 public:
208  virtual ~G4VisCommandSceneAddGhosts ();
210  void SetNewValue (G4UIcommand* command, G4String newValue);
211 private:
213  G4VisCommandSceneAddGhosts& operator =
216 };
217 
219 public:
221  virtual ~G4VisCommandSceneAddHits ();
223  void SetNewValue (G4UIcommand* command, G4String newValue);
224 private:
228 };
229 
231 public:
233  virtual ~G4VisCommandSceneAddLine ();
235  void SetNewValue (G4UIcommand* command, G4String newValue);
236 private:
239  struct Line {
242  G4double width, const G4Colour& colour);
247  };
249 };
250 
252 public:
254  virtual ~G4VisCommandSceneAddLine2D ();
256  void SetNewValue (G4UIcommand* command, G4String newValue);
257 private:
260  struct Line2D {
263  G4double width, const G4Colour& colour);
268  };
270 };
271 
273 public:
277  void SetNewValue (G4UIcommand* command, G4String newValue);
278 private:
283 };
284 
286 public:
288  virtual ~G4VisCommandSceneAddLogo ();
290  void SetNewValue (G4UIcommand* command, G4String newValue);
291 private:
294  // Direction of outward-facing normal to front face of logo.
296  struct G4Logo {
297  G4Logo(G4double height, const G4VisAttributes&);
298  ~G4Logo();
300  private:
303  };
305 };
306 
308 public:
310  virtual ~G4VisCommandSceneAddLogo2D ();
312  void SetNewValue (G4UIcommand* command, G4String newValue);
313 private:
316  struct Logo2D {
317  Logo2D
318  (G4VisManager* vm, G4int size,
319  G4double x, G4double y, G4Text::Layout layout):
320  fpVisManager(vm), fSize(size),
321  fX(x), fY(y), fLayout(layout) {}
327  };
329 };
330 
332 public:
336  void SetNewValue (G4UIcommand* command, G4String newValue);
337 private:
341 };
342 
344 public:
346  virtual ~G4VisCommandSceneAddPSHits ();
348  void SetNewValue (G4UIcommand* command, G4String newValue);
349 private:
353 };
354 
356 public:
358  virtual ~G4VisCommandSceneAddScale ();
360  void SetNewValue (G4UIcommand* command, G4String newValue);
361 private:
365 };
366 
368 public:
370  virtual ~G4VisCommandSceneAddText ();
372  void SetNewValue (G4UIcommand* command, G4String newValue);
373 private:
377 };
378 
380 public:
382  virtual ~G4VisCommandSceneAddText2D ();
384  void SetNewValue (G4UIcommand* command, G4String newValue);
385 private:
388  struct G4Text2D {
389  G4Text2D(const G4Text&);
391  private:
393  };
395 };
396 
398 public:
402  void SetNewValue (G4UIcommand* command, G4String newValue);
403 private:
408 };
409 
411 public:
415  void SetNewValue (G4UIcommand* command, G4String newValue);
416 private:
423 };
424 
426 public:
428  virtual ~G4VisCommandSceneAddVolume ();
430  void SetNewValue (G4UIcommand* command, G4String newValue);
431 private:
435 };
436 
437 #endif
Float_t x
Definition: compare.C:6
G4VisCommandSceneAddHits & operator=(const G4VisCommandSceneAddHits &)
Date(G4VisManager *vm, G4int size, G4double x, G4double y, G4Text::Layout layout, const G4String &date)
G4VisCommandSceneAddText2D & operator=(const G4VisCommandSceneAddText2D &)
void SetNewValue(G4UIcommand *command, G4String newValue)
const XML_Char * name
Definition: expat.h:151
void operator()(G4VGraphicsScene &, const G4Transform3D &)
Logo2D(G4VisManager *vm, G4int size, G4double x, G4double y, G4Text::Layout layout)
void SetNewValue(G4UIcommand *command, G4String newValue)
G4String GetCurrentValue(G4UIcommand *command)
G4String GetCurrentValue(G4UIcommand *command)
G4String GetCurrentValue(G4UIcommand *command)
G4VisCommandSceneAddLine & operator=(const G4VisCommandSceneAddLine &)
Float_t y1[n_points_granero]
Definition: compare.C:5
G4String GetCurrentValue(G4UIcommand *command)
void SetNewValue(G4UIcommand *command, G4String newValue)
void operator()(G4VGraphicsScene &, const G4Transform3D &)
Float_t x1[n_points_granero]
Definition: compare.C:5
Float_t y
Definition: compare.C:6
void SetNewValue(G4UIcommand *command, G4String newValue)
void operator()(G4VGraphicsScene &, const G4Transform3D &)
G4VisCommandSceneAddLine2D & operator=(const G4VisCommandSceneAddLine2D &)
G4String GetCurrentValue(G4UIcommand *command)
void operator()(G4VGraphicsScene &, const G4Transform3D &)
G4String GetCurrentValue(G4UIcommand *command)
G4String GetCurrentValue(G4UIcommand *command)
G4VisCommandSceneAddDigis & operator=(const G4VisCommandSceneAddDigis &)
G4String GetCurrentValue(G4UIcommand *command)
void SetNewValue(G4UIcommand *command, G4String newValue)
G4String GetCurrentValue(G4UIcommand *command)
G4String GetCurrentValue(G4UIcommand *command)
Line(G4double x1, G4double y1, G4double z1, G4double x2, G4double y2, G4double z2, G4double width, const G4Colour &colour)
G4VisCommandSceneAddUserAction & operator=(const G4VisCommandSceneAddUserAction &)
void SetNewValue(G4UIcommand *command, G4String newValue)
G4VisCommandSceneAddScale & operator=(const G4VisCommandSceneAddScale &)
G4VisCommandSceneAddArrow2D & operator=(const G4VisCommandSceneAddArrow2D &)
Float_t y2[n_points_geant4]
Definition: compare.C:26
void SetNewValue(G4UIcommand *command, G4String newValue)
G4String GetCurrentValue(G4UIcommand *command)
G4VisCommandSceneAddLogo & operator=(const G4VisCommandSceneAddLogo &)
G4String GetCurrentValue(G4UIcommand *command)
G4String GetCurrentValue(G4UIcommand *command)
double G4double
Definition: G4Types.hh:76
void SetNewValue(G4UIcommand *command, G4String newValue)
G4String GetCurrentValue(G4UIcommand *command)
#define width
void operator()(G4VGraphicsScene &, const G4Transform3D &)
Definition: G4Text.hh:73
Line2D(G4double x1, G4double y1, G4double x2, G4double y2, G4double width, const G4Colour &colour)
void SetNewValue(G4UIcommand *command, G4String newValue)
G4VisCommandSceneAddLogo2D & operator=(const G4VisCommandSceneAddLogo2D &)
void SetNewValue(G4UIcommand *command, G4String newValue)
G4VisCommandSceneAddGPS & operator=(const G4VisCommandSceneAddGPS &)
void AddVisAction(const G4String &name, G4VUserVisAction *, G4Scene *, ActionType, G4VisManager::Verbosity)
G4String GetCurrentValue(G4UIcommand *command)
void operator()(G4VGraphicsScene &, const G4Transform3D &)
G4VisCommandSceneAddEventID & operator=(const G4VisCommandSceneAddEventID &)
void SetNewValue(G4UIcommand *command, G4String newValue)
Arrow2D(G4double x1, G4double y1, G4double x2, G4double y2, G4double width, const G4Colour &colour)
void operator()(G4VGraphicsScene &, const G4Transform3D &)
G4VisCommandSceneAddPSHits & operator=(const G4VisCommandSceneAddPSHits &)
G4VisCommandSceneAddArrow & operator=(const G4VisCommandSceneAddArrow &)
G4Logo(G4double height, const G4VisAttributes &)
G4VisCommandSceneAddText & operator=(const G4VisCommandSceneAddText &)
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)
Frame(G4double size, G4double width, const G4Colour &colour)
Layout
Definition: G4Text.hh:77
G4String GetCurrentValue(G4UIcommand *command)
int G4int
Definition: G4Types.hh:78
void SetNewValue(G4UIcommand *command, G4String newValue)
void operator()(G4VGraphicsScene &, const G4Transform3D &)
void operator()(G4VGraphicsScene &, const G4Transform3D &)
void SetNewValue(G4UIcommand *command, G4String newValue)
void SetNewValue(G4UIcommand *command, G4String newValue)
void SetNewValue(G4UIcommand *command, G4String newValue)
G4VisCommandSceneAddExtent & operator=(const G4VisCommandSceneAddExtent &)
G4String GetCurrentValue(G4UIcommand *command)
void SetNewValue(G4UIcommand *command, G4String newValue)
G4VisCommandSceneAddVolume & operator=(const G4VisCommandSceneAddVolume &)
G4String GetCurrentValue(G4UIcommand *command)
void SetNewValue(G4UIcommand *command, G4String newValue)
G4String GetCurrentValue(G4UIcommand *command)
G4String GetCurrentValue(G4UIcommand *command)
G4VisCommandSceneAddFrame & operator=(const G4VisCommandSceneAddFrame &)
G4VisCommandSceneAddAxes & operator=(const G4VisCommandSceneAddAxes &)
virtual ~G4VisCommandSceneAddGhosts()
void SetNewValue(G4UIcommand *command, G4String newValue)
Float_t x2[n_points_geant4]
Definition: compare.C:26
G4String GetCurrentValue(G4UIcommand *command)
G4VisCommandSceneAddDate & operator=(const G4VisCommandSceneAddDate &)
G4UIcmdWithoutParameter * fpCommand
G4String GetCurrentValue(G4UIcommand *command)
Extent(G4double xmin, G4double xmax, G4double ymin, G4double ymax, G4double zmin, G4double zmax)
void operator()(G4VGraphicsScene &, const G4Transform3D &)
G4VisCommandSceneAddMagneticField & operator=(const G4VisCommandSceneAddMagneticField &)
void SetNewValue(G4UIcommand *command, G4String newValue)
G4UIcmdWithoutParameter * fpCommand
EventID(G4VisManager *vm, G4int size, G4double x, G4double y, G4Text::Layout layout)
void SetNewValue(G4UIcommand *command, G4String newValue)