Geant4 Cross Reference |
1 // 1 // 2 // ******************************************* 2 // ******************************************************************** 3 // * License and Disclaimer << 3 // * DISCLAIMER * 4 // * 4 // * * 5 // * The Geant4 software is copyright of th << 5 // * The following disclaimer summarizes all the specific disclaimers * 6 // * the Geant4 Collaboration. It is provided << 6 // * of contributors to this software. The specific disclaimers,which * 7 // * conditions of the Geant4 Software License << 7 // * govern, are listed with their locations in: * 8 // * LICENSE and available at http://cern.ch/ << 8 // * http://cern.ch/geant4/license * 9 // * include a list of copyright holders. << 10 // * 9 // * * 11 // * Neither the authors of this software syst 10 // * Neither the authors of this software system, nor their employing * 12 // * institutes,nor the agencies providing fin 11 // * institutes,nor the agencies providing financial support for this * 13 // * work make any representation or warran 12 // * work make any representation or warranty, express or implied, * 14 // * regarding this software system or assum 13 // * regarding this software system or assume any liability for its * 15 // * use. Please see the license in the file << 14 // * use. * 16 // * for the full disclaimer and the limitatio << 17 // * 15 // * * 18 // * This code implementation is the result << 16 // * This code implementation is the intellectual property of the * 19 // * technical work of the GEANT4 collaboratio << 17 // * GEANT4 collaboration. * 20 // * By using, copying, modifying or distri << 18 // * By copying, distributing or modifying the Program (or any work * 21 // * any work based on the software) you ag << 19 // * based on the Program) you indicate your acceptance of this * 22 // * use in resulting scientific publicati << 20 // * statement, and all its terms. * 23 // * acceptance of all terms of the Geant4 Sof << 24 // ******************************************* 21 // ******************************************************************** 25 // 22 // 26 /// \file field/BlineTracer/include/G4BlineTra << 27 /// \brief Definition of the G4BlineTracerMess << 28 // << 29 // << 30 // 23 // >> 24 // $Id: G4BlineTracerMessenger.hh,v 1.1 2003/11/25 09:29:46 gcosmo Exp $ >> 25 // GEANT4 tag $Name: geant4-07-01 $ 31 // 26 // >> 27 // 32 // ------------------------------------------- 28 // -------------------------------------------------------------------- 33 // 29 // 34 // G4BlineTracerMessenger 30 // G4BlineTracerMessenger 35 // 31 // 36 // Class description: 32 // Class description: 37 // 33 // 38 // Defines interactive commands that allows to 34 // Defines interactive commands that allows to pilot the tracer 39 // for displaying field lines. 35 // for displaying field lines. 40 36 41 // ------------------------------------------- 37 // -------------------------------------------------------------------- 42 // Author: Laurent Desorgher (desorgher@phim.u 38 // Author: Laurent Desorgher (desorgher@phim.unibe.ch) 43 // Created - 2003-10-06 39 // Created - 2003-10-06 44 // ------------------------------------------- 40 // -------------------------------------------------------------------- 45 #ifndef G4BlineTracerMessenger_h 41 #ifndef G4BlineTracerMessenger_h 46 #define G4BlineTracerMessenger_h 1 42 #define G4BlineTracerMessenger_h 1 47 43 48 #include "G4Types.hh" 44 #include "G4Types.hh" 49 #include "G4UImessenger.hh" 45 #include "G4UImessenger.hh" 50 46 51 class G4BlineTracer; 47 class G4BlineTracer; 52 class G4UIdirectory; 48 class G4UIdirectory; 53 class G4UIcommand; 49 class G4UIcommand; 54 class G4UIcmdWithADouble; 50 class G4UIcmdWithADouble; 55 class G4UIcmdWithADoubleAndUnit; 51 class G4UIcmdWithADoubleAndUnit; 56 class G4UIcmdWithAnInteger; 52 class G4UIcmdWithAnInteger; 57 class G4UIcmdWithABool; 53 class G4UIcmdWithABool; 58 class G4UIcmdWithoutParameter; 54 class G4UIcmdWithoutParameter; 59 class G4UIcmdWith3Vector; 55 class G4UIcmdWith3Vector; 60 56 61 class G4BlineTracerMessenger : public G4UImess 57 class G4BlineTracerMessenger : public G4UImessenger 62 { 58 { 63 public: // with description 59 public: // with description >> 60 64 G4BlineTracerMessenger(G4BlineTracer* aBli 61 G4BlineTracerMessenger(G4BlineTracer* aBlineTool); 65 ~G4BlineTracerMessenger() override; << 62 ~G4BlineTracerMessenger(); 66 63 67 void SetNewValue(G4UIcommand* command, G4S << 64 void SetNewValue(G4UIcommand * command,G4String newValues); 68 65 69 private: 66 private: 70 G4BlineTracer* fTheBlineTool = nullptr; << 67 71 G4UIdirectory* fBlineToolDir = nullptr; << 68 G4BlineTracer* theBlineTool; >> 69 G4UIdirectory* BlineToolDir; 72 70 73 // commands 71 // commands 74 72 75 G4UIcmdWithAnInteger* fBlineCmd = nullptr; << 73 G4UIcmdWithAnInteger* BlineCmd; 76 G4UIcmdWithADoubleAndUnit* fSetMaxTracking << 74 G4UIcmdWithADoubleAndUnit* SetMaxTrackingStepCmd; 77 G4UIcmdWith3Vector* fSetDrawColourCmd = nu << 75 G4UIcmdWith3Vector* SetDrawColourCmd; 78 G4UIcmdWithABool* fSetDrawBlineCmd = nullp << 76 G4UIcmdWithABool* SetDrawBlineCmd; 79 G4UIcmdWithABool* fSetDrawPointsCmd = null << 77 G4UIcmdWithABool* SetDrawPointsCmd; 80 G4UIcmdWithADouble* fSetPointSizeCmd = nul << 78 G4UIcmdWithADouble* SetPointSizeCmd; 81 G4UIcmdWithoutParameter* fDrawCmd = nullpt << 79 G4UIcmdWithoutParameter* DrawCmd; 82 G4UIcmdWithoutParameter* fResetCmd = nullp << 80 G4UIcmdWithoutParameter* ResetCmd; 83 }; 81 }; 84 82 85 #endif 83 #endif 86 84