source: trunk/source/visualization/FukuiRenderer/include/G4FRConst.hh@ 1159

Last change on this file since 1159 was 944, checked in by garnier, 17 years ago

mise a jour des tags

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