Geant4 Cross Reference |
1 // 1 2 // ******************************************* 3 // * License and Disclaimer 4 // * 5 // * The Geant4 software is copyright of th 6 // * the Geant4 Collaboration. It is provided 7 // * conditions of the Geant4 Software License 8 // * LICENSE and available at http://cern.ch/ 9 // * include a list of copyright holders. 10 // * 11 // * Neither the authors of this software syst 12 // * institutes,nor the agencies providing fin 13 // * work make any representation or warran 14 // * regarding this software system or assum 15 // * use. Please see the license in the file 16 // * for the full disclaimer and the limitatio 17 // * 18 // * This code implementation is the result 19 // * technical work of the GEANT4 collaboratio 20 // * By using, copying, modifying or distri 21 // * any work based on the software) you ag 22 // * use in resulting scientific publicati 23 // * acceptance of all terms of the Geant4 Sof 24 // ******************************************* 25 // 26 // 27 // 28 // Satoshi TANAKA, Tue Jul 2 15:30:49 JST 199 29 /////////////////////////////////// 30 ///// G4FRConst.hh ///// 31 /////////////////////////////////// 32 33 #ifndef G4_FR_COMMAND_LIST_HH 34 #define G4_FR_COMMAND_LIST_HH 35 36 //----- Header comment 37 const char FR_G4_PRIM_HEADER[] = "##G4.PRIM-FO 38 // const char FR_PHYSICAL_VOLUME_NAME [] = 39 const char FR_PHYSICAL_VOLUME_NAME[] = "#/PVNa 40 41 //----- Execution control (beginning with !) 42 const char FR_GUI[] = "!Graphical 43 const char FR_DEVICE[] = "!Device"; 44 const char FR_SET_CAMERA[] = "!SetCamera 45 const char FR_OPEN_DEVICE[] = "!OpenDevic 46 const char FR_CLOSE_DEVICE[] = "!CloseDevi 47 const char FR_DRAW_ALL[] = "!DrawAll"; 48 const char FR_CLEAR_DATA[] = "!ClearData 49 const char FR_QUIT[] = "!Quit"; 50 const char FR_DISCONNECT_DAWND[] = "!Disconnec 51 const char FR_TERMINATE_DAWND[] = "!Terminate 52 const char FR_SAVE[] = "!Save"; 53 const char FR_END_SAVE[] = "!EndSave"; 54 const char FR_WAIT[] = "!Wait"; 55 const char FR_PAUSE[] = "!Pause"; 56 57 //----- Drawing Style 58 const char FR_WIREFRAME[] = "/Wireframe"; 59 const char FR_SURFACE[] = "/Surface"; 60 const char FR_LINES[] = "/Lines"; 61 62 //----- Begin and End of Modeling 63 const char FR_BEGIN_MODELING[] = "!BeginModeli 64 const char FR_END_MODELING[] = "!EndModeling 65 66 //----- Bounding box 67 const char FR_BOUNDING_BOX[] = "/Bounding 68 const char FR_BOUNDING_BOX_UNIT[] = "/Bounding 69 70 //----- Number of divising curved surface 71 const int FR_DEFALUT_NDIV_VALUE = 24; 72 73 const char FR_NDIV[] = "/Ndiv"; 74 const char FR_NDIV_DEFAULT[] = "/Ndiv 24"; 75 const char FR_NDIV_3[] = "/Ndiv 3"; 76 const char FR_NDIV_4[] = "/Ndiv 4"; 77 const char FR_NDIV_8[] = "/Ndiv 8"; 78 const char FR_NDIV_16[] = "/Ndiv 16"; 79 const char FR_NDIV_24[] = "/Ndiv 24"; 80 const char FR_NDIV_48[] = "/Ndiv 48"; 81 const char FR_NDIV_96[] = "/Ndiv 96"; 82 83 //----- Camera information 84 const char FR_CAMERA_POSITION[] = "/Ca 85 const char FR_CAMERA_POSITION_DEFAULT[] = "/Ca 86 // see from far upward position 87 const char FR_TARGET_POINT[] = "/TargetPoint 88 const char FR_ZOOM_FACTOR[] = "/ZoomFactor" 89 const char FR_SCALE[] = "/Scale"; 90 const char FR_FOCAL_DISTANCE[] = "/FocalDistan 91 92 //----- Body coordinate information 93 const char FR_BASE_VECTOR[] = "/BaseVector"; 94 // Give e1 and e2. Then e3 is calculated. 95 const char FR_BASE_VECTOR_DEFAULT[] = "/BaseVe 96 const char FR_ORIGIN[] = "/Origin 97 const char FR_ORIGIN_DEFAULT[] = "/Origin 98 99 //----- Attribute information 100 const char FR_DIFFUSE_RGB[] = "/DiffuseRGB"; 101 // old name of /ColorRGB 102 103 const char FR_COLOR_RGB[] = "/ColorRGB 104 const char FR_COLOR_RGB_DEFAULT[] = "/ColorRGB 105 const char FR_COLOR_RGB_WHITE[] = "/ColorRGB 106 107 const char FR_COLOR_RGB_RED[] = "/ColorRGB 108 const char FR_COLOR_RGB_GREEN[] = "/ColorRGB 109 const char FR_COLOR_RGB_BLUE[] = "/ColorRGB 110 111 const char FR_COLOR_RGB_CYAN[] = "/ColorRGB 112 const char FR_COLOR_RGB_MAGENTA[] = "/ColorRGB 113 const char FR_COLOR_RGB_YELLOW[] = "/ColorRGB 114 115 const char FR_SPECULAR_RGB[] = "/Specu 116 const char FR_SPECULAR_RGB_DEFAULT[] = "/Specu 117 const char FR_SPECULAR_RGB_WHITE[] = "/Specu 118 119 const char FR_PHONG_POWER[] = "/PhongP 120 const char FR_PHONG_POWER_DEFAULT[] = "/PhongP 121 122 const char FR_TRANSPARENCY[] = "/Transpare 123 const char FR_TRANSPARENCY_ON[] = "/Transpare 124 const char FR_TRANSPARENCY_OFF[] = "/Transpare 125 126 const char FR_FORCE_WIREFRAME[] = "/ForceW 127 const char FR_FORCE_WIREFRAME_ON[] = "/ForceW 128 const char FR_FORCE_WIREFRAME_OFF[] = "/ForceW 129 130 const char FR_VISIBILITY[] = "/Visibility" 131 const char FR_VISIBILITY_ON[] = "/Visibility 132 const char FR_VISIBILITY_OFF[] = "/Visibility 133 134 //----- 3D Primitives 135 const char FR_POLYHEDRON[] = "/Polyhedron" 136 const char FR_VERTEX[] = "/Vertex"; 137 const char FR_FACET[] = "/Facet"; 138 const char FR_END_POLYHEDRON[] = "/EndPolyhedr 139 140 const char FR_BOX[] = "/Box"; 141 const char FR_BOX_UNIT[] = "/Box 0.5 0.5 0. 142 143 const char FR_COLUMN[] = "/Column"; 144 const char FR_COLUMN_UNIT[] = "/Column 0.5 0. 145 146 const char FR_POLYLINE[] = "/Polyline"; 147 const char FR_PL_VERTEX[] = "/PLVertex"; 148 const char FR_PL_VERTEX_OLD[] = "PLVertex"; 149 const char FR_END_POLYLINE[] = "/EndPolyline" 150 151 const char FR_TRD[] = "/Trd"; 152 // /Trd dx1 dx2 dy1 dy2 dz ; 153 const char FR_TRAP[] = "/Trap"; 154 // /Trap dz theta phi h1 bl1 tl1 alpha1 h2 bl2 155 const char FR_TUBS[] = "/Tubs"; 156 // /Tubs rmin rmax dz sphi dphi 157 const char FR_CONS[] = "/Cons"; 158 // /Cons rmin1 rmax1 rmin2 rmax2 dz sphi dphi 159 const char FR_SPHERE[] = "/Sphere"; 160 // /Sphere R 161 const char FR_SPHERE_SEG[] = "/SphereSeg"; 162 // /SphereSeg rmin rmax s_theta d_theta s_phi 163 const char FR_PARA[] = "/Parallelepiped"; 164 // /Parallelepiped dx dy dz tanAlpha tanTheta 165 const char FR_PCON[] = "/PolyCone"; 166 // /PolyCone sphi dphi nz z[nz] rmin[nz] 167 const char FR_PGON[] = "/PolyGon"; 168 // /PolyGon sphi dphi ndiv nz z[nz] rmi 169 const char FR_TORUS[] = "/Torus"; 170 // /PolyGon sphi dphi ndiv nz z[nz] rmi 171 172 //----- Marks I (arg: x y z half_size_3d) 173 const char FR_FONT_NAME[] = "/FontName"; 174 175 //----- Marks I (arg: x y z half_size_3d) 176 const char FR_MARK_CIRCLE_2D[] = "/MarkCircle2 177 const char FR_MARK_SQUARE_2D[] = "/MarkSquare2 178 const char FR_MARK_TEXT_2D[] = "/MarkText2D" 179 // /MarkText2D x y z size_world x_offset_wor 180 181 //----- Marks II (arg: x y z half_size_2d) 182 const char FR_MARK_CIRCLE_2DS[] = "/MarkCircle 183 const char FR_MARK_SQUARE_2DS[] = "/MarkSquare 184 const char FR_MARK_TEXT_2DS[] = "/MarkText2D 185 // /MarkText2DS x y z size_pt x_offset_pt y_ 186 187 //----- Text 188 const char FR_TEXT_2DS[] = "/Text2DS"; 189 190 //----- For DAWNCUT 191 const char FR_CLIPPING_PLANE[] = "/ClippingPla 192 // /ClippingPlaneMarkCross2D a b c d 193 // for plane ax + by + cz + d = 0 194 195 #endif 196