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 // /vis/viewer/set commands - John Allison 16th May 2000 29 30 #ifndef G4VISCOMMANDSVIEWERSET_HH 31 #define G4VISCOMMANDSVIEWERSET_HH 32 33 #include "G4VisCommandsViewer.hh" 34 35 #include <vector> 36 37 class G4UIdirectory; 38 class G4UIcommand; 39 class G4UIcmdWithoutParameter; 40 class G4UIcmdWithAString; 41 class G4UIcmdWithABool; 42 class G4UIcmdWithAnInteger; 43 class G4UIcmdWithADouble; 44 class G4UIcmdWith3VectorAndUnit; 45 46 class G4VisCommandsViewerSet: public G4VVisCommand { 47 public: 48 G4VisCommandsViewerSet (); 49 virtual ~G4VisCommandsViewerSet (); 50 G4String GetCurrentValue (G4UIcommand* command); 51 void SetNewValue (G4UIcommand* command, G4String newValue); 52 private: 53 G4VisCommandsViewerSet (const G4VisCommandsViewerSet&); 54 G4VisCommandsViewerSet& operator = (const G4VisCommandsViewerSet&); 55 G4UIcmdWithAString* fpCommandAll; 56 G4UIcmdWithABool* fpCommandAutoRefresh; 57 G4UIcmdWithABool* fpCommandAuxEdge; 58 G4UIcommand* fpCommandBackground; 59 G4UIcommand* fpCommandCulling; 60 G4UIcmdWithAString* fpCommandCutawayMode; 61 G4UIcommand* fpCommandDefaultColour; 62 G4UIcommand* fpCommandDefaultTextColour; 63 G4UIcmdWithABool* fpCommandEdge; 64 G4UIcommand* fpCommandExplodeFactor; 65 G4UIcmdWithADouble* fpCommandGlobalMarkerScale; 66 G4UIcmdWithADouble* fpCommandGlobalLineWidthScale; 67 G4UIcmdWithABool* fpCommandHiddenEdge; 68 G4UIcmdWithABool* fpCommandHiddenMarker; 69 G4UIcmdWithAString* fpCommandLightsMove; 70 G4UIcommand* fpCommandLightsThetaPhi; 71 G4UIcommand* fpCommandLightsVector; 72 G4ThreeVector fLightsVector; 73 G4UIcmdWithAnInteger* fpCommandLineSegments; 74 G4UIcmdWithoutParameter* fpCommandLineWidth; 75 G4UIcmdWithAnInteger* fpCommandNumberOfCloudPoints; 76 G4UIcmdWithABool* fpCommandPicking; 77 G4UIcommand* fpCommandProjection; 78 G4UIcmdWithAString* fpCommandRotationStyle; 79 G4UIcommand* fpCommandSectionPlane; 80 G4UIcmdWithABool* fpCommandSpecialMeshRendering; 81 G4UIcmdWithAString* fpCommandSpecialMeshRenderingOption; 82 G4UIcommand* fpCommandSpecialMeshVolumes; 83 G4UIcmdWithAString* fpCommandStyle; 84 G4UIcmdWith3VectorAndUnit* fpCommandTargetPoint; 85 G4UIcommand* fpCommandUpThetaPhi; 86 G4UIcommand* fpCommandUpVector; 87 G4ThreeVector fUpVector; 88 G4UIcommand* fpCommandViewpointThetaPhi; 89 G4UIcommand* fpCommandViewpointVector; 90 G4ThreeVector fViewpointVector; 91 G4UIdirectory* fpTimeWindowDirectory; 92 G4UIcommand* fpCommandTimeWindowDisplayHeadTime; 93 G4UIcommand* fpCommandTimeWindowDisplayLightFront; 94 G4UIcommand* fpCommandTimeWindowEndTime; 95 G4UIcmdWithADouble* fpCommandTimeWindowFadeFactor; 96 G4UIcommand* fpCommandTimeWindowStartTime; 97 }; 98 99 #endif 100