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