Geant4 Cross Reference |
1 ########################################### 1 ########################################### 2 ## Environmental variables to CUSTOMIZE ## 2 ## Environmental variables to CUSTOMIZE ## 3 ## Geant4 DAWNFILE visualization driver ## 3 ## Geant4 DAWNFILE visualization driver ## 4 ########################################### 4 ########################################### 5 5 6 Sept. 1, 2002 6 Sept. 1, 2002 7 Satoshi Tanaka 7 Satoshi Tanaka 8 stanaka@cs.ritsumei.ac.jp 8 stanaka@cs.ritsumei.ac.jp 9 9 10 #----- << G4DAWNFILE_DEST_DIR >> ----- 10 #----- << G4DAWNFILE_DEST_DIR >> ----- 11 # Set a directory where g4_XX.prim and g4 11 # Set a directory where g4_XX.prim and g4_XX.eps files 12 # are generated. 12 # are generated. 13 # Do not forget to add the file separator 13 # Do not forget to add the file separator 14 # "/" (Unix/Linux) or "\" (Windows) at th 14 # "/" (Unix/Linux) or "\" (Windows) at the end. 15 # The default directory is the current di 15 # The default directory is the current directory. 16 # 16 # 17 # Example: 17 # Example: 18 # 18 # 19 # setenv G4DAWNFILE_DEST_DIR "/home/userna 19 # setenv G4DAWNFILE_DEST_DIR "/home/username/tmp/" 20 20 21 21 22 #----- << G4DAWNFILE_MAX_FILE_NUM >> ----- 22 #----- << G4DAWNFILE_MAX_FILE_NUM >> ----- 23 # Set a maximal number of generated g4_XX 23 # Set a maximal number of generated g4_XX.prim files. 24 # Upto this number "XX" is automatically 24 # Upto this number "XX" is automatically incremented, 25 # starting from "00". 25 # starting from "00". 26 # The default number is 100. 26 # The default number is 100. 27 # 27 # 28 # Example: 28 # Example: 29 # 29 # 30 # setenv G4DAWNFILE_MAX_FILE_NUM 100 30 # setenv G4DAWNFILE_MAX_FILE_NUM 100 31 31 32 32 33 #----- << G4DAWNFILE_MULTI_WINDOW >> ----- 33 #----- << G4DAWNFILE_MULTI_WINDOW >> ----- 34 # Boolean flag to set on/off multi-window 34 # Boolean flag to set on/off multi-window mode. 35 # If this variable is set and its value i 35 # If this variable is set and its value is non-zero, 36 # Geant4 invokes Renderer DAWN with the m 36 # Geant4 invokes Renderer DAWN with the multi-X-window mode. 37 # Otherwise DAWN is invoked with the EPS 37 # Otherwise DAWN is invoked with the EPS mode, in which 38 # EPS files are generated and viewed with 38 # EPS files are generated and viewed with a PS viewer. 39 # The default value is "0". 39 # The default value is "0". 40 # 40 # 41 # Example: 41 # Example: 42 # 42 # 43 # setenv G4DAWNFILE_MULTI_WINDOW "0" 43 # setenv G4DAWNFILE_MULTI_WINDOW "0" 44 # setenv G4DAWNFILE_MULTI_WINDOW "1" 44 # setenv G4DAWNFILE_MULTI_WINDOW "1" 45 45 46 46 47 #----- << G4DAWNFILE_PRECISION >> ----- 47 #----- << G4DAWNFILE_PRECISION >> ----- 48 # Set precision of double numbers in g4_X 48 # Set precision of double numbers in g4_XX.prim files. 49 # The number is used as 49 # The number is used as 50 # sprintf( string, "%*.*g", (precision+ 50 # sprintf( string, "%*.*g", (precision+8), precision, value). 51 # See G4DAWNFILESceneHandler::G4DAWNFILES 51 # See G4DAWNFILESceneHandler::G4DAWNFILESceneHandler() 52 # for more details. 52 # for more details. 53 # The default precision is "9". 53 # The default precision is "9". 54 # 54 # 55 # Example: 55 # Example: 56 # 56 # 57 # setenv G4DAWNFILE_PRECISION 9 57 # setenv G4DAWNFILE_PRECISION 9 58 58 59 59 60 #----- << G4DAWNFILE_PS_VIEWER >> ----- 60 #----- << G4DAWNFILE_PS_VIEWER >> ----- 61 # Set a name of the PostScript viewer to 61 # Set a name of the PostScript viewer to visualize 62 # generated g4_XX.eps files. 62 # generated g4_XX.eps files. 63 # The default viewer name is "gv". 63 # The default viewer name is "gv". 64 # 64 # 65 # Example: 65 # Example: 66 # 66 # 67 # setenv G4DAWNFILE_PS_VIEWER gv 67 # setenv G4DAWNFILE_PS_VIEWER gv 68 68 69 69 70 #----- << G4DAWNFILE_VIEWER >> ----- 70 #----- << G4DAWNFILE_VIEWER >> ----- 71 # Set a name of the renderer to visualize 71 # Set a name of the renderer to visualize 72 # generated g4_XX.prim files. 72 # generated g4_XX.prim files. 73 # The default renderer name is "dawn". 73 # The default renderer name is "dawn". 74 # Set this variable to "david" to execute 74 # Set this variable to "david" to execute 75 # volume-overlapping detection. 75 # volume-overlapping detection. 76 # 76 # 77 # Example: 77 # Example: 78 # 78 # 79 # setenv G4DAWNFILE_VIEWER dawn 79 # setenv G4DAWNFILE_VIEWER dawn 80 # setenv G4DAWNFILE_VIEWER david 80 # setenv G4DAWNFILE_VIEWER david 81 81 82 ########################################### 82 ########################################### 83 ## Environmental variables to CUSTOMIZE ## 83 ## Environmental variables to CUSTOMIZE ## 84 ## Renderer DAWN ## 84 ## Renderer DAWN ## 85 ########################################### 85 ########################################### 86 86 87 #----- << DAWN_BATCH >> ----- 87 #----- << DAWN_BATCH >> ----- 88 # Set on/off the batch mode. 88 # Set on/off the batch mode. 89 # 89 # 90 # If this variable is set to "1", 90 # If this variable is set to "1", 91 # the DAWN GUI panel does not invoked. 91 # the DAWN GUI panel does not invoked. 92 # Visualization is not performed, either. 92 # Visualization is not performed, either. 93 # But an EPS file is generated. 93 # But an EPS file is generated. 94 # 94 # 95 # If this variable is set to "a", 95 # If this variable is set to "a", 96 # the effects are the same as "1" except 96 # the effects are the same as "1" except that 97 # every generated EPS data is appended to 97 # every generated EPS data is appended to one file. 98 # In the on-line use of Renderer DAWN con 98 # In the on-line use of Renderer DAWN connected 99 # with the Geant4 DAWNFILE driver, 99 # with the Geant4 DAWNFILE driver, 100 # you should also set as 100 # you should also set as 101 # 101 # 102 # setenv G4DAWNFILE_MAX_FILENUM 1 102 # setenv G4DAWNFILE_MAX_FILENUM 1 103 # 103 # 104 # The dafault value is "0", i.e., the bat 104 # The dafault value is "0", i.e., the batch mode is off. 105 # 105 # 106 # Example: 106 # Example: 107 # 107 # 108 # setenv DAWN_BATCH "0" 108 # setenv DAWN_BATCH "0" 109 # setenv DAWN_BATCH "1" 109 # setenv DAWN_BATCH "1" 110 # setenv DAWN_BATCH "a" 110 # setenv DAWN_BATCH "a" 111 111 112 112 113 #----- << DAWN_BFC_MODE >> ----- 113 #----- << DAWN_BFC_MODE >> ----- 114 # Set on/off the back-face-culling mode. 114 # Set on/off the back-face-culling mode. 115 # If this mode is set on, analytical hidd 115 # If this mode is set on, analytical hidden-surface removal 116 # is skipped, and only back-face culling 116 # is skipped, and only back-face culling is performed. 117 # This mode is fast, but inaccurate. 117 # This mode is fast, but inaccurate. 118 # "1": on 118 # "1": on 119 # "0": off 119 # "0": off 120 # The default value of "0". 120 # The default value of "0". 121 # 121 # 122 # Example: 122 # Example: 123 # 123 # 124 # setenv DAWN_BFC_MODE "0" 124 # setenv DAWN_BFC_MODE "0" 125 # setenv DAWN_BFC_MODE "1" 125 # setenv DAWN_BFC_MODE "1" 126 126 127 127 128 #----- << DAWN_DEVICE >> ----- 128 #----- << DAWN_DEVICE >> ----- 129 # Set the default viewing device 129 # Set the default viewing device 130 # 1: PS: 2: XWIN, 3: PS2, 4: XWIN2, 5: 130 # 1: PS: 2: XWIN, 3: PS2, 4: XWIN2, 5: OPEN_GL 131 # 131 # 132 # Note: This variable is effective only in th 132 # Note: This variable is effective only in the 133 # off-line use of Renderer DAWN. 133 # off-line use of Renderer DAWN. 134 # 134 # 135 # Example: 135 # Example: 136 # 136 # 137 # setenv DAWN_DEVICE "1" 137 # setenv DAWN_DEVICE "1" 138 # setenv DAWN_DEVICE "2" 138 # setenv DAWN_DEVICE "2" 139 # setenv DAWN_DEVICE "3" 139 # setenv DAWN_DEVICE "3" 140 # setenv DAWN_DEVICE "4" 140 # setenv DAWN_DEVICE "4" 141 # setenv DAWN_DEVICE "5" 141 # setenv DAWN_DEVICE "5" 142 142 143 143 144 #----- << DAWN_HIDLINE_REMOVAL >> ----- 144 #----- << DAWN_HIDLINE_REMOVAL >> ----- 145 # Set on/off the hidden-line-removal mode 145 # Set on/off the hidden-line-removal mode 146 # If this mode is on, hidden-line removal 146 # If this mode is on, hidden-line removal is performed. 147 # "1": on 147 # "1": on 148 # "0": off 148 # "0": off 149 # The default value is "1". 149 # The default value is "1". 150 # 150 # 151 # Example: 151 # Example: 152 # 152 # 153 # setenv DAWN_HIDLINE_REMOVAL "0" 153 # setenv DAWN_HIDLINE_REMOVAL "0" 154 # setenv DAWN_HIDLINE_REMOVAL "1" 154 # setenv DAWN_HIDLINE_REMOVAL "1" 155 155 156 156 157 #----- << DAWN_PS_PREVIEWER >> ----- 157 #----- << DAWN_PS_PREVIEWER >> ----- 158 # Set a name of the PostScript viewer. 158 # Set a name of the PostScript viewer. 159 # The default value is "gv". 159 # The default value is "gv". 160 # "NONE" to skip viewing. 160 # "NONE" to skip viewing. 161 # 161 # 162 # Example: 162 # Example: 163 # 163 # 164 # setenv DAWN_PS_PREVIEWER "gv" 164 # setenv DAWN_PS_PREVIEWER "gv" 165 165 166 166 167 #----- << DAWN_UP_DIRECTION >> ----- 167 #----- << DAWN_UP_DIRECTION >> ----- 168 # Set viewing-upward direction. 168 # Set viewing-upward direction. 169 # Select "Y" or "Z". 169 # Select "Y" or "Z". 170 # The default is "Y", i.e., (0,1,0)-direc 170 # The default is "Y", i.e., (0,1,0)-direction 171 # 171 # 172 # Example: 172 # Example: 173 # 173 # 174 # setenv DAWN_UP_DIRECTION "Y" 174 # setenv DAWN_UP_DIRECTION "Y" 175 # setenv DAWN_UP_DIRECTION "Z" 175 # setenv DAWN_UP_DIRECTION "Z" 176 176 177 177 178 #----- << DAWN_USE_STENCIL >> ----- 178 #----- << DAWN_USE_STENCIL >> ----- 179 # Set on/off use of the stencil buffer in 179 # Set on/off use of the stencil buffer in the OpenGL mode. 180 # If this mode is on, edges are drawn. 180 # If this mode is on, edges are drawn. 181 # "1": on 181 # "1": on 182 # "0": off 182 # "0": off 183 # The default value of "0". 183 # The default value of "0". 184 # 184 # 185 # Example: 185 # Example: 186 # 186 # 187 # setenv DAWN_USE_STENCIL "0" 187 # setenv DAWN_USE_STENCIL "0" 188 # setenv DAWN_USE_STENCIL "1" 188 # setenv DAWN_USE_STENCIL "1" 189 189 190 190 191 ############################################## 191 ############################################### 192 ## Environmental variables to CUSTOMIZE # 192 ## Environmental variables to CUSTOMIZE ## 193 ## Geant4 DAWN-Network visualization driver # 193 ## Geant4 DAWN-Network visualization driver ## 194 ## # 194 ## ## 195 ## Note: This driver should be used only # 195 ## Note: This driver should be used only ## 196 ## for remote visualizaton.) # 196 ## for remote visualizaton.) ## 197 ############################################## 197 ############################################### 198 198 199 #----- << G4DAWN_GUI_ALWAYS >> 199 #----- << G4DAWN_GUI_ALWAYS >> 200 # Boolean flag to control GUI invokation. 200 # Boolean flag to control GUI invokation. 201 # If this variable is set and the value i 201 # If this variable is set and the value is non-zero, 202 # DAWN connected with GEANT4 always pops 202 # DAWN connected with GEANT4 always pops up GUI menu. 203 # The default is "0", i.e., no GUI. 203 # The default is "0", i.e., no GUI. 204 # 204 # 205 # Example: 205 # Example: 206 # 206 # 207 # setenv G4DAWN_GUI_ALWAYS 207 # setenv G4DAWN_GUI_ALWAYS "0" 208 # setenv G4DAWN_GUI_ALWAYS 208 # setenv G4DAWN_GUI_ALWAYS "1" 209 209 210 210 211 #----- << G4DAWN_HOST_NAME >> 211 #----- << G4DAWN_HOST_NAME >> 212 # Set a host where Renderer DAWN is runni 212 # Set a host where Renderer DAWN is running with 213 # the INET mode, i.e., invoked as "dawn - 213 # the INET mode, i.e., invoked as "dawn -G". 214 # If the environmental variable G4DAWN_NA 214 # If the environmental variable G4DAWN_NAMED_PIPE 215 # is set to "1", this host setting is ign 215 # is set to "1", this host setting is ignored. 216 # 216 # 217 # Example: 217 # Example: 218 # 218 # 219 # setenv G4DAWN_HOST_NAME cernsp.cern.ch 219 # setenv G4DAWN_HOST_NAME cernsp.cern.ch 220 220 221 221 222 #----- << G4DAWN_MULTI_WINDOW >> 222 #----- << G4DAWN_MULTI_WINDOW >> 223 # Boolean flag to set on/off multi-window 223 # Boolean flag to set on/off multi-window mode. 224 # If this variable is set and its value i 224 # If this variable is set and its value is non-zero, 225 # Geant4 invokes Renderer DAWN with the m 225 # Geant4 invokes Renderer DAWN with the multi-X-window mode. 226 # Otherwise DAWN is invoked with the EPS 226 # Otherwise DAWN is invoked with the EPS mode, in which 227 # EPS files are generated and viewed with 227 # EPS files are generated and viewed with a PS viewer. 228 # The default value is "0". 228 # The default value is "0". 229 # 229 # 230 # Example: 230 # Example: 231 # 231 # 232 # setenv G4DAWN_MULTI_WINDOW "0" 232 # setenv G4DAWN_MULTI_WINDOW "0" 233 # setenv G4DAWN_MULTI_WINDOW "1" 233 # setenv G4DAWN_MULTI_WINDOW "1" 234 234 235 235 236 #----- << G4DAWN_NAMED_PIPE >> ----- 236 #----- << G4DAWN_NAMED_PIPE >> ----- 237 # Boolean flag to set on/off BSD-type Uni 237 # Boolean flag to set on/off BSD-type Unix-domain connection. 238 # If this variable is set and the value i 238 # If this variable is set and the value is non-zero, 239 # Renderer DAWN connected with GEANT4 in 239 # Renderer DAWN connected with GEANT4 in the BSD-type Unix domain, 240 # i.e. through named pipe. 240 # i.e. through named pipe. 241 # The default is "0", i.e., do no use thi 241 # The default is "0", i.e., do no use this type of connection. 242 # 242 # 243 # Example: 243 # Example: 244 # 244 # 245 # setenv G4DAWN_NAMED_PIPE "0" 245 # setenv G4DAWN_NAMED_PIPE "0" 246 # setenv G4DAWN_NAMED_PIPE "1" 246 # setenv G4DAWN_NAMED_PIPE "1" 247 247 248 248 249 #----- << G4DAWN_PRECISION >> ----- 249 #----- << G4DAWN_PRECISION >> ----- 250 # Set precision of double numbers in g4_X 250 # Set precision of double numbers in g4_XX.prim files. 251 # The number is used as 251 # The number is used as 252 # sprintf( string, "%*.*g", (precision+ 252 # sprintf( string, "%*.*g", (precision+8), precision, value). 253 # See G4DAWNFILESceneHandler::G4DAWNFILES 253 # See G4DAWNFILESceneHandler::G4DAWNFILESceneHandler() 254 # for more details. 254 # for more details. 255 # The default precision is "9". 255 # The default precision is "9". 256 # 256 # 257 # Example: 257 # Example: 258 # 258 # 259 # setenv G4DAWN_PRECISION 9 259 # setenv G4DAWN_PRECISION 9 260 260 261 261