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