source: trunk/source/visualization/RayTracer/include/G4RTMessenger.hh@ 1191

Last change on this file since 1191 was 954, checked in by garnier, 17 years ago

remise a jour

File size: 3.3 KB
RevLine 
[834]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// $Id: G4RTMessenger.hh,v 1.7 2006/06/29 21:23:21 gunter Exp $
[954]28// GEANT4 tag $Name: $
[834]29//
30//
31
32// class description:
33//
34// This is a concrete class of G4UImessenger. This class defines various
35// UI commands which are unique to G4RayTracer.
36//
37
38
39#ifndef G4RTMessenger_HH
40#define G4RTMessenger_HH 1
41
42#include "G4UImessenger.hh"
43class G4UIdirectory;
44class G4UIcmdWithABool;
45class G4UIcmdWith3Vector;
46class G4UIcmdWith3VectorAndUnit;
47class G4UIcmdWithADoubleAndUnit;
48class G4UIcmdWithAnInteger;
49class G4UIcmdWithAString;
50class G4TheRayTracer;
51class G4RTSteppingAction;
52
53class G4RTMessenger : public G4UImessenger
54{
55 public:
56 static G4RTMessenger* GetInstance
57 (G4TheRayTracer* p1,G4RTSteppingAction* p2); // Singleton constructor.
58 virtual ~G4RTMessenger();
59
60 virtual G4String GetCurrentValue(G4UIcommand * command);
61 virtual void SetNewValue(G4UIcommand * command,G4String newValue);
62
63 private:
64 G4RTMessenger(G4TheRayTracer* p1,G4RTSteppingAction* p2);
65 static G4RTMessenger* fpInstance;
66 G4TheRayTracer* theDefaultTracer; // The first tracer to
67 // instantiate this messenger.
68 G4TheRayTracer* theTracer; // The current tracer.
69 G4RTSteppingAction* theSteppingAction;
70
71 G4UIdirectory* rayDirectory;
72 G4UIcmdWithAnInteger* columnCmd;
73 G4UIcmdWithAnInteger* rowCmd;
74 G4UIcmdWith3VectorAndUnit* targetCmd;
75 G4UIcmdWith3VectorAndUnit* eyePosCmd;
76 G4UIcmdWith3Vector* lightCmd;
77 G4UIcmdWithADoubleAndUnit* spanXCmd;
78 G4UIcmdWithADoubleAndUnit* headCmd;
79 G4UIcmdWithADoubleAndUnit* attCmd;
80 G4UIcmdWithABool* distCmd;
81 G4UIcmdWithABool* transCmd;
82 G4UIcmdWithAString* fileCmd;
83 G4UIcmdWith3Vector* bkgColCmd;
84};
85
86#endif
87
88
89
Note: See TracBrowser for help on using the repository browser.