00001 // 00002 // ******************************************************************** 00003 // * License and Disclaimer * 00004 // * * 00005 // * The Geant4 software is copyright of the Copyright Holders of * 00006 // * the Geant4 Collaboration. It is provided under the terms and * 00007 // * conditions of the Geant4 Software License, included in the file * 00008 // * LICENSE and available at http://cern.ch/geant4/license . These * 00009 // * include a list of copyright holders. * 00010 // * * 00011 // * Neither the authors of this software system, nor their employing * 00012 // * institutes,nor the agencies providing financial support for this * 00013 // * work make any representation or warranty, express or implied, * 00014 // * regarding this software system or assume any liability for its * 00015 // * use. Please see the license in the file LICENSE and URL above * 00016 // * for the full disclaimer and the limitation of liability. * 00017 // * * 00018 // * This code implementation is the result of the scientific and * 00019 // * technical work of the GEANT4 collaboration. * 00020 // * By using, copying, modifying or distributing the software (or * 00021 // * any work based on the software) you agree to acknowledge its * 00022 // * use in resulting scientific publications, and indicate your * 00023 // * acceptance of all terms of the Geant4 Software license. * 00024 // ******************************************************************** 00025 // 00026 // 00027 // $Id$ 00028 00029 // Compound /vis/ commands - John Allison 15th May 2000 00030 00031 #ifndef G4VISCOMMANDSCOMPOUND_HH 00032 #define G4VISCOMMANDSCOMPOUND_HH 00033 00034 #include "G4VVisCommand.hh" 00035 00036 class G4VisCommandDrawTree: public G4VVisCommand { 00037 public: 00038 G4VisCommandDrawTree (); 00039 virtual ~G4VisCommandDrawTree (); 00040 void SetNewValue (G4UIcommand* command, G4String newValue); 00041 private: 00042 G4VisCommandDrawTree (const G4VisCommandDrawTree&); 00043 G4VisCommandDrawTree& operator = (const G4VisCommandDrawTree&); 00044 G4UIcommand* fpCommand; 00045 }; 00046 00047 class G4VisCommandDrawView: public G4VVisCommand { 00048 public: 00049 G4VisCommandDrawView (); 00050 virtual ~G4VisCommandDrawView (); 00051 void SetNewValue (G4UIcommand* command, G4String newValue); 00052 private: 00053 G4VisCommandDrawView (const G4VisCommandDrawView&); 00054 G4VisCommandDrawView& operator = (const G4VisCommandDrawView&); 00055 G4UIcommand* fpCommand; 00056 }; 00057 00058 class G4VisCommandDrawVolume: public G4VVisCommand { 00059 public: 00060 G4VisCommandDrawVolume (); 00061 virtual ~G4VisCommandDrawVolume (); 00062 void SetNewValue (G4UIcommand* command, G4String newValue); 00063 private: 00064 G4VisCommandDrawVolume (const G4VisCommandDrawVolume&); 00065 G4VisCommandDrawVolume& operator = (const G4VisCommandDrawVolume&); 00066 G4UIcmdWithAString* fpCommand; 00067 }; 00068 00069 class G4VisCommandOpen: public G4VVisCommand { 00070 public: 00071 G4VisCommandOpen (); 00072 virtual ~G4VisCommandOpen (); 00073 void SetNewValue (G4UIcommand* command, G4String newValue); 00074 private: 00075 G4VisCommandOpen (const G4VisCommandOpen&); 00076 G4VisCommandOpen& operator = (const G4VisCommandOpen&); 00077 G4UIcommand* fpCommand; 00078 }; 00079 00080 class G4VisCommandSpecify: public G4VVisCommand { 00081 public: 00082 G4VisCommandSpecify (); 00083 virtual ~G4VisCommandSpecify (); 00084 void SetNewValue (G4UIcommand* command, G4String newValue); 00085 private: 00086 G4VisCommandSpecify (const G4VisCommandSpecify&); 00087 G4VisCommandSpecify& operator = (const G4VisCommandSpecify&); 00088 G4UIcommand* fpCommand; 00089 }; 00090 00091 #endif