- Timestamp:
- Dec 22, 2010, 3:52:27 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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
Note: See TracChangeset
for help on using the changeset viewer.