Geant4 11.1.1
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4FRConst.hh
Go to the documentation of this file.
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// Satoshi TANAKA, Tue Jul 2 15:30:49 JST 1996
29///////////////////////////////////
30///// G4FRConst.hh /////
31///////////////////////////////////
32
33#ifndef G4_FR_COMMAND_LIST_HH
34#define G4_FR_COMMAND_LIST_HH
35
36//----- Header comment
37const char FR_G4_PRIM_HEADER[] = "##G4.PRIM-FORMAT-2.4";
38// const char FR_PHYSICAL_VOLUME_NAME [] = "#/PhysicalVolumeName" ;
39const char FR_PHYSICAL_VOLUME_NAME[] = "#/PVName";
40
41//----- Execution control (beginning with !)
42const char FR_GUI[] = "!GraphicalUserInterface";
43const char FR_DEVICE[] = "!Device";
44const char FR_SET_CAMERA[] = "!SetCamera";
45const char FR_OPEN_DEVICE[] = "!OpenDevice";
46const char FR_CLOSE_DEVICE[] = "!CloseDevice";
47const char FR_DRAW_ALL[] = "!DrawAll";
48const char FR_CLEAR_DATA[] = "!ClearData";
49const char FR_QUIT[] = "!Quit";
50const char FR_DISCONNECT_DAWND[] = "!DisconnectDawnd";
51const char FR_TERMINATE_DAWND[] = "!TerminateDawnd";
52const char FR_SAVE[] = "!Save";
53const char FR_END_SAVE[] = "!EndSave";
54const char FR_WAIT[] = "!Wait";
55const char FR_PAUSE[] = "!Pause";
56
57//----- Drawing Style
58const char FR_WIREFRAME[] = "/Wireframe";
59const char FR_SURFACE[] = "/Surface";
60const char FR_LINES[] = "/Lines";
61
62//----- Begin and End of Modeling
63const char FR_BEGIN_MODELING[] = "!BeginModeling";
64const char FR_END_MODELING[] = "!EndModeling";
65
66//----- Bounding box
67const char FR_BOUNDING_BOX[] = "/BoundingBox";
68const char FR_BOUNDING_BOX_UNIT[] = "/BoundingBox -0.5 -0.5 -0.5 0.5 0.5 0.5";
69
70//----- Number of divising curved surface
71const int FR_DEFALUT_NDIV_VALUE = 24;
72
73const char FR_NDIV[] = "/Ndiv";
74const char FR_NDIV_DEFAULT[] = "/Ndiv 24";
75const char FR_NDIV_3[] = "/Ndiv 3";
76const char FR_NDIV_4[] = "/Ndiv 4";
77const char FR_NDIV_8[] = "/Ndiv 8";
78const char FR_NDIV_16[] = "/Ndiv 16";
79const char FR_NDIV_24[] = "/Ndiv 24";
80const char FR_NDIV_48[] = "/Ndiv 48";
81const char FR_NDIV_96[] = "/Ndiv 96";
82
83//----- Camera information
84const char FR_CAMERA_POSITION[] = "/CameraPosition";
85const char FR_CAMERA_POSITION_DEFAULT[] = "/CameraPosition 100000.0 0.0 0.0";
86// see from far upward position
87const char FR_TARGET_POINT[] = "/TargetPoint";
88const char FR_ZOOM_FACTOR[] = "/ZoomFactor";
89const char FR_SCALE[] = "/Scale";
90const char FR_FOCAL_DISTANCE[] = "/FocalDistance";
91
92//----- Body coordinate information
93const char FR_BASE_VECTOR[] = "/BaseVector";
94// Give e1 and e2. Then e3 is calculated.
95const char FR_BASE_VECTOR_DEFAULT[] = "/BaseVector 1.0 0.0 0.0 0.0 1.0 0.0";
96const char FR_ORIGIN[] = "/Origin";
97const char FR_ORIGIN_DEFAULT[] = "/Origin 0.0 0.0 0.0";
98
99//----- Attribute information
100const char FR_DIFFUSE_RGB[] = "/DiffuseRGB";
101// old name of /ColorRGB
102
103const char FR_COLOR_RGB[] = "/ColorRGB";
104const char FR_COLOR_RGB_DEFAULT[] = "/ColorRGB 1.0 1.0 1.0";
105const char FR_COLOR_RGB_WHITE[] = "/ColorRGB 1.0 1.0 1.0";
106
107const char FR_COLOR_RGB_RED[] = "/ColorRGB 1.0 0.0 0.0";
108const char FR_COLOR_RGB_GREEN[] = "/ColorRGB 0.0 1.0 0.0";
109const char FR_COLOR_RGB_BLUE[] = "/ColorRGB 0.0 0.0 1.0";
110
111const char FR_COLOR_RGB_CYAN[] = "/ColorRGB 0.0 1.0 1.0";
112const char FR_COLOR_RGB_MAGENTA[] = "/ColorRGB 1.0 0.0 1.0";
113const char FR_COLOR_RGB_YELLOW[] = "/ColorRGB 1.0 1.0 0.0";
114
115const char FR_SPECULAR_RGB[] = "/SpecularRGB";
116const char FR_SPECULAR_RGB_DEFAULT[] = "/SpecularRGB 1.0 1.0 1.0";
117const char FR_SPECULAR_RGB_WHITE[] = "/SpecularRGB 1.0 1.0 1.0";
118
119const char FR_PHONG_POWER[] = "/PhongPower";
120const char FR_PHONG_POWER_DEFAULT[] = "/PhongPower 3";
121
122const char FR_TRANSPARENCY[] = "/Transparency";
123const char FR_TRANSPARENCY_ON[] = "/Transparency 1 "; // transparent
124const char FR_TRANSPARENCY_OFF[] = "/Transparency 0 "; // non-transparent
125
126const char FR_FORCE_WIREFRAME[] = "/ForceWireframe";
127const char FR_FORCE_WIREFRAME_ON[] = "/ForceWireframe 1";
128const char FR_FORCE_WIREFRAME_OFF[] = "/ForceWireframe 0";
129
130const char FR_VISIBILITY[] = "/Visibility";
131const char FR_VISIBILITY_ON[] = "/Visibility 1"; // visible
132const char FR_VISIBILITY_OFF[] = "/Visibility 0"; // invisible
133
134//----- 3D Primitives
135const char FR_POLYHEDRON[] = "/Polyhedron";
136const char FR_VERTEX[] = "/Vertex";
137const char FR_FACET[] = "/Facet";
138const char FR_END_POLYHEDRON[] = "/EndPolyhedron";
139
140const char FR_BOX[] = "/Box";
141const char FR_BOX_UNIT[] = "/Box 0.5 0.5 0.5"; // dx, dy, dz
142
143const char FR_COLUMN[] = "/Column";
144const char FR_COLUMN_UNIT[] = "/Column 0.5 0.5"; // R dz
145
146const char FR_POLYLINE[] = "/Polyline";
147const char FR_PL_VERTEX[] = "/PLVertex";
148const char FR_PL_VERTEX_OLD[] = "PLVertex";
149const char FR_END_POLYLINE[] = "/EndPolyline";
150
151const char FR_TRD[] = "/Trd";
152// /Trd dx1 dx2 dy1 dy2 dz ;
153const char FR_TRAP[] = "/Trap";
154// /Trap dz theta phi h1 bl1 tl1 alpha1 h2 bl2 tl2 alpha2
155const char FR_TUBS[] = "/Tubs";
156// /Tubs rmin rmax dz sphi dphi
157const char FR_CONS[] = "/Cons";
158// /Cons rmin1 rmax1 rmin2 rmax2 dz sphi dphi
159const char FR_SPHERE[] = "/Sphere";
160// /Sphere R
161const char FR_SPHERE_SEG[] = "/SphereSeg";
162// /SphereSeg rmin rmax s_theta d_theta s_phi d_phi
163const char FR_PARA[] = "/Parallelepiped";
164// /Parallelepiped dx dy dz tanAlpha tanTheta_cosPhi tanTheta_sinPhi
165const char FR_PCON[] = "/PolyCone";
166// /PolyCone sphi dphi nz z[nz] rmin[nz] rmax[nz]
167const char FR_PGON[] = "/PolyGon";
168// /PolyGon sphi dphi ndiv nz z[nz] rmin[nz] rmax[nz]
169const char FR_TORUS[] = "/Torus";
170// /PolyGon sphi dphi ndiv nz z[nz] rmin[nz] rmax[nz]
171
172//----- Marks I (arg: x y z half_size_3d)
173const char FR_FONT_NAME[] = "/FontName";
174
175//----- Marks I (arg: x y z half_size_3d)
176const char FR_MARK_CIRCLE_2D[] = "/MarkCircle2D";
177const char FR_MARK_SQUARE_2D[] = "/MarkSquare2D";
178const char FR_MARK_TEXT_2D[] = "/MarkText2D";
179// /MarkText2D x y z size_world x_offset_world y_offset_world string
180
181//----- Marks II (arg: x y z half_size_2d)
182const char FR_MARK_CIRCLE_2DS[] = "/MarkCircle2DS";
183const char FR_MARK_SQUARE_2DS[] = "/MarkSquare2DS";
184const char FR_MARK_TEXT_2DS[] = "/MarkText2DS";
185// /MarkText2DS x y z size_pt x_offset_pt y_offset_pt string
186
187//----- Text
188const char FR_TEXT_2DS[] = "/Text2DS";
189
190//----- For DAWNCUT
191const char FR_CLIPPING_PLANE[] = "/ClippingPlane";
192// /ClippingPlaneMarkCross2D a b c d
193// for plane ax + by + cz + d = 0
194
195#endif
const char FR_FORCE_WIREFRAME_OFF[]
Definition: G4FRConst.hh:128
const char FR_FORCE_WIREFRAME[]
Definition: G4FRConst.hh:126
const char FR_FACET[]
Definition: G4FRConst.hh:137
const char FR_WIREFRAME[]
Definition: G4FRConst.hh:58
const char FR_MARK_CIRCLE_2D[]
Definition: G4FRConst.hh:176
const char FR_END_SAVE[]
Definition: G4FRConst.hh:53
const char FR_NDIV_3[]
Definition: G4FRConst.hh:75
const char FR_NDIV_4[]
Definition: G4FRConst.hh:76
const char FR_COLOR_RGB_GREEN[]
Definition: G4FRConst.hh:108
const char FR_FORCE_WIREFRAME_ON[]
Definition: G4FRConst.hh:127
const char FR_MARK_TEXT_2D[]
Definition: G4FRConst.hh:178
const char FR_BOX[]
Definition: G4FRConst.hh:140
const char FR_TRANSPARENCY_OFF[]
Definition: G4FRConst.hh:124
const char FR_NDIV_96[]
Definition: G4FRConst.hh:81
const char FR_END_POLYHEDRON[]
Definition: G4FRConst.hh:138
const char FR_CLOSE_DEVICE[]
Definition: G4FRConst.hh:46
const char FR_VISIBILITY_OFF[]
Definition: G4FRConst.hh:132
const char FR_TRAP[]
Definition: G4FRConst.hh:153
const char FR_BASE_VECTOR[]
Definition: G4FRConst.hh:93
const char FR_TERMINATE_DAWND[]
Definition: G4FRConst.hh:51
const char FR_DRAW_ALL[]
Definition: G4FRConst.hh:47
const char FR_PARA[]
Definition: G4FRConst.hh:163
const char FR_MARK_SQUARE_2D[]
Definition: G4FRConst.hh:177
const char FR_TARGET_POINT[]
Definition: G4FRConst.hh:87
const char FR_BOUNDING_BOX[]
Definition: G4FRConst.hh:67
const char FR_TORUS[]
Definition: G4FRConst.hh:169
const char FR_MARK_CIRCLE_2DS[]
Definition: G4FRConst.hh:182
const char FR_NDIV_DEFAULT[]
Definition: G4FRConst.hh:74
const char FR_TRANSPARENCY[]
Definition: G4FRConst.hh:122
const char FR_PHONG_POWER_DEFAULT[]
Definition: G4FRConst.hh:120
const char FR_POLYLINE[]
Definition: G4FRConst.hh:146
const char FR_G4_PRIM_HEADER[]
Definition: G4FRConst.hh:37
const char FR_POLYHEDRON[]
Definition: G4FRConst.hh:135
const char FR_DISCONNECT_DAWND[]
Definition: G4FRConst.hh:50
const char FR_NDIV[]
Definition: G4FRConst.hh:73
const char FR_SPHERE[]
Definition: G4FRConst.hh:159
const char FR_NDIV_16[]
Definition: G4FRConst.hh:78
const char FR_PHYSICAL_VOLUME_NAME[]
Definition: G4FRConst.hh:39
const int FR_DEFALUT_NDIV_VALUE
Definition: G4FRConst.hh:71
const char FR_CLEAR_DATA[]
Definition: G4FRConst.hh:48
const char FR_GUI[]
Definition: G4FRConst.hh:42
const char FR_END_POLYLINE[]
Definition: G4FRConst.hh:149
const char FR_FONT_NAME[]
Definition: G4FRConst.hh:173
const char FR_TEXT_2DS[]
Definition: G4FRConst.hh:188
const char FR_PCON[]
Definition: G4FRConst.hh:165
const char FR_OPEN_DEVICE[]
Definition: G4FRConst.hh:45
const char FR_CLIPPING_PLANE[]
Definition: G4FRConst.hh:191
const char FR_LINES[]
Definition: G4FRConst.hh:60
const char FR_CONS[]
Definition: G4FRConst.hh:157
const char FR_COLUMN[]
Definition: G4FRConst.hh:143
const char FR_TRANSPARENCY_ON[]
Definition: G4FRConst.hh:123
const char FR_BASE_VECTOR_DEFAULT[]
Definition: G4FRConst.hh:95
const char FR_PL_VERTEX_OLD[]
Definition: G4FRConst.hh:148
const char FR_COLOR_RGB_WHITE[]
Definition: G4FRConst.hh:105
const char FR_COLOR_RGB_CYAN[]
Definition: G4FRConst.hh:111
const char FR_CAMERA_POSITION_DEFAULT[]
Definition: G4FRConst.hh:85
const char FR_VERTEX[]
Definition: G4FRConst.hh:136
const char FR_COLOR_RGB_YELLOW[]
Definition: G4FRConst.hh:113
const char FR_COLOR_RGB_BLUE[]
Definition: G4FRConst.hh:109
const char FR_DIFFUSE_RGB[]
Definition: G4FRConst.hh:100
const char FR_SPECULAR_RGB_WHITE[]
Definition: G4FRConst.hh:117
const char FR_SURFACE[]
Definition: G4FRConst.hh:59
const char FR_COLOR_RGB[]
Definition: G4FRConst.hh:103
const char FR_PAUSE[]
Definition: G4FRConst.hh:55
const char FR_MARK_SQUARE_2DS[]
Definition: G4FRConst.hh:183
const char FR_BEGIN_MODELING[]
Definition: G4FRConst.hh:63
const char FR_BOX_UNIT[]
Definition: G4FRConst.hh:141
const char FR_COLOR_RGB_DEFAULT[]
Definition: G4FRConst.hh:104
const char FR_COLOR_RGB_MAGENTA[]
Definition: G4FRConst.hh:112
const char FR_COLUMN_UNIT[]
Definition: G4FRConst.hh:144
const char FR_SPECULAR_RGB_DEFAULT[]
Definition: G4FRConst.hh:116
const char FR_NDIV_8[]
Definition: G4FRConst.hh:77
const char FR_NDIV_24[]
Definition: G4FRConst.hh:79
const char FR_SPHERE_SEG[]
Definition: G4FRConst.hh:161
const char FR_VISIBILITY_ON[]
Definition: G4FRConst.hh:131
const char FR_CAMERA_POSITION[]
Definition: G4FRConst.hh:84
const char FR_SPECULAR_RGB[]
Definition: G4FRConst.hh:115
const char FR_VISIBILITY[]
Definition: G4FRConst.hh:130
const char FR_ZOOM_FACTOR[]
Definition: G4FRConst.hh:88
const char FR_MARK_TEXT_2DS[]
Definition: G4FRConst.hh:184
const char FR_SCALE[]
Definition: G4FRConst.hh:89
const char FR_DEVICE[]
Definition: G4FRConst.hh:43
const char FR_NDIV_48[]
Definition: G4FRConst.hh:80
const char FR_BOUNDING_BOX_UNIT[]
Definition: G4FRConst.hh:68
const char FR_ORIGIN_DEFAULT[]
Definition: G4FRConst.hh:97
const char FR_PGON[]
Definition: G4FRConst.hh:167
const char FR_WAIT[]
Definition: G4FRConst.hh:54
const char FR_FOCAL_DISTANCE[]
Definition: G4FRConst.hh:90
const char FR_PL_VERTEX[]
Definition: G4FRConst.hh:147
const char FR_TRD[]
Definition: G4FRConst.hh:151
const char FR_END_MODELING[]
Definition: G4FRConst.hh:64
const char FR_PHONG_POWER[]
Definition: G4FRConst.hh:119
const char FR_SAVE[]
Definition: G4FRConst.hh:52
const char FR_QUIT[]
Definition: G4FRConst.hh:49
const char FR_TUBS[]
Definition: G4FRConst.hh:155
const char FR_SET_CAMERA[]
Definition: G4FRConst.hh:44
const char FR_COLOR_RGB_RED[]
Definition: G4FRConst.hh:107
const char FR_ORIGIN[]
Definition: G4FRConst.hh:96