File indexing completed on 2025-01-18 09:59:23
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018
0019
0020
0021
0022
0023
0024
0025
0026
0027
0028
0029
0030 #ifndef G4VISCOMMANDSSCENE_HH
0031 #define G4VISCOMMANDSSCENE_HH
0032
0033 #include "G4VVisCommand.hh"
0034
0035 class G4UIcommand;
0036 class G4UIcmdWithAString;
0037 class G4UIcmdWithoutParameter;
0038
0039 class G4VVisCommandScene: public G4VVisCommand {
0040 public:
0041 G4VVisCommandScene ();
0042 virtual ~G4VVisCommandScene ();
0043 protected:
0044 G4String CurrentSceneName ();
0045 private:
0046 G4VVisCommandScene (const G4VVisCommandScene&);
0047 G4VVisCommandScene& operator = (const G4VVisCommandScene&);
0048 };
0049
0050 class G4VisCommandSceneActivateModel: public G4VVisCommandScene {
0051 public:
0052 G4VisCommandSceneActivateModel ();
0053 virtual ~G4VisCommandSceneActivateModel ();
0054 G4String GetCurrentValue (G4UIcommand* command);
0055 void SetNewValue (G4UIcommand* command, G4String newValue);
0056 private:
0057 G4VisCommandSceneActivateModel (const G4VisCommandSceneActivateModel&);
0058 G4VisCommandSceneActivateModel& operator =
0059 (const G4VisCommandSceneActivateModel&);
0060 G4UIcommand* fpCommand;
0061 };
0062
0063 class G4VisCommandSceneCreate: public G4VVisCommandScene {
0064 public:
0065 G4VisCommandSceneCreate ();
0066 virtual ~G4VisCommandSceneCreate ();
0067 G4String GetCurrentValue (G4UIcommand* command);
0068 void SetNewValue (G4UIcommand* command, G4String newValue);
0069 private:
0070 G4VisCommandSceneCreate (const G4VisCommandSceneCreate&);
0071 G4VisCommandSceneCreate& operator = (const G4VisCommandSceneCreate&);
0072 G4String NextName ();
0073 G4UIcmdWithAString* fpCommand;
0074 G4int fId;
0075 };
0076
0077 class G4VisCommandSceneEndOfEventAction: public G4VVisCommandScene {
0078 public:
0079 G4VisCommandSceneEndOfEventAction ();
0080 virtual ~G4VisCommandSceneEndOfEventAction ();
0081 G4String GetCurrentValue (G4UIcommand* command);
0082 void SetNewValue (G4UIcommand* command, G4String newValue);
0083 private:
0084 G4VisCommandSceneEndOfEventAction (const G4VisCommandSceneEndOfEventAction&);
0085 G4VisCommandSceneEndOfEventAction& operator =
0086 (const G4VisCommandSceneEndOfEventAction&);
0087 G4UIcommand* fpCommand;
0088 };
0089
0090 class G4VisCommandSceneEndOfRunAction: public G4VVisCommandScene {
0091 public:
0092 G4VisCommandSceneEndOfRunAction ();
0093 virtual ~G4VisCommandSceneEndOfRunAction ();
0094 G4String GetCurrentValue (G4UIcommand* command);
0095 void SetNewValue (G4UIcommand* command, G4String newValue);
0096 private:
0097 G4VisCommandSceneEndOfRunAction (const G4VisCommandSceneEndOfRunAction&);
0098 G4VisCommandSceneEndOfRunAction& operator =
0099 (const G4VisCommandSceneEndOfRunAction&);
0100 G4UIcmdWithAString* fpCommand;
0101 };
0102
0103 class G4VisCommandSceneList: public G4VVisCommandScene {
0104 public:
0105 G4VisCommandSceneList ();
0106 virtual ~G4VisCommandSceneList ();
0107 G4String GetCurrentValue (G4UIcommand* command);
0108 void SetNewValue (G4UIcommand* command, G4String newValue);
0109 private:
0110 G4VisCommandSceneList (const G4VisCommandSceneList&);
0111 G4VisCommandSceneList& operator = (const G4VisCommandSceneList&);
0112 G4UIcommand* fpCommand;
0113 };
0114
0115 class G4VisCommandSceneNotifyHandlers: public G4VVisCommandScene {
0116 public:
0117 G4VisCommandSceneNotifyHandlers ();
0118 virtual ~G4VisCommandSceneNotifyHandlers ();
0119 G4String GetCurrentValue (G4UIcommand* command);
0120 void SetNewValue (G4UIcommand* command, G4String newValue);
0121 private:
0122 G4VisCommandSceneNotifyHandlers (const G4VisCommandSceneNotifyHandlers&);
0123 G4VisCommandSceneNotifyHandlers& operator =
0124 (const G4VisCommandSceneNotifyHandlers&);
0125 G4UIcommand* fpCommand;
0126 };
0127
0128 class G4VisCommandSceneRemoveModel: public G4VVisCommandScene {
0129 public:
0130 G4VisCommandSceneRemoveModel ();
0131 virtual ~G4VisCommandSceneRemoveModel ();
0132 G4String GetCurrentValue (G4UIcommand* command);
0133 void SetNewValue (G4UIcommand* command, G4String newValue);
0134 private:
0135 G4VisCommandSceneRemoveModel (const G4VisCommandSceneRemoveModel&);
0136 G4VisCommandSceneRemoveModel& operator =
0137 (const G4VisCommandSceneRemoveModel&);
0138 G4UIcommand* fpCommand;
0139 };
0140
0141 class G4VisCommandSceneSelect: public G4VVisCommandScene {
0142 public:
0143 G4VisCommandSceneSelect ();
0144 virtual ~G4VisCommandSceneSelect ();
0145 G4String GetCurrentValue (G4UIcommand* command);
0146 void SetNewValue (G4UIcommand* command, G4String newValue);
0147 private:
0148 G4VisCommandSceneSelect (const G4VisCommandSceneSelect&);
0149 G4VisCommandSceneSelect& operator = (const G4VisCommandSceneSelect&);
0150 G4UIcmdWithAString* fpCommand;
0151 };
0152
0153 class G4VisCommandSceneShowExtents: public G4VVisCommandScene {
0154 public:
0155 G4VisCommandSceneShowExtents ();
0156 virtual ~G4VisCommandSceneShowExtents ();
0157 G4String GetCurrentValue (G4UIcommand* command);
0158 void SetNewValue (G4UIcommand* command, G4String newValue);
0159 private:
0160 G4VisCommandSceneShowExtents (const G4VisCommandSceneShowExtents&);
0161 G4VisCommandSceneShowExtents& operator = (const G4VisCommandSceneShowExtents&);
0162 G4UIcmdWithoutParameter* fpCommand;
0163 };
0164
0165 #endif