// This code implementation is the intellectual property of // the GEANT4 collaboration. // // By copying, distributing or modifying the Program (or any work // based on the Program) you indicate your acceptance of this statement, // and all its terms. // // $Id: G4RTMessenger.hh,v 1.3 2000/03/09 17:38:32 asaim Exp $ // GEANT4 tag $Name: geant4-03-00 $ // // // class description: // // This is a concrete class of G4UImessenger. This class defines various // UI commands which are unique to G4RayTracer. // #ifndef G4RTMessenger_HH #define G4RTMessenger_HH 1 #include "G4UImessenger.hh" class G4UIdirectory; class G4UIcmdWithABool; class G4UIcmdWith3Vector; class G4UIcmdWith3VectorAndUnit; class G4UIcmdWithADoubleAndUnit; class G4UIcmdWithAnInteger; class G4UIcmdWithAString; class G4RayTracer; class G4RTSteppingAction; class G4RTMessenger : public G4UImessenger { public: G4RTMessenger(G4RayTracer* p1,G4RTSteppingAction* p2); virtual ~G4RTMessenger(); virtual G4String GetCurrentValue(G4UIcommand * command); virtual void SetNewValue(G4UIcommand * command,G4String newValue); private: G4RayTracer* theTracer; G4RTSteppingAction* theSteppingAction; G4UIdirectory* rayDirectory; G4UIcmdWithAnInteger* columnCmd; G4UIcmdWithAnInteger* rowCmd; G4UIcmdWith3VectorAndUnit* targetCmd; G4UIcmdWith3VectorAndUnit* eyePosCmd; G4UIcmdWith3Vector* lightCmd; G4UIcmdWithADoubleAndUnit* spanXCmd; G4UIcmdWithADoubleAndUnit* headCmd; G4UIcmdWithADoubleAndUnit* attCmd; G4UIcmdWithABool* distCmd; G4UIcmdWithABool* transCmd; G4UIcmdWithAString* fileCmd; }; #endif