Changeset 1347 for trunk/source/visualization
- Timestamp:
- Dec 22, 2010, 3:52:27 PM (14 years ago)
- Location:
- trunk/source/visualization
- Files:
-
- 266 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/visualization/FukuiRenderer/CVS/Entries
r1346 r1347 3 3 /CMakeLists.txt/1.1/Wed Sep 29 19:11:33 2010//Tgeant4-09-04-ref-00 4 4 /sources.cmake/1.1/Wed Sep 29 19:11:41 2010//Tgeant4-09-04-ref-00 5 /CUSTOMIZE/1.2/Mon Sep 2 05:41:38 2002//Tgeant4-09-04-ref-00 6 /GNUmakefile/1.6/Wed Oct 21 14:59:17 2009//Tgeant4-09-04-ref-00 7 /History/1.29/Thu Nov 11 01:13:42 2010//Tgeant4-09-04-ref-00 8 /README/1.2/Thu Nov 4 02:06:43 1999//Tgeant4-09-04-ref-00 -
trunk/source/visualization/FukuiRenderer/History
r1294 r1347 1 $Id: History,v 1.2 8 2010/05/30 10:18:32 allisonExp $1 $Id: History,v 1.29 2010/11/11 01:13:42 akimura Exp $ 2 2 ------------------------------------------------------------------- 3 3 … … 20 20 History file for visualization/FukuiRenderer sub-category 21 21 --------------------------------------------------------- 22 23 11 November 2010 Akinori Kimura (DAWN-V09-03-01) 24 - Replaced G4cerr with G4cout and added the following line before G4cout. 25 if (G4VisManager::GetVerbosity() >= G4VisManager::errors) 22 26 23 27 30th May 2010 John Allison (DAWN-V09-03-00) -
trunk/source/visualization/FukuiRenderer/include/CVS/Entries
r1346 r1347 1 /G4DAWNFILE.hh/1.9/Thu Jun 29 21:16:28 2006//Tgeant4-09-04-ref-00 2 /G4DAWNFILESceneHandler.hh/1.18/Sun May 30 10:18:32 2010//Tgeant4-09-04-ref-00 3 /G4DAWNFILEViewer.hh/1.10/Thu Jun 29 21:16:32 2006//Tgeant4-09-04-ref-00 4 /G4FRClientServer.hh/1.7/Thu Jun 29 21:16:34 2006//Tgeant4-09-04-ref-00 5 /G4FRConst.hh/1.7/Thu Jun 29 21:16:36 2006//Tgeant4-09-04-ref-00 6 /G4FRFeatures.hh/1.6/Thu Jun 29 21:16:38 2006//Tgeant4-09-04-ref-00 7 /G4FRSceneFunc.icc/1.16/Thu Nov 11 01:13:42 2010//Tgeant4-09-04-ref-00 8 /G4FRofstream.hh/1.9/Thu Jun 29 21:16:42 2006//Tgeant4-09-04-ref-00 9 /G4FukuiRenderer.hh/1.8/Thu Jun 29 21:16:44 2006//Tgeant4-09-04-ref-00 10 /G4FukuiRendererSceneHandler.hh/1.17/Sun May 30 10:18:32 2010//Tgeant4-09-04-ref-00 11 /G4FukuiRendererViewer.hh/1.8/Thu Jun 29 21:16:48 2006//Tgeant4-09-04-ref-00 1 12 D -
trunk/source/visualization/FukuiRenderer/include/G4DAWNFILE.hh
r1337 r1347 26 26 // 27 27 // $Id: G4DAWNFILE.hh,v 1.9 2006/06/29 21:16:28 gunter Exp $ 28 // GEANT4 tag $Name: geant4-09-04- beta-01$28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // Satoshi TANAKA -
trunk/source/visualization/FukuiRenderer/include/G4DAWNFILESceneHandler.hh
r1337 r1347 26 26 // 27 27 // $Id: G4DAWNFILESceneHandler.hh,v 1.18 2010/05/30 10:18:32 allison Exp $ 28 // GEANT4 tag $Name: geant4-09-04- beta-01$28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // Satoshi TANAKA -
trunk/source/visualization/FukuiRenderer/include/G4DAWNFILEViewer.hh
r1337 r1347 26 26 // 27 27 // $Id: G4DAWNFILEViewer.hh,v 1.10 2006/06/29 21:16:32 gunter Exp $ 28 // GEANT4 tag $Name: geant4-09-04- beta-01$28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // Satoshi TANAKA -
trunk/source/visualization/FukuiRenderer/include/G4FRClientServer.hh
r1337 r1347 26 26 // 27 27 // $Id: G4FRClientServer.hh,v 1.7 2006/06/29 21:16:34 gunter Exp $ 28 // GEANT4 tag $Name: geant4-09-04- beta-01$28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // Satoshi TANAKA, Wed Jul 3 14:13:52 JST 1996 -
trunk/source/visualization/FukuiRenderer/include/G4FRConst.hh
r1337 r1347 26 26 // 27 27 // $Id: G4FRConst.hh,v 1.7 2006/06/29 21:16:36 gunter Exp $ 28 // GEANT4 tag $Name: geant4-09-04- beta-01$28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // Satoshi TANAKA, Tue Jul 2 15:30:49 JST 1996 -
trunk/source/visualization/FukuiRenderer/include/G4FRFeatures.hh
r1337 r1347 26 26 // 27 27 // $Id: G4FRFeatures.hh,v 1.6 2006/06/29 21:16:38 gunter Exp $ 28 // GEANT4 tag $Name: geant4-09-04- beta-01$28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 #if !defined G4_FR_FEATURES_HH -
trunk/source/visualization/FukuiRenderer/include/G4FRSceneFunc.icc
r1337 r1347 25 25 // 26 26 // 27 // $Id: G4FRSceneFunc.icc,v 1.1 5 2006/07/10 15:31:45 allisonExp $28 // GEANT4 tag $Name: geant4-09-04- beta-01$27 // $Id: G4FRSceneFunc.icc,v 1.16 2010/11/11 01:13:42 akimura Exp $ 28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 31 #include "G4VisManager.hh" 31 32 #include "G4PhysicalVolumeModel.hh" 32 33 #include "G4LogicalVolume.hh" … … 38 39 { 39 40 #if defined DEBUG_FR_SCENE 40 G4cerr << "***** AddPrimitive\n"; 41 if (G4VisManager::GetVerbosity() >= G4VisManager::errors) 42 G4cout << "***** AddPrimitive\n"; 41 43 #endif 42 44 //----- Initialize Fukui Renderer IF NECESSARY … … 84 86 //----- 85 87 #if defined DEBUG_FR_SCENE 86 G4cerr << "***** AddPrimitive( G4NURBS )\n"; 88 if (G4VisManager::GetVerbosity() >= G4VisManager::errors) 89 G4cout << "***** AddPrimitive( G4NURBS )\n"; 87 90 #endif 88 91 … … 102 105 //----- 103 106 #if defined DEBUG_FR_SCENE 104 G4cerr << "***** AddPrimitive( G4Text )\n"; 107 if (G4VisManager::GetVerbosity() >= G4VisManager::errors) 108 G4cout << "***** AddPrimitive( G4Text )\n"; 105 109 #endif 106 110 //----- Initialize DAWN IF NECESSARY … … 135 139 int MAX_STR_LENGTH = COMMAND_BUF_SIZE - 100 ; 136 140 if ( MAX_STR_LENGTH <= 0 ) { 137 G4cerr << "ERROR (FukuiRenderer) : Not enough buffer size for data transferring." << G4endl; 138 G4cerr << " G4Text Visualization is aborted" << G4endl; 139 return ; 141 if (G4VisManager::GetVerbosity() >= G4VisManager::errors) { 142 G4cout << "ERROR (FukuiRenderer) : Not enough buffer size for data transferring." << G4endl; 143 G4cout << " G4Text Visualization is aborted" << G4endl; 144 } 145 return ; 140 146 } 141 147 char* buf = new char [ (MAX_STR_LENGTH + 1) ] ; … … 175 181 //----- 176 182 #if defined DEBUG_FR_SCENE 177 G4cerr << "***** AddPrimitive( G4Circle )\n"; 183 if (G4VisManager::GetVerbosity() >= G4VisManager::errors) 184 G4cout << "***** AddPrimitive( G4Circle )\n"; 178 185 #endif 179 186 //----- Initialize Fukui Renderer IF NECESSARY … … 218 225 //----- 219 226 #if defined DEBUG_FR_SCENE 220 G4cerr << "***** AddPrimitive( G4Square )\n"; 227 if (G4VisManager::GetVerbosity() >= G4VisManager::errors) 228 G4cout << "***** AddPrimitive( G4Square )\n"; 221 229 #endif 222 230 //----- Initialize Fukui Renderer IF NECESSARY … … 261 269 //----- 262 270 #if defined DEBUG_FR_SCENE 263 G4cerr << "***** AddPrimitive( G4Polyhedron )\n"; 271 if (G4VisManager::GetVerbosity() >= G4VisManager::errors) 272 G4cout << "***** AddPrimitive( G4Polyhedron )\n"; 264 273 #endif 265 274 … … 310 319 break; 311 320 default: 312 G4cerr << 313 "ERROR G4FRSCENEHANDLER::AddPrimitive(G4Polyhedron)\n"; 314 G4PhysicalVolumeModel* pPVModel = 315 dynamic_cast<G4PhysicalVolumeModel*>(fpModel); 316 if (pPVModel) G4cerr << 317 "Volume " << pPVModel->GetCurrentPV()->GetName() << 318 ", Solid " << pPVModel->GetCurrentLV()->GetSolid()->GetName() << 319 " (" << pPVModel->GetCurrentLV()->GetSolid()->GetEntityType(); 320 G4cerr << 321 "\nG4Polyhedron facet with " << i << " edges" << G4endl; 321 if (G4VisManager::GetVerbosity() >= G4VisManager::errors) 322 G4cout << 323 "ERROR G4FRSCENEHANDLER::AddPrimitive(G4Polyhedron)\n"; 324 G4PhysicalVolumeModel* pPVModel = 325 dynamic_cast<G4PhysicalVolumeModel*>(fpModel); 326 if (pPVModel) 327 if (G4VisManager::GetVerbosity() >= G4VisManager::errors) { 328 G4cout << 329 "Volume " << pPVModel->GetCurrentPV()->GetName() << 330 ", Solid " << pPVModel->GetCurrentLV()->GetSolid()->GetName() << 331 " (" << pPVModel->GetCurrentLV()->GetSolid()->GetEntityType(); 332 G4cout << 333 "\nG4Polyhedron facet with " << i << " edges" << G4endl; 334 } 322 335 } 323 336 } … … 334 347 ////////////////////////////////////////////////// 335 348 //#if defined DEBUG_FR_SCENE 336 // G4c err<< "***** SendNdiv() (/Ndiv)" << G4endl;349 // G4cout << "***** SendNdiv() (/Ndiv)" << G4endl; 337 350 //#endif 338 351 ////////////////////////////////////////////////// … … 348 361 // } else { 349 362 #if defined DEBUG_FR_SCENE 350 G4cerr << "WARNING: GetNoOfSides() failed. " ; 351 G4cerr << "The default value " << num_division ; 352 G4cerr << " is assigned." << G4endl; 363 if (G4VisManager::GetVerbosity() >= G4VisManager::errors) { 364 G4cout << "WARNING: GetNoOfSides() failed. " ; 365 G4cout << "The default value " << num_division ; 366 G4cout << " is assigned." << G4endl; 367 } 353 368 #endif 354 369 //} … … 359 374 ////////////////////////////////////////////////// 360 375 //#if defined DEBUG_FR_SCENE 361 // G4c err<< "Ndiv = " << num_division << G4endl;376 // G4cout << "Ndiv = " << num_division << G4endl; 362 377 //#endif 363 378 ////////////////////////////////////////////////// … … 374 389 //----- 375 390 #if defined DEBUG_FR_SCENE 376 G4cerr << "***** FREndModeling (called)" << G4endl; 391 if (G4VisManager::GetVerbosity() >= G4VisManager::errors) 392 G4cout << "***** FREndModeling (called)" << G4endl; 377 393 #endif 378 394 if( FRIsInModeling() ) { 379 395 380 396 #if defined DEBUG_FR_SCENE 381 G4cerr << "***** FREndModeling (started) " ; 382 G4cerr << "(/EndModeling, /DrawAll, /CloseDevice)" << G4endl; 397 if (G4VisManager::GetVerbosity() >= G4VisManager::errors) { 398 G4cout << "***** FREndModeling (started) " ; 399 G4cout << "(/EndModeling, /DrawAll, /CloseDevice)" << G4endl; 400 } 383 401 #endif 384 402 … … 407 425 { 408 426 #if defined DEBUG_FR_SCENE 409 G4cerr << "***** BeginPrimitives \n"; 427 if (G4VisManager::GetVerbosity() >= G4VisManager::errors) 428 G4cout << "***** BeginPrimitives \n"; 410 429 #endif 411 430 … … 422 441 { 423 442 #if defined DEBUG_FR_SCENE 424 G4cerr << "***** EndPrimitives \n"; 443 if (G4VisManager::GetVerbosity() >= G4VisManager::errors) 444 G4cout << "***** EndPrimitives \n"; 425 445 #endif 426 446 G4VSceneHandler::EndPrimitives (); … … 434 454 { 435 455 #if defined DEBUG_FR_SCENE 436 G4cerr << "***** AddSolid ( box )\n"; 456 if (G4VisManager::GetVerbosity() >= G4VisManager::errors) 457 G4cout << "***** AddSolid ( box )\n"; 437 458 #endif 438 459 //----- skip drawing invisible primitive … … 473 494 { 474 495 #if defined DEBUG_FR_SCENE 475 G4cerr << "***** AddSolid ( tubes )\n"; 496 if (G4VisManager::GetVerbosity() >= G4VisManager::errors) 497 G4cout << "***** AddSolid ( tubes )\n"; 476 498 #endif 477 499 //----- skip drawing invisible primitive … … 515 537 { 516 538 #if defined DEBUG_FR_SCENE 517 G4cerr << "***** AddSolid ( cons )\n"; 539 if (G4VisManager::GetVerbosity() >= G4VisManager::errors) 540 G4cout << "***** AddSolid ( cons )\n"; 518 541 #endif 519 542 //----- skip drawing invisible primitive … … 557 580 { 558 581 #if defined DEBUG_FR_SCENE 559 G4cerr << "***** AddSolid ( trd )\n"; 582 if (G4VisManager::GetVerbosity() >= G4VisManager::errors) 583 G4cout << "***** AddSolid ( trd )\n"; 560 584 #endif 561 585 … … 598 622 { 599 623 #if defined DEBUG_FR_SCENE 600 G4cerr << "***** AddSolid ( sphere )\n"; 624 if (G4VisManager::GetVerbosity() >= G4VisManager::errors) 625 G4cout << "***** AddSolid ( sphere )\n"; 601 626 #endif 602 627 //----- skip drawing invisible primitive … … 658 683 { 659 684 #if defined DEBUG_FR_SCENE 660 G4cerr << "***** AddSolid ( para )\n"; 685 if (G4VisManager::GetVerbosity() >= G4VisManager::errors) 686 G4cout << "***** AddSolid ( para )\n"; 661 687 #endif 662 688 … … 685 711 G4double cosTheta = para.GetSymAxis().z() ; 686 712 if( cosTheta < epsilon ) { 687 G4cerr << "WARNING from FukuiRenderer (DAWN) driver:" << G4endl; 688 G4cerr << " Invalid parameter for parallelepiped." << G4endl; 689 G4cerr << " Drawing is skipped." << G4endl; 690 return ; 713 if (G4VisManager::GetVerbosity() >= G4VisManager::errors) { 714 G4cout << "WARNING from FukuiRenderer (DAWN) driver:" << G4endl; 715 G4cout << " Invalid parameter for parallelepiped." << G4endl; 716 G4cout << " Drawing is skipped." << G4endl; 717 } 718 return ; 691 719 } 692 720 G4double tanTheta_cosPhi_cosTheta = para.GetSymAxis().x() ; … … 714 742 { 715 743 #if defined DEBUG_FR_SCENE 716 G4cerr << "***** AddSolid ( trap )\n"; 744 if (G4VisManager::GetVerbosity() >= G4VisManager::errors) 745 G4cout << "***** AddSolid ( trap )\n"; 717 746 #endif 718 747 … … 741 770 G4double cosTheta = trap.GetSymAxis().z() ; 742 771 if( cosTheta < epsilon ) { 743 G4cerr << "WARNING from FukuiRenderer (DAWN) driver:" << G4endl; 744 G4cerr << " Invalid parameter for trap, 1" << G4endl; 745 G4cerr << " Drawing is skipped." << G4endl; 746 return ; 772 if (G4VisManager::GetVerbosity() >= G4VisManager::errors) { 773 G4cout << "WARNING from FukuiRenderer (DAWN) driver:" << G4endl; 774 G4cout << " Invalid parameter for trap, 1" << G4endl; 775 G4cout << " Drawing is skipped." << G4endl; 776 } 777 return ; 747 778 } 748 779 … … 805 836 { 806 837 #if defined DEBUG_FR_SCENE 807 G4cerr << "***** AddSolid ( torus )\n"; 838 if (G4VisManager::GetVerbosity() >= G4VisManager::errors) 839 G4cout << "***** AddSolid ( torus )\n"; 808 840 #endif 809 841 //----- skip drawing invisible primitive … … 929 961 { 930 962 #if defined DEBUG_FR_SCENE 931 G4cerr << "***** SendBoundingBox () (/BoundingBox)" << G4endl; 963 if (G4VisManager::GetVerbosity() >= G4VisManager::errors) 964 G4cout << "***** SendBoundingBox () (/BoundingBox)" << G4endl; 932 965 #endif 933 966 … … 1048 1081 num_char = sprintf( command, "%s %d", char_string , ival ) ; 1049 1082 if( num_char < 0 ) { 1050 G4cerr << "ERROR G4FRSCENEHANDLER::SendStrInt(), 1\n" ; 1083 if (G4VisManager::GetVerbosity() >= G4VisManager::errors) 1084 G4cout << "ERROR G4FRSCENEHANDLER::SendStrInt(), 1\n" ; 1051 1085 } 1052 1086 SendStr( command ); … … 1070 1104 1071 1105 if( num_char < 0 ) { 1072 G4cerr << "ERROR G4FRSCENEHANDLER::SendStrInt3(), 1\n" ; 1106 if (G4VisManager::GetVerbosity() >= G4VisManager::errors) 1107 G4cout << "ERROR G4FRSCENEHANDLER::SendStrInt3(), 1\n" ; 1073 1108 } 1074 1109 SendStr( command ); … … 1094 1129 1095 1130 if( num_char < 0 ) { 1096 G4cerr << "ERROR G4FRSCENEHANDLER::SendStrInt4(), 1\n" ; 1131 if (G4VisManager::GetVerbosity() >= G4VisManager::errors) 1132 G4cout << "ERROR G4FRSCENEHANDLER::SendStrInt4(), 1\n" ; 1097 1133 } 1098 1134 SendStr( command ); … … 1113 1149 fPrec2, fPrec, dval ) ; 1114 1150 if( num_char < 0 ) { 1115 G4cerr << "ERROR G4FRSCENEHANDLER::SendStrDouble(), 1\n" ; 1151 if (G4VisManager::GetVerbosity() >= G4VisManager::errors) 1152 G4cout << "ERROR G4FRSCENEHANDLER::SendStrDouble(), 1\n" ; 1116 1153 } 1117 1154 SendStr( command ); … … 1135 1172 fPrec2, fPrec, dval2 ) ; 1136 1173 if( num_char < 0 ) { 1137 G4cerr << "ERROR G4FRSCENEHANDLER::SendStrDouble2(), 1\n" ; 1174 if (G4VisManager::GetVerbosity() >= G4VisManager::errors) 1175 G4cout << "ERROR G4FRSCENEHANDLER::SendStrDouble2(), 1\n" ; 1138 1176 } 1139 1177 SendStr( command ); … … 1160 1198 fPrec2, fPrec, dval3 ) ; 1161 1199 if( num_char < 0 ) { 1162 G4cerr << "ERROR G4FRSCENEHANDLER::SendStrDouble3(), 1\n" ; 1200 if (G4VisManager::GetVerbosity() >= G4VisManager::errors) 1201 G4cout << "ERROR G4FRSCENEHANDLER::SendStrDouble3(), 1\n" ; 1163 1202 } 1164 1203 SendStr( command ); … … 1187 1226 fPrec2, fPrec, dval4) ; 1188 1227 if( num_char < 0 ) { 1189 G4cerr << "ERROR G4FRSCENEHANDLER::SendStrDouble4(), 1\n" ; 1228 if (G4VisManager::GetVerbosity() >= G4VisManager::errors) 1229 G4cout << "ERROR G4FRSCENEHANDLER::SendStrDouble4(), 1\n" ; 1190 1230 } 1191 1231 SendStr( command ); … … 1216 1256 fPrec2, fPrec, dval5 ) ; 1217 1257 if( num_char < 0 ) { 1218 G4cerr << "ERROR G4FRSCENEHANDLER::SendStrDouble5(), 1\n" ; 1258 if (G4VisManager::GetVerbosity() >= G4VisManager::errors) 1259 G4cout << "ERROR G4FRSCENEHANDLER::SendStrDouble5(), 1\n" ; 1219 1260 } 1220 1261 SendStr( command ); … … 1247 1288 fPrec2, fPrec, dval6 ) ; 1248 1289 if( num_char < 0 ) { 1249 G4cerr << "ERROR G4FRSCENEHANDLER::SendStrDouble6(), 1\n" ; 1290 if (G4VisManager::GetVerbosity() >= G4VisManager::errors) 1291 G4cout << "ERROR G4FRSCENEHANDLER::SendStrDouble6(), 1\n" ; 1250 1292 } 1251 1293 SendStr( command ); … … 1280 1322 fPrec2, fPrec, dval7 ) ; 1281 1323 if( num_char < 0 ) { 1282 G4cerr << "ERROR G4FRSCENEHANDLER::SendStrDouble7(), 1\n" ; 1324 if (G4VisManager::GetVerbosity() >= G4VisManager::errors) 1325 G4cout << "ERROR G4FRSCENEHANDLER::SendStrDouble7(), 1\n" ; 1283 1326 } 1284 1327 SendStr( command ); … … 1321 1364 fPrec2, fPrec, dval11 ) ; 1322 1365 if( num_char < 0 ) { 1323 G4cerr << "ERROR G4FRSCENEHANDLER::SendStrDouble11(), 1\n" ; 1366 if (G4VisManager::GetVerbosity() >= G4VisManager::errors) 1367 G4cout << "ERROR G4FRSCENEHANDLER::SendStrDouble11(), 1\n" ; 1324 1368 } 1325 1369 SendStr( command ); … … 1346 1390 fPrec2, fPrec, dval3 ) ; 1347 1391 if( num_char < 0 ) { 1348 G4cerr << "ERROR G4FRSCENEHANDLER::SendIntDouble3(),1\n" ; 1392 if (G4VisManager::GetVerbosity() >= G4VisManager::errors) 1393 G4cout << "ERROR G4FRSCENEHANDLER::SendIntDouble3(),1\n" ; 1349 1394 } 1350 1395 SendStr( command ); … … 1366 1411 ival1, ival2, ival3, char_string ) ; 1367 1412 if( num_char < 0 ) { 1368 G4cerr << "ERROR G4FRSCENEHANDLER::SendInt3Str(),1\n" ; 1413 if (G4VisManager::GetVerbosity() >= G4VisManager::errors) 1414 G4cout << "ERROR G4FRSCENEHANDLER::SendInt3Str(),1\n" ; 1369 1415 } 1370 1416 SendStr( command ); … … 1387 1433 ival1, ival2, ival3, ival4, char_string ) ; 1388 1434 if( num_char < 0 ) { 1389 G4cerr << "ERROR G4FRSCENEHANDLER::SendInt4Str(),1\n" ; 1435 if (G4VisManager::GetVerbosity() >= G4VisManager::errors) 1436 G4cout << "ERROR G4FRSCENEHANDLER::SendInt4Str(),1\n" ; 1390 1437 } 1391 1438 SendStr( command ); … … 1418 1465 char_string2 ); 1419 1466 if( num_char < 0 ) { 1420 G4cerr << "ERROR G4FRSCENEHANDLER::SendStrDouble6Str(), 1\n" ; 1467 if (G4VisManager::GetVerbosity() >= G4VisManager::errors) 1468 G4cout << "ERROR G4FRSCENEHANDLER::SendStrDouble6Str(), 1\n" ; 1421 1469 } 1422 1470 SendStr( command ); … … 1435 1483 num_char = sprintf( command, "%d", val ) ; 1436 1484 if( num_char < 0 ) { 1437 G4cerr << "ERROR G4FRSCENEHANDLER::SendStrInt(), 1\n" ; 1485 if (G4VisManager::GetVerbosity() >= G4VisManager::errors) 1486 G4cout << "ERROR G4FRSCENEHANDLER::SendStrInt(), 1\n" ; 1438 1487 } 1439 1488 SendStr( command ); … … 1451 1500 num_char = sprintf( command, "%*.*g", fPrec2, fPrec, val ) ; 1452 1501 if( num_char < 0 ) { 1453 G4cerr << "ERROR G4FRSCENEHANDLER::SendStrInt(), 1\n" ; 1502 if (G4VisManager::GetVerbosity() >= G4VisManager::errors) 1503 G4cout << "ERROR G4FRSCENEHANDLER::SendStrInt(), 1\n" ; 1454 1504 } 1455 1505 SendStr( command ); -
trunk/source/visualization/FukuiRenderer/include/G4FRofstream.hh
r1337 r1347 26 26 // 27 27 // $Id: G4FRofstream.hh,v 1.9 2006/06/29 21:16:42 gunter Exp $ 28 // GEANT4 tag $Name: geant4-09-04- beta-01$28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 #include <fstream> -
trunk/source/visualization/FukuiRenderer/include/G4FukuiRenderer.hh
r1337 r1347 26 26 // 27 27 // $Id: G4FukuiRenderer.hh,v 1.8 2006/06/29 21:16:44 gunter Exp $ 28 // GEANT4 tag $Name: geant4-09-04- beta-01$28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // -
trunk/source/visualization/FukuiRenderer/include/G4FukuiRendererSceneHandler.hh
r1337 r1347 26 26 // 27 27 // $Id: G4FukuiRendererSceneHandler.hh,v 1.17 2010/05/30 10:18:32 allison Exp $ 28 // GEANT4 tag $Name: geant4-09-04- beta-01$28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // -
trunk/source/visualization/FukuiRenderer/include/G4FukuiRendererViewer.hh
r1337 r1347 26 26 // 27 27 // $Id: G4FukuiRendererViewer.hh,v 1.8 2006/06/29 21:16:48 gunter Exp $ 28 // GEANT4 tag $Name: geant4-09-04- beta-01$28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // -
trunk/source/visualization/FukuiRenderer/src/CVS/Entries
r1346 r1347 1 /G4DAWNFILE.cc/1.11/Thu Jun 29 21:16:50 2006//Tgeant4-09-04-ref-00 2 /G4DAWNFILESceneHandler.cc/1.19/Thu Nov 11 01:13:42 2010//Tgeant4-09-04-ref-00 3 /G4DAWNFILEViewer.cc/1.21/Thu Nov 11 01:13:42 2010//Tgeant4-09-04-ref-00 4 /G4FRClientServer.cc/1.7/Thu Nov 11 01:13:42 2010//Tgeant4-09-04-ref-00 5 /G4FukuiRenderer.cc/1.10/Thu Nov 11 01:13:42 2010//Tgeant4-09-04-ref-00 6 /G4FukuiRendererSceneHandler.cc/1.15/Thu Nov 11 01:13:42 2010//Tgeant4-09-04-ref-00 7 /G4FukuiRendererViewer.cc/1.12/Thu Nov 11 01:13:42 2010//Tgeant4-09-04-ref-00 1 8 D -
trunk/source/visualization/FukuiRenderer/src/G4DAWNFILE.cc
r1337 r1347 26 26 // 27 27 // $Id: G4DAWNFILE.cc,v 1.11 2006/06/29 21:16:50 gunter Exp $ 28 // GEANT4 tag $Name: geant4-09-04- beta-01$28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // Satoshi TANAKA -
trunk/source/visualization/FukuiRenderer/src/G4DAWNFILESceneHandler.cc
r1337 r1347 25 25 // 26 26 // 27 // $Id: G4DAWNFILESceneHandler.cc,v 1.1 8 2006/06/29 21:16:52 gunterExp $28 // GEANT4 tag $Name: geant4-09-04- beta-01$27 // $Id: G4DAWNFILESceneHandler.cc,v 1.19 2010/11/11 01:13:42 akimura Exp $ 28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // Satoshi TANAKA … … 41 41 #include <string.h> 42 42 #include "globals.hh" 43 #include "G4VisManager.hh" 43 44 #include "G4FRConst.hh" 44 45 #include "G4DAWNFILE.hh" … … 128 129 { 129 130 #if defined DEBUG_FR_SCENE 130 G4cerr << "***** ~G4DAWNFILESceneHandler" << G4endl; 131 if (G4VisManager::GetVerbosity() >= G4VisManager::errors) 132 G4cout << "***** ~G4DAWNFILESceneHandler" << G4endl; 131 133 #endif 132 134 if (fPrimDest.IsOpen()) … … 158 160 if( i == MAX_FILE_INDEX ) 159 161 { 160 G4cerr << "===========================================" << G4endl; 161 G4cerr << "WARNING MESSAGE from DAWNFILE driver: " << G4endl; 162 G4cerr << " This file name is the final one in the " << G4endl; 163 G4cerr << " automatic updation of the output file name." << G4endl; 164 G4cerr << " You may overwrite existing files, i.e. " << G4endl; 165 G4cerr << " g4_XX.prim and g4_XX.eps " << G4endl; 166 G4cerr << "===========================================" << G4endl; 162 if (G4VisManager::GetVerbosity() >= G4VisManager::errors) { 163 G4cout << "===========================================" << G4endl; 164 G4cout << "WARNING MESSAGE from DAWNFILE driver: " << G4endl; 165 G4cout << " This file name is the final one in the " << G4endl; 166 G4cout << " automatic updation of the output file name." << G4endl; 167 G4cout << " You may overwrite existing files, i.e. " << G4endl; 168 G4cout << " g4_XX.prim and g4_XX.eps " << G4endl; 169 G4cout << "===========================================" << G4endl; 170 } 167 171 } 168 172 … … 188 192 } // for 189 193 190 G4c err<< "=========================================== " << G4endl;191 G4c err<< "Output file: " << fG4PrimFileName << G4endl;192 G4c err<< "Destination directory (current dir if NULL): " << fG4PrimDestDir << G4endl;193 G4c err<< "Maximal number of files in the destination directory: " << fMaxFileNum << G4endl;194 G4c err<< "Note: " << G4endl;195 G4c err<< " * The maximal number is customizable as: " << G4endl;196 G4c err<< " % setenv G4DAWNFILE_MAX_FILE_NUM number " << G4endl;197 G4c err<< " * The destination directory is customizable as:" << G4endl;198 G4c err<< " % setenv G4DAWNFILE_DEST_DIR dir_name/ " << G4endl;199 G4c err<< " ** Do not forget \"/\" at the end of the " << G4endl;200 G4c err<< " dir_name, e.g. \"./tmp/\". " << G4endl;201 G4c err<< "=========================================== " << G4endl;194 G4cout << "=========================================== " << G4endl; 195 G4cout << "Output file: " << fG4PrimFileName << G4endl; 196 G4cout << "Destination directory (current dir if NULL): " << fG4PrimDestDir << G4endl; 197 G4cout << "Maximal number of files in the destination directory: " << fMaxFileNum << G4endl; 198 G4cout << "Note: " << G4endl; 199 G4cout << " * The maximal number is customizable as: " << G4endl; 200 G4cout << " % setenv G4DAWNFILE_MAX_FILE_NUM number " << G4endl; 201 G4cout << " * The destination directory is customizable as:" << G4endl; 202 G4cout << " % setenv G4DAWNFILE_DEST_DIR dir_name/ " << G4endl; 203 G4cout << " ** Do not forget \"/\" at the end of the " << G4endl; 204 G4cout << " dir_name, e.g. \"./tmp/\". " << G4endl; 205 G4cout << "=========================================== " << G4endl; 202 206 203 207 } // G4DAWNFILESceneHandler::SetG4PrimFileName() … … 208 212 { 209 213 #if defined DEBUG_FR_SCENE 210 G4cerr << "***** BeginSavingG4Prim (called)\n"; 214 if (G4VisManager::GetVerbosity() >= G4VisManager::errors) 215 G4cout << "***** BeginSavingG4Prim (called)\n"; 211 216 #endif 212 217 … … 214 219 { 215 220 #if defined DEBUG_FR_SCENE 216 G4cerr << "***** (started) " ; 217 G4cerr << "(open g4.prim, ##)" << G4endl; 221 if (G4VisManager::GetVerbosity() >= G4VisManager::errors) { 222 G4cout << "***** (started) " ; 223 G4cout << "(open g4.prim, ##)" << G4endl; 224 } 218 225 #endif 219 226 SetG4PrimFileName() ; // result set to fG4PrimFileName … … 228 235 { 229 236 #if defined DEBUG_FR_SCENE 230 G4cerr << "***** EndSavingG4Prim (called)\n"; 237 if (G4VisManager::GetVerbosity() >= G4VisManager::errors) 238 G4cout << "***** EndSavingG4Prim (called)\n"; 231 239 #endif 232 240 … … 234 242 { 235 243 #if defined DEBUG_FR_SCENE 236 G4cerr << "***** (started) (close g4.prim)" << G4endl; 244 if (G4VisManager::GetVerbosity() >= G4VisManager::errors) 245 G4cout << "***** (started) (close g4.prim)" << G4endl; 237 246 #endif 238 247 fPrimDest.Close() ; … … 248 257 { 249 258 #if defined DEBUG_FR_SCENE 250 G4cerr << "***** G4DAWNFILESceneHandler::FRBeginModeling (called & started)" << G4endl; 259 if (G4VisManager::GetVerbosity() >= G4VisManager::errors) 260 G4cout << "***** G4DAWNFILESceneHandler::FRBeginModeling (called & started)" << G4endl; 251 261 #endif 252 262 … … 259 269 //----- send SET_CAMERA command 260 270 #if defined DEBUG_FR_SCENE 261 G4cerr << "***** (!SetCamera in FRBeginModeling())" << G4endl; 271 if (G4VisManager::GetVerbosity() >= G4VisManager::errors) 272 G4cout << "***** (!SetCamera in FRBeginModeling())" << G4endl; 262 273 #endif 263 274 SendStr( FR_SET_CAMERA ); … … 265 276 //----- open device 266 277 #if defined DEBUG_FR_SCENE 267 G4cerr << "***** (!OpenDevice in FRBeginModeling())" << G4endl; 278 if (G4VisManager::GetVerbosity() >= G4VisManager::errors) 279 G4cout << "***** (!OpenDevice in FRBeginModeling())" << G4endl; 268 280 #endif 269 281 SendStr( FR_OPEN_DEVICE ); … … 271 283 //----- begin sending primitives 272 284 #if defined DEBUG_FR_SCENE 273 G4cerr << "***** (!BeginModeling in FRBeginModeling())" << G4endl; 285 if (G4VisManager::GetVerbosity() >= G4VisManager::errors) 286 G4cout << "***** (!BeginModeling in FRBeginModeling())" << G4endl; 274 287 #endif 275 288 SendStr( FR_BEGIN_MODELING ); FRflag_in_modeling = true ; -
trunk/source/visualization/FukuiRenderer/src/G4DAWNFILEViewer.cc
r1337 r1347 25 25 // 26 26 // 27 // $Id: G4DAWNFILEViewer.cc,v 1.2 0 2006/06/29 21:16:54 gunterExp $28 // GEANT4 tag $Name: geant4-09-04- beta-01$27 // $Id: G4DAWNFILEViewer.cc,v 1.21 2010/11/11 01:13:42 akimura Exp $ 28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // Satoshi TANAKA … … 42 42 #include <assert.h> 43 43 44 #include "G4VisManager.hh" 44 45 #include "G4Scene.hh" 45 46 #include "G4Vector3D.hh" … … 101 102 { 102 103 #if defined DEBUG_FR_VIEW 103 G4cerr << "***** G4DAWNFILEViewer::SetView(): No effects" << G4endl; 104 if (G4VisManager::GetVerbosity() >= G4VisManager::errors) 105 G4cout << "***** G4DAWNFILEViewer::SetView(): No effects" << G4endl; 104 106 #endif 105 107 // Do nothing, since DAWN is running as a different process. … … 113 115 { 114 116 #if defined DEBUG_FR_VIEW 115 G4cerr << "***** G4DAWNFILEViewer::ClearView (): No effects " << G4endl; 117 if (G4VisManager::GetVerbosity() >= G4VisManager::errors) 118 G4cout << "***** G4DAWNFILEViewer::ClearView (): No effects " << G4endl; 116 119 #endif 117 120 if (fSceneHandler.fPrimDest.IsOpen()) { … … 130 133 { 131 134 #if defined DEBUG_FR_VIEW 132 G4cerr << "***** G4DAWNFILEViewer::DrawView () " << G4endl; 135 if (G4VisManager::GetVerbosity() >= G4VisManager::errors) 136 G4cout << "***** G4DAWNFILEViewer::DrawView () " << G4endl; 133 137 #endif 134 138 //----- … … 149 153 { 150 154 #if defined DEBUG_FR_VIEW 151 G4cerr << "***** G4DAWNFILEViewer::ShowView () " << G4endl; 155 if (G4VisManager::GetVerbosity() >= G4VisManager::errors) 156 G4cout << "***** G4DAWNFILEViewer::ShowView () " << G4endl; 152 157 #endif 153 158 … … 204 209 /////////////////////// 205 210 //#if defined DEBUG_FR_VIEW 206 // G4c err<< "***** G4DAWNFILEViewer::SendDrawingStyleToDAWNGUI()" << G4endl;211 // G4cout << "***** G4DAWNFILEViewer::SendDrawingStyleToDAWNGUI()" << G4endl; 207 212 //#endif 208 213 ////////////////////// … … 242 247 243 248 #if defined DEBUG_FR_VIEW 244 G4cerr << "***** G4DAWNFILEViewer::SendViewParameters() "; 245 G4cerr << "(GUI parameters)" << G4endl; 249 if (G4VisManager::GetVerbosity() >= G4VisManager::errors) { 250 G4cout << "***** G4DAWNFILEViewer::SendViewParameters() "; 251 G4cout << "(GUI parameters)" << G4endl; 252 } 246 253 #endif 247 254 … … 271 278 272 279 if ( camera_distance < radius ) { 273 G4cerr << "WARNING from DAWNFILE driver:" << G4endl; 274 G4cerr << " Camera cannot enter inside objects" << G4endl; 280 if (G4VisManager::GetVerbosity() >= G4VisManager::errors) { 281 G4cout << "WARNING from DAWNFILE driver:" << G4endl; 282 G4cout << " Camera cannot enter inside objects" << G4endl; 283 } 275 284 camera_distance = radius ; 276 285 } -
trunk/source/visualization/FukuiRenderer/src/G4FRClientServer.cc
r1337 r1347 25 25 // 26 26 // 27 // $Id: G4FRClientServer.cc,v 1. 6 2006/06/29 21:16:56 gunterExp $28 // GEANT4 tag $Name: geant4-09-04- beta-01$27 // $Id: G4FRClientServer.cc,v 1.7 2010/11/11 01:13:42 akimura Exp $ 28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // Satoshi TANAKA, Wed Jul 3 14:14:29 JST 1996 … … 38 38 //=================// 39 39 40 #include "G4VisManager.hh" 40 41 #include "G4FRClientServer.hh" 41 42 … … 119 120 120 121 #if defined DEBUG_CLIENT_SERVER 121 G4cerr << ">>>>> receivedMessage = " << fReceivedMessage << G4endl; 122 if (G4VisManager::GetVerbosity() >= G4VisManager::errors) 123 G4cout << ">>>>> receivedMessage = " << fReceivedMessage << G4endl; 122 124 #endif 123 125 … … 150 152 151 153 #if defined DEBUG_CLIENT_SERVER 152 G4cerr << "<<<<< SentMessage = " << fSendingMessage << G4endl; 154 if (G4VisManager::GetVerbosity() >= G4VisManager::errors) 155 G4cout << "<<<<< SentMessage = " << fSendingMessage << G4endl; 153 156 #endif 154 157 … … 255 258 256 259 // #if defined DEBUG_CLIENT_SERVER 257 G4cerr << "***** Trying connection to " << server_hostname << G4endl; 260 if (G4VisManager::GetVerbosity() >= G4VisManager::errors) 261 G4cout << "***** Trying connection to " << server_hostname << G4endl; 258 262 // #endif 259 263 -
trunk/source/visualization/FukuiRenderer/src/G4FukuiRenderer.cc
r1337 r1347 25 25 // 26 26 // 27 // $Id: G4FukuiRenderer.cc,v 1. 9 2006/06/29 21:16:58 gunterExp $28 // GEANT4 tag $Name: geant4-09-04- beta-01$27 // $Id: G4FukuiRenderer.cc,v 1.10 2010/11/11 01:13:42 akimura Exp $ 28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // … … 43 43 #define __G_ANSI_C__ 44 44 45 #include "G4VisManager.hh" 45 46 //#include "G4VisFeaturesOfFukuiRenderer.hh" 46 47 #include "G4VSceneHandler.hh" … … 114 115 115 116 #if defined DEBUG_FR_SYSTEM 116 G4cerr << "***** Unix Inet Domain (AUTO mode)" << G4endl; 117 if (G4VisManager::GetVerbosity() >= G4VisManager::errors) 118 G4cout << "***** Unix Inet Domain (AUTO mode)" << G4endl; 117 119 #endif 118 120 fIPMode = G4FukuiRenderer::IP_UNIX ; … … 144 146 145 147 if(!flag_connected) { 146 G4cerr << "***** ERROR: Connection failed" << G4endl; 148 if (G4VisManager::GetVerbosity() >= G4VisManager::errors) 149 G4cout << "***** ERROR: Connection failed" << G4endl; 147 150 } 148 151 else { 149 G4cerr << "***** GEANT4 is connected to FukuiRenderer DAWN "; 150 G4cerr << "in the same host" << G4endl; 152 if (G4VisManager::GetVerbosity() >= G4VisManager::errors) { 153 G4cout << "***** GEANT4 is connected to FukuiRenderer DAWN "; 154 G4cout << "in the same host" << G4endl; 155 } 151 156 } 152 157 … … 159 164 { 160 165 #if defined DEBUG_FR_SYSTEM 161 G4cerr << "***** INET Domain " << G4endl; 166 if (G4VisManager::GetVerbosity() >= G4VisManager::errors) 167 G4cout << "***** INET Domain " << G4endl; 162 168 #endif 163 169 fIPMode = G4FukuiRenderer::IP_INET ; … … 166 172 167 173 if(!flag_connected) { 168 G4cerr << "***** ERROR: Connection failed" << G4endl; 174 if (G4VisManager::GetVerbosity() >= G4VisManager::errors) 175 G4cout << "***** ERROR: Connection failed" << G4endl; 169 176 } 170 177 else { 171 G4cerr << "GEANT4 is connected to FukuiRenderer DAWN via socket" ; 172 G4cerr << G4endl; 178 if (G4VisManager::GetVerbosity() >= G4VisManager::errors) { 179 G4cout << "GEANT4 is connected to FukuiRenderer DAWN via socket" ; 180 G4cout << G4endl; 181 } 173 182 } 174 183 … … 183 192 if ( ++connect_trial > max_port_incr ) { 184 193 this->flag_connected = 0 ; 185 G4cerr << "***** INET Connection failed." << G4endl; 186 G4cerr << " Maybe, you have not invoked DAWN yet," << G4endl; 187 G4cerr << " or too many DAWN's are already running" << G4endl; 188 G4cerr << " in the server host." << G4endl; 194 if (G4VisManager::GetVerbosity() >= G4VisManager::errors) { 195 G4cout << "***** INET Connection failed." << G4endl; 196 G4cout << " Maybe, you have not invoked DAWN yet," << G4endl; 197 G4cout << " or too many DAWN's are already running" << G4endl; 198 G4cout << " in the server host." << G4endl; 199 } 189 200 fPrimDest.IncrementPortNumber( (- FR_MAX_PORT_INCR) ); 190 201 return ; … … 192 203 // INET domain connection is established 193 204 this->flag_connected = 1 ; 194 G4cerr << "***** GEANT4 is connected to port " ; 195 G4cerr << fPrimDest.GetPortNumber() ; 196 G4cerr << " of server" << G4endl; 205 if (G4VisManager::GetVerbosity() >= G4VisManager::errors) { 206 G4cout << "***** GEANT4 is connected to port " ; 207 G4cout << fPrimDest.GetPortNumber() ; 208 G4cout << " of server" << G4endl; 209 } 197 210 break ; 198 211 } else { … … 200 213 this->flag_connected = 0 ; 201 214 fPrimDest.IncrementPortNumber(); 202 G4cerr << "***** GEANT4 incremented targeting port to " ; 203 G4cerr << fPrimDest.GetPortNumber() << G4endl; 215 if (G4VisManager::GetVerbosity() >= G4VisManager::errors) { 216 G4cout << "***** GEANT4 incremented targeting port to " ; 217 G4cout << fPrimDest.GetPortNumber() << G4endl; 218 } 204 219 205 220 } // if-elseif-else … … 215 230 216 231 #if defined DEBUG_FR_SYSTEM 217 G4cerr << "***** UseBSDUnixDomainAuto " << G4endl; 232 if (G4VisManager::GetVerbosity() >= G4VisManager::errors) 233 G4cout << "***** UseBSDUnixDomainAuto " << G4endl; 218 234 #endif 219 235 fIPMode = G4FukuiRenderer::IP_UNIX ; // Unix domain … … 241 257 //----- display status 242 258 if(!flag_connected) { 243 G4cerr << "***** ERROR: Connection failed" << G4endl; 259 if (G4VisManager::GetVerbosity() >= G4VisManager::errors) 260 G4cout << "***** ERROR: Connection failed" << G4endl; 244 261 } else { 245 G4cerr << "*** GEANT4 is connected to FukuiRenderer DAWN "; 246 G4cerr << "in the same host" << G4endl; 262 if (G4VisManager::GetVerbosity() >= G4VisManager::errors) { 263 G4cout << "*** GEANT4 is connected to FukuiRenderer DAWN "; 264 G4cout << "in the same host" << G4endl; 265 } 247 266 } 248 267 -
trunk/source/visualization/FukuiRenderer/src/G4FukuiRendererSceneHandler.cc
r1337 r1347 25 25 // 26 26 // 27 // $Id: G4FukuiRendererSceneHandler.cc,v 1.1 4 2006/06/29 21:17:00 gunterExp $28 // GEANT4 tag $Name: geant4-09-04- beta-01$27 // $Id: G4FukuiRendererSceneHandler.cc,v 1.15 2010/11/11 01:13:42 akimura Exp $ 28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // … … 46 46 #include <string.h> 47 47 #include "globals.hh" 48 #include "G4VisManager.hh" 48 49 #include "G4FRConst.hh" 49 50 #include "G4FukuiRenderer.hh" … … 125 126 { 126 127 #if defined DEBUG_FR_SCENE 127 G4cerr << "***** ~G4FukuiRendererSceneHandler" << G4endl; 128 if (G4VisManager::GetVerbosity() >= G4VisManager::errors) 129 G4cout << "***** ~G4FukuiRendererSceneHandler" << G4endl; 128 130 #endif 129 131 ClearStore (); // clear current scene … … 137 139 { 138 140 #if defined DEBUG_FR_SCENE 139 G4cerr << "***** G4FukuiRendererSceneHandler::FRBeginModeling (called & started)" << G4endl; 141 if (G4VisManager::GetVerbosity() >= G4VisManager::errors) 142 G4cout << "***** G4FukuiRendererSceneHandler::FRBeginModeling (called & started)" << G4endl; 140 143 #endif 141 144 … … 173 176 // !SetCamera 174 177 #if defined DEBUG_FR_SCENE 175 G4cerr << "***** (!SetCamera in FRBeginModeling())" << G4endl; 178 if (G4VisManager::GetVerbosity() >= G4VisManager::errors) 179 G4cout << "***** (!SetCamera in FRBeginModeling())" << G4endl; 176 180 #endif 177 181 SendStr( FR_SET_CAMERA ); … … 180 184 // !OpenDevice 181 185 #if defined DEBUG_FR_SCENE 182 G4cerr << "***** (!OpenDevice in FRBeginModeling())" << G4endl; 186 if (G4VisManager::GetVerbosity() >= G4VisManager::errors) 187 G4cout << "***** (!OpenDevice in FRBeginModeling())" << G4endl; 183 188 #endif 184 189 SendStr( FR_OPEN_DEVICE ); … … 187 192 // !BeginModeling 188 193 #if defined DEBUG_FR_SCENE 189 G4cerr << "***** (!BeginModeling in FRBeginModeling())" << G4endl; 194 if (G4VisManager::GetVerbosity() >= G4VisManager::errors) 195 G4cout << "***** (!BeginModeling in FRBeginModeling())" << G4endl; 190 196 #endif 191 197 SendStr( FR_BEGIN_MODELING ); FRflag_in_modeling = true ; -
trunk/source/visualization/FukuiRenderer/src/G4FukuiRendererViewer.cc
r1337 r1347 25 25 // 26 26 // 27 // $Id: G4FukuiRendererViewer.cc,v 1.1 1 2006/06/29 21:17:02 gunterExp $28 // GEANT4 tag $Name: geant4-09-04- beta-01$27 // $Id: G4FukuiRendererViewer.cc,v 1.12 2010/11/11 01:13:42 akimura Exp $ 28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // … … 47 47 #include <assert.h> 48 48 49 #include "G4VisManager.hh" 49 50 #include "G4Scene.hh" 50 51 #include "G4Vector3D.hh" … … 76 77 { 77 78 #if defined DEBUG_FR_VIEW 78 G4cerr << "***** G4FukuiRendererViewer::SetView(): No effects" << G4endl; 79 if (G4VisManager::GetVerbosity() >= G4VisManager::errors) 80 G4cout << "***** G4FukuiRendererViewer::SetView(): No effects" << G4endl; 79 81 #endif 80 82 // Do nothing, since DAWN is running as a different process. … … 87 89 { 88 90 #if defined DEBUG_FR_VIEW 89 G4cerr << "***** G4FukuiRendererViewer::ClearView (): No effects " << G4endl; 91 if (G4VisManager::GetVerbosity() >= G4VisManager::errors) 92 G4cout << "***** G4FukuiRendererViewer::ClearView (): No effects " << G4endl; 90 93 #endif 91 94 … … 97 100 { 98 101 #if defined DEBUG_FR_VIEW 99 G4cerr << "***** G4FukuiRendererViewer::DrawView () " << G4endl; 102 if (G4VisManager::GetVerbosity() >= G4VisManager::errors) 103 G4cout << "***** G4FukuiRendererViewer::DrawView () " << G4endl; 100 104 #endif 101 105 … … 116 120 { 117 121 #if defined DEBUG_FR_VIEW 118 G4cerr << "***** G4FukuiRendererViewer::ShowView () " << G4endl; 122 if (G4VisManager::GetVerbosity() >= G4VisManager::errors) 123 G4cout << "***** G4FukuiRendererViewer::ShowView () " << G4endl; 119 124 #endif 120 125 … … 137 142 { 138 143 #if defined DEBUG_FR_VIEW 139 G4cerr << "***** G4FukuiRendererViewer::Wait () : Begin" << G4endl; 144 if (G4VisManager::GetVerbosity() >= G4VisManager::errors) 145 G4cout << "***** G4FukuiRendererViewer::Wait () : Begin" << G4endl; 140 146 #endif 141 147 fSceneHandler.SendStr ( FR_WAIT ); 142 148 fSceneHandler.GetPrimDest().WaitSendBack( FR_WAIT ); 143 149 #if defined DEBUG_FR_VIEW 144 G4cerr << "***** G4FukuiRendererViewer::Wait () : end" << G4endl; 150 if (G4VisManager::GetVerbosity() >= G4VisManager::errors) 151 G4cout << "***** G4FukuiRendererViewer::Wait () : end" << G4endl; 145 152 #endif 146 153 … … 153 160 { 154 161 #if defined DEBUG_FR_VIEW 155 G4cerr << "***** G4FukuiRendererViewer::SendDevice() " << G4endl; 162 if (G4VisManager::GetVerbosity() >= G4VisManager::errors) 163 G4cout << "***** G4FukuiRendererViewer::SendDevice() " << G4endl; 156 164 #endif 157 165 … … 168 176 { 169 177 #if defined DEBUG_FR_VIEW 170 G4cerr << "***** G4FukuiRendererViewer::SendDrawingStyle() " << G4endl; 178 if (G4VisManager::GetVerbosity() >= G4VisManager::errors) 179 G4cout << "***** G4FukuiRendererViewer::SendDrawingStyle() " << G4endl; 171 180 #endif 172 181 … … 201 210 202 211 #if defined DEBUG_FR_VIEW 203 G4cerr << "***** G4FukuiRendererViewer::SendViewParameters()" << G4endl; 212 if (G4VisManager::GetVerbosity() >= G4VisManager::errors) 213 G4cout << "***** G4FukuiRendererViewer::SendViewParameters()" << G4endl; 204 214 #endif 205 215 … … 229 239 230 240 if ( camera_distance < radius ) { 231 G4cerr << "WARNING from FukuiRenderer (DAWN) driver:" << G4endl; 232 G4cerr << " Camera cannot enter inside objects" << G4endl; 241 if (G4VisManager::GetVerbosity() >= G4VisManager::errors) { 242 G4cout << "WARNING from FukuiRenderer (DAWN) driver:" << G4endl; 243 G4cout << " Camera cannot enter inside objects" << G4endl; 244 } 233 245 camera_distance = radius ; 234 246 } -
trunk/source/visualization/HepRep/CVS/Entries
r1346 r1347 3 3 /CMakeLists.txt/1.1/Wed Sep 29 19:11:49 2010//Tgeant4-09-04-ref-00 4 4 /sources.cmake/1.2/Thu Sep 30 13:50:34 2010//Tgeant4-09-04-ref-00 5 /History/1.136/Sun Nov 7 22:29:30 2010//Tgeant4-09-04-ref-00 6 /README/1.23/Fri Nov 16 20:29:04 2007//Tgeant4-09-04-ref-00 -
trunk/source/visualization/HepRep/History
r1337 r1347 1 .$Id: History,v 1.13 5 2010/06/21 04:43:07perl Exp $1 .$Id: History,v 1.136 2010/11/07 22:29:30 perl Exp $ 2 2 ------------------------------------------------------------------- 3 3 … … 20 20 History file for visualization/HepRep sub-category 21 21 -------------------------------------------------- 22 23 7th November 2010 Joseph Perl (vis-HepRep-V09-03-04) 24 - G4HepRepFileSceneHandler.hh: Fix coverity warning about uninitialized variables. Turns out they were unneeded. 22 25 23 26 20th June 2010 Joseph Perl (vis-HepRep-V09-03-03) -
trunk/source/visualization/HepRep/include/CVS/Entries
r1346 r1347 1 1 D/HEPREP//// 2 2 D/cheprep//// 3 /G4HepRep.hh/1.18/Mon Nov 23 05:42:28 2009//Tgeant4-09-04-ref-00 4 /G4HepRepFile.hh/1.8/Thu Jun 29 21:17:06 2006//Tgeant4-09-04-ref-00 5 /G4HepRepFileSceneHandler.hh/1.33/Sun Nov 7 22:29:30 2010//Tgeant4-09-04-ref-00 6 /G4HepRepFileViewer.hh/1.9/Thu Jun 29 21:17:10 2006//Tgeant4-09-04-ref-00 7 /G4HepRepFileXMLWriter.hh/1.2/Thu Jun 29 21:17:12 2006//Tgeant4-09-04-ref-00 8 /G4HepRepMessenger.hh/1.9/Sat Jun 5 06:25:03 2010//Tgeant4-09-04-ref-00 9 /G4HepRepSceneHandler.hh/1.45/Sun May 30 10:28:02 2010//Tgeant4-09-04-ref-00 10 /G4HepRepViewer.hh/1.19/Mon Nov 23 05:42:28 2009//Tgeant4-09-04-ref-00 11 /README/1.5/Fri May 13 14:57:26 2005//Tgeant4-09-04-ref-00 -
trunk/source/visualization/HepRep/include/G4HepRep.hh
r1337 r1347 25 25 // 26 26 // $Id: G4HepRep.hh,v 1.18 2009/11/23 05:42:28 perl Exp $ 27 // GEANT4 tag $Name: geant4-09-04- beta-01$27 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 28 28 // 29 29 -
trunk/source/visualization/HepRep/include/G4HepRepFile.hh
r1337 r1347 26 26 // 27 27 // $Id: G4HepRepFile.hh,v 1.8 2006/06/29 21:17:06 gunter Exp $ 28 // GEANT4 tag $Name: geant4-09-04- beta-01$28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // -
trunk/source/visualization/HepRep/include/G4HepRepFileSceneHandler.hh
r1337 r1347 25 25 // 26 26 // 27 // $Id: G4HepRepFileSceneHandler.hh,v 1.3 2 2010/05/30 10:28:02 allisonExp $28 // GEANT4 tag $Name: geant4-09-04- beta-01$27 // $Id: G4HepRepFileSceneHandler.hh,v 1.33 2010/11/07 22:29:30 perl Exp $ 28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // … … 144 144 void CheckFileOpen(); 145 145 int fileCounter; 146 char fileDir[256];147 char fileName[256];148 G4bool fileOverwrite;149 G4bool cullInvisibleObjects;150 146 G4bool haveVisible; 151 147 G4bool inPrimitives2D; … … 154 150 G4bool drawingTraj; 155 151 G4bool doneInitTraj; 156 G4bool drawTrajPts;157 152 G4bool drawingHit; 158 153 G4bool doneInitHit; -
trunk/source/visualization/HepRep/include/G4HepRepFileViewer.hh
r1337 r1347 26 26 // 27 27 // $Id: G4HepRepFileViewer.hh,v 1.9 2006/06/29 21:17:10 gunter Exp $ 28 // GEANT4 tag $Name: geant4-09-04- beta-01$28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // -
trunk/source/visualization/HepRep/include/G4HepRepMessenger.hh
r1337 r1347 25 25 // 26 26 // $Id: G4HepRepMessenger.hh,v 1.9 2010/06/05 06:25:03 perl Exp $ 27 // GEANT4 tag $Name: geant4-09-04- beta-01$27 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 28 28 // 29 29 // -
trunk/source/visualization/HepRep/include/G4HepRepSceneHandler.hh
r1337 r1347 25 25 // 26 26 // $Id: G4HepRepSceneHandler.hh,v 1.45 2010/05/30 10:28:02 allison Exp $ 27 // GEANT4 tag $Name: geant4-09-04- beta-01$27 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 28 28 // 29 29 -
trunk/source/visualization/HepRep/include/G4HepRepViewer.hh
r1337 r1347 25 25 // 26 26 // $Id: G4HepRepViewer.hh,v 1.19 2009/11/23 05:42:28 perl Exp $ 27 // GEANT4 tag $Name: geant4-09-04- beta-01$27 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 28 28 // 29 29 -
trunk/source/visualization/HepRep/include/HEPREP/CVS/Entries
r1346 r1347 1 /HasHepRep.h/1.4/Wed May 25 23:21:59 2005//Tgeant4-09-04-ref-00 2 /HepRep.h/1.11/Wed May 25 23:21:59 2005//Tgeant4-09-04-ref-00 3 /HepRepAction.h/1.7/Wed May 25 23:21:59 2005//Tgeant4-09-04-ref-00 4 /HepRepAttDef.h/1.7/Wed May 25 23:21:59 2005//Tgeant4-09-04-ref-00 5 /HepRepAttValue.h/1.7/Wed May 25 23:21:59 2005//Tgeant4-09-04-ref-00 6 /HepRepAttribute.h/1.8/Fri May 13 14:57:26 2005//Tgeant4-09-04-ref-00 7 /HepRepAttributeListener.h/1.4/Wed May 25 23:21:59 2005//Tgeant4-09-04-ref-00 8 /HepRepConstants.h/1.7/Wed May 25 23:21:59 2005//Tgeant4-09-04-ref-00 9 /HepRepDefinition.h/1.8/Wed May 25 23:21:59 2005//Tgeant4-09-04-ref-00 10 /HepRepFactory.h/1.8/Wed May 25 23:21:59 2005//Tgeant4-09-04-ref-00 11 /HepRepFrameListener.h/1.3/Wed May 25 23:21:59 2005//Tgeant4-09-04-ref-00 12 /HepRepInstance.h/1.9/Wed May 25 23:21:59 2005//Tgeant4-09-04-ref-00 13 /HepRepInstanceTree.h/1.9/Wed May 25 23:21:59 2005//Tgeant4-09-04-ref-00 14 /HepRepIterator.h/1.9/Wed May 25 23:21:59 2005//Tgeant4-09-04-ref-00 15 /HepRepPoint.h/1.9/Wed Jun 28 14:00:15 2006//Tgeant4-09-04-ref-00 16 /HepRepReader.h/1.4/Wed May 25 23:21:59 2005//Tgeant4-09-04-ref-00 17 /HepRepSelectFilter.h/1.7/Wed May 25 23:21:59 2005//Tgeant4-09-04-ref-00 18 /HepRepTreeID.h/1.8/Wed May 25 23:21:59 2005//Tgeant4-09-04-ref-00 19 /HepRepType.h/1.10/Wed May 25 23:21:59 2005//Tgeant4-09-04-ref-00 20 /HepRepTypeTree.h/1.9/Wed May 25 23:21:59 2005//Tgeant4-09-04-ref-00 21 /HepRepViewer.h/1.3/Wed May 25 23:21:59 2005//Tgeant4-09-04-ref-00 22 /HepRepWriter.h/1.10/Wed May 25 23:21:59 2005//Tgeant4-09-04-ref-00 23 /Types.h/1.1/Fri May 13 14:57:26 2005//Tgeant4-09-04-ref-00 24 /freehep-heprep.version/1.1/Wed May 25 23:21:59 2005//Tgeant4-09-04-ref-00 1 25 D -
trunk/source/visualization/HepRep/include/cheprep/CVS/Entries
r1346 r1347 1 /AbstractXMLWriter.h/1.3/Thu Jun 2 21:28:45 2005//Tgeant4-09-04-ref-00 2 /BHepRepWriter.h/1.9/Thu Jun 2 21:28:45 2005//Tgeant4-09-04-ref-00 3 /DefaultHepRep.h/1.3/Thu Jun 2 21:28:45 2005//Tgeant4-09-04-ref-00 4 /DefaultHepRepAction.h/1.3/Thu Jun 2 21:28:45 2005//Tgeant4-09-04-ref-00 5 /DefaultHepRepAttDef.h/1.3/Thu Jun 2 21:28:45 2005//Tgeant4-09-04-ref-00 6 /DefaultHepRepAttValue.h/1.3/Thu Jun 2 21:28:45 2005//Tgeant4-09-04-ref-00 7 /DefaultHepRepAttribute.h/1.3/Thu Jun 2 21:28:45 2005//Tgeant4-09-04-ref-00 8 /DefaultHepRepDefinition.h/1.3/Thu Jun 2 21:28:45 2005//Tgeant4-09-04-ref-00 9 /DefaultHepRepFactory.h/1.3/Thu Jun 2 21:28:45 2005//Tgeant4-09-04-ref-00 10 /DefaultHepRepInstance.h/1.3/Thu Jun 2 21:28:45 2005//Tgeant4-09-04-ref-00 11 /DefaultHepRepInstanceTree.h/1.3/Thu Jun 2 21:28:45 2005//Tgeant4-09-04-ref-00 12 /DefaultHepRepPoint.h/1.3/Thu Jun 2 21:28:45 2005//Tgeant4-09-04-ref-00 13 /DefaultHepRepTreeID.h/1.3/Thu Jun 2 21:28:45 2005//Tgeant4-09-04-ref-00 14 /DefaultHepRepType.h/1.3/Thu Jun 2 21:28:45 2005//Tgeant4-09-04-ref-00 15 /DefaultHepRepTypeTree.h/1.3/Thu Jun 2 21:28:45 2005//Tgeant4-09-04-ref-00 16 /DeflateOutputStreamBuffer.h/1.6/Fri May 8 09:26:58 2009//Tgeant4-09-04-ref-00 17 /GZIPOutputStream.h/1.3/Thu Jun 2 21:28:45 2005//Tgeant4-09-04-ref-00 18 /GZIPOutputStreamBuffer.h/1.4/Thu Jun 2 21:28:45 2005//Tgeant4-09-04-ref-00 19 /IndentPrintWriter.h/1.3/Thu Jun 2 21:28:45 2005//Tgeant4-09-04-ref-00 20 /XMLHepRepFactory.h/1.3/Thu Jun 2 21:28:45 2005//Tgeant4-09-04-ref-00 21 /XMLHepRepWriter.h/1.4/Thu Jun 2 21:28:45 2005//Tgeant4-09-04-ref-00 22 /XMLWriter.h/1.3/Thu Jun 2 21:28:45 2005//Tgeant4-09-04-ref-00 23 /ZipEntry.h/1.9/Thu Jun 2 21:28:45 2005//Tgeant4-09-04-ref-00 24 /ZipOutputStream.h/1.9/Thu Jun 2 21:28:45 2005//Tgeant4-09-04-ref-00 25 /ZipOutputStreamBuffer.h/1.9/Thu Jun 2 21:28:45 2005//Tgeant4-09-04-ref-00 26 /config.h/1.4/Thu Jun 2 21:28:45 2005//Tgeant4-09-04-ref-00 27 /freehep-cheprep.version/1.2/Thu Jun 2 21:28:45 2005//Tgeant4-09-04-ref-00 1 28 D -
trunk/source/visualization/HepRep/src/CVS/Entries
r1346 r1347 1 /BHepRepWriter.cc/1.9/Thu Jun 2 21:28:45 2005//Tgeant4-09-04-ref-00 2 /DefaultHepRep.cc/1.9/Thu Jun 2 21:28:45 2005//Tgeant4-09-04-ref-00 3 /DefaultHepRepAction.cc/1.8/Thu Jun 2 21:28:45 2005//Tgeant4-09-04-ref-00 4 /DefaultHepRepAttDef.cc/1.8/Thu Jun 2 21:28:45 2005//Tgeant4-09-04-ref-00 5 /DefaultHepRepAttValue.cc/1.10/Thu Jun 2 21:28:45 2005//Tgeant4-09-04-ref-00 6 /DefaultHepRepAttribute.cc/1.8/Thu Jun 2 21:28:45 2005//Tgeant4-09-04-ref-00 7 /DefaultHepRepDefinition.cc/1.8/Thu Jun 2 21:28:45 2005//Tgeant4-09-04-ref-00 8 /DefaultHepRepFactory.cc/1.6/Thu Jun 2 21:28:45 2005//Tgeant4-09-04-ref-00 9 /DefaultHepRepInstance.cc/1.7/Thu Jun 2 21:28:45 2005//Tgeant4-09-04-ref-00 10 /DefaultHepRepInstanceTree.cc/1.11/Thu Jun 2 21:28:45 2005//Tgeant4-09-04-ref-00 11 /DefaultHepRepPoint.cc/1.5/Thu Jun 2 21:28:45 2005//Tgeant4-09-04-ref-00 12 /DefaultHepRepTreeID.cc/1.9/Thu Jun 2 21:28:45 2005//Tgeant4-09-04-ref-00 13 /DefaultHepRepType.cc/1.8/Thu Jun 2 21:28:45 2005//Tgeant4-09-04-ref-00 14 /DefaultHepRepTypeTree.cc/1.7/Thu Jun 2 21:28:45 2005//Tgeant4-09-04-ref-00 15 /DeflateOutputStreamBuffer.cc/1.6/Thu Jun 2 21:28:45 2005//Tgeant4-09-04-ref-00 16 /G4HepRep.cc/1.23/Mon Nov 23 05:42:28 2009//Tgeant4-09-04-ref-00 17 /G4HepRepFile.cc/1.12/Mon Nov 23 05:42:28 2009//Tgeant4-09-04-ref-00 18 /G4HepRepFileSceneHandler.cc/1.69/Sat Jun 5 06:25:03 2010//Tgeant4-09-04-ref-00 19 /G4HepRepFileViewer.cc/1.15/Thu Jun 29 21:17:26 2006//Tgeant4-09-04-ref-00 20 /G4HepRepFileXMLWriter.cc/1.3/Thu Jun 29 21:17:28 2006//Tgeant4-09-04-ref-00 21 /G4HepRepMessenger.cc/1.13/Mon Jun 21 04:43:07 2010//Tgeant4-09-04-ref-00 22 /G4HepRepSceneHandler.cc/1.102/Mon Nov 23 05:42:28 2009//Tgeant4-09-04-ref-00 23 /G4HepRepViewer.cc/1.27/Mon Nov 23 05:42:28 2009//Tgeant4-09-04-ref-00 24 /GZIPOutputStream.cc/1.4/Thu Jun 2 21:28:45 2005//Tgeant4-09-04-ref-00 25 /GZIPOutputStreamBuffer.cc/1.4/Thu Jun 2 21:28:45 2005//Tgeant4-09-04-ref-00 26 /IndentPrintWriter.cc/1.14/Thu Jun 2 21:28:45 2005//Tgeant4-09-04-ref-00 27 /README/1.6/Fri May 13 15:00:05 2005//Tgeant4-09-04-ref-00 28 /XMLHepRepFactory.cc/1.5/Thu Jun 2 21:28:45 2005//Tgeant4-09-04-ref-00 29 /XMLHepRepWriter.cc/1.15/Thu Jun 2 21:28:45 2005//Tgeant4-09-04-ref-00 30 /XMLWriter.cc/1.12/Thu Jun 2 21:28:45 2005//Tgeant4-09-04-ref-00 31 /ZipOutputStream.cc/1.9/Thu Jun 2 21:28:45 2005//Tgeant4-09-04-ref-00 32 /ZipOutputStreamBuffer.cc/1.9/Thu Jun 2 21:28:45 2005//Tgeant4-09-04-ref-00 1 33 D -
trunk/source/visualization/HepRep/src/G4HepRep.cc
r1337 r1347 25 25 // 26 26 // $Id: G4HepRep.cc,v 1.23 2009/11/23 05:42:28 perl Exp $ 27 // GEANT4 tag $Name: geant4-09-04- beta-01$27 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 28 28 // 29 29 -
trunk/source/visualization/HepRep/src/G4HepRepFile.cc
r1337 r1347 25 25 // 26 26 // $Id: G4HepRepFile.cc,v 1.12 2009/11/23 05:42:28 perl Exp $ 27 // GEANT4 tag $Name: geant4-09-04- beta-01$27 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 28 28 // 29 29 // -
trunk/source/visualization/HepRep/src/G4HepRepFileSceneHandler.cc
r1337 r1347 25 25 // 26 26 // $Id: G4HepRepFileSceneHandler.cc,v 1.69 2010/06/05 06:25:03 perl Exp $ 27 // GEANT4 tag $Name: geant4-09-04- beta-01$27 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 28 28 // 29 29 // -
trunk/source/visualization/HepRep/src/G4HepRepFileViewer.cc
r1337 r1347 25 25 // 26 26 // $Id: G4HepRepFileViewer.cc,v 1.15 2006/06/29 21:17:26 gunter Exp $ 27 // GEANT4 tag $Name: geant4-09-04- beta-01$27 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 28 28 29 29 #include "G4HepRepFileViewer.hh" -
trunk/source/visualization/HepRep/src/G4HepRepMessenger.cc
r1337 r1347 25 25 // 26 26 // $Id: G4HepRepMessenger.cc,v 1.13 2010/06/21 04:43:07 perl Exp $ 27 // GEANT4 tag $Name: geant4-09-04- beta-01$27 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 28 28 // 29 29 #include "G4HepRepMessenger.hh" -
trunk/source/visualization/HepRep/src/G4HepRepSceneHandler.cc
r1337 r1347 25 25 // 26 26 // $Id: G4HepRepSceneHandler.cc,v 1.102 2009/11/23 05:42:28 perl Exp $ 27 // GEANT4 tag $Name: geant4-09-04- beta-01$27 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 28 28 // 29 29 -
trunk/source/visualization/HepRep/src/G4HepRepViewer.cc
r1337 r1347 25 25 // 26 26 // $Id: G4HepRepViewer.cc,v 1.27 2009/11/23 05:42:28 perl Exp $ 27 // GEANT4 tag $Name: geant4-09-04- beta-01$27 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 28 28 // 29 29 -
trunk/source/visualization/OpenInventor/CVS/Entries
r1346 r1347 3 3 /CMakeLists.txt/1.1/Wed Sep 29 19:12:22 2010//Tgeant4-09-04-ref-00 4 4 /sources.cmake/1.1/Wed Sep 29 19:12:30 2010//Tgeant4-09-04-ref-00 5 /History/1.108/Wed Nov 10 17:53:22 2010//Tgeant4-09-04-ref-00 -
trunk/source/visualization/OpenInventor/History
r1340 r1347 1 $Id: History,v 1.10 7 2010/10/06 15:46:21allison Exp $1 $Id: History,v 1.108 2010/11/10 17:53:22 allison Exp $ 2 2 ------------------------------------------------------------------- 3 3 … … 20 20 History file for visualization/OpenInventor 21 21 ------------------------------------------- 22 23 10th November 2010 John Allison (openinventor-V09-03-02) 24 - G4OpenInventor*Viewer.cc: 25 o Protected output with G4VisManager::confirmations. 22 26 23 27 6th October 2010 John Allison (openinventor-V09-03-01) -
trunk/source/visualization/OpenInventor/include/CVS/Entries
r1346 r1347 1 1 D/HEPVis//// 2 /G4OpenInventor.hh/1.9/Thu Jun 29 21:20:22 2006//Tgeant4-09-04-ref-00 3 /G4OpenInventorSceneHandler.hh/1.33/Tue Mar 27 15:24:15 2007//Tgeant4-09-04-ref-00 4 /G4OpenInventorTransform3D.hh/1.7/Thu Jun 29 21:20:26 2006//Tgeant4-09-04-ref-00 5 /G4OpenInventorViewer.hh/1.27/Thu Jun 29 21:20:28 2006//Tgeant4-09-04-ref-00 6 /G4OpenInventorWin.hh/1.3/Thu Jun 29 21:20:30 2006//Tgeant4-09-04-ref-00 7 /G4OpenInventorWin32.hh/1.7/Thu Jun 29 21:20:32 2006//Tgeant4-09-04-ref-00 8 /G4OpenInventorWinViewer.hh/1.10/Fri Sep 18 12:48:43 2009//Tgeant4-09-04-ref-00 9 /G4OpenInventorX.hh/1.7/Thu Jun 29 21:20:36 2006//Tgeant4-09-04-ref-00 10 /G4OpenInventorXt.hh/1.3/Thu Jun 29 21:20:38 2006//Tgeant4-09-04-ref-00 11 /G4OpenInventorXtViewer.hh/1.15/Fri Sep 18 12:48:43 2009//Tgeant4-09-04-ref-00 12 /Geant4_SoPolyhedron.h/1.6/Thu Jun 29 21:20:42 2006//Tgeant4-09-04-ref-00 13 /SoG4LineSet.h/1.2/Wed Dec 13 15:49:51 2006//Tgeant4-09-04-ref-00 14 /SoG4MarkerSet.h/1.2/Wed Dec 13 15:49:53 2006//Tgeant4-09-04-ref-00 15 /SoG4Polyhedron.h/1.3/Mon Sep 17 16:08:00 2007//Tgeant4-09-04-ref-00 -
trunk/source/visualization/OpenInventor/include/G4OpenInventor.hh
r1337 r1347 26 26 // 27 27 // $Id: G4OpenInventor.hh,v 1.9 2006/06/29 21:20:22 gunter Exp $ 28 // GEANT4 tag $Name: geant4-09-04- beta-01$28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // Guy Barrand 26 Mar 1998. -
trunk/source/visualization/OpenInventor/include/G4OpenInventorSceneHandler.hh
r1337 r1347 26 26 // 27 27 // $Id: G4OpenInventorSceneHandler.hh,v 1.33 2007/03/27 15:24:15 allison Exp $ 28 // GEANT4 tag $Name: geant4-09-04- beta-01$28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // -
trunk/source/visualization/OpenInventor/include/G4OpenInventorTransform3D.hh
r1337 r1347 26 26 // 27 27 // $Id: G4OpenInventorTransform3D.hh,v 1.7 2006/06/29 21:20:26 gunter Exp $ 28 // GEANT4 tag $Name: geant4-09-04- beta-01$28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // -
trunk/source/visualization/OpenInventor/include/G4OpenInventorWin.hh
r1337 r1347 26 26 // 27 27 // $Id: G4OpenInventorWin.hh,v 1.3 2006/06/29 21:20:30 gunter Exp $ 28 // GEANT4 tag $Name: geant4-09-04- beta-01$28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // OpenInventor graphics system factory. -
trunk/source/visualization/OpenInventor/include/G4OpenInventorWin32.hh
r1337 r1347 26 26 // 27 27 // $Id: G4OpenInventorWin32.hh,v 1.7 2006/06/29 21:20:32 gunter Exp $ 28 // GEANT4 tag $Name: geant4-09-04- beta-01$28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // OpenInventor graphics system factory. -
trunk/source/visualization/OpenInventor/include/G4OpenInventorWinViewer.hh
r1337 r1347 26 26 // 27 27 // $Id: G4OpenInventorWinViewer.hh,v 1.10 2009/09/18 12:48:43 lgarnier Exp $ 28 // GEANT4 tag $Name: geant4-09-04- beta-01$28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // -
trunk/source/visualization/OpenInventor/include/G4OpenInventorX.hh
r1337 r1347 26 26 // 27 27 // $Id: G4OpenInventorX.hh,v 1.7 2006/06/29 21:20:36 gunter Exp $ 28 // GEANT4 tag $Name: geant4-09-04- beta-01$28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // -
trunk/source/visualization/OpenInventor/include/G4OpenInventorXt.hh
r1337 r1347 26 26 // 27 27 // $Id: G4OpenInventorXt.hh,v 1.3 2006/06/29 21:20:38 gunter Exp $ 28 // GEANT4 tag $Name: geant4-09-04- beta-01$28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // -
trunk/source/visualization/OpenInventor/include/G4OpenInventorXtViewer.hh
r1337 r1347 26 26 // 27 27 // $Id: G4OpenInventorXtViewer.hh,v 1.15 2009/09/18 12:48:43 lgarnier Exp $ 28 // GEANT4 tag $Name: geant4-09-04- beta-01$28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // -
trunk/source/visualization/OpenInventor/include/HEPVis/CVS/Entries
r1346 r1347 3 3 D/nodekits//// 4 4 D/nodes//// 5 /SbGL.h/1.3/Thu Jun 29 21:20:44 2006//Tgeant4-09-04-ref-00 6 /SbMath.h/1.4/Thu Jun 29 21:20:46 2006//Tgeant4-09-04-ref-00 7 /SbPainter.h/1.3/Thu Jun 29 21:20:48 2006//Tgeant4-09-04-ref-00 8 /SbPainterPS.h/1.3/Thu Jun 29 21:20:50 2006//Tgeant4-09-04-ref-00 -
trunk/source/visualization/OpenInventor/include/HEPVis/SbMath.h
r954 r1347 26 26 // 27 27 // $Id: SbMath.h,v 1.4 2006/06/29 21:20:46 gunter Exp $ 28 // GEANT4 tag $Name: $28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 #ifndef HEPVis_SbMath_h -
trunk/source/visualization/OpenInventor/include/HEPVis/actions/CVS/Entries
r1346 r1347 1 /SoAlternateRepAction.h/1.3/Thu Jun 29 21:20:52 2006//Tgeant4-09-04-ref-00 2 /SoCounterAction.h/1.5/Thu Jun 29 21:20:54 2006//Tgeant4-09-04-ref-00 3 /SoGL2PSAction.h/1.7/Wed Feb 18 10:04:25 2009//Tgeant4-09-04-ref-00 1 4 D -
trunk/source/visualization/OpenInventor/include/HEPVis/misc/CVS/Entries
r1346 r1347 1 /SoStyleCache.h/1.6/Thu Jun 29 21:21:14 2006//Tgeant4-09-04-ref-00 1 2 D -
trunk/source/visualization/OpenInventor/include/HEPVis/nodekits/CVS/Entries
r1346 r1347 1 /SoDetectorTreeKit.h/1.5/Thu Jun 29 21:21:16 2006//Tgeant4-09-04-ref-00 1 2 D -
trunk/source/visualization/OpenInventor/include/HEPVis/nodekits/SoDetectorTreeKit.h
r954 r1347 26 26 // 27 27 // $Id: SoDetectorTreeKit.h,v 1.5 2006/06/29 21:21:16 gunter Exp $ 28 // GEANT4 tag $Name: $28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 /*-----------------------------HEPVis----------------------------------------*/ -
trunk/source/visualization/OpenInventor/include/HEPVis/nodes/CVS/Entries
r1346 r1347 1 /SoBox.h/1.3/Thu Jun 29 21:21:18 2006//Tgeant4-09-04-ref-00 2 /SoCons.h/1.3/Thu Jun 29 21:21:20 2006//Tgeant4-09-04-ref-00 3 /SoImageWriter.h/1.3/Thu Jun 29 21:21:38 2006//Tgeant4-09-04-ref-00 4 /SoMarkerSet.h/1.3/Thu Jun 29 21:22:03 2006//Tgeant4-09-04-ref-00 5 /SoTrap.h/1.4/Thu Jun 29 21:22:06 2006//Tgeant4-09-04-ref-00 6 /SoTrd.h/1.3/Thu Jun 29 21:22:08 2006//Tgeant4-09-04-ref-00 7 /SoTubs.h/1.3/Thu Jun 29 21:22:10 2006//Tgeant4-09-04-ref-00 1 8 D -
trunk/source/visualization/OpenInventor/include/HEPVis/nodes/SoBox.h
r954 r1347 26 26 // 27 27 // $Id: SoBox.h,v 1.3 2006/06/29 21:21:18 gunter Exp $ 28 // GEANT4 tag $Name: $28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 /*-----------------------------Hepvis----------------------------------------*/ -
trunk/source/visualization/OpenInventor/include/HEPVis/nodes/SoCons.h
r954 r1347 26 26 // 27 27 // $Id: SoCons.h,v 1.3 2006/06/29 21:21:20 gunter Exp $ 28 // GEANT4 tag $Name: $28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 /*-----------------------------Hepvis----------------------------------------*/ -
trunk/source/visualization/OpenInventor/include/HEPVis/nodes/SoTrap.h
r954 r1347 26 26 // 27 27 // $Id: SoTrap.h,v 1.4 2006/06/29 21:22:06 gunter Exp $ 28 // GEANT4 tag $Name: $28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 /*-----------------------------Hepvis----------------------------------------*/ -
trunk/source/visualization/OpenInventor/include/HEPVis/nodes/SoTrd.h
r954 r1347 26 26 // 27 27 // $Id: SoTrd.h,v 1.3 2006/06/29 21:22:08 gunter Exp $ 28 // GEANT4 tag $Name: $28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 /*-----------------------------Hepvis----------------------------------------*/ -
trunk/source/visualization/OpenInventor/include/HEPVis/nodes/SoTubs.h
r954 r1347 26 26 // 27 27 // $Id: SoTubs.h,v 1.3 2006/06/29 21:22:10 gunter Exp $ 28 // GEANT4 tag $Name: $28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 /*-----------------------------Hepvis----------------------------------------*/ -
trunk/source/visualization/OpenInventor/include/SoG4LineSet.h
r954 r1347 25 25 // 26 26 // $Id: SoG4LineSet.h,v 1.2 2006/12/13 15:49:51 gunter Exp $ 27 // GEANT4 tag $Name: $27 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 28 28 // 29 29 // John Allison 26th October 2006 -
trunk/source/visualization/OpenInventor/include/SoG4MarkerSet.h
r954 r1347 25 25 // 26 26 // $Id: SoG4MarkerSet.h,v 1.2 2006/12/13 15:49:53 gunter Exp $ 27 // GEANT4 tag $Name: $27 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 28 28 // 29 29 // John Allison 26th October 2006 -
trunk/source/visualization/OpenInventor/include/SoG4Polyhedron.h
r954 r1347 26 26 // 27 27 // $Id: SoG4Polyhedron.h,v 1.3 2007/09/17 16:08:00 gcosmo Exp $ 28 // GEANT4 tag $Name: $28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // John Allison 26th October 2006 -
trunk/source/visualization/OpenInventor/src/CVS/Entries
r1346 r1347 1 /G4OpenInventor.cc/1.20/Thu Jun 29 21:22:12 2006//Tgeant4-09-04-ref-00 2 /G4OpenInventorSceneHandler.cc/1.55/Wed Feb 18 14:21:38 2009//Tgeant4-09-04-ref-00 3 /G4OpenInventorTransform3D.cc/1.8/Thu Jun 29 21:22:16 2006//Tgeant4-09-04-ref-00 4 /G4OpenInventorViewer.cc/1.61/Wed Oct 6 10:09:57 2010//Tgeant4-09-04-ref-00 5 /G4OpenInventorWin.cc/1.8/Wed May 26 14:30:46 2010//Tgeant4-09-04-ref-00 6 /G4OpenInventorWinViewer.cc/1.27/Wed Nov 10 17:53:22 2010//Tgeant4-09-04-ref-00 7 /G4OpenInventorXt.cc/1.5/Wed May 26 14:30:46 2010//Tgeant4-09-04-ref-00 8 /G4OpenInventorXtViewer.cc/1.26/Wed Nov 10 17:53:22 2010//Tgeant4-09-04-ref-00 9 /SbPainter.cc/1.5/Thu Jun 29 21:22:30 2006//Tgeant4-09-04-ref-00 10 /SbPainterPS.cc/1.5/Thu Jun 29 21:22:32 2006//Tgeant4-09-04-ref-00 11 /SoAlternateRepAction.cc/1.4/Thu Jun 29 21:22:34 2006//Tgeant4-09-04-ref-00 12 /SoBox.cc/1.8/Thu Jun 29 21:22:36 2006//Tgeant4-09-04-ref-00 13 /SoCons.cc/1.8/Thu Jun 29 21:22:38 2006//Tgeant4-09-04-ref-00 14 /SoCounterAction.cc/1.7/Thu Jun 29 21:22:49 2006//Tgeant4-09-04-ref-00 15 /SoDetectorTreeKit.cc/1.13/Thu Jun 29 21:22:51 2006//Tgeant4-09-04-ref-00 16 /SoGL2PSAction.cc/1.9/Wed Feb 18 10:04:25 2009//Tgeant4-09-04-ref-00 17 /SoImageWriter.cc/1.5/Thu Jun 29 21:22:55 2006//Tgeant4-09-04-ref-00 18 /SoMarkerSet.cc/1.8/Thu Jun 29 21:22:57 2006//Tgeant4-09-04-ref-00 19 /SoPolyhedron.cc/1.13/Tue Oct 23 14:54:06 2007//Tgeant4-09-04-ref-00 20 /SoStyleCache.cc/1.7/Thu Jun 29 21:23:01 2006//Tgeant4-09-04-ref-00 21 /SoTrap.cc/1.8/Thu Jun 29 21:23:03 2006//Tgeant4-09-04-ref-00 22 /SoTrd.cc/1.8/Thu Jun 29 21:23:05 2006//Tgeant4-09-04-ref-00 23 /SoTubs.cc/1.8/Thu Jun 29 21:23:07 2006//Tgeant4-09-04-ref-00 1 24 D -
trunk/source/visualization/OpenInventor/src/G4OpenInventor.cc
r1337 r1347 26 26 // 27 27 // $Id: G4OpenInventor.cc,v 1.20 2006/06/29 21:22:12 gunter Exp $ 28 // GEANT4 tag $Name: geant4-09-04- beta-01$28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 #ifdef G4VIS_BUILD_OI_DRIVER -
trunk/source/visualization/OpenInventor/src/G4OpenInventorSceneHandler.cc
r1337 r1347 26 26 // 27 27 // $Id: G4OpenInventorSceneHandler.cc,v 1.55 2009/02/18 14:21:38 lgarnier Exp $ 28 // GEANT4 tag $Name: geant4-09-04- beta-01$28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // -
trunk/source/visualization/OpenInventor/src/G4OpenInventorTransform3D.cc
r1337 r1347 26 26 // 27 27 // $Id: G4OpenInventorTransform3D.cc,v 1.8 2006/06/29 21:22:16 gunter Exp $ 28 // GEANT4 tag $Name: geant4-09-04- beta-01$28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // -
trunk/source/visualization/OpenInventor/src/G4OpenInventorViewer.cc
r1340 r1347 25 25 // 26 26 // $Id: G4OpenInventorViewer.cc,v 1.61 2010/10/06 10:09:57 allison Exp $ 27 // GEANT4 tag $Name: $27 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 28 28 29 29 #ifdef G4VIS_BUILD_OI_DRIVER -
trunk/source/visualization/OpenInventor/src/G4OpenInventorWin.cc
r1337 r1347 26 26 // 27 27 // $Id: G4OpenInventorWin.cc,v 1.8 2010/05/26 14:30:46 allison Exp $ 28 // GEANT4 tag $Name: geant4-09-04- beta-01$28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // OpenInventor graphics system factory. -
trunk/source/visualization/OpenInventor/src/G4OpenInventorWinViewer.cc
r1337 r1347 25 25 // 26 26 // 27 // $Id: G4OpenInventorWinViewer.cc,v 1.2 6 2009/09/18 12:48:43 lgarnierExp $28 // GEANT4 tag $Name: geant4-09-04- beta-01$27 // $Id: G4OpenInventorWinViewer.cc,v 1.27 2010/11/10 17:53:22 allison Exp $ 28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 /* … … 52 52 #include "G4OpenInventorSceneHandler.hh" 53 53 #include "G4VInteractorManager.hh" 54 #include "G4VisManager.hh" 54 55 55 56 #include <windowsx.h> … … 95 96 ,fViewer(0) 96 97 { 97 G4cout << "Window name: " << fName << G4endl;98 98 if (G4VisManager::GetVerbosity() >= G4VisManager::confirmations) 99 G4cout << "Window name: " << fName << G4endl; 99 100 } 100 101 -
trunk/source/visualization/OpenInventor/src/G4OpenInventorXt.cc
r1337 r1347 26 26 // 27 27 // $Id: G4OpenInventorXt.cc,v 1.5 2010/05/26 14:30:46 allison Exp $ 28 // GEANT4 tag $Name: geant4-09-04- beta-01$28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // -
trunk/source/visualization/OpenInventor/src/G4OpenInventorXtViewer.cc
r1337 r1347 25 25 // 26 26 // 27 // $Id: G4OpenInventorXtViewer.cc,v 1.2 5 2009/09/18 12:48:43 lgarnierExp $28 // GEANT4 tag $Name: geant4-09-04- beta-01$27 // $Id: G4OpenInventorXtViewer.cc,v 1.26 2010/11/10 17:53:22 allison Exp $ 28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 /* … … 65 65 #include "G4OpenInventorSceneHandler.hh" 66 66 #include "G4VInteractorManager.hh" 67 #include "G4VisManager.hh" 67 68 68 69 G4OpenInventorXtViewer::G4OpenInventorXtViewer( … … 75 76 ,fHelpText(0) 76 77 { 77 G4cout << "Window name: " << fName << G4endl; 78 if (G4VisManager::GetVerbosity() >= G4VisManager::confirmations) 79 G4cout << "Window name: " << fName << G4endl; 78 80 } 79 81 -
trunk/source/visualization/OpenInventor/src/SoBox.cc
r1337 r1347 27 27 // 28 28 // $Id: SoBox.cc,v 1.8 2006/06/29 21:22:36 gunter Exp $ 29 // GEANT4 tag $Name: geant4-09-04- beta-01$29 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 30 30 // 31 31 /*----------------------------HEPVis----------------------------------------*/ -
trunk/source/visualization/OpenInventor/src/SoCons.cc
r1337 r1347 27 27 // 28 28 // $Id: SoCons.cc,v 1.8 2006/06/29 21:22:38 gunter Exp $ 29 // GEANT4 tag $Name: geant4-09-04- beta-01$29 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 30 30 // 31 31 /*-----------------------------HEPVis---------------------------------------*/ -
trunk/source/visualization/OpenInventor/src/SoDetectorTreeKit.cc
r1337 r1347 27 27 // 28 28 // $Id: SoDetectorTreeKit.cc,v 1.13 2006/06/29 21:22:51 gunter Exp $ 29 // GEANT4 tag $Name: geant4-09-04- beta-01$29 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 30 30 // 31 31 /*-----------------------------HEPVis----------------------------------------*/ -
trunk/source/visualization/OpenInventor/src/SoTrap.cc
r1337 r1347 27 27 // 28 28 // $Id: SoTrap.cc,v 1.8 2006/06/29 21:23:03 gunter Exp $ 29 // GEANT4 tag $Name: geant4-09-04- beta-01$29 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 30 30 // 31 31 /*-----------------------------HEPVis----------------------------------------*/ -
trunk/source/visualization/OpenInventor/src/SoTrd.cc
r1337 r1347 27 27 // 28 28 // $Id: SoTrd.cc,v 1.8 2006/06/29 21:23:05 gunter Exp $ 29 // GEANT4 tag $Name: geant4-09-04- beta-01$29 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 30 30 // 31 31 /*-----------------------------HEPVis---------------------------------------*/ -
trunk/source/visualization/OpenInventor/src/SoTubs.cc
r1337 r1347 27 27 // 28 28 // $Id: SoTubs.cc,v 1.8 2006/06/29 21:23:07 gunter Exp $ 29 // GEANT4 tag $Name: geant4-09-04- beta-01$29 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 30 30 // 31 31 /*-----------------------------HEPVis---------------------------------------*/ -
trunk/source/visualization/RayTracer/CVS/Entries
r1346 r1347 3 3 /CMakeLists.txt/1.1/Wed Sep 29 19:12:38 2010//Tgeant4-09-04-ref-00 4 4 /sources.cmake/1.1/Wed Sep 29 19:12:47 2010//Tgeant4-09-04-ref-00 5 /History/1.66/Wed Oct 27 08:00:36 2010//Tgeant4-09-04-ref-00 6 /README/1.1/Sat Jan 29 02:53:57 2000//Tgeant4-09-04-ref-00 -
trunk/source/visualization/RayTracer/History
r1315 r1347 1 $Id: History,v 1.6 4 2010/06/14 14:33:34gcosmo Exp $1 $Id: History,v 1.66 2010/10/27 08:00:36 gcosmo Exp $ 2 2 ------------------------------------------------------------------- 3 3 … … 24 24 History file for Ray Tracer category 25 25 --------------------------------------- 26 27 27th October 2010 Gabriele Cosmo (raytracer-V09-03-04) 28 - Restored DLL setup as originally. Withdrawn changes in last tag. 29 30 19th October 2010 Gabriele Cosmo (raytracer-V09-03-03) 31 - Replaced G4VIS_ALLOC_EXPORT flag with G4ALLOC_EXPORT for DLL exported 32 symbols. 26 33 27 34 14th June 2010 Gabriele Cosmo (raytracer-V09-03-02) -
trunk/source/visualization/RayTracer/include/CVS/Entries
r1346 r1347 1 /G4RTJpeg.hh/1.6/Thu Jun 29 21:23:13 2006//Tgeant4-09-04-ref-00 2 /G4RTJpegCoder.hh/1.6/Thu Jun 29 21:23:15 2006//Tgeant4-09-04-ref-00 3 /G4RTJpegCoderTables.hh/1.6/Thu Jun 29 21:23:17 2006//Tgeant4-09-04-ref-00 4 /G4RTJpegMaker.hh/1.6/Thu Jun 29 21:23:19 2006//Tgeant4-09-04-ref-00 5 /G4RTMessenger.hh/1.7/Thu Jun 29 21:23:21 2006//Tgeant4-09-04-ref-00 6 /G4RTOutBitStream.hh/1.7/Thu Jun 29 21:23:23 2006//Tgeant4-09-04-ref-00 7 /G4RTSimpleScanner.hh/1.4/Mon Jun 14 14:33:34 2010//Tgeant4-09-04-ref-00 8 /G4RTSteppingAction.hh/1.5/Thu Jun 29 21:23:27 2006//Tgeant4-09-04-ref-00 9 /G4RTTrackingAction.hh/1.6/Thu Jun 29 21:23:29 2006//Tgeant4-09-04-ref-00 10 /G4RTXScanner.hh/1.5/Mon Jun 14 14:33:34 2010//Tgeant4-09-04-ref-00 11 /G4RayTracer.hh/1.12/Thu Jun 14 15:25:20 2007//Tgeant4-09-04-ref-00 12 /G4RayTracerFeatures.hh/1.4/Thu Jun 29 21:23:35 2006//Tgeant4-09-04-ref-00 13 /G4RayTracerSceneHandler.hh/1.13/Sun May 30 10:21:25 2010//Tgeant4-09-04-ref-00 14 /G4RayTracerViewer.hh/1.7/Thu Jun 29 21:23:39 2006//Tgeant4-09-04-ref-00 15 /G4RayTracerX.hh/1.4/Thu Jun 29 21:23:41 2006//Tgeant4-09-04-ref-00 16 /G4RayTracerXViewer.hh/1.5/Wed Sep 16 16:56:52 2009//Tgeant4-09-04-ref-00 17 /G4RayTrajectory.hh/1.16/Sat May 29 21:09:40 2010//Tgeant4-09-04-ref-00 18 /G4RayTrajectoryPoint.hh/1.9/Thu Jun 29 21:23:47 2006//Tgeant4-09-04-ref-00 19 /G4TheRayTracer.hh/1.3/Thu Jun 29 21:23:49 2006//Tgeant4-09-04-ref-00 20 /G4VFigureFileMaker.hh/1.5/Thu Jun 29 21:23:51 2006//Tgeant4-09-04-ref-00 21 /G4VRTScanner.hh/1.6/Mon Jun 14 14:33:34 2010//Tgeant4-09-04-ref-00 1 22 D -
trunk/source/visualization/RayTracer/include/G4RTJpeg.hh
r1337 r1347 26 26 // 27 27 // $Id: G4RTJpeg.hh,v 1.6 2006/06/29 21:23:13 gunter Exp $ 28 // GEANT4 tag $Name: geant4-09-04- beta-01$28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // -
trunk/source/visualization/RayTracer/include/G4RTJpegCoder.hh
r1337 r1347 26 26 // 27 27 // $Id: G4RTJpegCoder.hh,v 1.6 2006/06/29 21:23:15 gunter Exp $ 28 // GEANT4 tag $Name: geant4-09-04- beta-01$28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // -
trunk/source/visualization/RayTracer/include/G4RTJpegCoderTables.hh
r1337 r1347 26 26 // 27 27 // $Id: G4RTJpegCoderTables.hh,v 1.6 2006/06/29 21:23:17 gunter Exp $ 28 // GEANT4 tag $Name: geant4-09-04- beta-01$28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 -
trunk/source/visualization/RayTracer/include/G4RTJpegMaker.hh
r1337 r1347 26 26 // 27 27 // $Id: G4RTJpegMaker.hh,v 1.6 2006/06/29 21:23:19 gunter Exp $ 28 // GEANT4 tag $Name: geant4-09-04- beta-01$28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // -
trunk/source/visualization/RayTracer/include/G4RTMessenger.hh
r1337 r1347 26 26 // 27 27 // $Id: G4RTMessenger.hh,v 1.7 2006/06/29 21:23:21 gunter Exp $ 28 // GEANT4 tag $Name: geant4-09-04- beta-01$28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // -
trunk/source/visualization/RayTracer/include/G4RTOutBitStream.hh
r1337 r1347 26 26 // 27 27 // $Id: G4RTOutBitStream.hh,v 1.7 2006/06/29 21:23:23 gunter Exp $ 28 // GEANT4 tag $Name: geant4-09-04- beta-01$28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // -
trunk/source/visualization/RayTracer/include/G4RTSimpleScanner.hh
r1337 r1347 26 26 // 27 27 // $Id: G4RTSimpleScanner.hh,v 1.4 2010/06/14 14:33:34 gcosmo Exp $ 28 // GEANT4 tag $Name: geant4-09-04- beta-01$28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // -
trunk/source/visualization/RayTracer/include/G4RTSteppingAction.hh
r1337 r1347 26 26 // 27 27 // $Id: G4RTSteppingAction.hh,v 1.5 2006/06/29 21:23:27 gunter Exp $ 28 // GEANT4 tag $Name: geant4-09-04- beta-01$28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // -
trunk/source/visualization/RayTracer/include/G4RTTrackingAction.hh
r1337 r1347 26 26 // 27 27 // $Id: G4RTTrackingAction.hh,v 1.6 2006/06/29 21:23:29 gunter Exp $ 28 // GEANT4 tag $Name: geant4-09-04- beta-01$28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // -
trunk/source/visualization/RayTracer/include/G4RTXScanner.hh
r1337 r1347 26 26 // 27 27 // $Id: G4RTXScanner.hh,v 1.5 2010/06/14 14:33:34 gcosmo Exp $ 28 // GEANT4 tag $Name: geant4-09-04- beta-01$28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // -
trunk/source/visualization/RayTracer/include/G4RayTracer.hh
r1337 r1347 26 26 // 27 27 // $Id: G4RayTracer.hh,v 1.12 2007/06/14 15:25:20 allison Exp $ 28 // GEANT4 tag $Name: geant4-09-04- beta-01$28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // -
trunk/source/visualization/RayTracer/include/G4RayTracerFeatures.hh
r1337 r1347 26 26 // 27 27 // $Id: G4RayTracerFeatures.hh,v 1.4 2006/06/29 21:23:35 gunter Exp $ 28 // GEANT4 tag $Name: geant4-09-04- beta-01$28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // -
trunk/source/visualization/RayTracer/include/G4RayTracerSceneHandler.hh
r1337 r1347 26 26 // 27 27 // $Id: G4RayTracerSceneHandler.hh,v 1.13 2010/05/30 10:21:25 allison Exp $ 28 // GEANT4 tag $Name: geant4-09-04- beta-01$28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 30 30 // John Allison 17th March 2000 -
trunk/source/visualization/RayTracer/include/G4RayTracerViewer.hh
r1337 r1347 26 26 // 27 27 // $Id: G4RayTracerViewer.hh,v 1.7 2006/06/29 21:23:39 gunter Exp $ 28 // GEANT4 tag $Name: geant4-09-04- beta-01$28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 30 30 // John Allison 17th March 2000 -
trunk/source/visualization/RayTracer/include/G4RayTracerX.hh
r1337 r1347 26 26 // 27 27 // $Id: G4RayTracerX.hh,v 1.4 2006/06/29 21:23:41 gunter Exp $ 28 // GEANT4 tag $Name: geant4-09-04- beta-01$28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // -
trunk/source/visualization/RayTracer/include/G4RayTracerXViewer.hh
r1337 r1347 26 26 // 27 27 // $Id: G4RayTracerXViewer.hh,v 1.5 2009/09/16 16:56:52 allison Exp $ 28 // GEANT4 tag $Name: geant4-09-04- beta-01$28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 30 30 // John Allison 17th March 2000 -
trunk/source/visualization/RayTracer/include/G4RayTrajectory.hh
r1337 r1347 26 26 // 27 27 // $Id: G4RayTrajectory.hh,v 1.16 2010/05/29 21:09:40 allison Exp $ 28 // GEANT4 tag $Name: geant4-09-04- beta-01$28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // -
trunk/source/visualization/RayTracer/include/G4RayTrajectoryPoint.hh
r1337 r1347 26 26 // 27 27 // $Id: G4RayTrajectoryPoint.hh,v 1.9 2006/06/29 21:23:47 gunter Exp $ 28 // GEANT4 tag $Name: geant4-09-04- beta-01$28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // -
trunk/source/visualization/RayTracer/include/G4TheRayTracer.hh
r1337 r1347 26 26 // 27 27 // $Id: G4TheRayTracer.hh,v 1.3 2006/06/29 21:23:49 gunter Exp $ 28 // GEANT4 tag $Name: geant4-09-04- beta-01$28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // -
trunk/source/visualization/RayTracer/include/G4VFigureFileMaker.hh
r1337 r1347 26 26 // 27 27 // $Id: G4VFigureFileMaker.hh,v 1.5 2006/06/29 21:23:51 gunter Exp $ 28 // GEANT4 tag $Name: geant4-09-04- beta-01$28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // -
trunk/source/visualization/RayTracer/include/G4VRTScanner.hh
r1337 r1347 26 26 // 27 27 // $Id: G4VRTScanner.hh,v 1.6 2010/06/14 14:33:34 gcosmo Exp $ 28 // GEANT4 tag $Name: geant4-09-04- beta-01$28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // -
trunk/source/visualization/RayTracer/src/CVS/Entries
r1346 r1347 1 /G4RTJpegCoder.cc/1.6/Thu Jun 29 21:23:55 2006//Tgeant4-09-04-ref-00 2 /G4RTJpegMaker.cc/1.10/Thu Jun 29 21:23:57 2006//Tgeant4-09-04-ref-00 3 /G4RTMessenger.cc/1.10/Fri Nov 17 21:34:12 2006//Tgeant4-09-04-ref-00 4 /G4RTOutBitStream.cc/1.6/Fri Apr 4 13:52:48 2008//Tgeant4-09-04-ref-00 5 /G4RTSimpleScanner.cc/1.5/Mon Jun 14 14:33:34 2010//Tgeant4-09-04-ref-00 6 /G4RTSteppingAction.cc/1.7/Thu Jun 29 21:24:05 2006//Tgeant4-09-04-ref-00 7 /G4RTTrackingAction.cc/1.5/Thu Jun 29 21:24:07 2006//Tgeant4-09-04-ref-00 8 /G4RTXScanner.cc/1.8/Mon Jun 14 14:33:34 2010//Tgeant4-09-04-ref-00 9 /G4RayTracer.cc/1.22/Thu Jun 14 15:25:20 2007//Tgeant4-09-04-ref-00 10 /G4RayTracerSceneHandler.cc/1.10/Tue Nov 14 14:46:37 2006//Tgeant4-09-04-ref-00 11 /G4RayTracerViewer.cc/1.18/Wed Aug 19 08:39:19 2009//Tgeant4-09-04-ref-00 12 /G4RayTracerX.cc/1.5/Thu Jun 29 21:24:17 2006//Tgeant4-09-04-ref-00 13 /G4RayTracerXViewer.cc/1.8/Wed Sep 16 16:56:52 2009//Tgeant4-09-04-ref-00 14 /G4RayTrajectory.cc/1.15/Thu Jun 29 21:24:21 2006//Tgeant4-09-04-ref-00 15 /G4RayTrajectoryPoint.cc/1.6/Thu Jun 29 21:24:23 2006//Tgeant4-09-04-ref-00 16 /G4TheRayTracer.cc/1.3/Thu Jun 29 21:24:25 2006//Tgeant4-09-04-ref-00 17 /G4VRTScanner.cc/1.1/Mon Jun 14 14:33:34 2010//Tgeant4-09-04-ref-00 1 18 D -
trunk/source/visualization/RayTracer/src/G4RTJpegCoder.cc
r1337 r1347 26 26 // 27 27 // $Id: G4RTJpegCoder.cc,v 1.6 2006/06/29 21:23:55 gunter Exp $ 28 // GEANT4 tag $Name: geant4-09-04- beta-01$28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // -
trunk/source/visualization/RayTracer/src/G4RTJpegMaker.cc
r1337 r1347 26 26 // 27 27 // $Id: G4RTJpegMaker.cc,v 1.10 2006/06/29 21:23:57 gunter Exp $ 28 // GEANT4 tag $Name: geant4-09-04- beta-01$28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // -
trunk/source/visualization/RayTracer/src/G4RTMessenger.cc
r1337 r1347 26 26 // 27 27 // $Id: G4RTMessenger.cc,v 1.10 2006/11/17 21:34:12 perl Exp $ 28 // GEANT4 tag $Name: geant4-09-04- beta-01$28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // -
trunk/source/visualization/RayTracer/src/G4RTOutBitStream.cc
r1337 r1347 26 26 // 27 27 // $Id: G4RTOutBitStream.cc,v 1.6 2008/04/04 13:52:48 allison Exp $ 28 // GEANT4 tag $Name: geant4-09-04- beta-01$28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // -
trunk/source/visualization/RayTracer/src/G4RTSimpleScanner.cc
r1337 r1347 26 26 // 27 27 // $Id: G4RTSimpleScanner.cc,v 1.5 2010/06/14 14:33:34 gcosmo Exp $ 28 // GEANT4 tag $Name: geant4-09-04- beta-01$28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // -
trunk/source/visualization/RayTracer/src/G4RTSteppingAction.cc
r1337 r1347 26 26 // 27 27 // $Id: G4RTSteppingAction.cc,v 1.7 2006/06/29 21:24:05 gunter Exp $ 28 // GEANT4 tag $Name: geant4-09-04- beta-01$28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // -
trunk/source/visualization/RayTracer/src/G4RTTrackingAction.cc
r1337 r1347 26 26 // 27 27 // $Id: G4RTTrackingAction.cc,v 1.5 2006/06/29 21:24:07 gunter Exp $ 28 // GEANT4 tag $Name: geant4-09-04- beta-01$28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // -
trunk/source/visualization/RayTracer/src/G4RTXScanner.cc
r1337 r1347 26 26 // 27 27 // $Id: G4RTXScanner.cc,v 1.8 2010/06/14 14:33:34 gcosmo Exp $ 28 // GEANT4 tag $Name: geant4-09-04- beta-01$28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // -
trunk/source/visualization/RayTracer/src/G4RayTracer.cc
r1337 r1347 26 26 // 27 27 // $Id: G4RayTracer.cc,v 1.22 2007/06/14 15:25:20 allison Exp $ 28 // GEANT4 tag $Name: geant4-09-04- beta-01$28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 30 30 #include "G4RayTracer.hh" -
trunk/source/visualization/RayTracer/src/G4RayTracerSceneHandler.cc
r1337 r1347 26 26 // 27 27 // $Id: G4RayTracerSceneHandler.cc,v 1.10 2006/11/14 14:46:37 allison Exp $ 28 // GEANT4 tag $Name: geant4-09-04- beta-01$28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 30 30 #include "G4RayTracerSceneHandler.hh" -
trunk/source/visualization/RayTracer/src/G4RayTracerViewer.cc
r1337 r1347 26 26 // 27 27 // $Id: G4RayTracerViewer.cc,v 1.18 2009/08/19 08:39:19 lgarnier Exp $ 28 // GEANT4 tag $Name: geant4-09-04- beta-01$28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 30 30 #include "G4RayTracerViewer.hh" -
trunk/source/visualization/RayTracer/src/G4RayTracerX.cc
r1337 r1347 26 26 // 27 27 // $Id: G4RayTracerX.cc,v 1.5 2006/06/29 21:24:17 gunter Exp $ 28 // GEANT4 tag $Name: geant4-09-04- beta-01$28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // -
trunk/source/visualization/RayTracer/src/G4RayTracerXViewer.cc
r1337 r1347 26 26 // 27 27 // $Id: G4RayTracerXViewer.cc,v 1.8 2009/09/16 16:56:52 allison Exp $ 28 // GEANT4 tag $Name: geant4-09-04- beta-01$28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 30 30 #ifdef G4VIS_BUILD_RAYTRACERX_DRIVER -
trunk/source/visualization/RayTracer/src/G4RayTrajectory.cc
r1337 r1347 26 26 // 27 27 // $Id: G4RayTrajectory.cc,v 1.15 2006/06/29 21:24:21 gunter Exp $ 28 // GEANT4 tag $Name: geant4-09-04- beta-01$28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // -
trunk/source/visualization/RayTracer/src/G4RayTrajectoryPoint.cc
r1337 r1347 26 26 // 27 27 // $Id: G4RayTrajectoryPoint.cc,v 1.6 2006/06/29 21:24:23 gunter Exp $ 28 // GEANT4 tag $Name: geant4-09-04- beta-01$28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // -
trunk/source/visualization/RayTracer/src/G4TheRayTracer.cc
r1337 r1347 26 26 // 27 27 // $Id: G4TheRayTracer.cc,v 1.3 2006/06/29 21:24:25 gunter Exp $ 28 // GEANT4 tag $Name: geant4-09-04- beta-01$28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // -
trunk/source/visualization/RayTracer/src/G4VRTScanner.cc
r1337 r1347 26 26 // 27 27 // $Id: G4VRTScanner.cc,v 1.1 2010/06/14 14:33:34 gcosmo Exp $ 28 // GEANT4 tag $Name: geant4-09-04- beta-01$28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // -
trunk/source/visualization/Tree/CVS/Entries
r1346 r1347 3 3 /CMakeLists.txt/1.1/Wed Sep 29 19:12:55 2010//Tgeant4-09-04-ref-00 4 4 /sources.cmake/1.1/Wed Sep 29 19:13:03 2010//Tgeant4-09-04-ref-00 5 /History/1.31/Sat Nov 13 11:26:01 2010//Tgeant4-09-04-ref-00 -
trunk/source/visualization/Tree/History
r834 r1347 1 $Id: History,v 1.3 0 2007/03/27 15:11:43allison Exp $1 $Id: History,v 1.31 2010/11/13 11:26:01 allison Exp $ 2 2 ------------------------------------------------------------------- 3 3 … … 24 24 History file for visualization/Tree sub-category 25 25 ------------------------------------------------ 26 27 13th November 2010 John Allison (vistree-V09-03-00) 28 - Tagged inclusion of CMake stuff. 26 29 27 30 25th March 2007 John Allison (vistree-V08-02-01) -
trunk/source/visualization/Tree/include/CVS/Entries
r1346 r1347 1 /G4ASCIITree.hh/1.7/Thu Jun 29 21:24:27 2006//Tgeant4-09-04-ref-00 2 /G4ASCIITreeMessenger.hh/1.7/Thu Jun 29 21:24:29 2006//Tgeant4-09-04-ref-00 3 /G4ASCIITreeSceneHandler.hh/1.17/Mon Dec 11 21:14:45 2006//Tgeant4-09-04-ref-00 4 /G4ASCIITreeViewer.hh/1.5/Thu Jun 29 21:24:33 2006//Tgeant4-09-04-ref-00 5 /G4VTree.hh/1.5/Thu Jun 29 21:24:45 2006//Tgeant4-09-04-ref-00 6 /G4VTreeSceneHandler.hh/1.18/Thu Jun 29 21:24:47 2006//Tgeant4-09-04-ref-00 7 /G4VTreeSceneHandler.icc/1.8/Thu Jun 29 21:24:49 2006//Tgeant4-09-04-ref-00 8 /G4VTreeViewer.hh/1.5/Thu Jun 29 21:24:51 2006//Tgeant4-09-04-ref-00 1 9 D -
trunk/source/visualization/Tree/include/G4ASCIITree.hh
r1337 r1347 26 26 // 27 27 // $Id: G4ASCIITree.hh,v 1.7 2006/06/29 21:24:27 gunter Exp $ 28 // GEANT4 tag $Name: geant4-09-04- beta-01$28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // -
trunk/source/visualization/Tree/include/G4ASCIITreeMessenger.hh
r1337 r1347 26 26 // 27 27 // $Id: G4ASCIITreeMessenger.hh,v 1.7 2006/06/29 21:24:29 gunter Exp $ 28 // GEANT4 tag $Name: geant4-09-04- beta-01$28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // -
trunk/source/visualization/Tree/include/G4ASCIITreeSceneHandler.hh
r1337 r1347 26 26 // 27 27 // $Id: G4ASCIITreeSceneHandler.hh,v 1.17 2006/12/11 21:14:45 allison Exp $ 28 // GEANT4 tag $Name: geant4-09-04- beta-01$28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // -
trunk/source/visualization/Tree/include/G4ASCIITreeViewer.hh
r1337 r1347 26 26 // 27 27 // $Id: G4ASCIITreeViewer.hh,v 1.5 2006/06/29 21:24:33 gunter Exp $ 28 // GEANT4 tag $Name: geant4-09-04- beta-01$28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // -
trunk/source/visualization/Tree/include/G4VTree.hh
r1337 r1347 26 26 // 27 27 // $Id: G4VTree.hh,v 1.5 2006/06/29 21:24:45 gunter Exp $ 28 // GEANT4 tag $Name: geant4-09-04- beta-01$28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // -
trunk/source/visualization/Tree/include/G4VTreeSceneHandler.hh
r1337 r1347 26 26 // 27 27 // $Id: G4VTreeSceneHandler.hh,v 1.18 2006/06/29 21:24:47 gunter Exp $ 28 // GEANT4 tag $Name: geant4-09-04- beta-01$28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // -
trunk/source/visualization/Tree/include/G4VTreeSceneHandler.icc
r1337 r1347 26 26 // 27 27 // $Id: G4VTreeSceneHandler.icc,v 1.8 2006/06/29 21:24:49 gunter Exp $ 28 // GEANT4 tag $Name: geant4-09-04- beta-01$28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // -
trunk/source/visualization/Tree/include/G4VTreeViewer.hh
r1337 r1347 26 26 // 27 27 // $Id: G4VTreeViewer.hh,v 1.5 2006/06/29 21:24:51 gunter Exp $ 28 // GEANT4 tag $Name: geant4-09-04- beta-01$28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // -
trunk/source/visualization/Tree/src/CVS/Entries
r1346 r1347 1 /G4ASCIITree.cc/1.12/Fri Jan 5 16:59:43 2007//Tgeant4-09-04-ref-00 2 /G4ASCIITreeMessenger.cc/1.19/Fri Jan 5 16:59:43 2007//Tgeant4-09-04-ref-00 3 /G4ASCIITreeSceneHandler.cc/1.34/Fri Jan 5 17:00:27 2007//Tgeant4-09-04-ref-00 4 /G4ASCIITreeViewer.cc/1.8/Thu Jun 29 21:24:59 2006//Tgeant4-09-04-ref-00 5 /G4VTree.cc/1.5/Thu Jun 29 21:25:09 2006//Tgeant4-09-04-ref-00 6 /G4VTreeSceneHandler.cc/1.14/Thu Jun 29 21:25:11 2006//Tgeant4-09-04-ref-00 7 /G4VTreeViewer.cc/1.7/Thu Jun 29 21:25:13 2006//Tgeant4-09-04-ref-00 1 8 D -
trunk/source/visualization/Tree/src/G4ASCIITree.cc
r1337 r1347 26 26 // 27 27 // $Id: G4ASCIITree.cc,v 1.12 2007/01/05 16:59:43 allison Exp $ 28 // GEANT4 tag $Name: geant4-09-04- beta-01$28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // -
trunk/source/visualization/Tree/src/G4ASCIITreeMessenger.cc
r1337 r1347 26 26 // 27 27 // $Id: G4ASCIITreeMessenger.cc,v 1.19 2007/01/05 16:59:43 allison Exp $ 28 // GEANT4 tag $Name: geant4-09-04- beta-01$28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // -
trunk/source/visualization/Tree/src/G4ASCIITreeSceneHandler.cc
r1337 r1347 26 26 // 27 27 // $Id: G4ASCIITreeSceneHandler.cc,v 1.34 2007/01/05 17:00:27 allison Exp $ 28 // GEANT4 tag $Name: geant4-09-04- beta-01$28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // -
trunk/source/visualization/Tree/src/G4ASCIITreeViewer.cc
r1337 r1347 26 26 // 27 27 // $Id: G4ASCIITreeViewer.cc,v 1.8 2006/06/29 21:24:59 gunter Exp $ 28 // GEANT4 tag $Name: geant4-09-04- beta-01$28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 30 30 #include "G4ASCIITreeViewer.hh" -
trunk/source/visualization/Tree/src/G4VTree.cc
r1337 r1347 26 26 // 27 27 // $Id: G4VTree.cc,v 1.5 2006/06/29 21:25:09 gunter Exp $ 28 // GEANT4 tag $Name: geant4-09-04- beta-01$28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // -
trunk/source/visualization/Tree/src/G4VTreeSceneHandler.cc
r1337 r1347 26 26 // 27 27 // $Id: G4VTreeSceneHandler.cc,v 1.14 2006/06/29 21:25:11 gunter Exp $ 28 // GEANT4 tag $Name: geant4-09-04- beta-01$28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // -
trunk/source/visualization/Tree/src/G4VTreeViewer.cc
r1337 r1347 26 26 // 27 27 // $Id: G4VTreeViewer.cc,v 1.7 2006/06/29 21:25:13 gunter Exp $ 28 // GEANT4 tag $Name: geant4-09-04- beta-01$28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 30 30 #include "G4VTreeViewer.hh" -
trunk/source/visualization/VRML/CVS/Entries
r1346 r1347 4 4 /CMakeLists.txt/1.1/Wed Sep 29 19:13:11 2010//Tgeant4-09-04-ref-00 5 5 /sources.cmake/1.2/Wed Dec 22 10:23:43 2010//Tgeant4-09-04-ref-00 6 /History/1.21/Thu Nov 11 00:48:34 2010//Tgeant4-09-04-ref-00 -
trunk/source/visualization/VRML/History
r1294 r1347 1 $Id: History,v 1. 19 2010/05/30 10:14:39 allisonExp $1 $Id: History,v 1.21 2010/11/11 00:48:34 akimura Exp $ 2 2 ------------------------------------------------------------------- 3 3 … … 20 20 History file for visualization/VRML sub-category 21 21 ------------------------------------------------ 22 23 11 November 2010 Akinori Kimura (VRML-V09-03-01) 24 - Replaced G4cerr with G4cout and added the following line before G4cout. 25 if (G4VisManager::GetVerbosity() >= G4VisManager::errors) 22 26 23 27 30th May 2010 John Allison (VRML-V09-03-00) -
trunk/source/visualization/VRML/g4vrmlview/CVS/Entries
r1346 r1347 1 /Makefile/1.1/Thu Jan 7 16:15:08 1999//Tgeant4-09-04-ref-00 2 /README/1.1/Thu Nov 4 07:24:37 1999//Tgeant4-09-04-ref-00 3 /g4mini.java/1.4/Thu Jun 29 21:25:15 2006//Tgeant4-09-04-ref-00 4 /g4vrmlview.java/1.4/Thu Jun 29 21:25:17 2006//Tgeant4-09-04-ref-00 5 /sample.wrl/1.1/Thu Jan 7 16:15:09 1999//Tgeant4-09-04-ref-00 1 6 D -
trunk/source/visualization/VRML/g4vrmlview/g4mini.java
r834 r1347 26 26 // 27 27 // $Id: g4mini.java,v 1.4 2006/06/29 21:25:15 gunter Exp $ 28 // GEANT4 tag $Name: $28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 import java.io.*; -
trunk/source/visualization/VRML/g4vrmlview/g4vrmlview.java
r834 r1347 26 26 // 27 27 // $Id: g4vrmlview.java,v 1.4 2006/06/29 21:25:17 gunter Exp $ 28 // GEANT4 tag $Name: $28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 import java.io.*; -
trunk/source/visualization/VRML/include/CVS/Entries
r1346 r1347 1 /FRClient.h/1.6/Thu Jun 29 21:25:19 2006//Tgeant4-09-04-ref-00 2 /G4FRClient.hh/1.8/Thu Jun 29 21:25:21 2006//Tgeant4-09-04-ref-00 3 /G4VRML1.hh/1.10/Thu Jun 29 21:25:23 2006//Tgeant4-09-04-ref-00 4 /G4VRML1File.hh/1.10/Thu Jun 29 21:25:25 2006//Tgeant4-09-04-ref-00 5 /G4VRML1FileSceneHandler.hh/1.19/Sun May 30 10:14:39 2010//Tgeant4-09-04-ref-00 6 /G4VRML1FileViewer.hh/1.8/Thu Jun 29 21:25:29 2006//Tgeant4-09-04-ref-00 7 /G4VRML1SceneHandler.hh/1.16/Sun May 30 10:08:32 2010//Tgeant4-09-04-ref-00 8 /G4VRML1Viewer.hh/1.8/Thu Jun 29 21:25:33 2006//Tgeant4-09-04-ref-00 9 /G4VRML2.hh/1.10/Thu Jun 29 21:25:35 2006//Tgeant4-09-04-ref-00 10 /G4VRML2File.hh/1.11/Thu Jun 29 21:25:37 2006//Tgeant4-09-04-ref-00 11 /G4VRML2FileSceneHandler.hh/1.18/Sun May 30 10:14:39 2010//Tgeant4-09-04-ref-00 12 /G4VRML2FileViewer.hh/1.10/Thu Jun 29 21:25:41 2006//Tgeant4-09-04-ref-00 13 /G4VRML2SceneHandler.hh/1.15/Sun May 30 10:08:32 2010//Tgeant4-09-04-ref-00 14 /G4VRML2Viewer.hh/1.8/Thu Jun 29 21:25:45 2006//Tgeant4-09-04-ref-00 15 /G4VRMLNetConfig.hh/1.7/Thu Jun 29 21:25:47 2006//Tgeant4-09-04-ref-00 1 16 D -
trunk/source/visualization/VRML/include/FRClient.h
r944 r1347 26 26 // 27 27 // $Id: FRClient.h,v 1.6 2006/06/29 21:25:19 gunter Exp $ 28 // GEANT4 tag $Name: $28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // FRClient.h -
trunk/source/visualization/VRML/include/G4FRClient.hh
r1337 r1347 26 26 // 27 27 // $Id: G4FRClient.hh,v 1.8 2006/06/29 21:25:21 gunter Exp $ 28 // GEANT4 tag $Name: geant4-09-04- beta-01$28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // G4FRClient.hh -
trunk/source/visualization/VRML/include/G4VRML1.hh
r1337 r1347 26 26 // 27 27 // $Id: G4VRML1.hh,v 1.10 2006/06/29 21:25:23 gunter Exp $ 28 // GEANT4 tag $Name: geant4-09-04- beta-01$28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // G4VRML1.hh -
trunk/source/visualization/VRML/include/G4VRML1File.hh
r1337 r1347 26 26 // 27 27 // $Id: G4VRML1File.hh,v 1.10 2006/06/29 21:25:25 gunter Exp $ 28 // GEANT4 tag $Name: geant4-09-04- beta-01$28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // G4VRML1File.hh -
trunk/source/visualization/VRML/include/G4VRML1FileSceneHandler.hh
r1337 r1347 26 26 // 27 27 // $Id: G4VRML1FileSceneHandler.hh,v 1.19 2010/05/30 10:14:39 allison Exp $ 28 // GEANT4 tag $Name: geant4-09-04- beta-01$28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // G4VRML1FileSceneHandler.hh -
trunk/source/visualization/VRML/include/G4VRML1FileViewer.hh
r1337 r1347 26 26 // 27 27 // $Id: G4VRML1FileViewer.hh,v 1.8 2006/06/29 21:25:29 gunter Exp $ 28 // GEANT4 tag $Name: geant4-09-04- beta-01$28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // G4VRML1FileViewer.hh -
trunk/source/visualization/VRML/include/G4VRML1SceneHandler.hh
r1337 r1347 26 26 // 27 27 // $Id: G4VRML1SceneHandler.hh,v 1.16 2010/05/30 10:08:32 allison Exp $ 28 // GEANT4 tag $Name: geant4-09-04- beta-01$28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // G4VRML1SceneHandler.hh -
trunk/source/visualization/VRML/include/G4VRML1Viewer.hh
r1337 r1347 26 26 // 27 27 // $Id: G4VRML1Viewer.hh,v 1.8 2006/06/29 21:25:33 gunter Exp $ 28 // GEANT4 tag $Name: geant4-09-04- beta-01$28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // G4VRML1Viewer.hh -
trunk/source/visualization/VRML/include/G4VRML2.hh
r1337 r1347 26 26 // 27 27 // $Id: G4VRML2.hh,v 1.10 2006/06/29 21:25:35 gunter Exp $ 28 // GEANT4 tag $Name: geant4-09-04- beta-01$28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // G4VRML2.hh -
trunk/source/visualization/VRML/include/G4VRML2File.hh
r1337 r1347 26 26 // 27 27 // $Id: G4VRML2File.hh,v 1.11 2006/06/29 21:25:37 gunter Exp $ 28 // GEANT4 tag $Name: geant4-09-04- beta-01$28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // G4VRML2File.hh -
trunk/source/visualization/VRML/include/G4VRML2FileSceneHandler.hh
r1337 r1347 26 26 // 27 27 // $Id: G4VRML2FileSceneHandler.hh,v 1.18 2010/05/30 10:14:39 allison Exp $ 28 // GEANT4 tag $Name: geant4-09-04- beta-01$28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // G4VRML2FileSceneHandler.hh -
trunk/source/visualization/VRML/include/G4VRML2FileViewer.hh
r1337 r1347 26 26 // 27 27 // $Id: G4VRML2FileViewer.hh,v 1.10 2006/06/29 21:25:41 gunter Exp $ 28 // GEANT4 tag $Name: geant4-09-04- beta-01$28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // G4VRML2FileViewer.hh -
trunk/source/visualization/VRML/include/G4VRML2SceneHandler.hh
r1337 r1347 26 26 // 27 27 // $Id: G4VRML2SceneHandler.hh,v 1.15 2010/05/30 10:08:32 allison Exp $ 28 // GEANT4 tag $Name: geant4-09-04- beta-01$28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // G4VRML2SceneHandler.hh -
trunk/source/visualization/VRML/include/G4VRML2Viewer.hh
r1337 r1347 26 26 // 27 27 // $Id: G4VRML2Viewer.hh,v 1.8 2006/06/29 21:25:45 gunter Exp $ 28 // GEANT4 tag $Name: geant4-09-04- beta-01$28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // G4VRML2Viewer.hh -
trunk/source/visualization/VRML/include/G4VRMLNetConfig.hh
r1337 r1347 26 26 // 27 27 // $Id: G4VRMLNetConfig.hh,v 1.7 2006/06/29 21:25:47 gunter Exp $ 28 // GEANT4 tag $Name: geant4-09-04- beta-01$28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // G4VRMLNetConfig.hh -
trunk/source/visualization/VRML/src/CVS/Entries
r1346 r1347 1 /FRClient.cc/1.8/Thu Nov 11 00:14:50 2010//Tgeant4-09-04-ref-00 2 /G4FRClient.cc/1.8/Thu Jun 29 21:25:51 2006//Tgeant4-09-04-ref-00 3 /G4VRML1.cc/1.10/Thu Jun 29 21:25:53 2006//Tgeant4-09-04-ref-00 4 /G4VRML1File.cc/1.10/Thu Jun 29 21:25:55 2006//Tgeant4-09-04-ref-00 5 /G4VRML1FileSceneHandler.cc/1.13/Thu Nov 11 00:14:50 2010//Tgeant4-09-04-ref-00 6 /G4VRML1FileViewer.cc/1.12/Thu Nov 11 00:14:50 2010//Tgeant4-09-04-ref-00 7 /G4VRML1SceneHandler.cc/1.11/Thu Nov 11 00:14:50 2010//Tgeant4-09-04-ref-00 8 /G4VRML1SceneHandlerFunc.icc/1.17/Thu Nov 11 00:14:50 2010//Tgeant4-09-04-ref-00 9 /G4VRML1Viewer.cc/1.9/Thu Nov 11 00:14:50 2010//Tgeant4-09-04-ref-00 10 /G4VRML2.cc/1.10/Thu Jun 29 21:26:07 2006//Tgeant4-09-04-ref-00 11 /G4VRML2File.cc/1.10/Thu Jun 29 21:26:09 2006//Tgeant4-09-04-ref-00 12 /G4VRML2FileSceneHandler.cc/1.15/Thu Nov 11 00:14:50 2010//Tgeant4-09-04-ref-00 13 /G4VRML2FileViewer.cc/1.14/Thu Nov 11 00:14:50 2010//Tgeant4-09-04-ref-00 14 /G4VRML2SceneHandler.cc/1.13/Thu Nov 11 00:14:50 2010//Tgeant4-09-04-ref-00 15 /G4VRML2SceneHandlerFunc.icc/1.21/Thu Nov 11 00:14:50 2010//Tgeant4-09-04-ref-00 16 /G4VRML2Viewer.cc/1.13/Thu Nov 11 00:14:50 2010//Tgeant4-09-04-ref-00 1 17 D -
trunk/source/visualization/VRML/src/FRClient.cc
r1337 r1347 25 25 // 26 26 // 27 // $Id: FRClient.cc,v 1. 7 2006/06/29 21:25:49 gunterExp $28 // GEANT4 tag $Name: geant4-09-04- beta-01$27 // $Id: FRClient.cc,v 1.8 2010/11/11 00:14:50 akimura Exp $ 28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // FRClient.cc … … 56 56 #include <stdio.h> 57 57 58 #include "G4VisManager.hh" 58 59 #include "FRClient.h" 59 60 … … 99 100 hp = gethostbyname(hostname) ; 100 101 if ( !hp ) { 101 G4cerr << "ERROR: gethostbyname() failed" << G4endl; 102 return -1; 102 if (G4VisManager::GetVerbosity() >= G4VisManager::errors) 103 G4cout << "ERROR: gethostbyname() failed" << G4endl; 104 return -1; 103 105 } 104 106 -
trunk/source/visualization/VRML/src/G4FRClient.cc
r1337 r1347 26 26 // 27 27 // $Id: G4FRClient.cc,v 1.8 2006/06/29 21:25:51 gunter Exp $ 28 // GEANT4 tag $Name: geant4-09-04- beta-01$28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // G4FRClient.cc -
trunk/source/visualization/VRML/src/G4VRML1.cc
r1337 r1347 26 26 // 27 27 // $Id: G4VRML1.cc,v 1.10 2006/06/29 21:25:53 gunter Exp $ 28 // GEANT4 tag $Name: geant4-09-04- beta-01$28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // G4VRML1.cc -
trunk/source/visualization/VRML/src/G4VRML1File.cc
r1337 r1347 26 26 // 27 27 // $Id: G4VRML1File.cc,v 1.10 2006/06/29 21:25:55 gunter Exp $ 28 // GEANT4 tag $Name: geant4-09-04- beta-01$28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // G4VRML1File.cc -
trunk/source/visualization/VRML/src/G4VRML1FileSceneHandler.cc
r1337 r1347 25 25 // 26 26 // 27 // $Id: G4VRML1FileSceneHandler.cc,v 1.1 2 2006/06/29 21:25:57 gunterExp $28 // GEANT4 tag $Name: geant4-09-04- beta-01$27 // $Id: G4VRML1FileSceneHandler.cc,v 1.13 2010/11/11 00:14:50 akimura Exp $ 28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // G4VRML1FileSceneHandler.cc … … 40 40 41 41 #include "globals.hh" 42 #include "G4VisManager.hh" 42 43 #include "G4Scene.hh" 43 44 #include "G4VPhysicalVolume.hh" … … 104 105 { 105 106 #if defined DEBUG_FR_SCENE 106 G4cerr << "***** ~G4VRML1FileSceneHandler" << G4endl; 107 if (G4VisManager::GetVerbosity() >= G4VisManager::errors) 108 G4cout << "***** ~G4VRML1FileSceneHandler" << G4endl; 107 109 #endif 108 110 VRMLEndModeling(); … … 134 136 if( i == MAX_FILE_INDEX ) 135 137 { 136 G4cerr << "===========================================" << G4endl; 137 G4cerr << "WARNING MESSAGE from VRML1FILE driver: " << G4endl; 138 G4cerr << " This file name is the final one in the " << G4endl; 139 G4cerr << " automatic updation of the output file name." << G4endl; 140 G4cerr << " You may overwrite existing files, i.e. " << G4endl; 141 G4cerr << " g4_XX.wrl. " << G4endl; 142 G4cerr << "===========================================" << G4endl; 138 if (G4VisManager::GetVerbosity() >= G4VisManager::errors) { 139 G4cout << "===========================================" << G4endl; 140 G4cout << "WARNING MESSAGE from VRML1FILE driver: " << G4endl; 141 G4cout << " This file name is the final one in the " << G4endl; 142 G4cout << " automatic updation of the output file name." << G4endl; 143 G4cout << " You may overwrite existing files, i.e. " << G4endl; 144 G4cout << " g4_XX.wrl. " << G4endl; 145 G4cout << "===========================================" << G4endl; 146 } 143 147 } 144 148 … … 166 170 167 171 // open a VRML 1.0 file with determined file name 168 G4cerr << "===========================================" << G4endl; 169 G4cerr << "Output VRML 1.0 file: " << fVRMLFileName << G4endl; 170 G4cerr << "Maximum number of files in the destination directory: " << fMaxFileNum << G4endl; 171 G4cerr << " (Customizable with the environment variable: G4VRMLFILE_MAX_FILE_NUM) " << G4endl; 172 G4cerr << "===========================================" << G4endl; 173 172 if (G4VisManager::GetVerbosity() >= G4VisManager::errors) { 173 G4cout << "===========================================" << G4endl; 174 G4cout << "Output VRML 1.0 file: " << fVRMLFileName << G4endl; 175 G4cout << "Maximum number of files in the destination directory: " << fMaxFileNum << G4endl; 176 G4cout << " (Customizable with the environment variable: G4VRMLFILE_MAX_FILE_NUM) " << G4endl; 177 G4cout << "===========================================" << G4endl; 178 } 174 179 fDest.open(fVRMLFileName) ; fFlagDestOpen = true ; 175 180 } … … 187 192 // close VRML file 188 193 fDest.close(); fFlagDestOpen = false ; 189 G4cerr << "*** VRML 1.0 File " << fVRMLFileName << " is generated." << G4endl; 194 if (G4VisManager::GetVerbosity() >= G4VisManager::errors) 195 G4cout << "*** VRML 1.0 File " << fVRMLFileName << " is generated." << G4endl; 190 196 191 197 … … 193 199 194 200 if ( !strcmp(viewer, NO_VRML_VIEWER )) { 195 G4cerr << "MESSAGE from VRML1FILE driver:" << G4endl; 196 G4cerr << " Set an environmental variable " ; 197 G4cerr << ENV_VRML_VIEWER << G4endl; 198 G4cerr << " if you want to visualize the generated VRML file" << G4endl; 199 G4cerr << " automatically. For example, " << G4endl; 200 G4cerr << " setenv " << ENV_VRML_VIEWER << " vrweb " << G4endl; 201 if (G4VisManager::GetVerbosity() >= G4VisManager::errors) { 202 G4cout << "MESSAGE from VRML1FILE driver:" << G4endl; 203 G4cout << " Set an environmental variable " ; 204 G4cout << ENV_VRML_VIEWER << G4endl; 205 G4cout << " if you want to visualize the generated VRML file" << G4endl; 206 G4cout << " automatically. For example, " << G4endl; 207 G4cout << " setenv " << ENV_VRML_VIEWER << " vrweb " << G4endl; 208 } 201 209 } else { 202 210 sprintf( command, "%s %s", viewer, fVRMLFileName ); -
trunk/source/visualization/VRML/src/G4VRML1FileViewer.cc
r1337 r1347 25 25 // 26 26 // 27 // $Id: G4VRML1FileViewer.cc,v 1.1 1 2006/06/29 21:25:59 gunterExp $28 // GEANT4 tag $Name: geant4-09-04- beta-01$27 // $Id: G4VRML1FileViewer.cc,v 1.12 2010/11/11 00:14:50 akimura Exp $ 28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // G4VRMLView.cc … … 34 34 //#define DEBUG_FR_VIEW 35 35 36 #include "G4VisManager.hh" 36 37 #include "G4Scene.hh" 37 38 #include "G4VRML1FileViewer.hh" … … 54 55 { 55 56 #if defined DEBUG_FR_VIEW 56 G4cerr << "***** G4VRML1FileViewer::SetView(): No effects" << G4endl; 57 if (G4VisManager::GetVerbosity() >= G4VisManager::errors) 58 G4cout << "***** G4VRML1FileViewer::SetView(): No effects" << G4endl; 57 59 #endif 58 60 } … … 61 63 { 62 64 #if defined DEBUG_FR_VIEW 63 G4cerr << "***** G4VRML1FileViewer::DrawView()" << G4endl; 65 if (G4VisManager::GetVerbosity() >= G4VisManager::errors) 66 G4cout << "***** G4VRML1FileViewer::DrawView()" << G4endl; 64 67 #endif 65 68 … … 75 78 { 76 79 //#if defined DEBUG_FR_VIEW 77 G4cerr << "***** G4VRML1File1View::ClearView()" << G4endl; 80 if (G4VisManager::GetVerbosity() >= G4VisManager::errors) 81 G4cout << "***** G4VRML1File1View::ClearView()" << G4endl; 78 82 //#endif 79 83 if(fSceneHandler.fFlagDestOpen) { … … 89 93 { 90 94 #if defined DEBUG_FR_VIEW 91 G4cerr << "***** G4VRML1FileViewer::ShowView()" << G4endl; 95 if (G4VisManager::GetVerbosity() >= G4VisManager::errors) 96 G4cout << "***** G4VRML1FileViewer::ShowView()" << G4endl; 92 97 #endif 93 98 fSceneHandler.VRMLEndModeling(); … … 97 102 { 98 103 #if defined DEBUG_FR_VIEW 99 G4cerr << "***** G4VRML1FileViewer::FinishView(): No effects" << G4endl; 104 if (G4VisManager::GetVerbosity() >= G4VisManager::errors) 105 G4cout << "***** G4VRML1FileViewer::FinishView(): No effects" << G4endl; 100 106 #endif 101 107 } -
trunk/source/visualization/VRML/src/G4VRML1SceneHandler.cc
r1337 r1347 25 25 // 26 26 // 27 // $Id: G4VRML1SceneHandler.cc,v 1.1 0 2006/06/29 21:26:01 gunterExp $28 // GEANT4 tag $Name: geant4-09-04- beta-01$27 // $Id: G4VRML1SceneHandler.cc,v 1.11 2010/11/11 00:14:50 akimura Exp $ 28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // G4VRML1SceneHandler.cc … … 44 44 45 45 #include "globals.hh" 46 #include "G4VisManager.hh" 46 47 #include "G4VPhysicalVolume.hh" 47 48 #include "G4LogicalVolume.hh" … … 81 82 { 82 83 #if defined DEBUG_FR_SCENE 83 G4cerr << "***** ~G4VRML1SceneHandler" << G4endl; 84 if (G4VisManager::GetVerbosity() >= G4VisManager::errors) 85 G4cout << "***** ~G4VRML1SceneHandler" << G4endl; 84 86 #endif 85 87 } … … 101 103 if (fDest.connect( (const char * )fSystem.getHostName(), port)) { 102 104 // INET domain connection is established 103 G4cerr << "*** GEANT4 is connected to port "; 104 G4cerr << fDest.getPort(); 105 G4cerr << " of server " << fSystem.getHostName() << G4endl; 105 if (G4VisManager::GetVerbosity() >= G4VisManager::errors) { 106 G4cout << "*** GEANT4 is connected to port "; 107 G4cout << fDest.getPort(); 108 G4cout << " of server " << fSystem.getHostName() << G4endl; 109 } 106 110 break; 107 111 } else { 108 112 // Connection failed. Try the next port. 109 G4cerr << "*** GEANT4 incremented targeting port to "; 110 G4cerr << port << G4endl; 113 if (G4VisManager::GetVerbosity() >= G4VisManager::errors) { 114 G4cout << "*** GEANT4 incremented targeting port to "; 115 G4cout << port << G4endl; 116 } 111 117 } 112 118 … … 116 122 117 123 if (!fDest.isConnected()) { 118 G4cerr << "*** INET Connection failed. " << G4endl; 119 G4cerr << " Maybe, you have not invoked viewer g4vrmlview yet, " << G4endl; 120 G4cerr << " or too many viewers are already running in the " << G4endl; 121 G4cerr << " server host(" << fSystem.getHostName() << "). " << G4endl; 124 if (G4VisManager::GetVerbosity() >= G4VisManager::errors) { 125 G4cout << "*** INET Connection failed. " << G4endl; 126 G4cout << " Maybe, you have not invoked viewer g4vrmlview yet, " << G4endl; 127 G4cout << " or too many viewers are already running in the " << G4endl; 128 G4cout << " server host(" << fSystem.getHostName() << "). " << G4endl; 129 } 122 130 } 123 131 } … … 126 134 { 127 135 fDest.close(); 128 G4cerr << "*** INET Connection closed. " << G4endl; 136 if (G4VisManager::GetVerbosity() >= G4VisManager::errors) 137 G4cout << "*** INET Connection closed. " << G4endl; 129 138 } 130 139 -
trunk/source/visualization/VRML/src/G4VRML1SceneHandlerFunc.icc
r1337 r1347 25 25 // 26 26 // 27 // $Id: G4VRML1SceneHandlerFunc.icc,v 1.1 6 2006/06/29 21:26:03 gunterExp $28 // GEANT4 tag $Name: geant4-09-04- beta-01$27 // $Id: G4VRML1SceneHandlerFunc.icc,v 1.17 2010/11/11 00:14:50 akimura Exp $ 28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // G4VRML1SceneHandlerFunc.icc 31 31 // Satoshi Tanaka & Yasuhide Sawada 32 33 #include "G4VisManager.hh" 32 34 33 35 //#define DEBUG_SCENE_FUNC … … 44 46 { 45 47 #if defined DEBUG_SCENE_FUNC 46 G4cerr << "***** AddSolid trd" << "\n" ; 48 if (G4VisManager::GetVerbosity() >= G4VisManager::errors) 49 G4cout << "***** AddSolid trd" << "\n" ; 47 50 #endif 48 51 VRMLBeginModeling () ; … … 53 56 { 54 57 #if defined DEBUG_SCENE_FUNC 55 G4cerr << "***** AddSolid trap" << "\n" ; 58 if (G4VisManager::GetVerbosity() >= G4VisManager::errors) 59 G4cout << "***** AddSolid trap" << "\n" ; 56 60 #endif 57 61 VRMLBeginModeling () ; … … 62 66 { 63 67 #if defined DEBUG_SCENE_FUNC 64 G4cerr << "***** AddSolid para" << "\n" ; 68 if (G4VisManager::GetVerbosity() >= G4VisManager::errors) 69 G4cout << "***** AddSolid para" << "\n" ; 65 70 #endif 66 71 VRMLBeginModeling () ; … … 71 76 { 72 77 #if defined DEBUG_SCENE_FUNC 73 G4cerr << "***** AddSolid torus" << "\n" ; 78 if (G4VisManager::GetVerbosity() >= G4VisManager::errors) 79 G4cout << "***** AddSolid torus" << "\n" ; 74 80 #endif 75 81 VRMLBeginModeling () ; … … 81 87 { 82 88 #if defined DEBUG_SCENE_FUNC 83 G4cerr << "***** AddSolid vsolid" << "\n" ; 89 if (G4VisManager::GetVerbosity() >= G4VisManager::errors) 90 G4cout << "***** AddSolid vsolid" << "\n" ; 84 91 #endif 85 92 VRMLBeginModeling () ; … … 90 97 { 91 98 #if defined DEBUG_SCENE_FUNC 92 G4cerr << "***** AddSolid tubs" << "\n" ; 99 if (G4VisManager::GetVerbosity() >= G4VisManager::errors) 100 G4cout << "***** AddSolid tubs" << "\n" ; 93 101 #endif 94 102 VRMLBeginModeling () ; … … 127 135 { 128 136 #if defined DEBUG_SCENE_FUNC 129 G4cerr << "***** AddSolid cons" << "\n" ; 137 if (G4VisManager::GetVerbosity() >= G4VisManager::errors) 138 G4cout << "***** AddSolid cons" << "\n" ; 130 139 #endif 131 140 VRMLBeginModeling () ; … … 166 175 { 167 176 #if defined DEBUG_SCENE_FUNC 168 G4cerr << "***** AddSolid box" << "\n" ; 177 if (G4VisManager::GetVerbosity() >= G4VisManager::errors) 178 G4cout << "***** AddSolid box" << "\n" ; 169 179 #endif 170 180 VRMLBeginModeling () ; … … 194 204 { 195 205 #if defined DEBUG_SCENE_FUNC 196 G4cerr << "***** AddSolid sphere" << "\n" ; 206 if (G4VisManager::GetVerbosity() >= G4VisManager::errors) 207 G4cout << "***** AddSolid sphere" << "\n" ; 197 208 #endif 198 209 VRMLBeginModeling () ; … … 230 241 { 231 242 #if defined DEBUG_SCENE_FUNC 232 G4cerr << "***** AddPrimitive polyline" << "\n" ; 243 if (G4VisManager::GetVerbosity() >= G4VisManager::errors) 244 G4cout << "***** AddPrimitive polyline" << "\n" ; 233 245 #endif 234 246 VRMLBeginModeling () ; … … 269 281 { 270 282 #if defined DEBUG_SCENE_FUNC 271 G4cerr << "***** AddPrimitive(G4Polyhedron)" << "\n"; 283 if (G4VisManager::GetVerbosity() >= G4VisManager::errors) 284 G4cout << "***** AddPrimitive(G4Polyhedron)" << "\n"; 272 285 #endif 273 286 … … 338 351 { 339 352 #if defined DEBUG_SCENE_FUNC 340 G4cerr << "***** AddPrimitive nurbs" << "\n" ; 353 if (G4VisManager::GetVerbosity() >= G4VisManager::errors) 354 G4cout << "***** AddPrimitive nurbs" << "\n" ; 341 355 #endif 342 G4cerr << "G4VRML1File::AddPrimitive(G4NURBS&): not implemented. " << "\n" ; 356 if (G4VisManager::GetVerbosity() >= G4VisManager::errors) 357 G4cout << "G4VRML1File::AddPrimitive(G4NURBS&): not implemented. " << "\n" ; 343 358 VRMLBeginModeling () ; 344 359 … … 348 363 { 349 364 #if defined DEBUG_SCENE_FUNC 350 G4cerr << "***** AddPrimitive text" << "\n" ; 351 #endif 352 G4cerr << 365 if (G4VisManager::GetVerbosity() >= G4VisManager::errors) 366 G4cout << "***** AddPrimitive text" << "\n" ; 367 #endif 368 if (G4VisManager::GetVerbosity() >= G4VisManager::errors) 369 G4cout << 353 370 "***** void G4VRML1SCENEHANDLER::AddPrimitive( const G4Text& text )" 354 371 " not implemented yet." … … 361 378 { 362 379 #if defined DEBUG_SCENE_FUNC 363 G4cerr << "***** AddPrimitive circle" << "\n" ; 380 if (G4VisManager::GetVerbosity() >= G4VisManager::errors) 381 G4cout << "***** AddPrimitive circle" << "\n" ; 364 382 #endif 365 383 … … 391 409 { 392 410 #if defined DEBUG_SCENE_FUNC 393 G4cerr << "***** AddPrimitive square" << "\n" ; 411 if (G4VisManager::GetVerbosity() >= G4VisManager::errors) 412 G4cout << "***** AddPrimitive square" << "\n" ; 394 413 #endif 395 414 … … 423 442 { 424 443 #if defined DEBUG_SCENE_FUNC 425 G4cerr << "***** BeginModeling " << "\n" ; 444 if (G4VisManager::GetVerbosity() >= G4VisManager::errors) 445 G4cout << "***** BeginModeling " << "\n" ; 426 446 #endif 427 447 G4VSceneHandler::BeginModeling(); … … 431 451 { 432 452 #if defined DEBUG_SCENE_FUNC 433 G4cerr << "***** EndModeling " << "\n" ; 453 if (G4VisManager::GetVerbosity() >= G4VisManager::errors) 454 G4cout << "***** EndModeling " << "\n" ; 434 455 #endif 435 456 G4VSceneHandler::EndModeling(); … … 441 462 fpObjectTransformation = &objectTransformation; 442 463 #if defined DEBUG_SCENE_FUNC 443 G4cerr << "***** BeginPrimitives " << "\n" ; 464 if (G4VisManager::GetVerbosity() >= G4VisManager::errors) 465 G4cout << "***** BeginPrimitives " << "\n" ; 444 466 #endif 445 467 VRMLBeginModeling(); … … 449 471 { 450 472 #if defined DEBUG_SCENE_FUNC 451 G4cerr << "***** EndPrimitives " << "\n" ; 473 if (G4VisManager::GetVerbosity() >= G4VisManager::errors) 474 G4cout << "***** EndPrimitives " << "\n" ; 452 475 #endif 453 476 G4VSceneHandler::EndPrimitives(); … … 555 578 if (!IS_CONNECTED ) { 556 579 #if defined DEBUG_SCENE_FUNC 557 G4cerr << "***** VRMLBeginModeling() (started)" << "\n" ; 580 if (G4VisManager::GetVerbosity() >= G4VisManager::errors) 581 G4cout << "***** VRMLBeginModeling() (started)" << "\n" ; 558 582 #endif 559 583 this->connectPort(); … … 567 591 if ( IS_CONNECTED ) { 568 592 #if defined DEBUG_SCENE_FUNC 569 G4cerr << "***** VRMLEndModeling() (started)" << "\n" ; 593 if (G4VisManager::GetVerbosity() >= G4VisManager::errors) 594 G4cout << "***** VRMLEndModeling() (started)" << "\n" ; 570 595 #endif 571 596 -
trunk/source/visualization/VRML/src/G4VRML1Viewer.cc
r1337 r1347 25 25 // 26 26 // 27 // $Id: G4VRML1Viewer.cc,v 1. 8 2006/06/29 21:26:05 gunterExp $28 // GEANT4 tag $Name: geant4-09-04- beta-01$27 // $Id: G4VRML1Viewer.cc,v 1.9 2010/11/11 00:14:50 akimura Exp $ 28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // G4VRMLView.cc … … 39 39 40 40 //#define DEBUG_FR_VIEW 41 42 #include "G4VisManager.hh" 41 43 42 44 #include "G4Scene.hh" … … 56 58 { 57 59 #if defined DEBUG_FR_VIEW 58 G4cerr << "***** G4VRML1Viewer::SetView(): No effects" << G4endl; 60 if (G4VisManager::GetVerbosity() >= G4VisManager::errors) 61 G4cout << "***** G4VRML1Viewer::SetView(): No effects" << G4endl; 59 62 #endif 60 63 } … … 63 66 { 64 67 #if defined DEBUG_FR_VIEW 65 G4cerr << "***** G4VRML1Viewer::DrawView()" << G4endl; 68 if (G4VisManager::GetVerbosity() >= G4VisManager::errors) 69 G4cout << "***** G4VRML1Viewer::DrawView()" << G4endl; 66 70 #endif 67 71 … … 77 81 { 78 82 #if defined DEBUG_FR_VIEW 79 G4cerr << "***** G4VRML1Viewer::ClearView(): No effects" << G4endl; 83 if (G4VisManager::GetVerbosity() >= G4VisManager::errors) 84 G4cout << "***** G4VRML1Viewer::ClearView(): No effects" << G4endl; 80 85 #endif 81 86 } … … 84 89 { 85 90 #if defined DEBUG_FR_VIEW 86 G4cerr << "***** G4VRML1Viewer::ShowView()" << G4endl; 91 if (G4VisManager::GetVerbosity() >= G4VisManager::errors) 92 G4cout << "***** G4VRML1Viewer::ShowView()" << G4endl; 87 93 #endif 88 94 fSceneHandler.VRMLEndModeling(); … … 92 98 { 93 99 #if defined DEBUG_FR_VIEW 94 G4cerr << "***** G4VRML1Viewer::FinishView(): No effects" << G4endl; 100 if (G4VisManager::GetVerbosity() >= G4VisManager::errors) 101 G4cout << "***** G4VRML1Viewer::FinishView(): No effects" << G4endl; 95 102 #endif 96 103 } -
trunk/source/visualization/VRML/src/G4VRML2.cc
r1337 r1347 26 26 // 27 27 // $Id: G4VRML2.cc,v 1.10 2006/06/29 21:26:07 gunter Exp $ 28 // GEANT4 tag $Name: geant4-09-04- beta-01$28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // G4VRML2.cc -
trunk/source/visualization/VRML/src/G4VRML2File.cc
r1337 r1347 26 26 // 27 27 // $Id: G4VRML2File.cc,v 1.10 2006/06/29 21:26:09 gunter Exp $ 28 // GEANT4 tag $Name: geant4-09-04- beta-01$28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // G4VRML2File.cc -
trunk/source/visualization/VRML/src/G4VRML2FileSceneHandler.cc
r1337 r1347 25 25 // 26 26 // 27 // $Id: G4VRML2FileSceneHandler.cc,v 1.1 4 2006/06/29 21:26:11 gunterExp $28 // GEANT4 tag $Name: geant4-09-04- beta-01$27 // $Id: G4VRML2FileSceneHandler.cc,v 1.15 2010/11/11 00:14:50 akimura Exp $ 28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // G4VRML2FileSceneHandler.cc … … 43 43 #include "G4VPhysicalVolume.hh" 44 44 #include "G4LogicalVolume.hh" 45 #include "G4VisManager.hh" 45 46 #include "G4Point3D.hh" 46 47 #include "G4VisAttributes.hh" … … 119 120 { 120 121 #if defined DEBUG_FR_SCENE 121 G4cerr << "***** ~G4VRML2FileSceneHandler" << G4endl; 122 if (G4VisManager::GetVerbosity() >= G4VisManager::errors) 123 G4cout << "***** ~G4VRML2FileSceneHandler" << G4endl; 122 124 #endif 123 125 VRMLEndModeling(); … … 149 151 if( i == MAX_FILE_INDEX ) 150 152 { 151 G4cerr << "===========================================" << G4endl; 152 G4cerr << "WARNING MESSAGE from VRML2FILE driver: " << G4endl; 153 G4cerr << " This file name is the final one in the " << G4endl; 154 G4cerr << " automatic updation of the output file name." << G4endl; 155 G4cerr << " You may overwrite existing files, i.e. " << G4endl; 156 G4cerr << " g4_XX.wrl. " << G4endl; 157 G4cerr << "===========================================" << G4endl; 153 if (G4VisManager::GetVerbosity() >= G4VisManager::errors) { 154 G4cout << "===========================================" << G4endl; 155 G4cout << "WARNING MESSAGE from VRML2FILE driver: " << G4endl; 156 G4cout << " This file name is the final one in the " << G4endl; 157 G4cout << " automatic updation of the output file name." << G4endl; 158 G4cout << " You may overwrite existing files, i.e. " << G4endl; 159 G4cout << " g4_XX.wrl. " << G4endl; 160 G4cout << "===========================================" << G4endl; 161 } 158 162 } 159 163 … … 180 184 181 185 // open a VRML 2.0 file with determined file name 182 G4cerr << "===========================================" << G4endl; 183 G4cerr << "Output VRML 2.0 file: " << fVRMLFileName << G4endl; 184 G4cerr << "Maximum number of files in the destination directory: " << fMaxFileNum << G4endl; 185 G4cerr << " (Customizable with the environment variable: G4VRMLFILE_MAX_FILE_NUM) " << G4endl; 186 G4cerr << "===========================================" << G4endl; 187 186 if (G4VisManager::GetVerbosity() >= G4VisManager::errors) { 187 G4cout << "===========================================" << G4endl; 188 G4cout << "Output VRML 2.0 file: " << fVRMLFileName << G4endl; 189 G4cout << "Maximum number of files in the destination directory: " << fMaxFileNum << G4endl; 190 G4cout << " (Customizable with the environment variable: G4VRMLFILE_MAX_FILE_NUM) " << G4endl; 191 G4cout << "===========================================" << G4endl; 192 } 188 193 fDest.open(fVRMLFileName) ; fFlagDestOpen = true ; 189 194 } … … 201 206 // close VRML file 202 207 fDest.close(); fFlagDestOpen = false ; 203 G4cerr << "*** VRML 2.0 File " << fVRMLFileName << " is generated." << G4endl; 208 if (G4VisManager::GetVerbosity() >= G4VisManager::errors) 209 G4cout << "*** VRML 2.0 File " << fVRMLFileName << " is generated." << G4endl; 204 210 205 211 … … 207 213 208 214 if ( !strcmp(viewer, NO_VRML_VIEWER )) { 209 G4cerr << "MESSAGE from VRML2FILE driver:" << G4endl; 210 G4cerr << " Set an environmental variable " ; 211 G4cerr << ENV_VRML_VIEWER << G4endl; 212 G4cerr << " if you want to visualize the generated VRML file" << G4endl; 213 G4cerr << " automatically. For example, " << G4endl; 214 G4cerr << " setenv " << ENV_VRML_VIEWER << " vrwave " << G4endl; 215 if (G4VisManager::GetVerbosity() >= G4VisManager::errors) { 216 G4cout << "MESSAGE from VRML2FILE driver:" << G4endl; 217 G4cout << " Set an environmental variable " ; 218 G4cout << ENV_VRML_VIEWER << G4endl; 219 G4cout << " if you want to visualize the generated VRML file" << G4endl; 220 G4cout << " automatically. For example, " << G4endl; 221 G4cout << " setenv " << ENV_VRML_VIEWER << " vrwave " << G4endl; 222 } 215 223 } else { 216 224 sprintf( command, "%s %s", viewer, fVRMLFileName ); -
trunk/source/visualization/VRML/src/G4VRML2FileViewer.cc
r1337 r1347 25 25 // 26 26 // 27 // $Id: G4VRML2FileViewer.cc,v 1.1 3 2006/06/29 21:26:13 gunterExp $28 // GEANT4 tag $Name: geant4-09-04- beta-01$27 // $Id: G4VRML2FileViewer.cc,v 1.14 2010/11/11 00:14:50 akimura Exp $ 28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // G4VRML2FileViewer.cc … … 36 36 #include <cmath> 37 37 38 #include "G4VisManager.hh" 38 39 #include "G4Scene.hh" 39 40 #include "G4VRML2FileViewer.hh" … … 60 61 { 61 62 #if defined DEBUG_FR_VIEW 62 G4cerr << "***** G4VRML2FileViewer::SetView(): No effects" << G4endl; 63 if (G4VisManager::GetVerbosity() >= G4VisManager::errors) 64 G4cout << "***** G4VRML2FileViewer::SetView(): No effects" << G4endl; 63 65 #endif 64 66 … … 71 73 { 72 74 #if defined DEBUG_FR_VIEW 73 G4cerr << "***** G4VRML2FileViewer::DrawView()" << G4endl; 75 if (G4VisManager::GetVerbosity() >= G4VisManager::errors) 76 G4cout << "***** G4VRML2FileViewer::DrawView()" << G4endl; 74 77 #endif 75 78 … … 88 91 { 89 92 #if defined DEBUG_FR_VIEW 90 G4cerr << "***** G4VRML2File1View::ClearView()" << G4endl; 93 if (G4VisManager::GetVerbosity() >= G4VisManager::errors) 94 G4cout << "***** G4VRML2File1View::ClearView()" << G4endl; 91 95 #endif 92 96 if(fSceneHandler.fFlagDestOpen) { … … 102 106 { 103 107 #if defined DEBUG_FR_VIEW 104 G4cerr << "***** G4VRML2FileViewer::ShowView()" << G4endl; 108 if (G4VisManager::GetVerbosity() >= G4VisManager::errors) 109 G4cout << "***** G4VRML2FileViewer::ShowView()" << G4endl; 105 110 #endif 106 111 fSceneHandler.VRMLEndModeling(); … … 110 115 { 111 116 #if defined DEBUG_FR_VIEW 112 G4cerr << "***** G4VRML2FileViewer::FinishView(): No effects" << G4endl; 117 if (G4VisManager::GetVerbosity() >= G4VisManager::errors) 118 G4cout << "***** G4VRML2FileViewer::FinishView(): No effects" << G4endl; 113 119 #endif 114 120 } … … 121 127 122 128 #if defined DEBUG_FR_VIEW 123 G4cerr << "***** G4VRML2FileViewer::SendViewParameters()\n"; 129 if (G4VisManager::GetVerbosity() >= G4VisManager::errors) 130 G4cout << "***** G4VRML2FileViewer::SendViewParameters()\n"; 124 131 #endif 125 132 -
trunk/source/visualization/VRML/src/G4VRML2SceneHandler.cc
r1337 r1347 25 25 // 26 26 // 27 // $Id: G4VRML2SceneHandler.cc,v 1.1 2 2006/06/29 21:26:15 gunterExp $28 // GEANT4 tag $Name: geant4-09-04- beta-01$27 // $Id: G4VRML2SceneHandler.cc,v 1.13 2010/11/11 00:14:50 akimura Exp $ 28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // G4VRML2SceneHandler.cc … … 46 46 47 47 #include "globals.hh" 48 #include "G4VisManager.hh" 49 48 50 #include "G4VPhysicalVolume.hh" 49 51 #include "G4LogicalVolume.hh" … … 93 95 { 94 96 #if defined DEBUG_FR_SCENE 95 G4cerr << "***** ~G4VRML2SceneHandler" << G4endl; 97 if (G4VisManager::GetVerbosity() >= G4VisManager::errors) 98 G4cout << "***** ~G4VRML2SceneHandler" << G4endl; 96 99 #endif 97 100 } … … 113 116 if (fDest.connect( (const char * )fSystem.getHostName(), port)) { 114 117 // INET domain connection is established 115 G4cerr << "*** GEANT4 is connected to port "; 116 G4cerr << fDest.getPort(); 117 G4cerr << " of server " << fSystem.getHostName() << G4endl; 118 if (G4VisManager::GetVerbosity() >= G4VisManager::errors) { 119 G4cout << "*** GEANT4 is connected to port "; 120 G4cout << fDest.getPort(); 121 G4cout << " of server " << fSystem.getHostName() << G4endl; 122 } 118 123 break; 119 124 } else { 120 125 // Connection failed. Try the next port. 121 G4cerr << "*** GEANT4 incremented targeting port to "; 122 G4cerr << port << G4endl; 126 if (G4VisManager::GetVerbosity() >= G4VisManager::errors) { 127 G4cout << "*** GEANT4 incremented targeting port to "; 128 G4cout << port << G4endl; 129 } 123 130 } 124 131 … … 128 135 129 136 if (!fDest.isConnected()) { 130 G4cerr << "*** INET Connection failed. " << G4endl; 131 G4cerr << " Maybe, you have not invoked viewer g4vrmlview yet, " << G4endl; 132 G4cerr << " or too many viewers are already running in the " << G4endl; 133 G4cerr << " server host(" << fSystem.getHostName() << "). " << G4endl; 137 if (G4VisManager::GetVerbosity() >= G4VisManager::errors) { 138 G4cout << "*** INET Connection failed. " << G4endl; 139 G4cout << " Maybe, you have not invoked viewer g4vrmlview yet, " << G4endl; 140 G4cout << " or too many viewers are already running in the " << G4endl; 141 G4cout << " server host(" << fSystem.getHostName() << "). " << G4endl; 142 } 134 143 } 135 144 } … … 138 147 { 139 148 fDest.close(); 140 G4cerr << "*** INET Connection closed. " << G4endl; 149 if (G4VisManager::GetVerbosity() >= G4VisManager::errors) 150 G4cout << "*** INET Connection closed. " << G4endl; 141 151 } 142 152 -
trunk/source/visualization/VRML/src/G4VRML2SceneHandlerFunc.icc
r1337 r1347 25 25 // 26 26 // 27 // $Id: G4VRML2SceneHandlerFunc.icc,v 1.2 0 2006/06/29 21:26:17 gunterExp $28 // GEANT4 tag $Name: geant4-09-04- beta-01$27 // $Id: G4VRML2SceneHandlerFunc.icc,v 1.21 2010/11/11 00:14:50 akimura Exp $ 28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // G4VRML2SceneHandlerFunc.icc … … 33 33 //#define DEBUG_SCENE_FUNC 34 34 35 #include "G4VisManager.hh" 36 35 37 void G4VRML2SCENEHANDLER::AddSolid(const G4Trd& trd) 36 38 { 37 39 #if defined DEBUG_SCENE_FUNC 38 G4cerr << "***** AddSolid trd" << "\n" ; 40 if (G4VisManager::GetVerbosity() >= G4VisManager::errors) 41 G4cout << "***** AddSolid trd" << "\n" ; 39 42 #endif 40 43 VRMLBeginModeling () ; … … 45 48 { 46 49 #if defined DEBUG_SCENE_FUNC 47 G4cerr << "***** AddSolid trap" << "\n" ; 50 if (G4VisManager::GetVerbosity() >= G4VisManager::errors) 51 G4cout << "***** AddSolid trap" << "\n" ; 48 52 #endif 49 53 VRMLBeginModeling () ; … … 54 58 { 55 59 #if defined DEBUG_SCENE_FUNC 56 G4cerr << "***** AddSolid para" << "\n" ; 60 if (G4VisManager::GetVerbosity() >= G4VisManager::errors) 61 G4cout << "***** AddSolid para" << "\n" ; 57 62 #endif 58 63 VRMLBeginModeling () ; … … 63 68 { 64 69 #if defined DEBUG_SCENE_FUNC 65 G4cerr << "***** AddSolid torus" << "\n" ; 70 if (G4VisManager::GetVerbosity() >= G4VisManager::errors) 71 G4cout << "***** AddSolid torus" << "\n" ; 66 72 #endif 67 73 VRMLBeginModeling () ; … … 73 79 { 74 80 #if defined DEBUG_SCENE_FUNC 75 G4cerr << "***** AddSolid vsolid" << "\n" ; 81 if (G4VisManager::GetVerbosity() >= G4VisManager::errors) 82 G4cout << "***** AddSolid vsolid" << "\n" ; 76 83 #endif 77 84 VRMLBeginModeling () ; … … 82 89 { 83 90 #if defined DEBUG_SCENE_FUNC 84 G4cerr << "***** AddSolid tubs" << "\n" ; 91 if (G4VisManager::GetVerbosity() >= G4VisManager::errors) 92 G4cout << "***** AddSolid tubs" << "\n" ; 85 93 #endif 86 94 VRMLBeginModeling () ; … … 93 101 { 94 102 #if defined DEBUG_SCENE_FUNC 95 G4cerr << "***** AddSolid cons" << "\n" ; 103 if (G4VisManager::GetVerbosity() >= G4VisManager::errors) 104 G4cout << "***** AddSolid cons" << "\n" ; 96 105 #endif 97 106 VRMLBeginModeling () ; … … 102 111 { 103 112 #if defined DEBUG_SCENE_FUNC 104 G4cerr << "***** AddSolid box" << "\n" ; 113 if (G4VisManager::GetVerbosity() >= G4VisManager::errors) 114 G4cout << "***** AddSolid box" << "\n" ; 105 115 #endif 106 116 VRMLBeginModeling () ; … … 112 122 { 113 123 #if defined DEBUG_SCENE_FUNC 114 G4cerr << "***** AddSolid sphere" << "\n" ; 124 if (G4VisManager::GetVerbosity() >= G4VisManager::errors) 125 G4cout << "***** AddSolid sphere" << "\n" ; 115 126 #endif 116 127 VRMLBeginModeling () ; … … 121 132 { 122 133 #if defined DEBUG_SCENE_FUNC 123 G4cerr << "***** AddPrimitive polyline" << "\n" ; 134 if (G4VisManager::GetVerbosity() >= G4VisManager::errors) 135 G4cout << "***** AddPrimitive polyline" << "\n" ; 124 136 #endif 125 137 … … 170 182 { 171 183 #if defined DEBUG_SCENE_FUNC 172 G4cerr << "***** AddPrimitive(G4Polyhedron)" << "\n"; 184 if (G4VisManager::GetVerbosity() >= G4VisManager::errors) 185 G4cout << "***** AddPrimitive(G4Polyhedron)" << "\n"; 173 186 #endif 174 187 … … 253 266 { 254 267 #if defined DEBUG_SCENE_FUNC 255 G4cerr << "***** AddPrimitive nurbs" << "\n" ; 268 if (G4VisManager::GetVerbosity() >= G4VisManager::errors) 269 G4cout << "***** AddPrimitive nurbs" << "\n" ; 256 270 #endif 257 G4cerr << "G4VRML2File::AddPrimitive(G4NURBS&): not implemented. " << "\n" ; 271 if (G4VisManager::GetVerbosity() >= G4VisManager::errors) 272 G4cout << "G4VRML2File::AddPrimitive(G4NURBS&): not implemented. " << "\n" ; 258 273 259 274 VRMLBeginModeling () ; … … 263 278 { 264 279 #if defined DEBUG_SCENE_FUNC 265 G4cerr << "***** AddPrimitive text" << "\n" ; 266 #endif 267 G4cerr << 280 if (G4VisManager::GetVerbosity() >= G4VisManager::errors) 281 G4cout << "***** AddPrimitive text" << "\n" ; 282 #endif 283 if (G4VisManager::GetVerbosity() >= G4VisManager::errors) 284 G4cout << 268 285 "***** void G4VRML2SCENEHANDLER::AddPrimitive( const G4Text& text )" 269 286 " not implemented yet." … … 277 294 { 278 295 #if defined DEBUG_SCENE_FUNC 279 G4cerr << "***** AddPrimitive circle" << "\n" ; 296 if (G4VisManager::GetVerbosity() >= G4VisManager::errors) 297 G4cout << "***** AddPrimitive circle" << "\n" ; 280 298 #endif 281 299 VRMLBeginModeling () ; … … 335 353 { 336 354 #if defined DEBUG_SCENE_FUNC 337 G4cerr << "***** AddPrimitive square" << "\n" ; 355 if (G4VisManager::GetVerbosity() >= G4VisManager::errors) 356 G4cout << "***** AddPrimitive square" << "\n" ; 338 357 #endif 339 358 … … 396 415 { 397 416 #if defined DEBUG_SCENE_FUNC 398 G4cerr << "***** BeginModeling" << "\n" ; 417 if (G4VisManager::GetVerbosity() >= G4VisManager::errors) 418 G4cout << "***** BeginModeling" << "\n" ; 399 419 #endif 400 420 G4VSceneHandler::BeginModeling(); … … 405 425 { 406 426 #if defined DEBUG_SCENE_FUNC 407 G4cerr << "***** EndModeling " << "\n" ; 427 if (G4VisManager::GetVerbosity() >= G4VisManager::errors) 428 G4cout << "***** EndModeling " << "\n" ; 408 429 #endif 409 430 G4VSceneHandler::EndModeling(); … … 415 436 fpObjectTransformation = &objectTransformation; 416 437 #if defined DEBUG_SCENE_FUNC 417 G4cerr << "***** BeginPrimitives " << "\n" ; 438 if (G4VisManager::GetVerbosity() >= G4VisManager::errors) 439 G4cout << "***** BeginPrimitives " << "\n" ; 418 440 #endif 419 441 VRMLBeginModeling(); … … 423 445 { 424 446 #if defined DEBUG_SCENE_FUNC 425 G4cerr << "***** EndPrimitives " << "\n" ; 447 if (G4VisManager::GetVerbosity() >= G4VisManager::errors) 448 G4cout << "***** EndPrimitives " << "\n" ; 426 449 #endif 427 450 G4VSceneHandler::EndPrimitives(); … … 500 523 if (!IS_CONNECTED ) { 501 524 #if defined DEBUG_SCENE_FUNC 502 G4cerr << "***** VRMLBeginModeling (started)" << "\n" ; 525 if (G4VisManager::GetVerbosity() >= G4VisManager::errors) 526 G4cout << "***** VRMLBeginModeling (started)" << "\n" ; 503 527 #endif 504 528 this->connectPort(); … … 512 536 if ( IS_CONNECTED ) { 513 537 #if defined DEBUG_SCENE_FUNC 514 G4cerr << "***** VRMLEndModeling (started)" << "\n" ; 538 if (G4VisManager::GetVerbosity() >= G4VisManager::errors) 539 G4cout << "***** VRMLEndModeling (started)" << "\n" ; 515 540 #endif 516 541 fDest << "#End of file." << "\n"; -
trunk/source/visualization/VRML/src/G4VRML2Viewer.cc
r1337 r1347 25 25 // 26 26 // 27 // $Id: G4VRML2Viewer.cc,v 1.1 2 2006/06/29 21:26:35 gunterExp $28 // GEANT4 tag $Name: geant4-09-04- beta-01$27 // $Id: G4VRML2Viewer.cc,v 1.13 2010/11/11 00:14:50 akimura Exp $ 28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // G4VRML2Viewer.cc … … 42 42 #include <cmath> 43 43 44 #include "G4VisManager.hh" 44 45 #include "G4Scene.hh" 45 46 #include "G4VRML2Viewer.hh" … … 65 66 { 66 67 #if defined DEBUG_FR_VIEW 67 G4cerr << "***** G4VRML2Viewer::SetView(): No effects" << G4endl; 68 if (G4VisManager::GetVerbosity() >= G4VisManager::errors) 69 G4cout << "***** G4VRML2Viewer::SetView(): No effects" << G4endl; 68 70 #endif 69 71 … … 77 79 { 78 80 #if defined DEBUG_FR_VIEW 79 G4cerr << "***** G4VRML2Viewer::DrawView()" << G4endl; 81 if (G4VisManager::GetVerbosity() >= G4VisManager::errors) 82 G4cout << "***** G4VRML2Viewer::DrawView()" << G4endl; 80 83 #endif 81 84 fSceneHandler.VRMLBeginModeling() ; … … 93 96 { 94 97 #if defined DEBUG_FR_VIEW 95 G4cerr << "***** G4VRML2Viewer::ClearView(): No effects" << G4endl; 98 if (G4VisManager::GetVerbosity() >= G4VisManager::errors) 99 G4cout << "***** G4VRML2Viewer::ClearView(): No effects" << G4endl; 96 100 #endif 97 101 } … … 100 104 { 101 105 #if defined DEBUG_FR_VIEW 102 G4cerr << "***** G4VRML2Viewer::ShowView()" << G4endl; 106 if (G4VisManager::GetVerbosity() >= G4VisManager::errors) 107 G4cout << "***** G4VRML2Viewer::ShowView()" << G4endl; 103 108 #endif 104 109 fSceneHandler.VRMLEndModeling(); … … 108 113 { 109 114 #if defined DEBUG_FR_VIEW 110 G4cerr << "***** G4VRML2Viewer::FinishView(): No effects" << G4endl; 115 if (G4VisManager::GetVerbosity() >= G4VisManager::errors) 116 G4cout << "***** G4VRML2Viewer::FinishView(): No effects" << G4endl; 111 117 #endif 112 118 } … … 119 125 120 126 #if defined DEBUG_FR_VIEW 121 G4cerr << "***** G4VRML2Viewer::SendViewParameters()\n"; 127 if (G4VisManager::GetVerbosity() >= G4VisManager::errors) 128 G4cout << "***** G4VRML2Viewer::SendViewParameters()\n"; 122 129 #endif 123 130 // error recovery -
trunk/source/visualization/XXX/CVS/Entries
r1346 r1347 3 3 /CMakeLists.txt/1.1/Wed Sep 29 19:13:27 2010//Tgeant4-09-04-ref-00 4 4 /sources.cmake/1.1/Wed Sep 29 19:13:35 2010//Tgeant4-09-04-ref-00 5 /History/1.30/Wed Oct 6 15:49:24 2010//Tgeant4-09-04-ref-00 -
trunk/source/visualization/XXX/include/CVS/Entries
r1346 r1347 1 1 D/tree//// 2 /G4XXX.hh/1.5/Thu Jun 29 21:26:37 2006//Tgeant4-09-04-ref-00 3 /G4XXXFile.hh/1.2/Thu Jun 29 21:26:39 2006//Tgeant4-09-04-ref-00 4 /G4XXXFileSceneHandler.hh/1.4/Wed Oct 21 15:28:53 2009//Tgeant4-09-04-ref-00 5 /G4XXXFileViewer.hh/1.3/Mon Jul 3 16:52:48 2006//Tgeant4-09-04-ref-00 6 /G4XXXSG.hh/1.2/Thu Jun 29 21:26:54 2006//Tgeant4-09-04-ref-00 7 /G4XXXSGSceneHandler.hh/1.4/Wed Oct 21 15:28:53 2009//Tgeant4-09-04-ref-00 8 /G4XXXSGViewer.hh/1.2/Thu Jun 29 21:26:58 2006//Tgeant4-09-04-ref-00 9 /G4XXXSceneHandler.hh/1.21/Thu Jun 29 21:27:00 2006//Tgeant4-09-04-ref-00 10 /G4XXXStored.hh/1.2/Thu Jun 29 21:27:02 2006//Tgeant4-09-04-ref-00 11 /G4XXXStoredSceneHandler.hh/1.4/Wed Oct 21 15:28:53 2009//Tgeant4-09-04-ref-00 12 /G4XXXStoredViewer.hh/1.2/Thu Jun 29 21:27:17 2006//Tgeant4-09-04-ref-00 13 /G4XXXViewer.hh/1.8/Thu Jun 29 21:27:20 2006//Tgeant4-09-04-ref-00 -
trunk/source/visualization/XXX/include/G4XXX.hh
r1337 r1347 26 26 // 27 27 // $Id: G4XXX.hh,v 1.5 2006/06/29 21:26:37 gunter Exp $ 28 // GEANT4 tag $Name: geant4-09-04- beta-01$28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // -
trunk/source/visualization/XXX/include/G4XXXFile.hh
r1337 r1347 26 26 // 27 27 // $Id: G4XXXFile.hh,v 1.2 2006/06/29 21:26:39 gunter Exp $ 28 // GEANT4 tag $Name: geant4-09-04- beta-01$28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // -
trunk/source/visualization/XXX/include/G4XXXFileSceneHandler.hh
r1337 r1347 26 26 // 27 27 // $Id: G4XXXFileSceneHandler.hh,v 1.4 2009/10/21 15:28:53 allison Exp $ 28 // GEANT4 tag $Name: geant4-09-04- beta-01$28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // -
trunk/source/visualization/XXX/include/G4XXXFileViewer.hh
r1337 r1347 26 26 // 27 27 // $Id: G4XXXFileViewer.hh,v 1.3 2006/07/03 16:52:48 allison Exp $ 28 // GEANT4 tag $Name: geant4-09-04- beta-01$28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // -
trunk/source/visualization/XXX/include/G4XXXSG.hh
r1337 r1347 26 26 // 27 27 // $Id: G4XXXSG.hh,v 1.2 2006/06/29 21:26:54 gunter Exp $ 28 // GEANT4 tag $Name: geant4-09-04- beta-01$28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // -
trunk/source/visualization/XXX/include/G4XXXSGSceneHandler.hh
r1337 r1347 26 26 // 27 27 // $Id: G4XXXSGSceneHandler.hh,v 1.4 2009/10/21 15:28:53 allison Exp $ 28 // GEANT4 tag $Name: geant4-09-04- beta-01$28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // -
trunk/source/visualization/XXX/include/G4XXXSGViewer.hh
r1337 r1347 26 26 // 27 27 // $Id: G4XXXSGViewer.hh,v 1.2 2006/06/29 21:26:58 gunter Exp $ 28 // GEANT4 tag $Name: geant4-09-04- beta-01$28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // -
trunk/source/visualization/XXX/include/G4XXXSceneHandler.hh
r1337 r1347 26 26 // 27 27 // $Id: G4XXXSceneHandler.hh,v 1.21 2006/06/29 21:27:00 gunter Exp $ 28 // GEANT4 tag $Name: geant4-09-04- beta-01$28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // -
trunk/source/visualization/XXX/include/G4XXXStored.hh
r1337 r1347 26 26 // 27 27 // $Id: G4XXXStored.hh,v 1.2 2006/06/29 21:27:02 gunter Exp $ 28 // GEANT4 tag $Name: geant4-09-04- beta-01$28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // -
trunk/source/visualization/XXX/include/G4XXXStoredSceneHandler.hh
r1337 r1347 26 26 // 27 27 // $Id: G4XXXStoredSceneHandler.hh,v 1.4 2009/10/21 15:28:53 allison Exp $ 28 // GEANT4 tag $Name: geant4-09-04- beta-01$28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // -
trunk/source/visualization/XXX/include/G4XXXStoredViewer.hh
r1337 r1347 26 26 // 27 27 // $Id: G4XXXStoredViewer.hh,v 1.2 2006/06/29 21:27:17 gunter Exp $ 28 // GEANT4 tag $Name: geant4-09-04- beta-01$28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // -
trunk/source/visualization/XXX/include/G4XXXViewer.hh
r1337 r1347 26 26 // 27 27 // $Id: G4XXXViewer.hh,v 1.8 2006/06/29 21:27:20 gunter Exp $ 28 // GEANT4 tag $Name: geant4-09-04- beta-01$28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // -
trunk/source/visualization/XXX/include/tree/CVS/Entries
r1346 r1347 1 /AUTHORS/1.1/Tue Mar 28 17:16:41 2006//Tgeant4-09-04-ref-00 2 /COPYING/1.1/Tue Mar 28 17:16:41 2006//Tgeant4-09-04-ref-00 3 /Changelog/1.1/Tue Mar 28 17:16:41 2006//Tgeant4-09-04-ref-00 4 /bfs_iterator.h/1.1/Tue Mar 28 17:16:41 2006//Tgeant4-09-04-ref-00 5 /const_bfs_iterator.h/1.1/Tue Mar 28 17:16:41 2006//Tgeant4-09-04-ref-00 6 /const_iterator.cc/1.1/Tue Mar 28 17:16:41 2006//Tgeant4-09-04-ref-00 7 /const_iterator.h/1.1/Tue Mar 28 17:16:41 2006//Tgeant4-09-04-ref-00 8 /const_postorder_iterator.h/1.1/Tue Mar 28 17:16:41 2006//Tgeant4-09-04-ref-00 9 /const_preorder_iterator.h/1.1/Tue Mar 28 17:16:41 2006//Tgeant4-09-04-ref-00 10 /const_sibling_iterator.h/1.1/Tue Mar 28 17:16:41 2006//Tgeant4-09-04-ref-00 11 /iterator.cc/1.1/Tue Mar 28 17:16:41 2006//Tgeant4-09-04-ref-00 12 /iterator.h/1.1/Tue Mar 28 17:16:41 2006//Tgeant4-09-04-ref-00 13 /postorder_iterator.h/1.1/Tue Mar 28 17:16:41 2006//Tgeant4-09-04-ref-00 14 /preorder_iterator.h/1.1/Tue Mar 28 17:16:41 2006//Tgeant4-09-04-ref-00 15 /sibling_iterator.h/1.1/Tue Mar 28 17:16:41 2006//Tgeant4-09-04-ref-00 16 /tree.cc/1.1/Tue Mar 28 17:16:41 2006//Tgeant4-09-04-ref-00 17 /tree.h/1.1/Tue Mar 28 17:16:41 2006//Tgeant4-09-04-ref-00 18 /tree_iterator.cc/1.1/Tue Mar 28 17:16:41 2006//Tgeant4-09-04-ref-00 19 /tree_iterator.h/1.1/Tue Mar 28 17:16:41 2006//Tgeant4-09-04-ref-00 20 /tree_node.h/1.1/Tue Mar 28 17:16:41 2006//Tgeant4-09-04-ref-00 21 /tree_test.cc/1.1/Tue Mar 28 17:16:41 2006//Tgeant4-09-04-ref-00 1 22 D -
trunk/source/visualization/XXX/src/CVS/Entries
r1346 r1347 1 /G4XXX.cc/1.6/Thu Jun 29 21:27:22 2006//Tgeant4-09-04-ref-00 2 /G4XXXFile.cc/1.2/Thu Jun 29 21:27:24 2006//Tgeant4-09-04-ref-00 3 /G4XXXFileSceneHandler.cc/1.5/Mon Jul 3 16:52:49 2006//Tgeant4-09-04-ref-00 4 /G4XXXFileViewer.cc/1.3/Mon Jul 3 16:52:49 2006//Tgeant4-09-04-ref-00 5 /G4XXXSG.cc/1.2/Thu Jun 29 21:27:33 2006//Tgeant4-09-04-ref-00 6 /G4XXXSGSceneHandler.cc/1.6/Sun Nov 5 20:41:36 2006//Tgeant4-09-04-ref-00 7 /G4XXXSGViewer.cc/1.5/Wed Oct 6 10:12:03 2010//Tgeant4-09-04-ref-00 8 /G4XXXSceneHandler.cc/1.32/Mon Jul 3 16:52:49 2006//Tgeant4-09-04-ref-00 9 /G4XXXStored.cc/1.2/Thu Jun 29 21:27:46 2006//Tgeant4-09-04-ref-00 10 /G4XXXStoredSceneHandler.cc/1.9/Thu Oct 26 11:30:10 2006//Tgeant4-09-04-ref-00 11 /G4XXXStoredViewer.cc/1.6/Wed Oct 6 10:12:03 2010//Tgeant4-09-04-ref-00 12 /G4XXXViewer.cc/1.9/Thu Jun 29 21:27:52 2006//Tgeant4-09-04-ref-00 1 13 D -
trunk/source/visualization/XXX/src/G4XXX.cc
r1337 r1347 26 26 // 27 27 // $Id: G4XXX.cc,v 1.6 2006/06/29 21:27:22 gunter Exp $ 28 // GEANT4 tag $Name: geant4-09-04- beta-01$28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // -
trunk/source/visualization/XXX/src/G4XXXFile.cc
r1337 r1347 26 26 // 27 27 // $Id: G4XXXFile.cc,v 1.2 2006/06/29 21:27:24 gunter Exp $ 28 // GEANT4 tag $Name: geant4-09-04- beta-01$28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // -
trunk/source/visualization/XXX/src/G4XXXFileSceneHandler.cc
r1337 r1347 26 26 // 27 27 // $Id: G4XXXFileSceneHandler.cc,v 1.5 2006/07/03 16:52:49 allison Exp $ 28 // GEANT4 tag $Name: geant4-09-04- beta-01$28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // -
trunk/source/visualization/XXX/src/G4XXXFileViewer.cc
r1337 r1347 26 26 // 27 27 // $Id: G4XXXFileViewer.cc,v 1.3 2006/07/03 16:52:49 allison Exp $ 28 // GEANT4 tag $Name: geant4-09-04- beta-01$28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // -
trunk/source/visualization/XXX/src/G4XXXSG.cc
r1337 r1347 26 26 // 27 27 // $Id: G4XXXSG.cc,v 1.2 2006/06/29 21:27:33 gunter Exp $ 28 // GEANT4 tag $Name: geant4-09-04- beta-01$28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // -
trunk/source/visualization/XXX/src/G4XXXSGSceneHandler.cc
r1337 r1347 26 26 // 27 27 // $Id: G4XXXSGSceneHandler.cc,v 1.6 2006/11/05 20:41:36 allison Exp $ 28 // GEANT4 tag $Name: geant4-09-04- beta-01$28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // -
trunk/source/visualization/XXX/src/G4XXXSGViewer.cc
r1340 r1347 26 26 // 27 27 // $Id: G4XXXSGViewer.cc,v 1.5 2010/10/06 10:12:03 allison Exp $ 28 // GEANT4 tag $Name: $28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // -
trunk/source/visualization/XXX/src/G4XXXSceneHandler.cc
r1337 r1347 26 26 // 27 27 // $Id: G4XXXSceneHandler.cc,v 1.32 2006/07/03 16:52:49 allison Exp $ 28 // GEANT4 tag $Name: geant4-09-04- beta-01$28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // -
trunk/source/visualization/XXX/src/G4XXXStored.cc
r1337 r1347 26 26 // 27 27 // $Id: G4XXXStored.cc,v 1.2 2006/06/29 21:27:46 gunter Exp $ 28 // GEANT4 tag $Name: geant4-09-04- beta-01$28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // -
trunk/source/visualization/XXX/src/G4XXXStoredSceneHandler.cc
r1337 r1347 26 26 // 27 27 // $Id: G4XXXStoredSceneHandler.cc,v 1.9 2006/10/26 11:30:10 allison Exp $ 28 // GEANT4 tag $Name: geant4-09-04- beta-01$28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // -
trunk/source/visualization/XXX/src/G4XXXStoredViewer.cc
r1340 r1347 26 26 // 27 27 // $Id: G4XXXStoredViewer.cc,v 1.6 2010/10/06 10:12:03 allison Exp $ 28 // GEANT4 tag $Name: $28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // -
trunk/source/visualization/XXX/src/G4XXXViewer.cc
r1337 r1347 26 26 // 27 27 // $Id: G4XXXViewer.cc,v 1.9 2006/06/29 21:27:52 gunter Exp $ 28 // GEANT4 tag $Name: geant4-09-04- beta-01$28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // -
trunk/source/visualization/gMocren/CVS/Entries
r1346 r1347 3 3 /CMakeLists.txt/1.1/Wed Sep 29 19:14:32 2010//Tgeant4-09-04-ref-00 4 4 /sources.cmake/1.1/Wed Sep 29 19:14:41 2010//Tgeant4-09-04-ref-00 5 /GNUmakefile/1.2/Mon Oct 12 10:24:23 2009//Tgeant4-09-04-ref-00 6 /History/1.16/Thu Nov 11 00:49:25 2010//Tgeant4-09-04-ref-00 7 /README/1.2/Mon Oct 12 19:51:37 2009//Tgeant4-09-04-ref-00 -
trunk/source/visualization/gMocren/GNUmakefile
r1346 r1347 17 17 include $(G4INSTALL)/config/G4VIS_BUILD.gmk 18 18 include $(G4INSTALL)/config/interactivity.gmk 19 20 # NO need OGL, then reset OGLGLAGS21 OGLFLAGS = ""22 OGLLIBS = ""23 # NO need QT, then reset QTGLAGS24 QTFLAGS = ""25 QTLIBS = ""26 GLQTLIBS = ""27 19 28 20 CPPFLAGS += -I$(G4BASE)/visualization/management/include -
trunk/source/visualization/gMocren/History
r1337 r1347 1 $Id: History,v 1.1 4 2010/09/03 16:01:38 gcosmoExp $1 $Id: History,v 1.16 2010/11/11 00:49:25 akimura Exp $ 2 2 ------------------------------------------------------------------- 3 3 … … 20 20 History file for visualization/gMocren sub-category 21 21 --------------------------------------------------- 22 23 11 November 2010 Akinori Kimura (gMocren-V09-03-05) 24 - Replaced G4cerr with G4cout and added the following line before G4cout. 25 if (G4VisManager::GetVerbosity() >= G4VisManager::errors) 22 26 23 27 3rd September 2010 John Allison (gMocren-V09-03-04) -
trunk/source/visualization/gMocren/include/CVS/Entries
r1346 r1347 1 /G4GMocrenFile.hh/1.2/Mon Oct 12 10:04:35 2009//Tgeant4-09-04-ref-00 2 /G4GMocrenFileCTtoDensityMap.hh/1.1/Mon Oct 12 10:04:35 2009//Tgeant4-09-04-ref-00 3 /G4GMocrenFileSceneHandler.hh/1.6/Sun May 30 10:04:16 2010//Tgeant4-09-04-ref-00 4 /G4GMocrenFileViewer.hh/1.2/Mon Oct 12 10:04:35 2009//Tgeant4-09-04-ref-00 5 /G4GMocrenIO.hh/1.4/Fri Jun 25 09:46:17 2010//Tgeant4-09-04-ref-00 6 /G4GMocrenMessenger.hh/1.2/Mon Oct 12 10:04:35 2009//Tgeant4-09-04-ref-00 7 /G4GMocrenTouchable.hh/1.2/Mon Oct 12 10:04:35 2009//Tgeant4-09-04-ref-00 1 8 D -
trunk/source/visualization/gMocren/include/G4GMocrenFile.hh
r1337 r1347 26 26 // 27 27 // $Id: G4GMocrenFile.hh,v 1.2 2009/10/12 10:04:35 akimura Exp $ 28 // GEANT4 tag $Name: geant4-09-04- beta-01$28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // -
trunk/source/visualization/gMocren/include/G4GMocrenFileCTtoDensityMap.hh
r1337 r1347 26 26 // 27 27 // $Id: G4GMocrenFileCTtoDensityMap.hh,v 1.1 2009/10/12 10:04:35 akimura Exp $ 28 // GEANT4 tag $Name: geant4-09-04- beta-01$28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // -
trunk/source/visualization/gMocren/include/G4GMocrenFileSceneHandler.hh
r1337 r1347 26 26 // 27 27 // $Id: G4GMocrenFileSceneHandler.hh,v 1.6 2010/05/30 10:04:16 allison Exp $ 28 // GEANT4 tag $Name: geant4-09-04- beta-01$28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // -
trunk/source/visualization/gMocren/include/G4GMocrenFileViewer.hh
r1337 r1347 26 26 // 27 27 // $Id: G4GMocrenFileViewer.hh,v 1.2 2009/10/12 10:04:35 akimura Exp $ 28 // GEANT4 tag $Name: geant4-09-04- beta-01$28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // -
trunk/source/visualization/gMocren/include/G4GMocrenMessenger.hh
r1337 r1347 25 25 // 26 26 // $Id: G4GMocrenMessenger.hh,v 1.2 2009/10/12 10:04:35 akimura Exp $ 27 // GEANT4 tag $Name: geant4-09-04- beta-01$27 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 28 28 // 29 29 // -
trunk/source/visualization/gMocren/include/G4GMocrenTouchable.hh
r1337 r1347 26 26 // 27 27 // $Id: G4GMocrenTouchable.hh,v 1.2 2009/10/12 10:04:35 akimura Exp $ 28 // GEANT4 tag $Name: geant4-09-04- beta-01$28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // -
trunk/source/visualization/gMocren/src/CVS/Entries
r1346 r1347 1 /G4GMocrenFile.cc/1.2/Mon Oct 12 10:04:35 2009//Tgeant4-09-04-ref-00 2 /G4GMocrenFileCTtoDensityMap.cc/1.2/Wed Dec 16 17:51:27 2009//Tgeant4-09-04-ref-00 3 /G4GMocrenFileSceneHandler.cc/1.18/Wed Nov 10 23:53:23 2010//Tgeant4-09-04-ref-00 4 /G4GMocrenFileViewer.cc/1.4/Wed Nov 10 23:53:23 2010//Tgeant4-09-04-ref-00 5 /G4GMocrenIO.cc/1.6/Wed Nov 10 23:53:23 2010//Tgeant4-09-04-ref-00 6 /G4GMocrenMessenger.cc/1.2/Mon Oct 12 10:04:35 2009//Tgeant4-09-04-ref-00 1 7 D -
trunk/source/visualization/gMocren/src/G4GMocrenFile.cc
r1337 r1347 26 26 // 27 27 // $Id: G4GMocrenFile.cc,v 1.2 2009/10/12 10:04:35 akimura Exp $ 28 // GEANT4 tag $Name: geant4-09-04- beta-01$28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // -
trunk/source/visualization/gMocren/src/G4GMocrenFileSceneHandler.cc
r1337 r1347 25 25 // 26 26 // 27 // $Id: G4GMocrenFileSceneHandler.cc,v 1.1 7 2010/09/03 16:01:21 gcosmoExp $28 // GEANT4 tag $Name: $27 // $Id: G4GMocrenFileSceneHandler.cc,v 1.18 2010/11/10 23:53:23 akimura Exp $ 28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // … … 43 43 44 44 #include "globals.hh" 45 #include "G4VisManager.hh" 46 45 47 #include "G4GMocrenFile.hh" 46 48 #include "G4GMocrenFileSceneHandler.hh" … … 156 158 G4GMocrenFileSceneHandler::~G4GMocrenFileSceneHandler () 157 159 { 158 if(GFDEBUG) G4cerr << "***** ~G4GMocrenFileSceneHandler" << G4endl; 160 if(GFDEBUG || G4VisManager::GetVerbosity() >= G4VisManager::errors) 161 G4cout << "***** ~G4GMocrenFileSceneHandler" << G4endl; 159 162 160 163 if(kGddDest) { … … 199 202 if( i == MAX_FILE_INDEX ) 200 203 { 201 G4cerr << "===========================================" << G4endl; 202 G4cerr << "WARNING MESSAGE from GMocrenFile driver: " << G4endl; 203 G4cerr << " This file name is the final one in the " << G4endl; 204 G4cerr << " automatic updation of the output file name." << G4endl; 205 G4cerr << " You may overwrite existing files, i.e. " << G4endl; 206 G4cerr << " g4_XX.gdd." << G4endl; 207 G4cerr << "===========================================" << G4endl; 204 if (G4VisManager::GetVerbosity() >= G4VisManager::errors) { 205 G4cout << "===========================================" << G4endl; 206 G4cout << "WARNING MESSAGE from GMocrenFile driver: " << G4endl; 207 G4cout << " This file name is the final one in the " << G4endl; 208 G4cout << " automatic updation of the output file name." << G4endl; 209 G4cout << " You may overwrite existing files, i.e. " << G4endl; 210 G4cout << " g4_XX.gdd." << G4endl; 211 G4cout << "===========================================" << G4endl; 212 } 208 213 } 209 214 … … 231 236 } // for 232 237 233 G4c err<< "======================================================================" << G4endl;234 G4c err<< "Output file: " << kGddFileName << G4endl;235 G4c err<< "Destination directory (current dir if NULL): " << kGddDestDir << G4endl;236 G4c err<< "Maximum number of files in the destination directory: " << kMaxFileNum << G4endl;237 G4c err<< "Note:" << G4endl;238 G4c err<< " * The maximum number is customizable as: " << G4endl;239 G4c err<< " % setenv G4GMocrenFile_MAX_FILE_NUM number " << G4endl;240 G4c err<< " * The destination directory is customizable as:" << G4endl;241 G4c err<< " % setenv G4GMocrenFile_DEST_DIR dir_name/ " << G4endl;242 G4c err<< " ** Do not forget \"/\" at the end of the dir_name, e.g. \"./tmp/\"." << G4endl;243 //G4c err<< " dir_name, e.g. \"./tmp/\"." << G4endl;244 G4c err<< G4endl;245 G4c err<< "Maximum number of trajectories is set to " << MAX_NUM_TRAJECTORIES << "."<< G4endl;246 G4c err<< "======================================================================" << G4endl;238 G4cout << "======================================================================" << G4endl; 239 G4cout << "Output file: " << kGddFileName << G4endl; 240 G4cout << "Destination directory (current dir if NULL): " << kGddDestDir << G4endl; 241 G4cout << "Maximum number of files in the destination directory: " << kMaxFileNum << G4endl; 242 G4cout << "Note:" << G4endl; 243 G4cout << " * The maximum number is customizable as: " << G4endl; 244 G4cout << " % setenv G4GMocrenFile_MAX_FILE_NUM number " << G4endl; 245 G4cout << " * The destination directory is customizable as:" << G4endl; 246 G4cout << " % setenv G4GMocrenFile_DEST_DIR dir_name/ " << G4endl; 247 G4cout << " ** Do not forget \"/\" at the end of the dir_name, e.g. \"./tmp/\"." << G4endl; 248 //G4cout << " dir_name, e.g. \"./tmp/\"." << G4endl; 249 G4cout << G4endl; 250 G4cout << "Maximum number of trajectories is set to " << MAX_NUM_TRAJECTORIES << "."<< G4endl; 251 G4cout << "======================================================================" << G4endl; 247 252 248 253 } // G4GMocrenFileSceneHandler::SetGddFileName() … … 252 257 void G4GMocrenFileSceneHandler::BeginSavingGdd( void ) 253 258 { 254 if(GFDEBUG) G4cerr << "***** BeginSavingGdd (called)" << G4endl; 259 if(GFDEBUG || G4VisManager::GetVerbosity() >= G4VisManager::errors) 260 G4cout << "***** BeginSavingGdd (called)" << G4endl; 255 261 256 262 if( !IsSavingGdd() ) { 257 263 258 if(GFDEBUG ) {259 G4c err<< "***** (started) " ;260 G4c err<< "(open g4.gdd, ##)" << G4endl;264 if(GFDEBUG || G4VisManager::GetVerbosity() >= G4VisManager::errors) { 265 G4cout << "***** (started) " ; 266 G4cout << "(open g4.gdd, ##)" << G4endl; 261 267 } 262 268 … … 294 300 295 301 } else { 296 G4c err<< "cann't open the file : " << fname << G4endl;302 G4cout << "cann't open the file : " << fname << G4endl; 297 303 } 298 304 */ … … 322 328 void G4GMocrenFileSceneHandler::EndSavingGdd ( void ) 323 329 { 324 if(GFDEBUG) G4cerr << "***** EndSavingGdd (called)" << G4endl; 330 if(GFDEBUG || G4VisManager::GetVerbosity() >= G4VisManager::errors) 331 G4cout << "***** EndSavingGdd (called)" << G4endl; 325 332 326 333 if(IsSavingGdd()) { 327 if(GFDEBUG) G4cerr << "***** (started) (close " 328 << kGddFileName << ")" << G4endl; 334 if(GFDEBUG || G4VisManager::GetVerbosity() >= G4VisManager::errors) 335 G4cout << "***** (started) (close " 336 << kGddFileName << ")" << G4endl; 329 337 330 338 if(kGddDest) kGddDest.close(); … … 483 491 484 492 485 if(GFDEBUG) G4cerr << "***** G4GMocrenFileSceneHandler::GFBeginModeling (called & started)" << G4endl; 493 if(GFDEBUG || G4VisManager::GetVerbosity() >= G4VisManager::errors) 494 G4cout << "***** G4GMocrenFileSceneHandler::GFBeginModeling (called & started)" << G4endl; 486 495 487 496 //----- Send saving command and heading comment … … 511 520 void G4GMocrenFileSceneHandler::AddPrimitive (const G4Polyline& polyline) 512 521 { 513 if(GFDEBUG) G4cerr << "***** AddPrimitive" << G4endl; 522 if(GFDEBUG || G4VisManager::GetVerbosity() >= G4VisManager::errors) 523 G4cout << "***** AddPrimitive" << G4endl; 514 524 515 525 … … 591 601 { 592 602 //----- 593 if(GFDEBUG) G4cerr << "***** AddPrimitive( G4NURBS )" << G4endl; 603 if(GFDEBUG || G4VisManager::GetVerbosity() >= G4VisManager::errors) 604 G4cout << "***** AddPrimitive( G4NURBS )" << G4endl; 594 605 595 606 //----- Initialize if necessary … … 607 618 608 619 //----- 609 if(GFDEBUG) G4cerr << "***** AddPrimitive( G4Text )" << G4endl; 620 if(GFDEBUG || G4VisManager::GetVerbosity() >= G4VisManager::errors) 621 G4cout << "***** AddPrimitive( G4Text )" << G4endl; 610 622 611 623 //----- Initialize IF NECESSARY … … 622 634 623 635 //----- 624 if(GFDEBUG) G4cerr << "***** AddPrimitive( G4Circle )" << G4endl; 636 if(GFDEBUG || G4VisManager::GetVerbosity() >= G4VisManager::errors) 637 G4cout << "***** AddPrimitive( G4Circle )" << G4endl; 625 638 626 639 //----- Initialize IF NECESSARY … … 638 651 639 652 //----- 640 if(GFDEBUG) G4cerr << "***** AddPrimitive( G4Square )" << G4endl; 653 if(GFDEBUG || G4VisManager::GetVerbosity() >= G4VisManager::errors) 654 G4cout << "***** AddPrimitive( G4Square )" << G4endl; 641 655 642 656 //----- Initialize if necessary … … 650 664 { 651 665 //----- 652 if(GFDEBUG) G4cerr << "***** AddPrimitive( G4Polyhedron )" << G4endl; 666 if(GFDEBUG || G4VisManager::GetVerbosity() >= G4VisManager::errors) 667 G4cout << "***** AddPrimitive( G4Polyhedron )" << G4endl; 653 668 654 669 … … 678 693 break; 679 694 default: 680 G4cerr << 681 "ERROR G4GMocrenFileSceneHandler::AddPrimitive(G4Polyhedron)" << G4endl; 695 if(GFDEBUG || G4VisManager::GetVerbosity() >= G4VisManager::errors) 696 G4cout << 697 "ERROR G4GMocrenFileSceneHandler::AddPrimitive(G4Polyhedron)" << G4endl; 682 698 G4PhysicalVolumeModel* pPVModel = 683 699 dynamic_cast<G4PhysicalVolumeModel*>(fpModel); 684 if (pPVModel) G4cerr << 685 "Volume " << pPVModel->GetCurrentPV()->GetName() << 686 ", Solid " << pPVModel->GetCurrentLV()->GetSolid()->GetName() << 687 " (" << pPVModel->GetCurrentLV()->GetSolid()->GetEntityType(); 688 G4cerr << 689 "\nG4Polyhedron facet with " << i << " edges" << G4endl; 700 if (pPVModel) 701 if(G4VisManager::GetVerbosity() >= G4VisManager::errors) 702 G4cout << "Volume " << pPVModel->GetCurrentPV()->GetName() << 703 ", Solid " << pPVModel->GetCurrentLV()->GetSolid()->GetName() << 704 " (" << pPVModel->GetCurrentLV()->GetSolid()->GetEntityType(); 705 706 if(G4VisManager::GetVerbosity() >= G4VisManager::errors) 707 G4cout << 708 "\nG4Polyhedron facet with " << i << " edges" << G4endl; 690 709 } 691 710 } … … 700 719 701 720 //----- 702 if(GFDEBUG) G4cerr << "***** GFEndModeling (called)" << G4endl; 721 if(GFDEBUG || G4VisManager::GetVerbosity() >= G4VisManager::errors) 722 G4cout << "***** GFEndModeling (called)" << G4endl; 703 723 704 724 if( GFIsInModeling() ) { 705 725 706 if(GFDEBUG ) {707 G4c err<< "***** GFEndModeling (started) " ;708 G4c err<< "(/EndModeling, /DrawAll, /CloseDevice)" << G4endl;726 if(GFDEBUG || G4VisManager::GetVerbosity() >= G4VisManager::errors) { 727 G4cout << "***** GFEndModeling (started) " ; 728 G4cout << "(/EndModeling, /DrawAll, /CloseDevice)" << G4endl; 709 729 } 710 730 … … 723 743 void G4GMocrenFileSceneHandler::BeginPrimitives (const G4Transform3D& objectTransformation) 724 744 { 725 if(GFDEBUG) G4cerr << "***** BeginPrimitives " << G4endl; 745 if(GFDEBUG || G4VisManager::GetVerbosity() >= G4VisManager::errors) 746 G4cout << "***** BeginPrimitives " << G4endl; 726 747 727 748 GFBeginModeling(); … … 736 757 void G4GMocrenFileSceneHandler::EndPrimitives () 737 758 { 738 if(GFDEBUG) G4cerr << "***** EndPrimitives " << G4endl; 759 if(GFDEBUG || G4VisManager::GetVerbosity() >= G4VisManager::errors) 760 G4cout << "***** EndPrimitives " << G4endl; 739 761 740 762 G4VSceneHandler::EndPrimitives (); … … 747 769 void G4GMocrenFileSceneHandler::AddSolid( const G4Box& box ) 748 770 { 749 if(GFDEBUG) G4cerr << "***** AddSolid ( box )" << G4endl; 771 if(GFDEBUG || G4VisManager::GetVerbosity() >= G4VisManager::errors) 772 G4cout << "***** AddSolid ( box )" << G4endl; 750 773 751 774 if(GFDEBUG_DET > 0) … … 1279 1302 G4GMocrenFileSceneHandler::AddSolid( const G4Tubs& tubes ) 1280 1303 { 1281 if(GFDEBUG) G4cerr << "***** AddSolid ( tubes )" << G4endl; 1304 if(GFDEBUG || G4VisManager::GetVerbosity() >= G4VisManager::errors) 1305 G4cout << "***** AddSolid ( tubes )" << G4endl; 1282 1306 1283 1307 //----- skip drawing invisible primitive … … 1321 1345 G4GMocrenFileSceneHandler::AddSolid( const G4Cons& cons ) 1322 1346 { 1323 if(GFDEBUG) G4cerr << "***** AddSolid ( cons )" << G4endl; 1347 if(GFDEBUG || G4VisManager::GetVerbosity() >= G4VisManager::errors) 1348 G4cout << "***** AddSolid ( cons )" << G4endl; 1324 1349 1325 1350 //----- skip drawing invisible primitive … … 1338 1363 void G4GMocrenFileSceneHandler::AddSolid ( const G4Trd& trd ) 1339 1364 { 1340 if(GFDEBUG) G4cerr << "***** AddSolid ( trd )" << G4endl; 1365 if(GFDEBUG || G4VisManager::GetVerbosity() >= G4VisManager::errors) 1366 G4cout << "***** AddSolid ( trd )" << G4endl; 1341 1367 1342 1368 … … 1356 1382 void G4GMocrenFileSceneHandler::AddSolid ( const G4Sphere& sphere ) 1357 1383 { 1358 if(GFDEBUG) G4cerr << "***** AddSolid ( sphere )" << G4endl; 1384 if(GFDEBUG || G4VisManager::GetVerbosity() >= G4VisManager::errors) 1385 G4cout << "***** AddSolid ( sphere )" << G4endl; 1359 1386 1360 1387 //----- skip drawing invisible primitive … … 1373 1400 void G4GMocrenFileSceneHandler::AddSolid (const G4Para& para) 1374 1401 { 1375 if(GFDEBUG) G4cerr << "***** AddSolid ( para )" << G4endl; 1402 if(GFDEBUG || G4VisManager::GetVerbosity() >= G4VisManager::errors) 1403 G4cout << "***** AddSolid ( para )" << G4endl; 1376 1404 1377 1405 //----- skip drawing invisible primitive … … 1390 1418 void G4GMocrenFileSceneHandler::AddSolid (const G4Trap& trap) 1391 1419 { 1392 if(GFDEBUG) G4cerr << "***** AddSolid ( trap )" << G4endl; 1420 if(GFDEBUG || G4VisManager::GetVerbosity() >= G4VisManager::errors) 1421 G4cout << "***** AddSolid ( trap )" << G4endl; 1393 1422 1394 1423 //----- skip drawing invisible primitive … … 1408 1437 G4GMocrenFileSceneHandler::AddSolid( const G4Torus& torus ) 1409 1438 { 1410 if(GFDEBUG) G4cerr << "***** AddSolid ( torus )" << G4endl; 1439 if(GFDEBUG || G4VisManager::GetVerbosity() >= G4VisManager::errors) 1440 G4cout << "***** AddSolid ( torus )" << G4endl; 1411 1441 1412 1442 //----- skip drawing invisible primitive … … 1452 1482 1453 1483 if(GFDEBUG_TRK) { 1454 std::cout << " ::AddCompound(const G4VTrajectory&) >>>>>>>>> " << std::endl;1484 G4cout << " ::AddCompound(const G4VTrajectory&) >>>>>>>>> " << G4endl; 1455 1485 G4TrajectoriesModel * pTrModel = dynamic_cast<G4TrajectoriesModel*>(fpModel); 1456 1486 if (!pTrModel) { -
trunk/source/visualization/gMocren/src/G4GMocrenFileViewer.cc
r1337 r1347 25 25 // 26 26 // 27 // $Id: G4GMocrenFileViewer.cc,v 1. 3 2009/12/03 11:44:42akimura Exp $28 // GEANT4 tag $Name: geant4-09-04- beta-01$27 // $Id: G4GMocrenFileViewer.cc,v 1.4 2010/11/10 23:53:23 akimura Exp $ 28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // … … 41 41 #include <cassert> 42 42 43 #include "G4VisManager.hh" 43 44 #include "G4Scene.hh" 44 45 #include "G4Vector3D.hh" … … 93 94 { 94 95 if(GFDEBUG) 95 G4cerr << "***** G4GMocrenFileViewer::SetView(): No effects" << G4endl; 96 if (G4VisManager::GetVerbosity() >= G4VisManager::errors) 97 G4cout << "***** G4GMocrenFileViewer::SetView(): No effects" << G4endl; 96 98 97 99 // Do nothing, since DAWN is running as a different process. … … 105 107 { 106 108 if(GFDEBUG) 107 G4cerr << "***** G4GMocrenFileViewer::ClearView (): No effects " << G4endl; 109 if (G4VisManager::GetVerbosity() >= G4VisManager::errors) 110 G4cout << "***** G4GMocrenFileViewer::ClearView (): No effects " << G4endl; 108 111 109 112 //if(kSceneHandler.kGddDest) { … … 121 124 { 122 125 if(GFDEBUG) 123 G4cerr << "***** G4GMocrenFileViewer::DrawView () " << G4endl; 126 if (G4VisManager::GetVerbosity() >= G4VisManager::errors) 127 G4cout << "***** G4GMocrenFileViewer::DrawView () " << G4endl; 124 128 125 129 //----- … … 140 144 { 141 145 if(GFDEBUG) 142 G4cerr << "***** G4GMocrenFileViewer::ShowView () " << G4endl; 146 if (G4VisManager::GetVerbosity() >= G4VisManager::errors) 147 G4cout << "***** G4GMocrenFileViewer::ShowView () " << G4endl; 143 148 144 149 if( kSceneHandler.GFIsInModeling() ) -
trunk/source/visualization/gMocren/src/G4GMocrenIO.cc
r1337 r1347 25 25 // 26 26 // 27 // $Id: G4GMocrenIO.cc,v 1. 5 2009/12/03 11:44:42akimura Exp $28 // GEANT4 tag $Name: geant4-09-04- beta-01$27 // $Id: G4GMocrenIO.cc,v 1.6 2010/11/10 23:53:23 akimura Exp $ 28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // … … 40 40 // 41 41 #include "G4GMocrenIO.hh" 42 43 42 #include <iostream> 44 43 #include <ctime> … … 47 46 #include <cstdlib> 48 47 #include <cstring> 48 49 #include "globals.hh" 50 #include "G4VisManager.hh" 51 49 52 #if defined(_WIN32) 50 53 #define LITTLE_ENDIAN 1234 … … 97 100 } 98 101 if(!stat) { 99 std::cerr << "Warning: operator + " 100 << " Cannot do the operator +" 101 << std::endl; 102 if (G4VisManager::GetVerbosity() >= G4VisManager::errors) 103 G4cout << "Warning: operator + " 104 << " Cannot do the operator +" 105 << G4endl; 102 106 return *this; 103 107 } … … 137 141 } 138 142 if(!stat) { 139 std::cerr << "Warning: operator += " << std::endl 140 << " Cannot do the operator +=" 141 << std::endl; 143 if (G4VisManager::GetVerbosity() >= G4VisManager::errors) 144 G4cout << "Warning: operator += " << G4endl 145 << " Cannot do the operator +=" 146 << G4endl; 142 147 return *this; 143 148 } … … 263 268 int _num) { 264 269 if(_num >= (int)kTrack.size()) { 265 std::cerr << "GMocrenTrack::getStep(...) Error: " 266 << "invalid step # : " << _num << std::endl; 270 if (G4VisManager::GetVerbosity() >= G4VisManager::errors) 271 G4cout << "GMocrenTrack::getStep(...) Error: " 272 << "invalid step # : " << _num << G4endl; 267 273 return; 268 274 } … … 313 319 int _num) { 314 320 if(_num >= (int)kDetector.size()) { 315 std::cerr << "GMocrenDetector::getEdge(...) Error: " 316 << "invalid edge # : " << _num << std::endl; 321 if (G4VisManager::GetVerbosity() >= G4VisManager::errors) 322 G4cout << "GMocrenDetector::getEdge(...) Error: " 323 << "invalid edge # : " << _num << G4endl; 317 324 return; 318 325 } … … 458 465 459 466 if(DEBUG || kVerbose > 0) 460 std::cout << ">>>>>>> store data (ver.4) <<<<<<<" << std::endl;467 G4cout << ">>>>>>> store data (ver.4) <<<<<<<" << G4endl; 461 468 if(DEBUG || kVerbose > 0) 462 std::cout << " " << kFileName << std::endl;469 G4cout << " " << kFileName << G4endl; 463 470 464 471 // output file open … … 466 473 std::ios_base::out|std::ios_base::binary); 467 474 if(DEBUG || kVerbose > 0) 468 std::cout << " file open status: " << ofile << std::endl;475 G4cout << " file open status: " << ofile << G4endl; 469 476 470 477 // file identifier … … 480 487 ofile.write((char *)&littleEndian, sizeof(char)); 481 488 if(DEBUG || kVerbose > 0) { 482 // std::cout << "Endian: " << (int)kLittleEndianOutput << std::endl;483 std::cout << "Endian: " << (int)littleEndian << std::endl;489 //G4cout << "Endian: " << (int)kLittleEndianOutput << G4endl; 490 G4cout << "Endian: " << (int)littleEndian << G4endl; 484 491 } 485 492 … … 505 512 ofile.write((char *)cmt, 1024); 506 513 if(DEBUG || kVerbose > 0) { 507 std::cout << "Data comment : "508 << kComment << std::endl;514 G4cout << "Data comment : " 515 << kComment << G4endl; 509 516 } 510 517 … … 518 525 } 519 526 if(DEBUG || kVerbose > 0) { 520 std::cout << "Voxel spacing : ("527 G4cout << "Voxel spacing : (" 521 528 << kVoxelSpacing[0] << ", " 522 529 << kVoxelSpacing[1] << ", " 523 530 << kVoxelSpacing[2] 524 << ") mm " << std::endl;531 << ") mm " << G4endl; 525 532 } 526 533 … … 583 590 584 591 if(DEBUG || kVerbose > 0) { 585 std::cout << "Each pointer to data : "592 G4cout << "Each pointer to data : " 586 593 << kPointerToModalityData << ", "; 587 594 for(int i = 0; i < nDoseDist; i++) { 588 std::cout << kPointerToDoseDistData[i] << ", ";589 } 590 std::cout << kPointerToROIData << ", "595 G4cout << kPointerToDoseDistData[i] << ", "; 596 } 597 G4cout << kPointerToROIData << ", " 591 598 << kPointerToTrackData << ", " 592 599 << kPointerToDetectorData 593 << std::endl;600 << G4endl; 594 601 } 595 602 … … 613 620 614 621 if(DEBUG || kVerbose > 0) { 615 std::cout << "Modality image size : ("622 G4cout << "Modality image size : (" 616 623 << size[0] << ", " 617 624 << size[1] << ", " 618 625 << size[2] << ")" 619 << std::endl;626 << G4endl; 620 627 } 621 628 … … 643 650 } 644 651 if(DEBUG || kVerbose > 0) { 645 std::cout << "Modality image min., max., scale : "652 G4cout << "Modality image min., max., scale : " 646 653 << minmax[0] << ", " 647 654 << minmax[1] << ", " 648 << scale << std::endl;655 << scale << G4endl; 649 656 } 650 657 651 658 // modality image 652 659 int psize = size[0]*size[1]; 653 if(DEBUG || kVerbose > 0) std::cout << "Modality image : ";660 if(DEBUG || kVerbose > 0) G4cout << "Modality image : "; 654 661 for(int i = 0; i < size[2]; i++) { 655 662 short * image = kModality.getImage(i); … … 663 670 } 664 671 665 if(DEBUG || kVerbose > 0) std::cout << "[" << i << "]" << image[(size_t)(psize*0.55)] << ", ";666 } 667 if(DEBUG || kVerbose > 0) std::cout << std::endl;672 if(DEBUG || kVerbose > 0) G4cout << "[" << i << "]" << image[(size_t)(psize*0.55)] << ", "; 673 } 674 if(DEBUG || kVerbose > 0) G4cout << G4endl; 668 675 669 676 // modality desity map for CT value 670 677 size_t msize = minmax[1] - minmax[0]+1; 671 678 if(DEBUG || kVerbose > 0) 672 std::cout << "modality image : " << minmax[0] << ", " << minmax[1] << std::endl;679 G4cout << "modality image : " << minmax[0] << ", " << minmax[1] << G4endl; 673 680 float * pdmap = new float[msize]; 674 681 for(int i = 0; i < (int)msize; i++) pdmap[i] =kModalityImageDensityMap[i]; … … 684 691 685 692 if(DEBUG || kVerbose > 0) { 686 std::cout << "density map : " << std::ends;693 G4cout << "density map : " << std::ends; 687 694 for(int i = 0; i < (int)msize; i+=50) 688 std::cout <<kModalityImageDensityMap[i] << ", ";689 std::cout << std::endl;695 G4cout <<kModalityImageDensityMap[i] << ", "; 696 G4cout << G4endl; 690 697 } 691 698 delete [] pdmap; … … 709 716 } 710 717 if(DEBUG || kVerbose > 0) { 711 std::cout << "Dose dist. [" << ndose << "] image size : ("718 G4cout << "Dose dist. [" << ndose << "] image size : (" 712 719 << size[0] << ", " 713 720 << size[1] << ", " 714 721 << size[2] << ")" 715 << std::endl;722 << G4endl; 716 723 } 717 724 … … 732 739 ofile.write((char *)cdunit, 12); 733 740 if(DEBUG || kVerbose > 0) { 734 std::cout << "Dose dist. unit : " << kDoseUnit << std::endl;741 G4cout << "Dose dist. unit : " << kDoseUnit << G4endl; 735 742 } 736 743 … … 746 753 } 747 754 if(DEBUG || kVerbose > 0) { 748 std::cout << "Dose dist. [" << ndose755 G4cout << "Dose dist. [" << ndose 749 756 << "] image min., max., scale : " 750 757 << minmax[0] << ", " 751 758 << minmax[1] << ", " 752 << scale << std::endl;759 << scale << G4endl; 753 760 } 754 761 … … 770 777 for(int j = 0; j < dsize; j++) { 771 778 if(dimage[j] < 0) 772 std::cout << "[" << j << "," << z << "]"779 G4cout << "[" << j << "," << z << "]" 773 780 << dimage[j] << ", "; 774 781 } 775 782 } 776 783 } 777 if(DEBUG || kVerbose > 0) std::cout << std::endl;784 if(DEBUG || kVerbose > 0) G4cout << G4endl; 778 785 delete [] dimage; 779 786 … … 790 797 } 791 798 if(DEBUG || kVerbose > 0) { 792 std::cout << "Dose dist. [" << ndose799 G4cout << "Dose dist. [" << ndose 793 800 << "]image relative location : (" 794 801 << iCenter[0] << ", " 795 802 << iCenter[1] << ", " 796 << iCenter[2] << ")" << std::endl;803 << iCenter[2] << ")" << G4endl; 797 804 } 798 805 … … 803 810 ofile.write((char *)name.c_str(), 80); 804 811 if(DEBUG || kVerbose > 0) { 805 std::cout << "Dose dist. name : " << name << std::endl;812 G4cout << "Dose dist. name : " << name << G4endl; 806 813 } 807 814 … … 821 828 } 822 829 if(DEBUG || kVerbose > 0) { 823 std::cout << "ROI image size : ("830 G4cout << "ROI image size : (" 824 831 << size[0] << ", " 825 832 << size[1] << ", " 826 833 << size[2] << ")" 827 << std::endl;834 << G4endl; 828 835 } 829 836 … … 847 854 } 848 855 if(DEBUG || kVerbose > 0) { 849 std::cout << "ROI image min., max., scale : "856 G4cout << "ROI image min., max., scale : " 850 857 << minmax[0] << ", " 851 858 << minmax[1] << ", " 852 << scale << std::endl;859 << scale << G4endl; 853 860 } 854 861 … … 879 886 } 880 887 if(DEBUG || kVerbose > 0) { 881 std::cout << "ROI image relative location : ("888 G4cout << "ROI image relative location : (" 882 889 << iCenter[0] << ", " 883 890 << iCenter[1] << ", " 884 << iCenter[2] << ")" << std::endl;891 << iCenter[2] << ")" << G4endl; 885 892 } 886 893 } … … 898 905 } 899 906 if(DEBUG || kVerbose > 0) { 900 std::cout << "# of tracks : "901 << ntrk << std::endl;907 G4cout << "# of tracks : " 908 << ntrk << G4endl; 902 909 } 903 910 … … 913 920 } 914 921 if(DEBUG || kVerbose > 0) { 915 std::cout << "# of steps : " << nsteps << std::endl;922 G4cout << "# of steps : " << nsteps << G4endl; 916 923 } 917 924 … … 950 957 } 951 958 if(DEBUG || kVerbose > 0) { 952 std::cout << "# of detectors : "953 << ndet << std::endl;959 G4cout << "# of detectors : " 960 << ndet << G4endl; 954 961 } 955 962 … … 965 972 } 966 973 if(DEBUG || kVerbose > 0) { 967 std::cout << "# of edges in a detector : " << nedges << std::endl;974 G4cout << "# of edges in a detector : " << nedges << G4endl; 968 975 } 969 976 … … 985 992 if(DEBUG || kVerbose > 0) { 986 993 if(ne < 1) { 987 std::cout << " edge : (" << edgePoints[0] << ", "994 G4cout << " edge : (" << edgePoints[0] << ", " 988 995 << edgePoints[1] << ", " 989 996 << edgePoints[2] << ") - (" 990 997 << edgePoints[3] << ", " 991 998 << edgePoints[4] << ", " 992 << edgePoints[5] << ")" << std::endl;999 << edgePoints[5] << ")" << G4endl; 993 1000 } 994 1001 } … … 1000 1007 ofile.write((char *)dcolor, 3); 1001 1008 if(DEBUG || kVerbose > 0) { 1002 std::cout << " rgb : (" << (int)dcolor[0] << ", "1009 G4cout << " rgb : (" << (int)dcolor[0] << ", " 1003 1010 << (int)dcolor[1] << ", " 1004 << (int)dcolor[2] << ")" << std::endl;1011 << (int)dcolor[2] << ")" << G4endl; 1005 1012 } 1006 1013 … … 1010 1017 ofile.write((char *)dname.c_str(), 80); 1011 1018 if(DEBUG || kVerbose > 0) { 1012 std::cout << " detector name : " << dname << std::endl;1019 G4cout << " detector name : " << dname << G4endl; 1013 1020 1014 1021 } … … 1021 1028 ofile.close(); 1022 1029 if(DEBUG || kVerbose > 0) 1023 std::cout << ">>>> closed gdd file: " << kFileName << std::endl;1030 G4cout << ">>>> closed gdd file: " << kFileName << G4endl; 1024 1031 1025 1032 return true; … … 1027 1034 bool G4GMocrenIO::storeData3() { 1028 1035 1029 if(kVerbose > 0) std::cout << ">>>>>>> store data (ver.3) <<<<<<<" << std::endl;1030 if(kVerbose > 0) std::cout << " " << kFileName << std::endl;1036 if(kVerbose > 0) G4cout << ">>>>>>> store data (ver.3) <<<<<<<" << G4endl; 1037 if(kVerbose > 0) G4cout << " " << kFileName << G4endl; 1031 1038 1032 1039 bool DEBUG = false;// … … 1055 1062 ofile.write((char *)cmt, 1024); 1056 1063 if(DEBUG || kVerbose > 0) { 1057 std::cout << "Data comment : "1058 << kComment << std::endl;1064 G4cout << "Data comment : " 1065 << kComment << G4endl; 1059 1066 } 1060 1067 … … 1062 1069 ofile.write((char *)kVoxelSpacing, 12); 1063 1070 if(DEBUG || kVerbose > 0) { 1064 std::cout << "Voxel spacing : ("1071 G4cout << "Voxel spacing : (" 1065 1072 << kVoxelSpacing[0] << ", " 1066 1073 << kVoxelSpacing[1] << ", " 1067 1074 << kVoxelSpacing[2] 1068 << ") mm " << std::endl;1075 << ") mm " << G4endl; 1069 1076 } 1070 1077 … … 1090 1097 ofile.write((char *)&kPointerToTrackData, 4); 1091 1098 if(DEBUG || kVerbose > 0) { 1092 std::cout << "Each pointer to data : "1099 G4cout << "Each pointer to data : " 1093 1100 << kPointerToModalityData << ", "; 1094 1101 for(int i = 0; i < nDoseDist; i++) { 1095 std::cout << kPointerToDoseDistData[i] << ", ";1096 } 1097 std::cout << kPointerToROIData << ", "1098 << kPointerToTrackData << std::endl;1102 G4cout << kPointerToDoseDistData[i] << ", "; 1103 } 1104 G4cout << kPointerToROIData << ", " 1105 << kPointerToTrackData << G4endl; 1099 1106 } 1100 1107 … … 1110 1117 ofile.write((char *)size, 3*sizeof(int)); 1111 1118 if(DEBUG || kVerbose > 0) { 1112 std::cout << "Modality image size : ("1119 G4cout << "Modality image size : (" 1113 1120 << size[0] << ", " 1114 1121 << size[1] << ", " 1115 1122 << size[2] << ")" 1116 << std::endl;1123 << G4endl; 1117 1124 } 1118 1125 … … 1129 1136 ofile.write((char *)&scale, 4); 1130 1137 if(DEBUG || kVerbose > 0) { 1131 std::cout << "Modality image min., max., scale : "1138 G4cout << "Modality image min., max., scale : " 1132 1139 << minmax[0] << ", " 1133 1140 << minmax[1] << ", " 1134 << scale << std::endl;1141 << scale << G4endl; 1135 1142 } 1136 1143 1137 1144 // modality image 1138 1145 int psize = size[0]*size[1]; 1139 if(DEBUG || kVerbose > 0) std::cout << "Modality image : ";1146 if(DEBUG || kVerbose > 0) G4cout << "Modality image : "; 1140 1147 for(int i = 0; i < size[2]; i++) { 1141 1148 short * image = kModality.getImage(i); 1142 1149 ofile.write((char *)image, psize*sizeof(short)); 1143 1150 1144 if(DEBUG || kVerbose > 0) std::cout << "[" << i << "]" << image[(size_t)(psize*0.55)] << ", ";1145 } 1146 if(DEBUG || kVerbose > 0) std::cout << std::endl;1151 if(DEBUG || kVerbose > 0) G4cout << "[" << i << "]" << image[(size_t)(psize*0.55)] << ", "; 1152 } 1153 if(DEBUG || kVerbose > 0) G4cout << G4endl; 1147 1154 1148 1155 // modality desity map for CT value … … 1152 1159 ofile.write((char *)pdmap, msize*sizeof(float)); 1153 1160 if(DEBUG || kVerbose > 0) { 1154 std::cout << "density map : " << std::ends;1161 G4cout << "density map : " << std::ends; 1155 1162 for(int i = 0; i < (int)msize; i+=50) 1156 std::cout <<kModalityImageDensityMap[i] << ", ";1157 std::cout << std::endl;1163 G4cout <<kModalityImageDensityMap[i] << ", "; 1164 G4cout << G4endl; 1158 1165 } 1159 1166 delete [] pdmap; … … 1171 1178 ofile.write((char *)size, 3*sizeof(int)); 1172 1179 if(DEBUG || kVerbose > 0) { 1173 std::cout << "Dose dist. [" << ndose << "] image size : ("1180 G4cout << "Dose dist. [" << ndose << "] image size : (" 1174 1181 << size[0] << ", " 1175 1182 << size[1] << ", " 1176 1183 << size[2] << ")" 1177 << std::endl;1184 << G4endl; 1178 1185 } 1179 1186 … … 1185 1192 ofile.write((char *)kDoseUnit.c_str(), 12); 1186 1193 if(DEBUG || kVerbose > 0) { 1187 std::cout << "Dose dist. unit : " << kDoseUnit << std::endl;1194 G4cout << "Dose dist. unit : " << kDoseUnit << G4endl; 1188 1195 } 1189 1196 … … 1194 1201 ofile.write((char *)&scale, 4); 1195 1202 if(DEBUG || kVerbose > 0) { 1196 std::cout << "Dose dist. [" << ndose1203 G4cout << "Dose dist. [" << ndose 1197 1204 << "] image min., max., scale : " 1198 1205 << minmax[0] << ", " 1199 1206 << minmax[1] << ", " 1200 << scale << std::endl;1207 << scale << G4endl; 1201 1208 } 1202 1209 … … 1211 1218 for(int j = 0; j < dsize; j++) { 1212 1219 if(dimage[j] < 0) 1213 std::cout << "[" << j << "," << z << "]"1220 G4cout << "[" << j << "," << z << "]" 1214 1221 << dimage[j] << ", "; 1215 1222 } 1216 1223 } 1217 1224 } 1218 if(DEBUG || kVerbose > 0) std::cout << std::endl;1225 if(DEBUG || kVerbose > 0) G4cout << G4endl; 1219 1226 delete [] dimage; 1220 1227 … … 1225 1232 ofile.write((char *)iCenter, 3*4); // 3*sizeof(int) 1226 1233 if(DEBUG || kVerbose > 0) { 1227 std::cout << "Dose dist. [" << ndose1234 G4cout << "Dose dist. [" << ndose 1228 1235 << "]image relative location : (" 1229 1236 << iCenter[0] << ", " 1230 1237 << iCenter[1] << ", " 1231 << iCenter[2] << ")" << std::endl;1238 << iCenter[2] << ")" << G4endl; 1232 1239 } 1233 1240 } … … 1240 1247 ofile.write((char *)size, 3*sizeof(int)); 1241 1248 if(DEBUG || kVerbose > 0) { 1242 std::cout << "ROI image size : ("1249 G4cout << "ROI image size : (" 1243 1250 << size[0] << ", " 1244 1251 << size[1] << ", " 1245 1252 << size[2] << ")" 1246 << std::endl;1253 << G4endl; 1247 1254 } 1248 1255 … … 1255 1262 ofile.write((char *)&scale, sizeof(float)); 1256 1263 if(DEBUG || kVerbose > 0) { 1257 std::cout << "ROI image min., max., scale : "1264 G4cout << "ROI image min., max., scale : " 1258 1265 << minmax[0] << ", " 1259 1266 << minmax[1] << ", " 1260 << scale << std::endl;1267 << scale << G4endl; 1261 1268 } 1262 1269 … … 1274 1281 ofile.write((char *)iCenter, 3*sizeof(int)); 1275 1282 if(DEBUG || kVerbose > 0) { 1276 std::cout << "ROI image relative location : ("1283 G4cout << "ROI image relative location : (" 1277 1284 << iCenter[0] << ", " 1278 1285 << iCenter[1] << ", " 1279 << iCenter[2] << ")" << std::endl;1286 << iCenter[2] << ")" << G4endl; 1280 1287 } 1281 1288 } … … 1286 1293 ofile.write((char *)&ntrk, sizeof(int)); 1287 1294 if(DEBUG || kVerbose > 0) { 1288 std::cout << "# of tracks : "1289 << ntrk << std::endl;1295 G4cout << "# of tracks : " 1296 << ntrk << G4endl; 1290 1297 } 1291 1298 // track position … … 1297 1304 int ntcolor = int(kStepColors.size()); 1298 1305 if(ntrk != ntcolor) 1299 std::cerr << "# of track color information must be the same as # of tracks." 1300 << std::endl; 1306 if (G4VisManager::GetVerbosity() >= G4VisManager::errors) 1307 G4cout << "# of track color information must be the same as # of tracks." 1308 << G4endl; 1301 1309 unsigned char white[3] = {255,255,255}; // default color 1302 1310 for(int i = 0; i < ntrk; i++) { … … 1325 1333 bool G4GMocrenIO::storeData2() { 1326 1334 1327 if(kVerbose > 0) std::cout << ">>>>>>> store data (ver.2) <<<<<<<" << std::endl;1328 if(kVerbose > 0) std::cout << " " << kFileName << std::endl;1335 if(kVerbose > 0) G4cout << ">>>>>>> store data (ver.2) <<<<<<<" << G4endl; 1336 if(kVerbose > 0) G4cout << " " << kFileName << G4endl; 1329 1337 1330 1338 bool DEBUG = false;// … … 1361 1369 ofile.write((char *)kVoxelSpacing, 12); 1362 1370 if(DEBUG || kVerbose > 0) { 1363 std::cout << "Voxel spacing : ("1371 G4cout << "Voxel spacing : (" 1364 1372 << kVoxelSpacing[0] << ", " 1365 1373 << kVoxelSpacing[1] << ", " 1366 1374 << kVoxelSpacing[2] 1367 << ") mm " << std::endl;1375 << ") mm " << G4endl; 1368 1376 } 1369 1377 … … 1381 1389 ofile.write((char *)&kPointerToTrackData, 4); 1382 1390 if(DEBUG || kVerbose > 0) { 1383 std::cout << "Each pointer to data : "1391 G4cout << "Each pointer to data : " 1384 1392 << kPointerToModalityData << ", " 1385 1393 << kPointerToDoseDistData[0] << ", " 1386 1394 << kPointerToROIData << ", " 1387 << kPointerToTrackData << std::endl;1395 << kPointerToTrackData << G4endl; 1388 1396 } 1389 1397 … … 1399 1407 ofile.write((char *)size, 3*sizeof(int)); 1400 1408 if(DEBUG || kVerbose > 0) { 1401 std::cout << "Modality image size : ("1409 G4cout << "Modality image size : (" 1402 1410 << size[0] << ", " 1403 1411 << size[1] << ", " 1404 1412 << size[2] << ")" 1405 << std::endl;1413 << G4endl; 1406 1414 } 1407 1415 … … 1418 1426 ofile.write((char *)&scale, 4); 1419 1427 if(DEBUG || kVerbose > 0) { 1420 std::cout << "Modality image min., max., scale : "1428 G4cout << "Modality image min., max., scale : " 1421 1429 << minmax[0] << ", " 1422 1430 << minmax[1] << ", " 1423 << scale << std::endl;1431 << scale << G4endl; 1424 1432 } 1425 1433 1426 1434 // modality image 1427 1435 int psize = size[0]*size[1]; 1428 if(DEBUG || kVerbose > 0) std::cout << "Modality image : ";1436 if(DEBUG || kVerbose > 0) G4cout << "Modality image : "; 1429 1437 for(int i = 0; i < size[2]; i++) { 1430 1438 short * image =kModality.getImage(i); 1431 1439 ofile.write((char *)image, psize*sizeof(short)); 1432 1440 1433 if(DEBUG || kVerbose > 0) std::cout << "[" << i << "]" << image[(size_t)(psize*0.55)] << ", ";1434 } 1435 if(DEBUG || kVerbose > 0) std::cout << std::endl;1441 if(DEBUG || kVerbose > 0) G4cout << "[" << i << "]" << image[(size_t)(psize*0.55)] << ", "; 1442 } 1443 if(DEBUG || kVerbose > 0) G4cout << G4endl; 1436 1444 1437 1445 // modality desity map for CT value … … 1441 1449 ofile.write((char *)pdmap, msize*sizeof(float)); 1442 1450 if(DEBUG || kVerbose > 0) { 1443 std::cout << "density map : " << std::ends;1451 G4cout << "density map : " << std::ends; 1444 1452 for(int i = 0; i < (int)msize; i+=50) 1445 std::cout <<kModalityImageDensityMap[i] << ", ";1446 std::cout << std::endl;1453 G4cout <<kModalityImageDensityMap[i] << ", "; 1454 G4cout << G4endl; 1447 1455 } 1448 1456 delete [] pdmap; … … 1458 1466 ofile.write((char *)size, 3*sizeof(int)); 1459 1467 if(DEBUG || kVerbose > 0) { 1460 std::cout << "Dose dist. image size : ("1468 G4cout << "Dose dist. image size : (" 1461 1469 << size[0] << ", " 1462 1470 << size[1] << ", " 1463 1471 << size[2] << ")" 1464 << std::endl;1472 << G4endl; 1465 1473 } 1466 1474 … … 1473 1481 ofile.write((char *)&scale, sizeof(float)); 1474 1482 if(DEBUG || kVerbose > 0) { 1475 std::cout << "Dose dist. image min., max., scale : "1483 G4cout << "Dose dist. image min., max., scale : " 1476 1484 << minmax[0] << ", " 1477 1485 << minmax[1] << ", " 1478 << scale << std::endl;1486 << scale << G4endl; 1479 1487 } 1480 1488 … … 1489 1497 for(int j = 0; j < dsize; j++) { 1490 1498 if(dimage[j] < 0) 1491 std::cout << "[" << j << "," << z << "]"1499 G4cout << "[" << j << "," << z << "]" 1492 1500 << dimage[j] << ", "; 1493 1501 } 1494 1502 } 1495 1503 } 1496 if(DEBUG || kVerbose > 0) std::cout << std::endl;1504 if(DEBUG || kVerbose > 0) G4cout << G4endl; 1497 1505 delete [] dimage; 1498 1506 … … 1503 1511 ofile.write((char *)iCenter, 3*sizeof(int)); 1504 1512 if(DEBUG || kVerbose > 0) { 1505 std::cout << "Dose dist. image relative location : ("1513 G4cout << "Dose dist. image relative location : (" 1506 1514 << iCenter[0] << ", " 1507 1515 << iCenter[1] << ", " 1508 << iCenter[2] << ")" << std::endl;1516 << iCenter[2] << ")" << G4endl; 1509 1517 } 1510 1518 … … 1517 1525 ofile.write((char *)size, 3*sizeof(int)); 1518 1526 if(DEBUG || kVerbose > 0) { 1519 std::cout << "ROI image size : ("1527 G4cout << "ROI image size : (" 1520 1528 << size[0] << ", " 1521 1529 << size[1] << ", " 1522 1530 << size[2] << ")" 1523 << std::endl;1531 << G4endl; 1524 1532 } 1525 1533 … … 1532 1540 ofile.write((char *)&scale, sizeof(float)); 1533 1541 if(DEBUG || kVerbose > 0) { 1534 std::cout << "ROI image min., max., scale : "1542 G4cout << "ROI image min., max., scale : " 1535 1543 << minmax[0] << ", " 1536 1544 << minmax[1] << ", " 1537 << scale << std::endl;1545 << scale << G4endl; 1538 1546 } 1539 1547 … … 1551 1559 ofile.write((char *)iCenter, 3*sizeof(int)); 1552 1560 if(DEBUG || kVerbose > 0) { 1553 std::cout << "ROI image relative location : ("1561 G4cout << "ROI image relative location : (" 1554 1562 << iCenter[0] << ", " 1555 1563 << iCenter[1] << ", " 1556 << iCenter[2] << ")" << std::endl;1564 << iCenter[2] << ")" << G4endl; 1557 1565 } 1558 1566 } … … 1564 1572 ofile.write((char *)&ntrk, sizeof(int)); 1565 1573 if(DEBUG || kVerbose > 0) { 1566 std::cout << "# of tracks : "1567 << ntrk << std::endl;1574 G4cout << "# of tracks : " 1575 << ntrk << G4endl; 1568 1576 } 1569 1577 for(int i = 0; i < ntrk; i++) { … … 1591 1599 std::ifstream ifile(kFileName.c_str(), std::ios_base::in|std::ios_base::binary); 1592 1600 if(!ifile) { 1593 std::cerr << "Cannot open file: " << kFileName 1594 << " in G4GMocrenIO::retrieveData()." << std::endl; 1601 if (G4VisManager::GetVerbosity() >= G4VisManager::errors) 1602 G4cout << "Cannot open file: " << kFileName 1603 << " in G4GMocrenIO::retrieveData()." << G4endl; 1595 1604 return false; 1596 1605 } … … 1606 1615 if(std::strncmp(verid, "gMocren", 7) == 0) { 1607 1616 if(ver == 0x03) { 1608 std::cout << ">>>>>>> retrieve data (ver.3) <<<<<<<" << std::endl;1609 std::cout << " " << kFileName << std::endl;1617 G4cout << ">>>>>>> retrieve data (ver.3) <<<<<<<" << G4endl; 1618 G4cout << " " << kFileName << G4endl; 1610 1619 retrieveData3(); 1611 1620 } else if (ver == 0x04) { 1612 std::cout << ">>>>>>> retrieve data (ver.4) <<<<<<<" << std::endl;1613 std::cout << " " << kFileName << std::endl;1621 G4cout << ">>>>>>> retrieve data (ver.4) <<<<<<<" << G4endl; 1622 G4cout << " " << kFileName << G4endl; 1614 1623 retrieveData4(); 1615 1624 } else { 1616 std::cerr << "Error -- invalid file version : " << (int)ver 1617 << std::endl; 1618 std::cerr << " " << kFileName << std::endl; 1625 if (G4VisManager::GetVerbosity() >= G4VisManager::errors) { 1626 G4cout << "Error -- invalid file version : " << (int)ver 1627 << G4endl; 1628 G4cout << " " << kFileName << G4endl; 1629 } 1619 1630 std::exit(-1); 1620 1631 } 1621 1632 } else if(std::strncmp(verid, "GRAPE", 5) == 0) { 1622 std::cout << ">>>>>>> retrieve data (ver.2) <<<<<<<" << std::endl;1623 std::cout << " " << kFileName << std::endl;1633 G4cout << ">>>>>>> retrieve data (ver.2) <<<<<<<" << G4endl; 1634 G4cout << " " << kFileName << G4endl; 1624 1635 retrieveData2(); 1625 1636 } else { 1626 std::cerr << kFileName << " was not gdd file." << std::endl; 1637 if (G4VisManager::GetVerbosity() >= G4VisManager::errors) 1638 G4cout << kFileName << " was not gdd file." << G4endl; 1627 1639 return false; 1628 1640 } … … 1644 1656 std::ifstream ifile(kFileName.c_str(), std::ios_base::in|std::ios_base::binary); 1645 1657 if(!ifile) { 1646 std::cerr << "Cannot open file: " << kFileName 1647 << " in G4GMocrenIO::retrieveData3()." << std::endl; 1658 if (G4VisManager::GetVerbosity() >= G4VisManager::errors) 1659 G4cout << "Cannot open file: " << kFileName 1660 << " in G4GMocrenIO::retrieveData3()." << G4endl; 1648 1661 return false; 1649 1662 } … … 1662 1675 ss << (int)ver; 1663 1676 kVersion = ss.str(); 1664 if(DEBUG || kVerbose > 0) std::cout << "File version : " << kVersion << std::endl;1677 if(DEBUG || kVerbose > 0) G4cout << "File version : " << kVersion << G4endl; 1665 1678 1666 1679 // endian 1667 1680 ifile.read((char *)&kLittleEndianInput, sizeof(char)); 1668 1681 if(DEBUG || kVerbose > 0) { 1669 std::cout << "Endian : ";1682 G4cout << "Endian : "; 1670 1683 if(kLittleEndianInput == 1) 1671 std::cout << " little" << std::endl;1684 G4cout << " little" << G4endl; 1672 1685 else { 1673 std::cout << " big" << std::endl;1686 G4cout << " big" << G4endl; 1674 1687 } 1675 1688 } … … 1686 1699 setComment(scmt); 1687 1700 if(DEBUG || kVerbose > 0) { 1688 std::cout << "Data comment : "1689 << kComment << std::endl;1701 G4cout << "Data comment : " 1702 << kComment << G4endl; 1690 1703 } 1691 1704 … … 1696 1709 convertEndian(ctmp+8, kVoxelSpacing[2]); 1697 1710 if(DEBUG || kVerbose > 0) { 1698 std::cout << "Voxel spacing : ("1711 G4cout << "Voxel spacing : (" 1699 1712 << kVoxelSpacing[0] << ", " 1700 1713 << kVoxelSpacing[1] << ", " 1701 1714 << kVoxelSpacing[2] 1702 << ") mm " << std::endl;1715 << ") mm " << G4endl; 1703 1716 } 1704 1717 … … 1734 1747 1735 1748 if(DEBUG || kVerbose > 0) { 1736 std::cout << "Each pointer to data : "1749 G4cout << "Each pointer to data : " 1737 1750 << kPointerToModalityData << ", "; 1738 1751 for(int i = 0; i < nDoseDist; i++) 1739 std::cout << kPointerToDoseDistData[i] << ", ";1740 std::cout << kPointerToROIData << ", "1752 G4cout << kPointerToDoseDistData[i] << ", "; 1753 G4cout << kPointerToROIData << ", " 1741 1754 << kPointerToTrackData << ", " 1742 1755 << kPointerToDetectorData 1743 << std::endl;1756 << G4endl; 1744 1757 } 1745 1758 … … 1749 1762 kPointerToROIData == 0 && kPointerToTrackData == 0) { 1750 1763 if(DEBUG || kVerbose > 0) { 1751 std::cout << "No data." << std::endl;1764 G4cout << "No data." << G4endl; 1752 1765 } 1753 1766 return false; … … 1774 1787 convertEndian(ctmp+2*sizeof(int), size[2]); 1775 1788 if(DEBUG || kVerbose > 0) { 1776 std::cout << "Modality image size : ("1789 G4cout << "Modality image size : (" 1777 1790 << size[0] << ", " 1778 1791 << size[1] << ", " 1779 1792 << size[2] << ")" 1780 << std::endl;1793 << G4endl; 1781 1794 } 1782 1795 kModality.setSize(size); … … 1810 1823 kModality.setScale(dscale = scale); 1811 1824 if(DEBUG || kVerbose > 0) { 1812 std::cout << "Modality image min., max., scale : "1825 G4cout << "Modality image min., max., scale : " 1813 1826 << minmax[0] << ", " 1814 1827 << minmax[1] << ", " 1815 << scale << std::endl;1828 << scale << G4endl; 1816 1829 } 1817 1830 1818 1831 // modality density 1819 1832 int psize = size[0]*size[1]; 1820 if(DEBUG || kVerbose > 0) std::cout << "Modality image (" << psize << "): ";1833 if(DEBUG || kVerbose > 0) G4cout << "Modality image (" << psize << "): "; 1821 1834 char * cimage = new char[psize*sizeof(short)]; 1822 1835 for(int i = 0; i < size[2]; i++) { … … 1828 1841 kModality.addImage(mimage); 1829 1842 1830 if(DEBUG || kVerbose > 0) std::cout << "[" << i << "]" << mimage[(size_t)(psize*0.55)] << ", ";1831 } 1832 if(DEBUG || kVerbose > 0) std::cout << std::endl;1843 if(DEBUG || kVerbose > 0) G4cout << "[" << i << "]" << mimage[(size_t)(psize*0.55)] << ", "; 1844 } 1845 if(DEBUG || kVerbose > 0) G4cout << G4endl; 1833 1846 delete [] cimage; 1834 1847 1835 1848 // modality desity map for CT value 1836 1849 size_t msize = minmax[1]-minmax[0]+1; 1837 if(DEBUG || kVerbose > 0) std::cout << "msize: " << msize << std::endl;1850 if(DEBUG || kVerbose > 0) G4cout << "msize: " << msize << G4endl; 1838 1851 char * pdmap = new char[msize*sizeof(float)]; 1839 1852 ifile.read((char *)pdmap, msize*sizeof(float)); … … 1844 1857 } 1845 1858 if(DEBUG || kVerbose > 0) { 1846 std::cout << "density map : " << std::ends;1859 G4cout << "density map : " << std::ends; 1847 1860 for(int i = 0; i < 10; i++) 1848 std::cout <<kModalityImageDensityMap[i] << ", ";1849 std::cout << std::endl;1850 for(int i = 0; i < 10; i++) std::cout << "..";1851 std::cout << std::endl;1861 G4cout <<kModalityImageDensityMap[i] << ", "; 1862 G4cout << G4endl; 1863 for(int i = 0; i < 10; i++) G4cout << ".."; 1864 G4cout << G4endl; 1852 1865 for(size_t i =kModalityImageDensityMap.size() - 10; i <kModalityImageDensityMap.size(); i++) 1853 std::cout <<kModalityImageDensityMap[i] << ", ";1854 std::cout << std::endl;1866 G4cout <<kModalityImageDensityMap[i] << ", "; 1867 G4cout << G4endl; 1855 1868 } 1856 1869 … … 1869 1882 convertEndian(ctmp+2*sizeof(int), size[2]); 1870 1883 if(DEBUG || kVerbose > 0) { 1871 std::cout << "Dose dist. image size : ("1884 G4cout << "Dose dist. image size : (" 1872 1885 << size[0] << ", " 1873 1886 << size[1] << ", " 1874 1887 << size[2] << ")" 1875 << std::endl;1888 << G4endl; 1876 1889 } 1877 1890 kDose[ndose].setSize(size); … … 1889 1902 setDoseDistUnit(sdunit, ndose); 1890 1903 if(DEBUG || kVerbose > 0) { 1891 std::cout << "Dose dist. unit : " << kDoseUnit << std::endl;1904 G4cout << "Dose dist. unit : " << kDoseUnit << G4endl; 1892 1905 } 1893 1906 … … 1902 1915 1903 1916 if(DEBUG || kVerbose > 0) { 1904 std::cout << "Dose dist. image min., max., scale : "1917 G4cout << "Dose dist. image min., max., scale : " 1905 1918 << dminmax[0] << ", " 1906 1919 << dminmax[1] << ", " 1907 << scale << std::endl;1920 << scale << G4endl; 1908 1921 } 1909 1922 1910 1923 // dose distribution image 1911 1924 int dsize = size[0]*size[1]; 1912 if(DEBUG || kVerbose > 0) std::cout << "Dose dist. (" << dsize << "): ";1925 if(DEBUG || kVerbose > 0) G4cout << "Dose dist. (" << dsize << "): "; 1913 1926 char * di = new char[dsize*sizeof(short)]; 1914 1927 short * shimage = new short[dsize]; … … 1922 1935 kDose[ndose].addImage(dimage); 1923 1936 1924 if(DEBUG || kVerbose > 0) std::cout << "[" << z << "]" << dimage[(size_t)(dsize*0.55)] << ", ";1937 if(DEBUG || kVerbose > 0) G4cout << "[" << z << "]" << dimage[(size_t)(dsize*0.55)] << ", "; 1925 1938 1926 1939 if(DEBUG || kVerbose > 0) { 1927 1940 for(int j = 0; j < dsize; j++) { 1928 1941 if(dimage[j] < 0) 1929 std::cout << "[" << j << "," << z << "]"1942 G4cout << "[" << j << "," << z << "]" 1930 1943 << dimage[j] << ", "; 1931 1944 } … … 1934 1947 delete [] shimage; 1935 1948 delete [] di; 1936 if(DEBUG || kVerbose > 0) std::cout << std::endl;1949 if(DEBUG || kVerbose > 0) G4cout << G4endl; 1937 1950 1938 1951 ifile.read((char *)ctmp, 3*4); // 3*sizeof(int) … … 1944 1957 1945 1958 if(DEBUG || kVerbose > 0) { 1946 std::cout << "Dose dist. image relative location : ("1959 G4cout << "Dose dist. image relative location : (" 1947 1960 << fCenter[0] << ", " 1948 1961 << fCenter[1] << ", " 1949 << fCenter[2] << ")" << std::endl;1962 << fCenter[2] << ")" << G4endl; 1950 1963 } 1951 1964 … … 1957 1970 setDoseDistName(dosename, ndose); 1958 1971 if(DEBUG || kVerbose > 0) { 1959 std::cout << "Dose dist. name : " << dosename << std::endl;1972 G4cout << "Dose dist. name : " << dosename << G4endl; 1960 1973 } 1961 1974 … … 1974 1987 kRoi[0].setSize(size); 1975 1988 if(DEBUG || kVerbose > 0) { 1976 std::cout << "ROI image size : ("1989 G4cout << "ROI image size : (" 1977 1990 << size[0] << ", " 1978 1991 << size[1] << ", " 1979 1992 << size[2] << ")" 1980 << std::endl;1993 << G4endl; 1981 1994 } 1982 1995 … … 1992 2005 kRoi[0].setScale(dscale = scale); 1993 2006 if(DEBUG || kVerbose > 0) { 1994 std::cout << "ROI image min., max., scale : "2007 G4cout << "ROI image min., max., scale : " 1995 2008 << minmax[0] << ", " 1996 2009 << minmax[1] << ", " 1997 << scale << std::endl;2010 << scale << G4endl; 1998 2011 } 1999 2012 … … 2020 2033 kRoi[0].setCenterPosition(fCenter); 2021 2034 if(DEBUG || kVerbose > 0) { 2022 std::cout << "ROI image relative location : ("2035 G4cout << "ROI image relative location : (" 2023 2036 << fCenter[0] << ", " 2024 2037 << fCenter[1] << ", " 2025 << fCenter[2] << ")" << std::endl;2038 << fCenter[2] << ")" << G4endl; 2026 2039 } 2027 2040 … … 2036 2049 convertEndian(ctmp, ntrk); 2037 2050 if(DEBUG || kVerbose > 0) { 2038 std::cout << "# of tracks: " << ntrk << std::endl;2051 G4cout << "# of tracks: " << ntrk << G4endl; 2039 2052 } 2040 2053 … … 2071 2084 if(DEBUG || kVerbose > 0) { 2072 2085 if(i < 5) { 2073 std::cout << i << ": " ;2074 for(int j = 0; j < 3; j++) std::cout << steps[0][j] << " ";2086 G4cout << i << ": " ; 2087 for(int j = 0; j < 3; j++) G4cout << steps[0][j] << " "; 2075 2088 int nstp = steps.size(); 2076 std::cout << "<-> ";2077 for(int j = 3; j < 6; j++) std::cout << steps[nstp-1][j] << " ";2078 std::cout << " rgb( ";2079 for(int j = 0; j < 3; j++) std::cout << (int)rgb[j] << " ";2080 std::cout << ")" << std::endl;2089 G4cout << "<-> "; 2090 for(int j = 3; j < 6; j++) G4cout << steps[nstp-1][j] << " "; 2091 G4cout << " rgb( "; 2092 for(int j = 0; j < 3; j++) G4cout << (int)rgb[j] << " "; 2093 G4cout << ")" << G4endl; 2081 2094 } 2082 2095 } … … 2096 2109 2097 2110 if(DEBUG || kVerbose > 0) { 2098 std::cout << "# of detectors : "2099 << ndet << std::endl;2111 G4cout << "# of detectors : " 2112 << ndet << G4endl; 2100 2113 } 2101 2114 … … 2107 2120 convertEndian(ctmp, nedges); 2108 2121 if(DEBUG || kVerbose > 0) { 2109 std::cout << "# of edges in a detector : " << nedges << std::endl;2122 G4cout << "# of edges in a detector : " << nedges << G4endl; 2110 2123 } 2111 2124 … … 2123 2136 2124 2137 if(DEBUG || kVerbose > 0) { 2125 std::cout << " first edge : (" << detector[0][0] << ", "2138 G4cout << " first edge : (" << detector[0][0] << ", " 2126 2139 << detector[0][1] << ", " 2127 2140 << detector[0][2] << ") - (" 2128 2141 << detector[0][3] << ", " 2129 2142 << detector[0][4] << ", " 2130 << detector[0][5] << ")" << std::endl;2143 << detector[0][5] << ")" << G4endl; 2131 2144 } 2132 2145 … … 2135 2148 ifile.read((char *)dcolor, 3); 2136 2149 if(DEBUG || kVerbose > 0) { 2137 std::cout << " detector color : rgb("2150 G4cout << " detector color : rgb(" 2138 2151 << (int)dcolor[0] << ", " 2139 2152 << (int)dcolor[1] << ", " 2140 << (int)dcolor[2] << std::endl;2153 << (int)dcolor[2] << G4endl; 2141 2154 } 2142 2155 … … 2147 2160 std::string dname = cname; 2148 2161 if(DEBUG || kVerbose > 0) { 2149 std::cout << " detector name : " << dname << std::endl;2162 G4cout << " detector name : " << dname << G4endl; 2150 2163 } 2151 2164 … … 2174 2187 std::ifstream ifile(kFileName.c_str(), std::ios_base::in|std::ios_base::binary); 2175 2188 if(!ifile) { 2176 std::cerr << "Cannot open file: " << kFileName 2177 << " in G4GMocrenIO::retrieveData3()." << std::endl; 2189 if (G4VisManager::GetVerbosity() >= G4VisManager::errors) 2190 G4cout << "Cannot open file: " << kFileName 2191 << " in G4GMocrenIO::retrieveData3()." << G4endl; 2178 2192 return false; 2179 2193 } … … 2192 2206 ss << (int)ver; 2193 2207 kVersion = ss.str(); 2194 if(DEBUG || kVerbose > 0) std::cout << "File version : " << kVersion << std::endl;2208 if(DEBUG || kVerbose > 0) G4cout << "File version : " << kVersion << G4endl; 2195 2209 2196 2210 // endian 2197 2211 ifile.read((char *)&kLittleEndianInput, sizeof(char)); 2198 2212 if(DEBUG || kVerbose > 0) { 2199 std::cout << "Endian : ";2213 G4cout << "Endian : "; 2200 2214 if(kLittleEndianInput == 1) 2201 std::cout << " little" << std::endl;2215 G4cout << " little" << G4endl; 2202 2216 else { 2203 std::cout << " big" << std::endl;2217 G4cout << " big" << G4endl; 2204 2218 } 2205 2219 } … … 2215 2229 setComment(scmt); 2216 2230 if(DEBUG || kVerbose > 0) { 2217 std::cout << "Data comment : "2218 << kComment << std::endl;2231 G4cout << "Data comment : " 2232 << kComment << G4endl; 2219 2233 } 2220 2234 … … 2225 2239 convertEndian(ctmp+8, kVoxelSpacing[2]); 2226 2240 if(DEBUG || kVerbose > 0) { 2227 std::cout << "Voxel spacing : ("2241 G4cout << "Voxel spacing : (" 2228 2242 << kVoxelSpacing[0] << ", " 2229 2243 << kVoxelSpacing[1] << ", " 2230 2244 << kVoxelSpacing[2] 2231 << ") mm " << std::endl;2245 << ") mm " << G4endl; 2232 2246 } 2233 2247 … … 2258 2272 convertEndian(ctmp, kPointerToTrackData); 2259 2273 if(DEBUG || kVerbose > 0) { 2260 std::cout << "Each pointer to data : "2274 G4cout << "Each pointer to data : " 2261 2275 << kPointerToModalityData << ", "; 2262 2276 for(int i = 0; i < nDoseDist; i++) 2263 std::cout << kPointerToDoseDistData[0] << ", ";2264 std::cout << kPointerToROIData << ", "2265 << kPointerToTrackData << std::endl;2277 G4cout << kPointerToDoseDistData[0] << ", "; 2278 G4cout << kPointerToROIData << ", " 2279 << kPointerToTrackData << G4endl; 2266 2280 } 2267 2281 … … 2269 2283 kPointerToROIData == 0 && kPointerToTrackData == 0) { 2270 2284 if(DEBUG || kVerbose > 0) { 2271 std::cout << "No data." << std::endl;2285 G4cout << "No data." << G4endl; 2272 2286 } 2273 2287 return false; … … 2294 2308 convertEndian(ctmp+2*sizeof(int), size[2]); 2295 2309 if(DEBUG || kVerbose > 0) { 2296 std::cout << "Modality image size : ("2310 G4cout << "Modality image size : (" 2297 2311 << size[0] << ", " 2298 2312 << size[1] << ", " 2299 2313 << size[2] << ")" 2300 << std::endl;2314 << G4endl; 2301 2315 } 2302 2316 kModality.setSize(size); … … 2329 2343 kModality.setScale(dscale = scale); 2330 2344 if(DEBUG || kVerbose > 0) { 2331 std::cout << "Modality image min., max., scale : "2345 G4cout << "Modality image min., max., scale : " 2332 2346 << minmax[0] << ", " 2333 2347 << minmax[1] << ", " 2334 << scale << std::endl;2348 << scale << G4endl; 2335 2349 } 2336 2350 2337 2351 // modality density 2338 2352 int psize = size[0]*size[1]; 2339 if(DEBUG || kVerbose > 0) std::cout << "Modality image (" << psize << "): ";2353 if(DEBUG || kVerbose > 0) G4cout << "Modality image (" << psize << "): "; 2340 2354 char * cimage = new char[psize*sizeof(short)]; 2341 2355 for(int i = 0; i < size[2]; i++) { … … 2347 2361 kModality.addImage(mimage); 2348 2362 2349 if(DEBUG || kVerbose > 0) std::cout << "[" << i << "]" << mimage[(size_t)(psize*0.55)] << ", ";2350 } 2351 if(DEBUG || kVerbose > 0) std::cout << std::endl;2363 if(DEBUG || kVerbose > 0) G4cout << "[" << i << "]" << mimage[(size_t)(psize*0.55)] << ", "; 2364 } 2365 if(DEBUG || kVerbose > 0) G4cout << G4endl; 2352 2366 delete [] cimage; 2353 2367 2354 2368 // modality desity map for CT value 2355 2369 size_t msize = minmax[1]-minmax[0]+1; 2356 if(DEBUG || kVerbose > 0) std::cout << "msize: " << msize << std::endl;2370 if(DEBUG || kVerbose > 0) G4cout << "msize: " << msize << G4endl; 2357 2371 char * pdmap = new char[msize*sizeof(float)]; 2358 2372 ifile.read((char *)pdmap, msize*sizeof(float)); … … 2363 2377 } 2364 2378 if(DEBUG || kVerbose > 0) { 2365 std::cout << "density map : " << std::ends;2379 G4cout << "density map : " << std::ends; 2366 2380 for(int i = 0; i < 10; i++) 2367 std::cout <<kModalityImageDensityMap[i] << ", ";2368 std::cout << std::endl;2369 for(int i = 0; i < 10; i++) std::cout << "..";2370 std::cout << std::endl;2381 G4cout <<kModalityImageDensityMap[i] << ", "; 2382 G4cout << G4endl; 2383 for(int i = 0; i < 10; i++) G4cout << ".."; 2384 G4cout << G4endl; 2371 2385 for(size_t i =kModalityImageDensityMap.size() - 10; i <kModalityImageDensityMap.size(); i++) 2372 std::cout <<kModalityImageDensityMap[i] << ", ";2373 std::cout << std::endl;2386 G4cout <<kModalityImageDensityMap[i] << ", "; 2387 G4cout << G4endl; 2374 2388 } 2375 2389 … … 2388 2402 convertEndian(ctmp+2*sizeof(int), size[2]); 2389 2403 if(DEBUG || kVerbose > 0) { 2390 std::cout << "Dose dist. image size : ("2404 G4cout << "Dose dist. image size : (" 2391 2405 << size[0] << ", " 2392 2406 << size[1] << ", " 2393 2407 << size[2] << ")" 2394 << std::endl;2408 << G4endl; 2395 2409 } 2396 2410 kDose[ndose].setSize(size); … … 2407 2421 setDoseDistUnit(sdunit, ndose); 2408 2422 if(DEBUG || kVerbose > 0) { 2409 std::cout << "Dose dist. unit : " << kDoseUnit << std::endl;2423 G4cout << "Dose dist. unit : " << kDoseUnit << G4endl; 2410 2424 } 2411 2425 … … 2420 2434 2421 2435 if(DEBUG || kVerbose > 0) { 2422 std::cout << "Dose dist. image min., max., scale : "2436 G4cout << "Dose dist. image min., max., scale : " 2423 2437 << dminmax[0] << ", " 2424 2438 << dminmax[1] << ", " 2425 << scale << std::endl;2439 << scale << G4endl; 2426 2440 } 2427 2441 2428 2442 // dose distribution image 2429 2443 int dsize = size[0]*size[1]; 2430 if(DEBUG || kVerbose > 0) std::cout << "Dose dist. (" << dsize << "): ";2444 if(DEBUG || kVerbose > 0) G4cout << "Dose dist. (" << dsize << "): "; 2431 2445 char * di = new char[dsize*sizeof(short)]; 2432 2446 short * shimage = new short[dsize]; … … 2440 2454 kDose[ndose].addImage(dimage); 2441 2455 2442 if(DEBUG || kVerbose > 0) std::cout << "[" << z << "]" << dimage[(size_t)(dsize*0.55)] << ", ";2456 if(DEBUG || kVerbose > 0) G4cout << "[" << z << "]" << dimage[(size_t)(dsize*0.55)] << ", "; 2443 2457 2444 2458 if(DEBUG || kVerbose > 0) { 2445 2459 for(int j = 0; j < dsize; j++) { 2446 2460 if(dimage[j] < 0) 2447 std::cout << "[" << j << "," << z << "]"2461 G4cout << "[" << j << "," << z << "]" 2448 2462 << dimage[j] << ", "; 2449 2463 } … … 2452 2466 delete [] shimage; 2453 2467 delete [] di; 2454 if(DEBUG || kVerbose > 0) std::cout << std::endl;2468 if(DEBUG || kVerbose > 0) G4cout << G4endl; 2455 2469 2456 2470 ifile.read((char *)ctmp, 3*4); // 3*sizeof(int) … … 2462 2476 2463 2477 if(DEBUG || kVerbose > 0) { 2464 std::cout << "Dose dist. image relative location : ("2478 G4cout << "Dose dist. image relative location : (" 2465 2479 << fCenter[0] << ", " 2466 2480 << fCenter[1] << ", " 2467 << fCenter[2] << ")" << std::endl;2481 << fCenter[2] << ")" << G4endl; 2468 2482 } 2469 2483 … … 2483 2497 kRoi[0].setSize(size); 2484 2498 if(DEBUG || kVerbose > 0) { 2485 std::cout << "ROI image size : ("2499 G4cout << "ROI image size : (" 2486 2500 << size[0] << ", " 2487 2501 << size[1] << ", " 2488 2502 << size[2] << ")" 2489 << std::endl;2503 << G4endl; 2490 2504 } 2491 2505 … … 2501 2515 kRoi[0].setScale(dscale = scale); 2502 2516 if(DEBUG || kVerbose > 0) { 2503 std::cout << "ROI image min., max., scale : "2517 G4cout << "ROI image min., max., scale : " 2504 2518 << minmax[0] << ", " 2505 2519 << minmax[1] << ", " 2506 << scale << std::endl;2520 << scale << G4endl; 2507 2521 } 2508 2522 … … 2529 2543 kRoi[0].setCenterPosition(fCenter); 2530 2544 if(DEBUG || kVerbose > 0) { 2531 std::cout << "ROI image relative location : ("2545 G4cout << "ROI image relative location : (" 2532 2546 << fCenter[0] << ", " 2533 2547 << fCenter[1] << ", " 2534 << fCenter[2] << ")" << std::endl;2548 << fCenter[2] << ")" << G4endl; 2535 2549 } 2536 2550 … … 2545 2559 convertEndian(ctmp, ntrk); 2546 2560 if(DEBUG || kVerbose > 0) { 2547 std::cout << "# of tracks: " << ntrk << std::endl;2561 G4cout << "# of tracks: " << ntrk << G4endl; 2548 2562 } 2549 2563 … … 2556 2570 2557 2571 ifile.read((char *)ctmp, sizeof(float)*3); 2558 if(DEBUG || kVerbose > 0) if(i < 10) std::cout << i << ": " ;2572 if(DEBUG || kVerbose > 0) if(i < 10) G4cout << i << ": " ; 2559 2573 for(int j = 0; j < 3; j++) { 2560 2574 convertEndian(ctmp+j*sizeof(float), tp[j]); 2561 if(DEBUG || kVerbose > 0) if(i < 10) std::cout << tp[j] << ", ";2575 if(DEBUG || kVerbose > 0) if(i < 10) G4cout << tp[j] << ", "; 2562 2576 } 2563 2577 … … 2565 2579 for(int j = 0; j < 3; j++) { 2566 2580 convertEndian(ctmp+j*sizeof(float), tp[j+3]); 2567 if(DEBUG || kVerbose > 0) if(i < 10) std::cout << tp[j+3] << ", ";2581 if(DEBUG || kVerbose > 0) if(i < 10) G4cout << tp[j+3] << ", "; 2568 2582 } 2569 2583 addTrack(tp); 2570 if(DEBUG || kVerbose > 0) if(i < 10) std::cout << std::endl;2584 if(DEBUG || kVerbose > 0) if(i < 10) G4cout << G4endl; 2571 2585 2572 2586 // v4 … … 2610 2624 std::ifstream ifile(kFileName.c_str(), std::ios_base::in|std::ios_base::binary); 2611 2625 if(!ifile) { 2612 std::cerr << "Cannot open file: " << kFileName 2613 << " in G4GMocrenIO::retrieveData2()." << std::endl; 2626 if (G4VisManager::GetVerbosity() >= G4VisManager::errors) 2627 G4cout << "Cannot open file: " << kFileName 2628 << " in G4GMocrenIO::retrieveData2()." << G4endl; 2614 2629 return false; 2615 2630 } … … 2628 2643 ss << (int)ver; 2629 2644 kVersion = ss.str(); 2630 if(DEBUG || kVerbose > 0) std::cout << "File version : " << kVersion << std::endl;2645 if(DEBUG || kVerbose > 0) G4cout << "File version : " << kVersion << G4endl; 2631 2646 2632 2647 // id of version 1 … … 2641 2656 ifile.read((char *)&kLittleEndianInput, sizeof(char)); 2642 2657 if(DEBUG || kVerbose > 0) { 2643 std::cout << "Endian : ";2658 G4cout << "Endian : "; 2644 2659 if(kLittleEndianInput == 1) 2645 std::cout << " little" << std::endl;2660 G4cout << " little" << G4endl; 2646 2661 else { 2647 std::cout << " big" << std::endl;2662 G4cout << " big" << G4endl; 2648 2663 } 2649 2664 } … … 2655 2670 convertEndian(ctmp+8, kVoxelSpacing[2]); 2656 2671 if(DEBUG || kVerbose > 0) { 2657 std::cout << "Voxel spacing : ("2672 G4cout << "Voxel spacing : (" 2658 2673 << kVoxelSpacing[0] << ", " 2659 2674 << kVoxelSpacing[1] << ", " 2660 2675 << kVoxelSpacing[2] 2661 << ") mm " << std::endl;2676 << ") mm " << G4endl; 2662 2677 } 2663 2678 … … 2681 2696 convertEndian(ctmp, kPointerToTrackData); 2682 2697 if(DEBUG || kVerbose > 0) { 2683 std::cout << "Each pointer to data : "2698 G4cout << "Each pointer to data : " 2684 2699 << kPointerToModalityData << ", " 2685 2700 << kPointerToDoseDistData[0] << ", " 2686 2701 << kPointerToROIData << ", " 2687 << kPointerToTrackData << std::endl;2702 << kPointerToTrackData << G4endl; 2688 2703 } 2689 2704 … … 2691 2706 kPointerToROIData == 0 && kPointerToTrackData == 0) { 2692 2707 if(DEBUG || kVerbose > 0) { 2693 std::cout << "No data." << std::endl;2708 G4cout << "No data." << G4endl; 2694 2709 } 2695 2710 return false; … … 2716 2731 convertEndian(ctmp+2*sizeof(int), size[2]); 2717 2732 if(DEBUG || kVerbose > 0) { 2718 std::cout << "Modality image size : ("2733 G4cout << "Modality image size : (" 2719 2734 << size[0] << ", " 2720 2735 << size[1] << ", " 2721 2736 << size[2] << ")" 2722 << std::endl;2737 << G4endl; 2723 2738 } 2724 2739 kModality.setSize(size); … … 2745 2760 kModality.setScale(dscale = scale); 2746 2761 if(DEBUG || kVerbose > 0) { 2747 std::cout << "Modality image min., max., scale : "2762 G4cout << "Modality image min., max., scale : " 2748 2763 << minmax[0] << ", " 2749 2764 << minmax[1] << ", " 2750 << scale << std::endl;2765 << scale << G4endl; 2751 2766 } 2752 2767 2753 2768 // modality density 2754 2769 int psize = size[0]*size[1]; 2755 if(DEBUG || kVerbose > 0) std::cout << "Modality image (" << psize << "): ";2770 if(DEBUG || kVerbose > 0) G4cout << "Modality image (" << psize << "): "; 2756 2771 char * cimage = new char[psize*sizeof(short)]; 2757 2772 for(int i = 0; i < size[2]; i++) { … … 2763 2778 kModality.addImage(mimage); 2764 2779 2765 if(DEBUG || kVerbose > 0) std::cout << "[" << i << "]" << mimage[(size_t)(psize*0.55)] << ", ";2766 } 2767 if(DEBUG || kVerbose > 0) std::cout << std::endl;2780 if(DEBUG || kVerbose > 0) G4cout << "[" << i << "]" << mimage[(size_t)(psize*0.55)] << ", "; 2781 } 2782 if(DEBUG || kVerbose > 0) G4cout << G4endl; 2768 2783 delete [] cimage; 2769 2784 2770 2785 // modality desity map for CT value 2771 2786 size_t msize = minmax[1]-minmax[0]+1; 2772 if(DEBUG || kVerbose > 0) std::cout << "msize: " << msize << std::endl;2787 if(DEBUG || kVerbose > 0) G4cout << "msize: " << msize << G4endl; 2773 2788 char * pdmap = new char[msize*sizeof(float)]; 2774 2789 ifile.read((char *)pdmap, msize*sizeof(float)); … … 2779 2794 } 2780 2795 if(DEBUG || kVerbose > 0) { 2781 std::cout << "density map : " << std::ends;2796 G4cout << "density map : " << std::ends; 2782 2797 for(int i = 0; i < 10; i++) 2783 std::cout <<kModalityImageDensityMap[i] << ", ";2784 std::cout << std::endl;2785 for(int i = 0; i < 10; i++) std::cout << "..";2786 std::cout << std::endl;2798 G4cout <<kModalityImageDensityMap[i] << ", "; 2799 G4cout << G4endl; 2800 for(int i = 0; i < 10; i++) G4cout << ".."; 2801 G4cout << G4endl; 2787 2802 for(size_t i =kModalityImageDensityMap.size() - 10; i <kModalityImageDensityMap.size(); i++) 2788 std::cout <<kModalityImageDensityMap[i] << ", ";2789 std::cout << std::endl;2803 G4cout <<kModalityImageDensityMap[i] << ", "; 2804 G4cout << G4endl; 2790 2805 } 2791 2806 … … 2804 2819 convertEndian(ctmp+2*sizeof(int), size[2]); 2805 2820 if(DEBUG || kVerbose > 0) { 2806 std::cout << "Dose dist. image size : ("2821 G4cout << "Dose dist. image size : (" 2807 2822 << size[0] << ", " 2808 2823 << size[1] << ", " 2809 2824 << size[2] << ")" 2810 << std::endl;2825 << G4endl; 2811 2826 } 2812 2827 kDose[0].setSize(size); … … 2826 2841 2827 2842 if(DEBUG || kVerbose > 0) { 2828 std::cout << "Dose dist. image min., max., scale : "2843 G4cout << "Dose dist. image min., max., scale : " 2829 2844 << dminmax[0] << ", " 2830 2845 << dminmax[1] << ", " 2831 << scale << std::endl;2846 << scale << G4endl; 2832 2847 } 2833 2848 2834 2849 // dose distribution image 2835 2850 int dsize = size[0]*size[1]; 2836 if(DEBUG || kVerbose > 0) std::cout << "Dose dist. (" << dsize << "): ";2851 if(DEBUG || kVerbose > 0) G4cout << "Dose dist. (" << dsize << "): "; 2837 2852 char * di = new char[dsize*sizeof(short)]; 2838 2853 short * shimage = new short[dsize]; … … 2846 2861 kDose[0].addImage(dimage); 2847 2862 2848 if(DEBUG || kVerbose > 0) std::cout << "[" << z << "]" << dimage[(size_t)(dsize*0.55)] << ", ";2863 if(DEBUG || kVerbose > 0) G4cout << "[" << z << "]" << dimage[(size_t)(dsize*0.55)] << ", "; 2849 2864 2850 2865 if(DEBUG || kVerbose > 0) { 2851 2866 for(int j = 0; j < dsize; j++) { 2852 2867 if(dimage[j] < 0) 2853 std::cout << "[" << j << "," << z << "]"2868 G4cout << "[" << j << "," << z << "]" 2854 2869 << dimage[j] << ", "; 2855 2870 } … … 2858 2873 delete [] shimage; 2859 2874 delete [] di; 2860 if(DEBUG || kVerbose > 0) std::cout << std::endl;2875 if(DEBUG || kVerbose > 0) G4cout << G4endl; 2861 2876 2862 2877 /* ver 1 … … 2902 2917 2903 2918 if(DEBUG || kVerbose > 0) { 2904 std::cout << "Dose dist. image relative location : ("2919 G4cout << "Dose dist. image relative location : (" 2905 2920 << fCenter[0] << ", " 2906 2921 << fCenter[1] << ", " 2907 << fCenter[2] << ")" << std::endl;2922 << fCenter[2] << ")" << G4endl; 2908 2923 } 2909 2924 … … 2923 2938 kRoi[0].setSize(size); 2924 2939 if(DEBUG || kVerbose > 0) { 2925 std::cout << "ROI image size : ("2940 G4cout << "ROI image size : (" 2926 2941 << size[0] << ", " 2927 2942 << size[1] << ", " 2928 2943 << size[2] << ")" 2929 << std::endl;2944 << G4endl; 2930 2945 } 2931 2946 … … 2941 2956 kRoi[0].setScale(dscale = scale); 2942 2957 if(DEBUG || kVerbose > 0) { 2943 std::cout << "ROI image min., max., scale : "2958 G4cout << "ROI image min., max., scale : " 2944 2959 << minmax[0] << ", " 2945 2960 << minmax[1] << ", " 2946 << scale << std::endl;2961 << scale << G4endl; 2947 2962 } 2948 2963 … … 2969 2984 kRoi[0].setCenterPosition(fCenter); 2970 2985 if(DEBUG || kVerbose > 0) { 2971 std::cout << "ROI image relative location : ("2986 G4cout << "ROI image relative location : (" 2972 2987 << fCenter[0] << ", " 2973 2988 << fCenter[1] << ", " 2974 << fCenter[2] << ")" << std::endl;2989 << fCenter[2] << ")" << G4endl; 2975 2990 } 2976 2991 … … 2985 3000 convertEndian(ctmp, ntrk); 2986 3001 if(DEBUG || kVerbose > 0) { 2987 std::cout << "# of tracks: " << ntrk << std::endl;3002 G4cout << "# of tracks: " << ntrk << G4endl; 2988 3003 } 2989 3004 … … 2997 3012 2998 3013 ifile.read((char *)ctmp, sizeof(float)*3); 2999 if(DEBUG || kVerbose > 0) if(i < 10) std::cout << i << ": " ;3014 if(DEBUG || kVerbose > 0) if(i < 10) G4cout << i << ": " ; 3000 3015 for(int j = 0; j < 3; j++) { 3001 3016 convertEndian(ctmp+j*sizeof(float), tp[j]); 3002 if(DEBUG || kVerbose > 0) if(i < 10) std::cout << tp[j] << ", ";3017 if(DEBUG || kVerbose > 0) if(i < 10) G4cout << tp[j] << ", "; 3003 3018 } 3004 3019 … … 3006 3021 for(int j = 0; j < 3; j++) { 3007 3022 convertEndian(ctmp+j*sizeof(float), tp[j+3]); 3008 if(DEBUG || kVerbose > 0) if(i < 10) std::cout << tp[j+3] << ", ";3023 if(DEBUG || kVerbose > 0) if(i < 10) G4cout << tp[j+3] << ", "; 3009 3024 } 3010 3025 … … 3014 3029 addTrack(trkv4, trkcolorv4); 3015 3030 3016 if(DEBUG || kVerbose > 0) if(i < 10) std::cout << std::endl;3031 if(DEBUG || kVerbose > 0) if(i < 10) G4cout << G4endl; 3017 3032 } 3018 3033 … … 3217 3232 setPointerToTrackData(pointer0); 3218 3233 } 3219 if(kVerbose > 0) std::cout << " pointer to the track data :"3220 << kPointerToTrackData << std::endl;3234 if(kVerbose > 0) G4cout << " pointer to the track data :" 3235 << kPointerToTrackData << G4endl; 3221 3236 3222 3237 // pointer to detector data … … 3227 3242 kPointerToDetectorData = 0; 3228 3243 } 3229 if(kVerbose > 0) std::cout << " pointer to the detector data :"3230 << kPointerToDetectorData << std::endl;3244 if(kVerbose > 0) G4cout << " pointer to the detector data :" 3245 << kPointerToDetectorData << G4endl; 3231 3246 3232 3247 } … … 3431 3446 rval = minmax[1]; 3432 3447 for(int i = 0; i < nmap; i++) { 3433 // std::cout << kModalityImageDensityMap[i] << std::endl;3448 //G4cout << kModalityImageDensityMap[i] << G4endl; 3434 3449 if(_dens <= kModalityImageDensityMap[i]) { 3435 3450 rval = i + minmax[0]; … … 3558 3573 3559 3574 if(_data == NULL) { 3560 std::cerr << "In G4GMocrenIO::getShortDoseDist(), " 3561 << "first argument is NULL pointer. " 3562 << "The argument must be allocated array." 3563 << std::endl; 3575 if (G4VisManager::GetVerbosity() >= G4VisManager::errors) 3576 G4cout << "In G4GMocrenIO::getShortDoseDist(), " 3577 << "first argument is NULL pointer. " 3578 << "The argument must be allocated array." 3579 << G4endl; 3564 3580 std::exit(-1); 3565 3581 } … … 3599 3615 void G4GMocrenIO::getDoseDist(double * & _image, int _z, int _num) { 3600 3616 3601 std::cout << " <" << (void*)_image << "> ";3617 G4cout << " <" << (void*)_image << "> "; 3602 3618 if(isDoseEmpty()) { 3603 3619 _image = 0; 3604 3620 } else { 3605 3621 _image = kDose[_num].getImage(_z); 3606 std::cout << " <" << (void*)_image << "> ";3607 std::cout << _image[100] << " ";3622 G4cout << " <" << (void*)_image << "> "; 3623 G4cout << _image[100] << " "; 3608 3624 } 3609 3625 } … … 3660 3676 bool G4GMocrenIO::mergeDoseDist(std::vector<class GMocrenDataPrimitive<double> > & _dose) { 3661 3677 if(kDose.size() != _dose.size()) { 3662 std::cerr << "G4GMocrenIO::mergeDoseDist() : Error" << std::endl; 3663 std::cerr << " Unable to merge the dose distributions,"<< std::endl; 3664 std::cerr << " because of different size of dose maps."<< std::endl; 3678 if (G4VisManager::GetVerbosity() >= G4VisManager::errors) { 3679 G4cout << "G4GMocrenIO::mergeDoseDist() : Error" << G4endl; 3680 G4cout << " Unable to merge the dose distributions,"<< G4endl; 3681 G4cout << " because of different size of dose maps."<< G4endl; 3682 } 3665 3683 return false; 3666 3684 } … … 3670 3688 std::vector<class GMocrenDataPrimitive<double> >::iterator itr2 = _dose.begin(); 3671 3689 for(int i = 0; i < num; i++, itr1++, itr2++) { 3672 if(kVerbose > 0) std::cerr << "merged dose distribution [" << i << "]" << std::endl; 3690 if (G4VisManager::GetVerbosity() >= G4VisManager::errors) 3691 if(kVerbose > 0) 3692 G4cout << "merged dose distribution [" << i << "]" << G4endl; 3673 3693 *itr1 += *itr2; 3674 3694 } … … 3689 3709 bool G4GMocrenIO::isDoseEmpty() { 3690 3710 if(kDose.empty()) { 3691 //std::cerr << "!!! dose distribution data is empty." << std::endl; 3711 //if (G4VisManager::GetVerbosity() >= G4VisManager::errors) 3712 // G4cout << "!!! dose distribution data is empty." << G4endl; 3692 3713 return true; 3693 3714 } else { … … 3794 3815 bool G4GMocrenIO::isROIEmpty() { 3795 3816 if(kRoi.empty()) { 3796 //std::cerr << "!!! ROI data is empty." << std::endl; 3817 //if (G4VisManager::GetVerbosity() >= G4VisManager::errors) 3818 // G4cout << "!!! ROI data is empty." << G4endl; 3797 3819 return true; 3798 3820 } else { … … 3883 3905 3884 3906 if(_num > (int)kTracks.size()) { 3885 std::cerr << "ERROR in getTrack() : " << std::endl; 3907 if (G4VisManager::GetVerbosity() >= G4VisManager::errors) 3908 G4cout << "ERROR in getTrack() : " << G4endl; 3886 3909 std::exit(-1); 3887 3910 } … … 3942 3965 3943 3966 if(_num > (int)kDetectors.size()) { 3944 std::cerr << "ERROR in getDetector() : " << std::endl; 3967 if (G4VisManager::GetVerbosity() >= G4VisManager::errors) 3968 G4cout << "ERROR in getDetector() : " << G4endl; 3945 3969 std::exit(-1); 3946 3970 } -
trunk/source/visualization/gMocren/src/G4GMocrenMessenger.cc
r1337 r1347 26 26 // 27 27 // $Id: G4GMocrenMessenger.cc,v 1.2 2009/10/12 10:04:35 akimura Exp $ 28 // GEANT4 tag $Name: geant4-09-04- beta-01$28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // -
trunk/source/visualization/management/CVS/Entries
r1346 r1347 4 4 /History/1.160.2.1/Wed Dec 22 10:23:43 2010//Tgeant4-09-04-ref-00 5 5 /sources.cmake/1.1/Wed Sep 29 19:15:02 2010//Tgeant4-09-04-ref-00 6 /Doxyfile/1.2/Fri May 12 13:10:34 2006//Tgeant4-09-04-ref-00 -
trunk/source/visualization/management/include/CVS/Entries
r1346 r1347 1 /G4VisManager.icc/1.22/Tue Jun 1 16:08:15 2010//2 1 /G4GraphicsSystemList.hh/1.9/Thu Jun 29 21:27:54 2006//Tgeant4-09-04-ref-00 3 2 /G4Scene.hh/1.19/Wed Nov 4 12:49:16 2009//Tgeant4-09-04-ref-00 … … 39 38 /G4VisModelManager.hh/1.4/Thu Jun 29 21:29:10 2006//Tgeant4-09-04-ref-00 40 39 /G4VisStateDependent.hh/1.5/Thu Jun 29 21:29:12 2006//Tgeant4-09-04-ref-00 40 /G4VisManager.icc/1.23/Wed Dec 22 14:32:23 2010//Tgeant4-09-04-ref-00 41 41 D -
trunk/source/visualization/management/include/G4VisManager.icc
r1346 r1347 25 25 // 26 26 // 27 // $Id: G4VisManager.icc,v 1.2 2 2010/06/01 16:08:15 allisonExp $28 // GEANT4 tag $Name: $27 // $Id: G4VisManager.icc,v 1.23 2010/12/14 15:53:28 gcosmo Exp $ 28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // … … 67 67 G4VisManager::GetCurrentGraphicsSystem () const { 68 68 return fpGraphicsSystem; 69 }70 71 inline G4VisManager::Verbosity G4VisManager::GetVerbosity () {72 return fVerbosity;73 69 } 74 70 -
trunk/source/visualization/management/src/CVS/Entries
r1346 r1347 22 22 /G4VisFeaturesOfOpenGL.cc/1.6/Wed Oct 3 14:21:55 2007//Tgeant4-09-04-ref-00 23 23 /G4VisFeaturesOfOpenInventor.cc/1.5/Thu Jun 29 21:29:58 2006//Tgeant4-09-04-ref-00 24 /G4VisManager.cc/1.131/Result of merge//Tgeant4-09-04-ref-0025 24 /G4VisStateDependent.cc/1.6/Thu Jun 29 21:30:02 2006//Tgeant4-09-04-ref-00 25 /G4VisManager.cc/1.131/Wed Dec 22 14:26:53 2010//Tgeant4-09-04-ref-00 26 26 D -
trunk/source/visualization/management/src/G4VisManager.cc
r1346 r1347 25 25 // 26 26 // $Id: G4VisManager.cc,v 1.131 2010/12/14 15:53:28 gcosmo Exp $ 27 // GEANT4 tag $Name: $27 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 28 28 // 29 29 // … … 466 466 const G4Transform3D& objectTransform) { 467 467 if (IsValidView ()) { 468 #ifdef G4DEBUG_VIS_MANAGEMENT469 printf("G4VisManager::Draw circle\n");470 #endif471 468 ClearTransientStoreIfMarked(); 472 469 fpSceneHandler -> BeginPrimitives (objectTransform); … … 479 476 const G4Transform3D& objectTransform) { 480 477 if (IsValidView ()) { 481 #ifdef G4DEBUG_VIS_MANAGEMENT482 printf("G4VisManager::Draw nurbs\n");483 #endif484 478 ClearTransientStoreIfMarked(); 485 479 fpSceneHandler -> BeginPrimitives (objectTransform); … … 492 486 const G4Transform3D& objectTransform) { 493 487 if (IsValidView ()) { 494 #ifdef G4DEBUG_VIS_MANAGEMENT495 printf("G4VisManager::Draw polyhedron\n");496 #endif497 488 ClearTransientStoreIfMarked(); 498 489 fpSceneHandler -> BeginPrimitives (objectTransform); … … 505 496 const G4Transform3D& objectTransform) { 506 497 if (IsValidView ()) { 507 #ifdef G4DEBUG_VIS_MANAGEMENT508 printf("G4VisManager::Draw line\n");509 #endif510 498 ClearTransientStoreIfMarked(); 511 499 fpSceneHandler -> BeginPrimitives (objectTransform); … … 518 506 const G4Transform3D& objectTransform) { 519 507 if (IsValidView ()) { 520 #ifdef G4DEBUG_VIS_MANAGEMENT521 printf("G4VisManager::Draw polymarker\n");522 #endif523 508 ClearTransientStoreIfMarked(); 524 509 fpSceneHandler -> BeginPrimitives (objectTransform); … … 531 516 const G4Transform3D& objectTransform) { 532 517 if (IsValidView ()) { 533 #ifdef G4DEBUG_VIS_MANAGEMENT534 printf("G4VisManager::Draw scale\n");535 #endif536 518 ClearTransientStoreIfMarked(); 537 519 fpSceneHandler -> BeginPrimitives (objectTransform); … … 544 526 const G4Transform3D& objectTransform) { 545 527 if (IsValidView ()) { 546 #ifdef G4DEBUG_VIS_MANAGEMENT547 printf("G4VisManager::Draw square\n");548 #endif549 528 ClearTransientStoreIfMarked(); 550 529 fpSceneHandler -> BeginPrimitives (objectTransform); … … 557 536 const G4Transform3D& objectTransform) { 558 537 if (IsValidView ()) { 559 #ifdef G4DEBUG_VIS_MANAGEMENT560 printf("G4VisManager::Draw text ______________________________\n");561 #endif562 538 ClearTransientStoreIfMarked(); 563 539 fpSceneHandler -> BeginPrimitives (objectTransform); … … 571 547 { 572 548 if (IsValidView()) { 573 #ifdef G4DEBUG_VIS_MANAGEMENT574 printf("G4VisManager::Draw2d circle\n");575 #endif576 549 ClearTransientStoreIfMarked(); 577 550 fpSceneHandler -> BeginPrimitives2D(objectTransform); … … 585 558 { 586 559 if (IsValidView()) { 587 #ifdef G4DEBUG_VIS_MANAGEMENT588 printf("G4VisManager::Draw2d nurbs\n");589 #endif590 560 ClearTransientStoreIfMarked(); 591 561 fpSceneHandler -> BeginPrimitives2D(objectTransform); … … 599 569 { 600 570 if (IsValidView()) { 601 #ifdef G4DEBUG_VIS_MANAGEMENT602 printf("G4VisManager::Draw2d polyhedron\n");603 #endif604 571 ClearTransientStoreIfMarked(); 605 572 fpSceneHandler -> BeginPrimitives2D(objectTransform); … … 613 580 { 614 581 if (IsValidView()) { 615 #ifdef G4DEBUG_VIS_MANAGEMENT616 printf("G4VisManager::Draw2d line\n");617 #endif618 582 ClearTransientStoreIfMarked(); 619 583 fpSceneHandler -> BeginPrimitives2D(objectTransform); … … 627 591 { 628 592 if (IsValidView()) { 629 #ifdef G4DEBUG_VIS_MANAGEMENT630 printf("G4VisManager::Draw2d polymarker\n");631 #endif632 593 ClearTransientStoreIfMarked(); 633 594 fpSceneHandler -> BeginPrimitives2D(objectTransform); … … 641 602 { 642 603 if (IsValidView()) { 643 #ifdef G4DEBUG_VIS_MANAGEMENT644 printf("G4VisManager::Draw2d square\n");645 #endif646 604 ClearTransientStoreIfMarked(); 647 605 fpSceneHandler -> BeginPrimitives2D(objectTransform); … … 655 613 { 656 614 if (IsValidView()) { 657 #ifdef G4DEBUG_VIS_MANAGEMENT658 printf("G4VisManager::Draw2d text _____________________________\n");659 #endif660 615 ClearTransientStoreIfMarked(); 661 616 fpSceneHandler -> BeginPrimitives2D(objectTransform); … … 667 622 void G4VisManager::Draw (const G4VHit& hit) { 668 623 if (IsValidView ()) { 669 #ifdef G4DEBUG_VIS_MANAGEMENT670 printf("G4VisManager::Draw hit\n");671 #endif672 624 ClearTransientStoreIfMarked(); 673 625 fpSceneHandler -> AddCompound (hit); … … 677 629 void G4VisManager::Draw (const G4VDigi& digi) { 678 630 if (IsValidView ()) { 679 #ifdef G4DEBUG_VIS_MANAGEMENT680 printf("G4VisManager::Draw digi\n");681 #endif682 631 ClearTransientStoreIfMarked(); 683 632 fpSceneHandler -> AddCompound (digi); … … 688 637 G4int i_mode) { 689 638 if (IsValidView ()) { 690 #ifdef G4DEBUG_VIS_MANAGEMENT691 printf("G4VisManager::Draw traj\n");692 #endif693 639 ClearTransientStoreIfMarked(); 694 640 fpSceneHandler -> SetModel (&dummyTrajectoriesModel); … … 703 649 // Find corresponding solid. 704 650 G4VSolid* pSol = logicalVol.GetSolid (); 705 #ifdef G4DEBUG_VIS_MANAGEMENT706 printf("G4VisManager::Draw logicalVol\n");707 #endif708 651 Draw (*pSol, attribs, objectTransform); 709 652 } … … 713 656 const G4Transform3D& objectTransform) { 714 657 if (IsValidView ()) { 715 #ifdef G4DEBUG_VIS_MANAGEMENT716 printf("G4VisManager::Draw2d solid\n");717 #endif718 658 ClearTransientStoreIfMarked(); 719 659 fpSceneHandler -> PreAddSolid (objectTransform, attribs); … … 1417 1357 1418 1358 ClearTransientStoreIfMarked(); 1419 #ifdef G4DEBUG_VIS_MANAGEMENT1420 printf("G4VisManager::EndOfEvent DrawEvent ---------------------\n");1421 #endif1422 1359 fpSceneHandler->DrawEvent(currentEvent); 1423 1360 -
trunk/source/visualization/test/include/BuildCalorimeter.hh
r954 r1347 26 26 // 27 27 // $Id: BuildCalorimeter.hh,v 1.4 2006/06/29 21:33:34 gunter Exp $ 28 // GEANT4 tag $Name: $28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // -
trunk/source/visualization/test/include/BuildGeom_Example1.hh
r954 r1347 26 26 // 27 27 // $Id: BuildGeom_Example1.hh,v 1.4 2006/06/29 21:33:36 gunter Exp $ 28 // GEANT4 tag $Name: $28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // -
trunk/source/visualization/test/include/BuildGeom_Example2.hh
r954 r1347 26 26 // 27 27 // $Id: BuildGeom_Example2.hh,v 1.4 2006/06/29 21:33:38 gunter Exp $ 28 // GEANT4 tag $Name: $28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // -
trunk/source/visualization/test/include/BuildHouse.hh
r954 r1347 26 26 // 27 27 // $Id: BuildHouse.hh,v 1.2 2006/06/29 21:33:40 gunter Exp $ 28 // GEANT4 tag $Name: $28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // -
trunk/source/visualization/test/include/BuildParametrised.hh
r954 r1347 26 26 // 27 27 // $Id: BuildParametrised.hh,v 1.4 2006/06/29 21:33:42 gunter Exp $ 28 // GEANT4 tag $Name: $28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // -
trunk/source/visualization/test/include/BuildShapes.hh
r954 r1347 26 26 // 27 27 // $Id: BuildShapes.hh,v 1.4 2006/06/29 21:33:44 gunter Exp $ 28 // GEANT4 tag $Name: $28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // -
trunk/source/visualization/test/include/G4ParametrizedBox.hh
r954 r1347 26 26 // 27 27 // $Id: G4ParametrizedBox.hh,v 1.4 2006/06/29 21:33:46 gunter Exp $ 28 // GEANT4 tag $Name: $28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // -
trunk/source/visualization/test/include/MyDetectorConstruction.hh
r954 r1347 26 26 // 27 27 // $Id: MyDetectorConstruction.hh,v 1.6 2006/06/29 21:33:48 gunter Exp $ 28 // GEANT4 tag $Name: $28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 -
trunk/source/visualization/test/include/MyDetectorMessenger.hh
r954 r1347 26 26 // 27 27 // $Id: MyDetectorMessenger.hh,v 1.4 2006/06/29 21:33:50 gunter Exp $ 28 // GEANT4 tag $Name: $28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 -
trunk/source/visualization/test/include/MyEventAction.hh
r954 r1347 26 26 // 27 27 // $Id: MyEventAction.hh,v 1.6 2006/11/01 11:16:23 allison Exp $ 28 // GEANT4 tag $Name: $28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 -
trunk/source/visualization/test/include/MyPrimaryGeneratorAction.hh
r954 r1347 26 26 // 27 27 // $Id: MyPrimaryGeneratorAction.hh,v 1.6 2006/06/29 21:33:56 gunter Exp $ 28 // GEANT4 tag $Name: $28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 -
trunk/source/visualization/test/include/MyRunAction.hh
r954 r1347 26 26 // 27 27 // $Id: MyRunAction.hh,v 1.6 2006/06/29 21:33:58 gunter Exp $ 28 // GEANT4 tag $Name: $28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 -
trunk/source/visualization/test/include/MySteppingAction.hh
r954 r1347 26 26 // 27 27 // $Id: MySteppingAction.hh,v 1.6 2006/06/29 21:34:00 gunter Exp $ 28 // GEANT4 tag $Name: $28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // -
trunk/source/visualization/test/include/ParametrisedBox.hh
r954 r1347 26 26 // 27 27 // $Id: ParametrisedBox.hh,v 1.5 2006/06/29 21:34:02 gunter Exp $ 28 // GEANT4 tag $Name: $28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // -
trunk/source/visualization/test/include/test19DetectorConstruction.hh
r954 r1347 26 26 // 27 27 // $Id: test19DetectorConstruction.hh,v 1.4 2006/06/29 21:34:06 gunter Exp $ 28 // GEANT4 tag $Name: $28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // -
trunk/source/visualization/test/include/test19DetectorMessenger.hh
r954 r1347 26 26 // 27 27 // $Id: test19DetectorMessenger.hh,v 1.4 2006/06/29 21:34:08 gunter Exp $ 28 // GEANT4 tag $Name: $28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // -
trunk/source/visualization/test/src/BuildCalorimeter.cc
r954 r1347 26 26 // 27 27 // $Id: BuildCalorimeter.cc,v 1.5 2006/06/29 21:34:10 gunter Exp $ 28 // GEANT4 tag $Name: $28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // -
trunk/source/visualization/test/src/BuildGeom_Example1.cc
r954 r1347 26 26 // 27 27 // $Id: BuildGeom_Example1.cc,v 1.6 2006/06/29 21:34:12 gunter Exp $ 28 // GEANT4 tag $Name: $28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // -
trunk/source/visualization/test/src/BuildGeom_Example2.cc
r954 r1347 26 26 // 27 27 // $Id: BuildGeom_Example2.cc,v 1.6 2006/06/29 21:34:14 gunter Exp $ 28 // GEANT4 tag $Name: $28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // -
trunk/source/visualization/test/src/BuildHouse.cc
r954 r1347 26 26 // 27 27 // $Id: BuildHouse.cc,v 1.3 2006/06/29 21:34:16 gunter Exp $ 28 // GEANT4 tag $Name: $28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // -
trunk/source/visualization/test/src/BuildParametrised.cc
r954 r1347 26 26 // 27 27 // $Id: BuildParametrised.cc,v 1.7 2006/06/29 21:34:18 gunter Exp $ 28 // GEANT4 tag $Name: $28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // -
trunk/source/visualization/test/src/BuildShapes.cc
r954 r1347 26 26 // 27 27 // $Id: BuildShapes.cc,v 1.6 2006/06/29 21:34:20 gunter Exp $ 28 // GEANT4 tag $Name: $28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // -
trunk/source/visualization/test/src/MyDetectorConstruction.cc
r954 r1347 26 26 // 27 27 // $Id: MyDetectorConstruction.cc,v 1.39 2006/11/14 16:03:55 allison Exp $ 28 // GEANT4 tag $Name: $28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // -
trunk/source/visualization/test/src/MyDetectorMessenger.cc
r954 r1347 26 26 // 27 27 // $Id: MyDetectorMessenger.cc,v 1.4 2006/06/29 21:34:24 gunter Exp $ 28 // GEANT4 tag $Name: $28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 -
trunk/source/visualization/test/src/MyEventAction.cc
r954 r1347 26 26 // 27 27 // $Id: MyEventAction.cc,v 1.18 2008/04/04 14:01:14 allison Exp $ 28 // GEANT4 tag $Name: $28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 -
trunk/source/visualization/test/src/MyPrimaryGeneratorAction.cc
r954 r1347 26 26 // 27 27 // $Id: MyPrimaryGeneratorAction.cc,v 1.6 2006/06/29 21:34:30 gunter Exp $ 28 // GEANT4 tag $Name: $28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 -
trunk/source/visualization/test/src/MyRunAction.cc
r954 r1347 26 26 // 27 27 // $Id: MyRunAction.cc,v 1.8 2006/06/29 21:34:32 gunter Exp $ 28 // GEANT4 tag $Name: $28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 -
trunk/source/visualization/test/src/MySteppingAction.cc
r954 r1347 26 26 // 27 27 // $Id: MySteppingAction.cc,v 1.16 2006/06/29 21:34:34 gunter Exp $ 28 // GEANT4 tag $Name: $28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // -
trunk/source/visualization/test/src/ParametrisedBox.cc
r954 r1347 26 26 // 27 27 // $Id: ParametrisedBox.cc,v 1.6 2006/06/29 21:34:36 gunter Exp $ 28 // GEANT4 tag $Name: $28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // -
trunk/source/visualization/test/src/test19DetectorConstruction.cc
r954 r1347 26 26 // 27 27 // $Id: test19DetectorConstruction.cc,v 1.4 2006/06/29 21:34:40 gunter Exp $ 28 // GEANT4 tag $Name: $28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // -
trunk/source/visualization/test/src/test19DetectorMessenger.cc
r954 r1347 26 26 // 27 27 // $Id: test19DetectorMessenger.cc,v 1.8 2006/06/29 21:34:42 gunter Exp $ 28 // GEANT4 tag $Name: $28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // -
trunk/source/visualization/test/test19.cc
r1340 r1347 26 26 // 27 27 // $Id: test19.cc,v 1.34 2010/10/26 16:17:44 allison Exp $ 28 // GEANT4 tag $Name: $28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // -
trunk/source/visualization/test/test19.g4m
r1340 r1347 6 6 /control/saveHistory 7 7 /vis/verbose confirmations 8 9 #/control/execute test19-OGLSX.g4m 10 #/control/execute test19-OGLIX.g4m 11 /control/execute test19-OGLIQt.g4m 12 #/control/execute test19-OGLSQt.g4m 8 # 9 # See list of detector possibilities. 10 /test19det/detector 11 # Select detector. 12 #/test19det/detector 1 13 #/test19det/detector 4 14 # 15 # Initialise run, i.e., create geometry, set cuts, etc. 16 /run/initialize 17 # 18 # Set gun for demo (detector 1) 19 #/gun/particle e+ 20 #/gun/position 0 -100 0 cm 21 #/gun/direction 0 1 0 22 # 23 # for drawing the tracks 24 /tracking/storeTrajectory 1 25 # if too many tracks cause core dump =storeTrajectory 0 26 # 27 # Create empty scene. 28 /vis/scene/create 29 # 30 # Add volume to scene - "world" is default. 31 /vis/scene/add/volume 32 # 33 # See list of graphics systems possibilities. 34 # help /vis/sceneHandler/create 35 # 36 # Create a scene handler for a specific graphics system. 37 # Edit the next line(s) to choose another graphic system 38 #/vis/sceneHandler/create DAWNFILE 39 #/vis/sceneHandler/create DAWN 40 #/vis/sceneHandler/create OGLIXm 41 #/vis/sceneHandler/create OGLSXm 42 #/vis/sceneHandler/create OGLIX 43 /vis/sceneHandler/create OGLSX 44 #/vis/sceneHandler/create OGLSXm 45 #/vis/sceneHandler/create VRML1 46 #/vis/sceneHandler/create VRML1FILE 47 # 48 # Add world volume. 49 /vis/scene/add/volume 50 /vis/scene/add/axes 0 0 0 2 m 51 /vis/scene/add/text 0 0 0 mm 50 -120 -200 test19 example text 52 # 53 # Add logo 54 /vis/scene/add/logo 55 # 56 # Add scale 57 /vis/scene/add/scale 58 # 59 # Add event id 60 /vis/scene/add/eventID 61 # 62 # Create a viewer. 63 /vis/viewer/create 64 # 65 # John's personal preferences 66 /vis/viewer/set/lightsMove camera 67 /vis/viewer/set/hiddenMarker true 68 # 69 /vis/viewer/set/lineSegmentsPerCircle 100 70 # flush not necessary for auto-refresh drivers like OGL abd OI, but leave 71 # (all that happens is an extra refresh). 72 /vis/viewer/flush 73 /vis/ogl/set/printMode vectored 74 /vis/ogl/set/printSize 800 600 75 /vis/ogl/set/printFilename output-test19-1 76 /vis/ogl/printEPS 77 # 78 # Create another viewer. 79 /vis/viewer/create 80 # 81 /vis/viewer/set/viewpointThetaPhi 35 35 82 /vis/viewer/set/style surface 83 /vis/viewer/set/projection perspective 30 84 # 85 /vis/viewer/flush 86 /vis/ogl/set/printMode vectored 87 /vis/ogl/set/printSize 800 600 88 /vis/ogl/set/printFilename output-test19-2 89 /vis/ogl/printEPS 90 # 91 # Now hidden line removal. 92 /vis/viewer/create 93 # 94 /vis/viewer/set/viewpointThetaPhi 35 35 95 /vis/viewer/set/style wireframe 96 /vis/viewer/set/hiddenEdge 97 /vis/viewer/set/projection perspective 30 98 # 99 /vis/viewer/flush 100 /vis/ogl/set/printMode vectored 101 /vis/ogl/set/printSize 800 600 102 /vis/ogl/set/printFilename output-test19-3 103 /vis/ogl/printEPS 104 # 105 # Now hidden line *and* hidden surface removal. 106 /vis/viewer/create 107 # 108 /vis/viewer/set/viewpointThetaPhi 35 35 109 /vis/viewer/set/style surface 110 /vis/viewer/set/hiddenEdge 111 /vis/viewer/set/projection perspective 30 112 # 113 /vis/viewer/flush 114 /vis/ogl/set/printMode vectored 115 /vis/ogl/set/printSize 800 600 116 /vis/ogl/set/printFilename output-test19-4 117 /vis/ogl/printEPS 118 # 119 # Start a run to initialise/optimise geometry and draw user-drawn transients. 120 /run/beamOn 121 # 122 # Test logical volume model... 123 /vis/scene/create 124 /vis/scene/add/logicalVolume expHall_L 125 /vis/sceneHandler/create OGLIQt 126 /vis/viewer/create 127 /vis/viewer/set/viewpointThetaPhi 35 35 128 /vis/scene/notifyHandlers 129 /vis/viewer/flush 130 /vis/ogl/set/printMode vectored 131 /vis/ogl/set/printSize 800 600 132 /vis/ogl/set/printFilename output-test19-5 133 /vis/ogl/printEPS 134 # 135 # Logical volume of Boolean solids... 136 /vis/scene/create 137 /vis/scene/add/logicalVolume intersection_L 138 /vis/sceneHandler/create OGLIQt 139 /vis/viewer/create 140 /vis/viewer/reset 141 /vis/viewer/set/viewpointThetaPhi 35 35 142 /vis/scene/notifyHandlers 143 /vis/viewer/flush 144 /vis/ogl/set/printMode vectored 145 /vis/ogl/set/printSize 800 600 146 /vis/ogl/set/printFilename output-test19-6 147 /vis/ogl/printEPS 148 # 149 /vis/scene/create 150 /vis/scene/add/logicalVolume subtraction_L 151 /vis/sceneHandler/attach 152 /vis/viewer/reset 153 /vis/viewer/set/viewpointThetaPhi 35 35 154 /vis/viewer/flush 155 /vis/ogl/set/printMode vectored 156 /vis/ogl/set/printSize 800 600 157 /vis/ogl/set/printFilename output-test19-7 158 /vis/ogl/printEPS 159 # 160 /vis/scene/create 161 /vis/scene/add/logicalVolume union_L 162 /vis/sceneHandler/attach 163 /vis/viewer/reset 164 /vis/viewer/set/viewpointThetaPhi 35 35 165 /vis/viewer/flush 166 /vis/ogl/set/printMode vectored 167 /vis/ogl/set/printSize 800 600 168 /vis/ogl/set/printFilename output-test19-8 169 /vis/ogl/printEPS 170 # 171 # Send geantino through... 172 /vis/scene/create 173 /vis/scene/endOfEventAction accumulate 174 /vis/scene/endOfRunAction accumulate 175 /vis/scene/add/volume 176 /vis/scene/add/trajectories 5000 177 #/vis/sceneHandler/create OGLSX 178 /vis/sceneHandler/create OGLIQt 179 /vis/viewer/create 180 /vis/viewer/reset 181 /vis/viewer/set/viewpointThetaPhi 35 35 182 /vis/scene/notifyHandlers 183 /tracking/verbose 2 184 /run/beamOn 1 185 /tracking/verbose 0 186 /vis/viewer/flush 187 /vis/ogl/set/printMode vectored 188 /vis/ogl/set/printSize 800 600 189 /vis/ogl/set/printFilename output-test19-9 190 /vis/ogl/printEPS 191 # 192 # Rotated tracker tube 193 /vis/viewer/reset 194 #/vis/viewer/panTo 0 -200 cm 195 /vis/viewer/set/upVector 1 0 0 196 /vis/viewer/set/viewpointVector 0 1 0 197 #/vis/viewer/zoom 5 198 /vis/viewer/set/auxiliaryEdge true 199 /vis/viewer/refresh 200 /gun/direction 1 0 0 201 /gun/position -200 -200 150 cm 202 /run/beamOn 203 /gun/position -200 -200 200 cm 204 /run/beamOn 205 /gun/position -200 -200 250 cm 206 /run/beamOn 207 /gun/position -200 -200 300 cm 208 /run/beamOn 209 /vis/viewer/flush 210 /vis/ogl/set/printMode vectored 211 /vis/ogl/set/printSize 800 600 212 /vis/ogl/set/printFilename output-test19-10 213 /vis/ogl/printEPS 214 # 215 # G4Trap1 216 /vis/viewer/reset 217 #/vis/viewer/panTo -200 200 cm # Originally intended to be absolute coords. 218 /vis/viewer/pan -275 75 cm 219 /vis/viewer/zoom 5 220 /vis/viewer/refresh 221 /gun/direction -1 0 0 222 /gun/position -20 120 -200 cm 223 /run/beamOn 224 /gun/position -20 130 -200 cm 225 /run/beamOn 226 /gun/position -20 140 -200 cm 227 /run/beamOn 228 /gun/position -20 150 -200 cm 229 /run/beamOn 230 /gun/position -20 160 -200 cm 231 /run/beamOn 232 /gun/position -20 170 -200 cm 233 /run/beamOn 234 /gun/position -20 180 -200 cm 235 /run/beamOn 236 /gun/position -20 190 -200 cm 237 /run/beamOn 238 /gun/position -20 200 -200 cm 239 /run/beamOn 240 /gun/position -20 210 -200 cm 241 /run/beamOn 242 /gun/position -20 220 -200 cm 243 /run/beamOn 244 /gun/position -20 230 -200 cm 245 /run/beamOn 246 /gun/position -20 240 -200 cm 247 /run/beamOn 248 /gun/position -20 250 -200 cm 249 /run/beamOn 250 /gun/position -20 260 -200 cm 251 /run/beamOn 252 /gun/position -20 270 -200 cm 253 /run/beamOn 254 /gun/position -20 280 -200 cm 255 /run/beamOn 256 /vis/viewer/flush 257 /vis/ogl/set/printMode vectored 258 /vis/ogl/set/printSize 800 600 259 /vis/ogl/set/printFilename output-test19-11 260 /vis/ogl/printEPS 261 # 262 # G4Trap2 263 /vis/viewer/reset 264 #/vis/viewer/panTo -200 400 cm 265 /vis/viewer/pan -275 275 cm 266 /vis/viewer/set/viewpointThetaPhi 90 180 267 #/vis/viewer/panTo -200 0 cm 268 /vis/viewer/pan -200 0 cm 269 /vis/viewer/zoom 5 270 /vis/viewer/refresh 271 /gun/direction 0 0 -1 272 /gun/position -200 400 -20 cm 273 /run/beamOn 274 /gun/position -200 380 -20 cm 275 /run/beamOn 276 /gun/position -200 420 -20 cm 277 /run/beamOn 278 /gun/position -200 360 -20 cm 279 /run/beamOn 280 /gun/position -200 440 -20 cm 281 /run/beamOn 282 /gun/position -200 340 -20 cm 283 /run/beamOn 284 /gun/position -200 460 -20 cm 285 /run/beamOn 286 /vis/viewer/flush 287 /vis/ogl/set/printMode vectored 288 /vis/ogl/set/printSize 800 600 289 /vis/ogl/set/printFilename output-test19-12 290 /vis/ogl/printEPS 291 # 292 # Displaced solid. 293 /vis/viewer/reset 294 #/vis/viewer/panTo 200 -200 cm 295 /vis/viewer/pan 125 -325 cm 296 /vis/viewer/zoom 5 297 /vis/viewer/refresh 298 /gun/position 100 -180 0 cm 299 /gun/direction 1 0 0 300 /run/beamOn 301 /vis/viewer/flush 302 /vis/ogl/set/printMode vectored 303 /vis/ogl/set/printSize 800 600 304 /vis/ogl/set/printFilename output-test19-13 305 /vis/ogl/printEPS 306 # 307 # Boolean solid. 308 /vis/viewer/reset 309 #/vis/viewer/panTo 250 -50 cm 310 /vis/viewer/pan 175 -175 cm 311 /vis/viewer/zoom 3 312 /vis/viewer/refresh 313 /gun/direction 1 0 0 314 /gun/position 50 -105 0 cm 315 /run/beamOn 316 /gun/position 50 -100 0 cm 317 /run/beamOn 318 /gun/position 50 -95 0 cm 319 /run/beamOn 320 /gun/position 50 -90 0 cm 321 /run/beamOn 322 /gun/position 50 -85 0 cm 323 /run/beamOn 324 /gun/position 50 -80 0 cm 325 /run/beamOn 326 /gun/position 50 -75 0 cm 327 /run/beamOn 328 /gun/position 50 -70 0 cm 329 /run/beamOn 330 /gun/position 50 -65 0 cm 331 /run/beamOn 332 /gun/position 50 -60 0 cm 333 /run/beamOn 334 /gun/position 50 -55 0 cm 335 /run/beamOn 336 /gun/position 50 -50 0 cm 337 /run/beamOn 338 /gun/position 50 -45 0 cm 339 /run/beamOn 340 /gun/position 50 -40 0 cm 341 /run/beamOn 342 /gun/position 50 -35 0 cm 343 /run/beamOn 344 /gun/position 50 -30 0 cm 345 /run/beamOn 346 /gun/position 50 -25 0 cm 347 /run/beamOn 348 /gun/position 50 -20 0 cm 349 /run/beamOn 350 /gun/position 50 -15 0 cm 351 /run/beamOn 352 /gun/position 50 -10 0 cm 353 /run/beamOn 354 /gun/position 50 -5 0 cm 355 /run/beamOn 356 /gun/position 50 0 0 cm 357 /run/beamOn 358 /gun/position 50 5 0 cm 359 /run/beamOn 360 /gun/position 50 10 0 cm 361 /run/beamOn 362 /gun/position 50 15 0 cm 363 /run/beamOn 364 /gun/position 50 20 0 cm 365 /run/beamOn 366 /vis/viewer/flush 367 /vis/ogl/set/printMode vectored 368 /vis/ogl/set/printSize 800 600 369 /vis/ogl/set/printFilename output-test19-14 370 /vis/ogl/printEPS 371 # 372 # To view replicas... 373 # Investigating BaBar problem... 374 # G4SmartVoxelHeader::BuildNodes - PANIC! Daughter physical volume 375 # name = EB20 is entirely outside mother logical volume name = EBMX 376 /vis/viewer/reset 377 #/vis/viewer/panTo -200 0 cm 378 /vis/viewer/pan -275 -125 cm 379 /vis/viewer/zoom 7 380 /vis/viewer/refresh 381 /gun/direction 0 1 0 382 # The following just crash with replicas... 383 /gun/position -200 -100 0 cm 384 /run/beamOn 385 /gun/position -195 -100 0 cm 386 /run/beamOn 387 /gun/position -190 -100 0 cm 388 /run/beamOn 389 /gun/position -185 -100 0 cm 390 /run/beamOn 391 /gun/position -180 -100 0 cm 392 /run/beamOn 393 /gun/position -160 -100 0 cm 394 /run/beamOn 395 #...end 396 /gun/position -200 0 0 cm 397 # The following just crash with replicas... 398 /gun/direction 1 1 0 399 /run/beamOn 400 /gun/direction 0 1 0 401 /run/beamOn 402 /gun/direction 1 .2 0 403 /run/beamOn 404 /gun/direction -1 1 0 405 /run/beamOn 406 /gun/direction -1 -1 0 407 /run/beamOn 408 /gun/direction 0 -1 0 409 /run/beamOn 410 /gun/direction 1 -1 0 411 /run/beamOn 412 /vis/viewer/flush 413 /vis/ogl/set/printMode vectored 414 /vis/ogl/set/printSize 800 600 415 /vis/ogl/set/printFilename output-test19-15 416 /vis/ogl/printEPS 417 #...end 418 # 419 /vis/viewer/set/viewpointThetaPhi 30 30 420 /vis/viewer/set/projection perspective 30 421 /vis/viewer/flush 422 /vis/ogl/set/printMode vectored 423 /vis/ogl/set/printSize 800 600 424 /vis/ogl/set/printFilename output-test19-16 425 /vis/ogl/printEPS 426 # 427 #/vis/sceneHandler/create OIX 428 /vis/sceneHandler/create OGLIQt 429 #/vis/viewer/create 430 /vis/viewer/create ! ! 200 431 /vis/viewer/set/viewpointThetaPhi 30 30 432 /vis/viewer/flush 433 /vis/ogl/set/printMode vectored 434 /vis/ogl/set/printSize 800 600 435 /vis/ogl/set/printFilename output-test19-17 436 /vis/ogl/printEPS 437 # 438 # You can use /vis/rayTracer/... commands 439 /vis/rayTracer/column 150 440 /vis/rayTracer/row 100 441 /vis/rayTracer/backgroundColour .3 .2 .1 442 /vis/rayTracer/trace 443 # 444 /vis/viewer/create ! ! 200x300 445 /vis/viewer/set/projection perspective 30 446 /vis/viewer/set/viewpointThetaPhi 45 45 447 /vis/viewer/flush 448 /vis/ogl/set/printMode vectored 449 /vis/ogl/set/printSize 800 600 450 /vis/ogl/set/printFilename output-test19-18 451 /vis/ogl/printEPS 452 # 453 # Odd!!? JPEG image seems upside down for default view direction... 454 /vis/viewer/create ! ! 200 455 /vis/viewer/flush 456 /vis/ogl/set/printMode vectored 457 /vis/ogl/set/printSize 800 600 458 /vis/ogl/set/printFilename output-test19-19 459 /vis/ogl/printEPS 13 460 exit -
trunk/source/visualization/test/testshapes.cc
r954 r1347 26 26 // 27 27 // $Id: testshapes.cc,v 1.4 2006/06/29 21:33:32 gunter Exp $ 28 // GEANT4 tag $Name: $28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 //
Note: See TracChangeset
for help on using the changeset viewer.