Warning, file /include/Geant4/G4VisCommandsViewer.hh was not indexed
or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).
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 G4VISCOMMANDSVIEWER_HH
0031 #define G4VISCOMMANDSVIEWER_HH
0032
0033 #include "G4VVisCommand.hh"
0034
0035 class G4VViewer;
0036 class G4ViewParameters;
0037 class G4UIcommand;
0038 class G4UIcmdWithoutParameter;
0039 class G4UIcmdWithAString;
0040 class G4UIcmdWithADouble;
0041 class G4UIcmdWithADoubleAndUnit;
0042 class G4UIcmdWith3Vector;
0043
0044 class G4VisCommandViewerAddCutawayPlane: public G4VVisCommand {
0045 public:
0046 G4VisCommandViewerAddCutawayPlane ();
0047 virtual ~G4VisCommandViewerAddCutawayPlane ();
0048 G4String GetCurrentValue (G4UIcommand* command);
0049 void SetNewValue (G4UIcommand* command, G4String newValue);
0050 private:
0051 G4VisCommandViewerAddCutawayPlane (const G4VisCommandViewerAddCutawayPlane&);
0052 G4VisCommandViewerAddCutawayPlane& operator = (const G4VisCommandViewerAddCutawayPlane&);
0053 G4UIcommand* fpCommand;
0054 };
0055
0056 class G4VisCommandViewerCentreOn: public G4VVisCommand {
0057 public:
0058 G4VisCommandViewerCentreOn ();
0059 virtual ~G4VisCommandViewerCentreOn ();
0060 G4String GetCurrentValue (G4UIcommand* command);
0061 void SetNewValue (G4UIcommand* command, G4String newValue);
0062 private:
0063 G4VisCommandViewerCentreOn (const G4VisCommandViewerCentreOn&);
0064 G4VisCommandViewerCentreOn& operator = (const G4VisCommandViewerCentreOn&);
0065 G4UIcommand* fpCommandCentreOn;
0066 G4UIcommand* fpCommandCentreAndZoomInOn;
0067 };
0068
0069 class G4VisCommandViewerChangeCutawayPlane: public G4VVisCommand {
0070 public:
0071 G4VisCommandViewerChangeCutawayPlane ();
0072 virtual ~G4VisCommandViewerChangeCutawayPlane ();
0073 G4String GetCurrentValue (G4UIcommand* command);
0074 void SetNewValue (G4UIcommand* command, G4String newValue);
0075 private:
0076 G4VisCommandViewerChangeCutawayPlane (const G4VisCommandViewerChangeCutawayPlane&);
0077 G4VisCommandViewerChangeCutawayPlane& operator = (const G4VisCommandViewerChangeCutawayPlane&);
0078 G4UIcommand* fpCommand;
0079 };
0080
0081 class G4VisCommandViewerClear: public G4VVisCommand {
0082 public:
0083 G4VisCommandViewerClear ();
0084 virtual ~G4VisCommandViewerClear ();
0085 G4String GetCurrentValue (G4UIcommand* command);
0086 void SetNewValue (G4UIcommand* command, G4String newValue);
0087 private:
0088 G4VisCommandViewerClear (const G4VisCommandViewerClear&);
0089 G4VisCommandViewerClear& operator = (const G4VisCommandViewerClear&);
0090 G4UIcmdWithAString* fpCommand;
0091 };
0092
0093 class G4VisCommandViewerClearCutawayPlanes: public G4VVisCommand {
0094 public:
0095 G4VisCommandViewerClearCutawayPlanes ();
0096 virtual ~G4VisCommandViewerClearCutawayPlanes ();
0097 G4String GetCurrentValue (G4UIcommand* command);
0098 void SetNewValue (G4UIcommand* command, G4String newValue);
0099 private:
0100 G4VisCommandViewerClearCutawayPlanes (const G4VisCommandViewerClearCutawayPlanes&);
0101 G4VisCommandViewerClearCutawayPlanes& operator = (const G4VisCommandViewerClearCutawayPlanes&);
0102 G4UIcmdWithoutParameter* fpCommand;
0103 };
0104
0105 class G4VisCommandViewerClearTransients: public G4VVisCommand {
0106 public:
0107 G4VisCommandViewerClearTransients ();
0108 virtual ~G4VisCommandViewerClearTransients ();
0109 G4String GetCurrentValue (G4UIcommand* command);
0110 void SetNewValue (G4UIcommand* command, G4String newValue);
0111 private:
0112 G4VisCommandViewerClearTransients (const G4VisCommandViewerClearTransients&);
0113 G4VisCommandViewerClearTransients& operator =
0114 (const G4VisCommandViewerClearTransients&);
0115 G4UIcmdWithAString* fpCommand;
0116 };
0117
0118 class G4VisCommandViewerClearVisAttributesModifiers: public G4VVisCommand {
0119 public:
0120 G4VisCommandViewerClearVisAttributesModifiers ();
0121 virtual ~G4VisCommandViewerClearVisAttributesModifiers ();
0122 G4String GetCurrentValue (G4UIcommand* command);
0123 void SetNewValue (G4UIcommand* command, G4String newValue);
0124 private:
0125 G4VisCommandViewerClearVisAttributesModifiers (const G4VisCommandViewerClearVisAttributesModifiers&);
0126 G4VisCommandViewerClearVisAttributesModifiers& operator = (const G4VisCommandViewerClearVisAttributesModifiers&);
0127 G4UIcmdWithoutParameter* fpCommand;
0128 };
0129
0130 class G4VisCommandViewerClone: public G4VVisCommand {
0131 public:
0132 G4VisCommandViewerClone ();
0133 virtual ~G4VisCommandViewerClone ();
0134 G4String GetCurrentValue (G4UIcommand* command);
0135 void SetNewValue (G4UIcommand* command, G4String newValue);
0136 private:
0137 G4VisCommandViewerClone (const G4VisCommandViewerClone&);
0138 G4VisCommandViewerClone& operator =
0139 (const G4VisCommandViewerClone&);
0140 G4UIcommand* fpCommand;
0141 };
0142
0143 class G4VisCommandViewerColourByDensity: public G4VVisCommand {
0144 public:
0145 G4VisCommandViewerColourByDensity ();
0146 virtual ~G4VisCommandViewerColourByDensity ();
0147 G4String GetCurrentValue (G4UIcommand* command);
0148 void SetNewValue (G4UIcommand* command, G4String newValue);
0149 private:
0150 G4VisCommandViewerColourByDensity (const G4VisCommandViewerColourByDensity&);
0151 G4VisCommandViewerColourByDensity& operator = (const G4VisCommandViewerColourByDensity&);
0152 G4UIcommand* fpCommand;
0153 };
0154
0155 class G4VisCommandViewerCopyViewFrom: public G4VVisCommand {
0156 public:
0157 G4VisCommandViewerCopyViewFrom ();
0158 virtual ~G4VisCommandViewerCopyViewFrom ();
0159 G4String GetCurrentValue (G4UIcommand* command);
0160 void SetNewValue (G4UIcommand* command, G4String newValue);
0161 private:
0162 G4VisCommandViewerCopyViewFrom (const G4VisCommandViewerCopyViewFrom&);
0163 G4VisCommandViewerCopyViewFrom& operator =
0164 (const G4VisCommandViewerCopyViewFrom&);
0165 G4UIcmdWithAString* fpCommand;
0166 };
0167
0168 class G4VisCommandViewerCreate: public G4VVisCommand {
0169 public:
0170 G4VisCommandViewerCreate ();
0171 virtual ~G4VisCommandViewerCreate ();
0172 G4String GetCurrentValue (G4UIcommand* command);
0173 void SetNewValue (G4UIcommand* command, G4String newValue);
0174 private:
0175 G4VisCommandViewerCreate (const G4VisCommandViewerCreate&);
0176 G4VisCommandViewerCreate& operator = (const G4VisCommandViewerCreate&);
0177 G4String NextName ();
0178 G4UIcommand* fpCommand;
0179 G4int fId;
0180 };
0181
0182 class G4VisCommandViewerDolly: public G4VVisCommand {
0183 public:
0184 G4VisCommandViewerDolly ();
0185 virtual ~G4VisCommandViewerDolly ();
0186 G4String GetCurrentValue (G4UIcommand* command);
0187 void SetNewValue (G4UIcommand* command, G4String newValue);
0188 private:
0189 G4VisCommandViewerDolly (const G4VisCommandViewerDolly&);
0190 G4VisCommandViewerDolly& operator = (const G4VisCommandViewerDolly&);
0191 G4UIcmdWithADoubleAndUnit* fpCommandDolly;
0192 G4UIcmdWithADoubleAndUnit* fpCommandDollyTo;
0193 G4double fDollyIncrement;
0194 G4double fDollyTo;
0195 };
0196
0197 class G4VisCommandViewerFlush: public G4VVisCommand {
0198 public:
0199 G4VisCommandViewerFlush ();
0200 virtual ~G4VisCommandViewerFlush ();
0201 G4String GetCurrentValue (G4UIcommand* command);
0202 void SetNewValue (G4UIcommand* command, G4String newValue);
0203 private:
0204 G4VisCommandViewerFlush (const G4VisCommandViewerFlush&);
0205 G4VisCommandViewerFlush& operator = (const G4VisCommandViewerFlush&);
0206 G4UIcmdWithAString* fpCommand;
0207 };
0208
0209 class G4VisCommandViewerInterpolate: public G4VVisCommand {
0210 public:
0211 G4VisCommandViewerInterpolate ();
0212 virtual ~G4VisCommandViewerInterpolate ();
0213 G4String GetCurrentValue (G4UIcommand* command);
0214 void SetNewValue (G4UIcommand* command, G4String newValue);
0215 private:
0216 G4VisCommandViewerInterpolate (const G4VisCommandViewerInterpolate&);
0217 G4VisCommandViewerInterpolate& operator = (const G4VisCommandViewerInterpolate&);
0218 G4UIcommand* fpCommand;
0219 };
0220
0221 class G4VisCommandViewerList: public G4VVisCommand {
0222 public:
0223 G4VisCommandViewerList ();
0224 virtual ~G4VisCommandViewerList ();
0225 G4String GetCurrentValue (G4UIcommand* command);
0226 void SetNewValue (G4UIcommand* command, G4String newValue);
0227 private:
0228 G4VisCommandViewerList (const G4VisCommandViewerList&);
0229 G4VisCommandViewerList& operator = (const G4VisCommandViewerList&);
0230 G4UIcommand* fpCommand;
0231 };
0232
0233 class G4VisCommandViewerPan: public G4VVisCommand {
0234 public:
0235 G4VisCommandViewerPan ();
0236 virtual ~G4VisCommandViewerPan ();
0237 G4String GetCurrentValue (G4UIcommand* command);
0238 void SetNewValue (G4UIcommand* command, G4String newValue);
0239 private:
0240 G4VisCommandViewerPan (const G4VisCommandViewerPan&);
0241 G4VisCommandViewerPan& operator = (const G4VisCommandViewerPan&);
0242 G4UIcommand* fpCommandPan;
0243 G4UIcommand* fpCommandPanTo;
0244 G4double fPanIncrementRight, fPanIncrementUp;
0245 G4double fPanToRight, fPanToUp;
0246 };
0247
0248 class G4VisCommandViewerRebuild: public G4VVisCommand {
0249 public:
0250 G4VisCommandViewerRebuild ();
0251 virtual ~G4VisCommandViewerRebuild ();
0252 G4String GetCurrentValue (G4UIcommand* command);
0253 void SetNewValue (G4UIcommand* command, G4String newValue);
0254 private:
0255 G4VisCommandViewerRebuild (const G4VisCommandViewerRebuild&);
0256 G4VisCommandViewerRebuild& operator = (const G4VisCommandViewerRebuild&);
0257 G4UIcmdWithAString* fpCommand;
0258 };
0259
0260 class G4VisCommandViewerRefresh: public G4VVisCommand {
0261 public:
0262 G4VisCommandViewerRefresh ();
0263 virtual ~G4VisCommandViewerRefresh ();
0264 G4String GetCurrentValue (G4UIcommand* command);
0265 void SetNewValue (G4UIcommand* command, G4String newValue);
0266 private:
0267 G4VisCommandViewerRefresh (const G4VisCommandViewerRefresh&);
0268 G4VisCommandViewerRefresh& operator = (const G4VisCommandViewerRefresh&);
0269 G4UIcmdWithAString* fpCommand;
0270 };
0271
0272 class G4VisCommandViewerReset: public G4VVisCommand {
0273 public:
0274 G4VisCommandViewerReset ();
0275 virtual ~G4VisCommandViewerReset ();
0276 G4String GetCurrentValue (G4UIcommand* command);
0277 void SetNewValue (G4UIcommand* command, G4String newValue);
0278 private:
0279 G4VisCommandViewerReset (const G4VisCommandViewerReset&);
0280 G4VisCommandViewerReset& operator = (const G4VisCommandViewerReset&);
0281 G4UIcmdWithAString* fpCommand;
0282 };
0283
0284 class G4VisCommandViewerResetCameraParameters: public G4VVisCommand {
0285 public:
0286 G4VisCommandViewerResetCameraParameters ();
0287 virtual ~G4VisCommandViewerResetCameraParameters ();
0288 G4String GetCurrentValue (G4UIcommand* command);
0289 void SetNewValue (G4UIcommand* command, G4String newValue);
0290 private:
0291 G4VisCommandViewerResetCameraParameters (const G4VisCommandViewerResetCameraParameters&);
0292 G4VisCommandViewerResetCameraParameters& operator = (const G4VisCommandViewerResetCameraParameters&);
0293 G4UIcmdWithAString* fpCommand;
0294 };
0295
0296 class G4VisCommandViewerSave: public G4VVisCommand {
0297 public:
0298 G4VisCommandViewerSave ();
0299 virtual ~G4VisCommandViewerSave ();
0300 G4String GetCurrentValue (G4UIcommand* command);
0301 void SetNewValue (G4UIcommand* command, G4String newValue);
0302 private:
0303 G4VisCommandViewerSave (const G4VisCommandViewerSave&);
0304 G4VisCommandViewerSave& operator = (const G4VisCommandViewerSave&);
0305 G4UIcmdWithAString* fpCommand;
0306 };
0307
0308 class G4VisCommandViewerScale: public G4VVisCommand {
0309 public:
0310 G4VisCommandViewerScale ();
0311 virtual ~G4VisCommandViewerScale ();
0312 G4String GetCurrentValue (G4UIcommand* command);
0313 void SetNewValue (G4UIcommand* command, G4String newValue);
0314 private:
0315 G4VisCommandViewerScale (const G4VisCommandViewerScale&);
0316 G4VisCommandViewerScale& operator = (const G4VisCommandViewerScale&);
0317 G4UIcmdWith3Vector* fpCommandScale;
0318 G4UIcmdWith3Vector* fpCommandScaleTo;
0319 G4Vector3D fScaleMultiplier;
0320 G4Vector3D fScaleTo;
0321 };
0322
0323 class G4VisCommandViewerSelect: public G4VVisCommand {
0324 public:
0325 G4VisCommandViewerSelect ();
0326 virtual ~G4VisCommandViewerSelect ();
0327 G4String GetCurrentValue (G4UIcommand* command);
0328 void SetNewValue (G4UIcommand* command, G4String newValue);
0329 private:
0330 G4VisCommandViewerSelect (const G4VisCommandViewerSelect&);
0331 G4VisCommandViewerSelect& operator = (const G4VisCommandViewerSelect&);
0332 G4UIcmdWithAString* fpCommand;
0333 };
0334
0335 class G4VisCommandViewerUpdate: public G4VVisCommand {
0336 public:
0337 G4VisCommandViewerUpdate ();
0338 virtual ~G4VisCommandViewerUpdate ();
0339 G4String GetCurrentValue (G4UIcommand* command);
0340 void SetNewValue (G4UIcommand* command, G4String newValue);
0341 private:
0342 G4VisCommandViewerUpdate (const G4VisCommandViewerUpdate&);
0343 G4VisCommandViewerUpdate& operator = (const G4VisCommandViewerUpdate&);
0344 G4UIcmdWithAString* fpCommand;
0345 };
0346
0347 class G4VisCommandViewerZoom: public G4VVisCommand {
0348 public:
0349 G4VisCommandViewerZoom ();
0350 virtual ~G4VisCommandViewerZoom ();
0351 G4String GetCurrentValue (G4UIcommand* command);
0352 void SetNewValue (G4UIcommand* command, G4String newValue);
0353 private:
0354 G4VisCommandViewerZoom (const G4VisCommandViewerZoom&);
0355 G4VisCommandViewerZoom& operator = (const G4VisCommandViewerZoom&);
0356 G4UIcmdWithADouble* fpCommandZoom;
0357 G4UIcmdWithADouble* fpCommandZoomTo;
0358 G4double fZoomMultiplier;
0359 G4double fZoomTo;
0360 };
0361
0362 #endif