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: G4VisCommandsCompound.hh,v 1.9 2006/06/29 21:28:32 gunter Exp $ |
---|
28 | // GEANT4 tag $Name: geant4-09-00-ref-01 $ |
---|
29 | |
---|
30 | // Compound /vis/ commands - John Allison 15th May 2000 |
---|
31 | |
---|
32 | #ifndef G4VISCOMMANDSCOMPOUND_HH |
---|
33 | #define G4VISCOMMANDSCOMPOUND_HH |
---|
34 | |
---|
35 | #include "G4VVisCommand.hh" |
---|
36 | |
---|
37 | class G4VisCommandDrawTree: public G4VVisCommand { |
---|
38 | public: |
---|
39 | G4VisCommandDrawTree (); |
---|
40 | virtual ~G4VisCommandDrawTree (); |
---|
41 | void SetNewValue (G4UIcommand* command, G4String newValue); |
---|
42 | private: |
---|
43 | G4VisCommandDrawTree (const G4VisCommandDrawTree&); |
---|
44 | G4VisCommandDrawTree& operator = (const G4VisCommandDrawTree&); |
---|
45 | G4UIcommand* fpCommand; |
---|
46 | }; |
---|
47 | |
---|
48 | class G4VisCommandDrawView: public G4VVisCommand { |
---|
49 | public: |
---|
50 | G4VisCommandDrawView (); |
---|
51 | virtual ~G4VisCommandDrawView (); |
---|
52 | void SetNewValue (G4UIcommand* command, G4String newValue); |
---|
53 | private: |
---|
54 | G4VisCommandDrawView (const G4VisCommandDrawView&); |
---|
55 | G4VisCommandDrawView& operator = (const G4VisCommandDrawView&); |
---|
56 | G4UIcommand* fpCommand; |
---|
57 | }; |
---|
58 | |
---|
59 | class G4VisCommandDrawVolume: public G4VVisCommand { |
---|
60 | public: |
---|
61 | G4VisCommandDrawVolume (); |
---|
62 | virtual ~G4VisCommandDrawVolume (); |
---|
63 | void SetNewValue (G4UIcommand* command, G4String newValue); |
---|
64 | private: |
---|
65 | G4VisCommandDrawVolume (const G4VisCommandDrawVolume&); |
---|
66 | G4VisCommandDrawVolume& operator = (const G4VisCommandDrawVolume&); |
---|
67 | G4UIcmdWithAString* fpCommand; |
---|
68 | }; |
---|
69 | |
---|
70 | class G4VisCommandOpen: public G4VVisCommand { |
---|
71 | public: |
---|
72 | G4VisCommandOpen (); |
---|
73 | virtual ~G4VisCommandOpen (); |
---|
74 | void SetNewValue (G4UIcommand* command, G4String newValue); |
---|
75 | private: |
---|
76 | G4VisCommandOpen (const G4VisCommandOpen&); |
---|
77 | G4VisCommandOpen& operator = (const G4VisCommandOpen&); |
---|
78 | G4UIcommand* fpCommand; |
---|
79 | }; |
---|
80 | |
---|
81 | class G4VisCommandSpecify: public G4VVisCommand { |
---|
82 | public: |
---|
83 | G4VisCommandSpecify (); |
---|
84 | virtual ~G4VisCommandSpecify (); |
---|
85 | void SetNewValue (G4UIcommand* command, G4String newValue); |
---|
86 | private: |
---|
87 | G4VisCommandSpecify (const G4VisCommandSpecify&); |
---|
88 | G4VisCommandSpecify& operator = (const G4VisCommandSpecify&); |
---|
89 | G4UIcommand* fpCommand; |
---|
90 | }; |
---|
91 | |
---|
92 | #endif |
---|