Geant4 Cross Reference |
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 // Compound /vis/ commands - John Allison 15th May 2000 29 30 #ifndef G4VISCOMMANDSCOMPOUND_HH 31 #define G4VISCOMMANDSCOMPOUND_HH 32 33 #include "G4VVisCommand.hh" 34 35 class G4VisCommandDrawTree: public G4VVisCommand { 36 public: 37 G4VisCommandDrawTree (); 38 virtual ~G4VisCommandDrawTree (); 39 void SetNewValue (G4UIcommand* command, G4String newValue); 40 private: 41 G4VisCommandDrawTree (const G4VisCommandDrawTree&); 42 G4VisCommandDrawTree& operator = (const G4VisCommandDrawTree&); 43 G4UIcommand* fpCommand; 44 }; 45 46 class G4VisCommandDrawView: public G4VVisCommand { 47 public: 48 G4VisCommandDrawView (); 49 virtual ~G4VisCommandDrawView (); 50 void SetNewValue (G4UIcommand* command, G4String newValue); 51 private: 52 G4VisCommandDrawView (const G4VisCommandDrawView&); 53 G4VisCommandDrawView& operator = (const G4VisCommandDrawView&); 54 G4UIcommand* fpCommand; 55 }; 56 57 class G4VisCommandDrawLogicalVolume: public G4VVisCommand { 58 public: 59 G4VisCommandDrawLogicalVolume (); 60 virtual ~G4VisCommandDrawLogicalVolume (); 61 void SetNewValue (G4UIcommand* command, G4String newValue); 62 private: 63 G4VisCommandDrawLogicalVolume (const G4VisCommandDrawLogicalVolume&); 64 G4VisCommandDrawLogicalVolume& operator = (const G4VisCommandDrawLogicalVolume&); 65 G4UIcommand* fpCommand; 66 }; 67 68 class G4VisCommandDrawVolume: public G4VVisCommand { 69 public: 70 G4VisCommandDrawVolume (); 71 virtual ~G4VisCommandDrawVolume (); 72 void SetNewValue (G4UIcommand* command, G4String newValue); 73 private: 74 G4VisCommandDrawVolume (const G4VisCommandDrawVolume&); 75 G4VisCommandDrawVolume& operator = (const G4VisCommandDrawVolume&); 76 G4UIcommand* fpCommand; 77 }; 78 79 class G4VisCommandOpen: public G4VVisCommand { 80 public: 81 G4VisCommandOpen (); 82 virtual ~G4VisCommandOpen (); 83 G4String GetCurrentValue(G4UIcommand*); 84 void SetNewValue (G4UIcommand* command, G4String newValue); 85 private: 86 G4VisCommandOpen (const G4VisCommandOpen&); 87 G4VisCommandOpen& operator = (const G4VisCommandOpen&); 88 G4UIcommand* fpCommand; 89 }; 90 91 class G4VisCommandPlot: public G4VVisCommand { 92 public: 93 G4VisCommandPlot (); 94 virtual ~G4VisCommandPlot (); 95 G4String GetCurrentValue (G4UIcommand* command); 96 void SetNewValue (G4UIcommand* command, G4String newValue); 97 private: 98 G4VisCommandPlot (const G4VisCommandPlot&); 99 G4VisCommandPlot& operator = (const G4VisCommandPlot&); 100 G4UIcommand* fpCommand; 101 }; 102 103 class G4VisCommandSpecify: public G4VVisCommand { 104 public: 105 G4VisCommandSpecify (); 106 virtual ~G4VisCommandSpecify (); 107 void SetNewValue (G4UIcommand* command, G4String newValue); 108 private: 109 G4VisCommandSpecify (const G4VisCommandSpecify&); 110 G4VisCommandSpecify& operator = (const G4VisCommandSpecify&); 111 G4UIcommand* fpCommand; 112 }; 113 114 #endif 115