Ignore:
Timestamp:
Dec 22, 2010, 3:52:27 PM (13 years ago)
Author:
garnier
Message:

geant4 tag 9.4

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/visualization/management/src/G4VisManager.cc

    r1346 r1347  
    2525//
    2626// $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 $
    2828//
    2929//
     
    466466                         const G4Transform3D& objectTransform) {
    467467  if (IsValidView ()) {
    468 #ifdef G4DEBUG_VIS_MANAGEMENT
    469     printf("G4VisManager::Draw circle\n");
    470 #endif
    471468    ClearTransientStoreIfMarked();
    472469    fpSceneHandler -> BeginPrimitives (objectTransform);
     
    479476                         const G4Transform3D& objectTransform) {
    480477  if (IsValidView ()) {
    481 #ifdef G4DEBUG_VIS_MANAGEMENT
    482     printf("G4VisManager::Draw nurbs\n");
    483 #endif
    484478    ClearTransientStoreIfMarked();
    485479    fpSceneHandler -> BeginPrimitives (objectTransform);
     
    492486                         const G4Transform3D& objectTransform) {
    493487  if (IsValidView ()) {
    494 #ifdef G4DEBUG_VIS_MANAGEMENT
    495     printf("G4VisManager::Draw polyhedron\n");
    496 #endif
    497488    ClearTransientStoreIfMarked();
    498489    fpSceneHandler -> BeginPrimitives (objectTransform);
     
    505496                         const G4Transform3D& objectTransform) {
    506497  if (IsValidView ()) {
    507 #ifdef G4DEBUG_VIS_MANAGEMENT
    508     printf("G4VisManager::Draw line\n");
    509 #endif
    510498    ClearTransientStoreIfMarked();
    511499    fpSceneHandler -> BeginPrimitives (objectTransform);
     
    518506                         const G4Transform3D& objectTransform) {
    519507  if (IsValidView ()) {
    520 #ifdef G4DEBUG_VIS_MANAGEMENT
    521     printf("G4VisManager::Draw polymarker\n");
    522 #endif
    523508    ClearTransientStoreIfMarked();
    524509    fpSceneHandler -> BeginPrimitives (objectTransform);
     
    531516                         const G4Transform3D& objectTransform) {
    532517  if (IsValidView ()) {
    533 #ifdef G4DEBUG_VIS_MANAGEMENT
    534     printf("G4VisManager::Draw scale\n");
    535 #endif
    536518    ClearTransientStoreIfMarked();
    537519    fpSceneHandler -> BeginPrimitives (objectTransform);
     
    544526                         const G4Transform3D& objectTransform) {
    545527  if (IsValidView ()) {
    546 #ifdef G4DEBUG_VIS_MANAGEMENT
    547     printf("G4VisManager::Draw square\n");
    548 #endif
    549528    ClearTransientStoreIfMarked();
    550529    fpSceneHandler -> BeginPrimitives (objectTransform);
     
    557536                         const G4Transform3D& objectTransform) {
    558537  if (IsValidView ()) {
    559 #ifdef G4DEBUG_VIS_MANAGEMENT
    560     printf("G4VisManager::Draw text ______________________________\n");
    561 #endif
    562538    ClearTransientStoreIfMarked();
    563539    fpSceneHandler -> BeginPrimitives (objectTransform);
     
    571547{
    572548  if (IsValidView()) {
    573 #ifdef G4DEBUG_VIS_MANAGEMENT
    574     printf("G4VisManager::Draw2d circle\n");
    575 #endif
    576549    ClearTransientStoreIfMarked();
    577550    fpSceneHandler -> BeginPrimitives2D(objectTransform);
     
    585558{
    586559  if (IsValidView()) {
    587 #ifdef G4DEBUG_VIS_MANAGEMENT
    588     printf("G4VisManager::Draw2d nurbs\n");
    589 #endif
    590560    ClearTransientStoreIfMarked();
    591561    fpSceneHandler -> BeginPrimitives2D(objectTransform);
     
    599569{
    600570  if (IsValidView()) {
    601 #ifdef G4DEBUG_VIS_MANAGEMENT
    602     printf("G4VisManager::Draw2d polyhedron\n");
    603 #endif
    604571    ClearTransientStoreIfMarked();
    605572    fpSceneHandler -> BeginPrimitives2D(objectTransform);
     
    613580{
    614581  if (IsValidView()) {
    615 #ifdef G4DEBUG_VIS_MANAGEMENT
    616     printf("G4VisManager::Draw2d line\n");
    617 #endif
    618582    ClearTransientStoreIfMarked();
    619583    fpSceneHandler -> BeginPrimitives2D(objectTransform);
     
    627591{
    628592  if (IsValidView()) {
    629 #ifdef G4DEBUG_VIS_MANAGEMENT
    630     printf("G4VisManager::Draw2d polymarker\n");
    631 #endif
    632593    ClearTransientStoreIfMarked();
    633594    fpSceneHandler -> BeginPrimitives2D(objectTransform);
     
    641602{
    642603  if (IsValidView()) {
    643 #ifdef G4DEBUG_VIS_MANAGEMENT
    644     printf("G4VisManager::Draw2d square\n");
    645 #endif
    646604    ClearTransientStoreIfMarked();
    647605    fpSceneHandler -> BeginPrimitives2D(objectTransform);
     
    655613{
    656614  if (IsValidView()) {
    657 #ifdef G4DEBUG_VIS_MANAGEMENT
    658     printf("G4VisManager::Draw2d text _____________________________\n");
    659 #endif
    660615    ClearTransientStoreIfMarked();
    661616    fpSceneHandler -> BeginPrimitives2D(objectTransform);
     
    667622void G4VisManager::Draw (const G4VHit& hit) {
    668623  if (IsValidView ()) {
    669 #ifdef G4DEBUG_VIS_MANAGEMENT
    670     printf("G4VisManager::Draw hit\n");
    671 #endif
    672624    ClearTransientStoreIfMarked();
    673625    fpSceneHandler -> AddCompound (hit);
     
    677629void G4VisManager::Draw (const G4VDigi& digi) {
    678630  if (IsValidView ()) {
    679 #ifdef G4DEBUG_VIS_MANAGEMENT
    680     printf("G4VisManager::Draw digi\n");
    681 #endif
    682631    ClearTransientStoreIfMarked();
    683632    fpSceneHandler -> AddCompound (digi);
     
    688637                         G4int i_mode) {
    689638  if (IsValidView ()) {
    690 #ifdef G4DEBUG_VIS_MANAGEMENT
    691     printf("G4VisManager::Draw traj\n");
    692 #endif
    693639    ClearTransientStoreIfMarked();
    694640    fpSceneHandler -> SetModel (&dummyTrajectoriesModel);
     
    703649  // Find corresponding solid.
    704650  G4VSolid* pSol = logicalVol.GetSolid ();
    705 #ifdef G4DEBUG_VIS_MANAGEMENT
    706     printf("G4VisManager::Draw logicalVol\n");
    707 #endif
    708651  Draw (*pSol, attribs, objectTransform);
    709652}
     
    713656                         const G4Transform3D& objectTransform) {
    714657  if (IsValidView ()) {
    715 #ifdef G4DEBUG_VIS_MANAGEMENT
    716     printf("G4VisManager::Draw2d solid\n");
    717 #endif
    718658    ClearTransientStoreIfMarked();
    719659    fpSceneHandler -> PreAddSolid (objectTransform, attribs);
     
    14171357
    14181358  ClearTransientStoreIfMarked();
    1419 #ifdef G4DEBUG_VIS_MANAGEMENT
    1420     printf("G4VisManager::EndOfEvent DrawEvent ---------------------\n");
    1421 #endif
    14221359  fpSceneHandler->DrawEvent(currentEvent);
    14231360
Note: See TracChangeset for help on using the changeset viewer.