Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:59:23

0001 //
0002 // ********************************************************************
0003 // * License and Disclaimer                                           *
0004 // *                                                                  *
0005 // * The  Geant4 software  is  copyright of the Copyright Holders  of *
0006 // * the Geant4 Collaboration.  It is provided  under  the terms  and *
0007 // * conditions of the Geant4 Software License,  included in the file *
0008 // * LICENSE and available at  http://cern.ch/geant4/license .  These *
0009 // * include a list of copyright holders.                             *
0010 // *                                                                  *
0011 // * Neither the authors of this software system, nor their employing *
0012 // * institutes,nor the agencies providing financial support for this *
0013 // * work  make  any representation or  warranty, express or implied, *
0014 // * regarding  this  software system or assume any liability for its *
0015 // * use.  Please see the license in the file  LICENSE  and URL above *
0016 // * for the full disclaimer and the limitation of liability.         *
0017 // *                                                                  *
0018 // * This  code  implementation is the result of  the  scientific and *
0019 // * technical work of the GEANT4 collaboration.                      *
0020 // * By using,  copying,  modifying or  distributing the software (or *
0021 // * any work based  on the software)  you  agree  to acknowledge its *
0022 // * use  in  resulting  scientific  publications,  and indicate your *
0023 // * acceptance of all terms of the Geant4 Software license.          *
0024 // ********************************************************************
0025 //
0026 //
0027 
0028 // Compound /vis/ commands - John Allison  15th May 2000
0029 
0030 #ifndef G4VISCOMMANDSCOMPOUND_HH
0031 #define G4VISCOMMANDSCOMPOUND_HH
0032 
0033 #include "G4VVisCommand.hh"
0034 
0035 class G4VisCommandDrawTree: public G4VVisCommand {
0036 public:
0037   G4VisCommandDrawTree ();
0038   virtual ~G4VisCommandDrawTree ();
0039   void SetNewValue (G4UIcommand* command, G4String newValue);
0040 private:
0041   G4VisCommandDrawTree (const G4VisCommandDrawTree&);
0042   G4VisCommandDrawTree& operator = (const G4VisCommandDrawTree&);
0043   G4UIcommand* fpCommand;
0044 };
0045 
0046 class G4VisCommandDrawView: public G4VVisCommand {
0047 public:
0048   G4VisCommandDrawView ();
0049   virtual ~G4VisCommandDrawView ();
0050   void SetNewValue (G4UIcommand* command, G4String newValue);
0051 private:
0052   G4VisCommandDrawView (const G4VisCommandDrawView&);
0053   G4VisCommandDrawView& operator = (const G4VisCommandDrawView&);
0054   G4UIcommand* fpCommand;
0055 };
0056 
0057 class G4VisCommandDrawLogicalVolume: public G4VVisCommand {
0058 public:
0059   G4VisCommandDrawLogicalVolume ();
0060   virtual ~G4VisCommandDrawLogicalVolume ();
0061   void SetNewValue (G4UIcommand* command, G4String newValue);
0062 private:
0063   G4VisCommandDrawLogicalVolume (const G4VisCommandDrawLogicalVolume&);
0064   G4VisCommandDrawLogicalVolume& operator = (const G4VisCommandDrawLogicalVolume&);
0065   G4UIcommand* fpCommand;
0066 };
0067 
0068   class G4VisCommandDrawVolume: public G4VVisCommand {
0069 public:
0070   G4VisCommandDrawVolume ();
0071   virtual ~G4VisCommandDrawVolume ();
0072   void SetNewValue (G4UIcommand* command, G4String newValue);
0073 private:
0074   G4VisCommandDrawVolume (const G4VisCommandDrawVolume&);
0075   G4VisCommandDrawVolume& operator = (const G4VisCommandDrawVolume&);
0076   G4UIcommand* fpCommand;
0077 };
0078 
0079 class G4VisCommandOpen: public G4VVisCommand {
0080 public:
0081   G4VisCommandOpen ();
0082   virtual ~G4VisCommandOpen ();
0083   G4String GetCurrentValue(G4UIcommand*);
0084   void SetNewValue (G4UIcommand* command, G4String newValue);
0085 private:
0086   G4VisCommandOpen (const G4VisCommandOpen&);
0087   G4VisCommandOpen& operator = (const G4VisCommandOpen&);
0088   G4UIcommand* fpCommand;
0089 };
0090 
0091 class G4VisCommandPlot: public G4VVisCommand {
0092 public:
0093   G4VisCommandPlot ();
0094   virtual ~G4VisCommandPlot ();
0095   G4String GetCurrentValue (G4UIcommand* command);
0096   void SetNewValue (G4UIcommand* command, G4String newValue);
0097 private:
0098   G4VisCommandPlot (const G4VisCommandPlot&);
0099   G4VisCommandPlot& operator = (const G4VisCommandPlot&);
0100   G4UIcommand* fpCommand;
0101 };
0102 
0103 class G4VisCommandSpecify: public G4VVisCommand {
0104 public:
0105   G4VisCommandSpecify ();
0106   virtual ~G4VisCommandSpecify ();
0107   void SetNewValue (G4UIcommand* command, G4String newValue);
0108 private:
0109   G4VisCommandSpecify (const G4VisCommandSpecify&);
0110   G4VisCommandSpecify& operator = (const G4VisCommandSpecify&);
0111   G4UIcommand* fpCommand;
0112 };
0113 
0114 #endif