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

geant4 tag 9.4

Location:
trunk/source/visualization
Files:
266 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/visualization/FukuiRenderer/CVS/Entries

    r1346 r1347  
    33/CMakeLists.txt/1.1/Wed Sep 29 19:11:33 2010//Tgeant4-09-04-ref-00
    44/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.28 2010/05/30 10:18:32 allison Exp $
     1$Id: History,v 1.29 2010/11/11 01:13:42 akimura Exp $
    22-------------------------------------------------------------------
    33
     
    2020History file for visualization/FukuiRenderer sub-category
    2121---------------------------------------------------------
     22
     2311 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)
    2226
    232730th 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
    112D
  • trunk/source/visualization/FukuiRenderer/include/G4DAWNFILE.hh

    r1337 r1347  
    2626//
    2727// $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 $
    2929//
    3030// Satoshi TANAKA
  • trunk/source/visualization/FukuiRenderer/include/G4DAWNFILESceneHandler.hh

    r1337 r1347  
    2626//
    2727// $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 $
    2929//
    3030// Satoshi TANAKA
  • trunk/source/visualization/FukuiRenderer/include/G4DAWNFILEViewer.hh

    r1337 r1347  
    2626//
    2727// $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 $
    2929//
    3030// Satoshi TANAKA
  • trunk/source/visualization/FukuiRenderer/include/G4FRClientServer.hh

    r1337 r1347  
    2626//
    2727// $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 $
    2929//
    3030// Satoshi TANAKA, Wed Jul  3 14:13:52 JST 1996
  • trunk/source/visualization/FukuiRenderer/include/G4FRConst.hh

    r1337 r1347  
    2626//
    2727// $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 $
    2929//
    3030// Satoshi TANAKA, Tue Jul  2 15:30:49 JST 1996
  • trunk/source/visualization/FukuiRenderer/include/G4FRFeatures.hh

    r1337 r1347  
    2626//
    2727// $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 $
    2929//
    3030#if !defined G4_FR_FEATURES_HH
  • trunk/source/visualization/FukuiRenderer/include/G4FRSceneFunc.icc

    r1337 r1347  
    2525//
    2626//
    27 // $Id: G4FRSceneFunc.icc,v 1.15 2006/07/10 15:31:45 allison Exp $
    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 $
    2929//
    3030
     31#include "G4VisManager.hh"
    3132#include "G4PhysicalVolumeModel.hh"
    3233#include "G4LogicalVolume.hh"
     
    3839{
    3940#if defined DEBUG_FR_SCENE
    40       G4cerr << "***** AddPrimitive\n";
     41  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
     42      G4cout << "***** AddPrimitive\n";
    4143#endif
    4244                //----- Initialize Fukui Renderer IF NECESSARY
     
    8486                //-----
    8587#if defined DEBUG_FR_SCENE
    86         G4cerr << "***** AddPrimitive( G4NURBS )\n";
     88  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
     89        G4cout << "***** AddPrimitive( G4NURBS )\n";
    8790#endif
    8891
     
    102105                //-----
    103106#if defined DEBUG_FR_SCENE
    104         G4cerr << "***** AddPrimitive( G4Text )\n";
     107  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
     108        G4cout << "***** AddPrimitive( G4Text )\n";
    105109#endif
    106110                //----- Initialize DAWN IF NECESSARY
     
    135139        int   MAX_STR_LENGTH   =  COMMAND_BUF_SIZE - 100 ;
    136140        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 ;
    140146        }
    141147        char*  buf  = new char [ (MAX_STR_LENGTH + 1) ] ;
     
    175181                //-----
    176182#if defined DEBUG_FR_SCENE
    177         G4cerr << "***** AddPrimitive( G4Circle )\n";
     183  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
     184        G4cout << "***** AddPrimitive( G4Circle )\n";
    178185#endif
    179186                //----- Initialize Fukui Renderer IF NECESSARY
     
    218225                //-----
    219226#if defined DEBUG_FR_SCENE
    220         G4cerr << "***** AddPrimitive( G4Square )\n";
     227  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
     228        G4cout << "***** AddPrimitive( G4Square )\n";
    221229#endif
    222230                //----- Initialize Fukui Renderer IF NECESSARY
     
    261269                //-----
    262270#if defined DEBUG_FR_SCENE
    263         G4cerr << "***** AddPrimitive( G4Polyhedron )\n";
     271  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
     272        G4cout << "***** AddPrimitive( G4Polyhedron )\n";
    264273#endif
    265274
     
    310319                        break;
    311320                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                    }
    322335                }
    323336        }
     
    334347//////////////////////////////////////////////////
    335348//#if defined DEBUG_FR_SCENE
    336 //      G4cerr << "***** SendNdiv() (/Ndiv)" << G4endl;
     349//      G4cout << "***** SendNdiv() (/Ndiv)" << G4endl;
    337350//#endif
    338351//////////////////////////////////////////////////
     
    348361        // } else {
    349362#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           }
    353368#endif
    354369        //}
     
    359374//////////////////////////////////////////////////
    360375//#if defined DEBUG_FR_SCENE
    361 //      G4cerr << "Ndiv = " << num_division << G4endl;
     376//      G4cout << "Ndiv = " << num_division << G4endl;
    362377//#endif
    363378//////////////////////////////////////////////////
     
    374389                //-----                 
    375390#if defined DEBUG_FR_SCENE
    376         G4cerr << "***** FREndModeling (called)" << G4endl;
     391  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
     392        G4cout << "***** FREndModeling (called)" << G4endl;
    377393#endif
    378394        if( FRIsInModeling() ) {
    379395
    380396#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          }
    383401#endif
    384402
     
    407425{
    408426#if defined DEBUG_FR_SCENE
    409         G4cerr << "***** BeginPrimitives \n";
     427  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
     428        G4cout << "***** BeginPrimitives \n";
    410429#endif
    411430
     
    422441{
    423442#if defined DEBUG_FR_SCENE
    424         G4cerr << "***** EndPrimitives \n";
     443  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
     444        G4cout << "***** EndPrimitives \n";
    425445#endif
    426446  G4VSceneHandler::EndPrimitives ();
     
    434454{
    435455#if defined DEBUG_FR_SCENE
    436         G4cerr << "***** AddSolid ( box )\n";
     456  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
     457        G4cout << "***** AddSolid ( box )\n";
    437458#endif
    438459                //----- skip drawing invisible primitive
     
    473494{
    474495#if defined DEBUG_FR_SCENE
    475         G4cerr << "***** AddSolid ( tubes )\n";
     496  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
     497        G4cout << "***** AddSolid ( tubes )\n";
    476498#endif
    477499                //----- skip drawing invisible primitive
     
    515537{
    516538#if defined DEBUG_FR_SCENE
    517         G4cerr << "***** AddSolid ( cons )\n";
     539  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
     540        G4cout << "***** AddSolid ( cons )\n";
    518541#endif
    519542                //----- skip drawing invisible primitive
     
    557580{
    558581#if defined DEBUG_FR_SCENE
    559         G4cerr << "***** AddSolid ( trd )\n";
     582  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
     583        G4cout << "***** AddSolid ( trd )\n";
    560584#endif
    561585
     
    598622{
    599623#if defined DEBUG_FR_SCENE
    600         G4cerr << "***** AddSolid ( sphere )\n";
     624  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
     625        G4cout << "***** AddSolid ( sphere )\n";
    601626#endif
    602627                //----- skip drawing invisible primitive
     
    658683{
    659684#if defined DEBUG_FR_SCENE
    660         G4cerr << "***** AddSolid ( para )\n";
     685  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
     686        G4cout << "***** AddSolid ( para )\n";
    661687#endif
    662688
     
    685711        G4double cosTheta                  = para.GetSymAxis().z() ;
    686712        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 ;
    691719        }
    692720        G4double tanTheta_cosPhi_cosTheta  = para.GetSymAxis().x() ;
     
    714742{
    715743#if defined DEBUG_FR_SCENE
    716         G4cerr << "***** AddSolid ( trap )\n";
     744  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
     745        G4cout << "***** AddSolid ( trap )\n";
    717746#endif
    718747
     
    741770        G4double cosTheta                  = trap.GetSymAxis().z() ;
    742771        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 ;
    747778        }
    748779
     
    805836{
    806837#if defined DEBUG_FR_SCENE
    807         G4cerr << "***** AddSolid ( torus )\n";
     838  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
     839        G4cout << "***** AddSolid ( torus )\n";
    808840#endif
    809841                //----- skip drawing invisible primitive
     
    929961{
    930962#if defined DEBUG_FR_SCENE
    931         G4cerr << "***** SendBoundingBox ()  (/BoundingBox)" << G4endl;
     963  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
     964        G4cout << "***** SendBoundingBox ()  (/BoundingBox)" << G4endl;
    932965#endif
    933966
     
    10481081        num_char  = sprintf( command, "%s  %d", char_string , ival ) ;
    10491082        if( num_char < 0 ) {
    1050                 G4cerr << "ERROR G4FRSCENEHANDLER::SendStrInt(), 1\n" ;
     1083          if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
     1084                G4cout << "ERROR G4FRSCENEHANDLER::SendStrInt(), 1\n" ;
    10511085        }
    10521086        SendStr( command );
     
    10701104
    10711105        if( num_char < 0 ) {
    1072                 G4cerr << "ERROR G4FRSCENEHANDLER::SendStrInt3(), 1\n" ;
     1106          if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
     1107                G4cout << "ERROR G4FRSCENEHANDLER::SendStrInt3(), 1\n" ;
    10731108        }
    10741109        SendStr( command );
     
    10941129
    10951130        if( num_char < 0 ) {
    1096                 G4cerr << "ERROR G4FRSCENEHANDLER::SendStrInt4(), 1\n" ;
     1131          if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
     1132                G4cout << "ERROR G4FRSCENEHANDLER::SendStrInt4(), 1\n" ;
    10971133        }
    10981134        SendStr( command );
     
    11131149                                        fPrec2, fPrec, dval ) ;
    11141150        if( num_char < 0 ) {
    1115                 G4cerr << "ERROR G4FRSCENEHANDLER::SendStrDouble(), 1\n" ;
     1151          if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
     1152                G4cout << "ERROR G4FRSCENEHANDLER::SendStrDouble(), 1\n" ;
    11161153        }
    11171154        SendStr( command );
     
    11351172                                        fPrec2, fPrec, dval2         ) ;
    11361173        if( num_char < 0 ) {
    1137                 G4cerr << "ERROR G4FRSCENEHANDLER::SendStrDouble2(), 1\n" ;
     1174          if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
     1175                G4cout << "ERROR G4FRSCENEHANDLER::SendStrDouble2(), 1\n" ;
    11381176        }
    11391177        SendStr( command );
     
    11601198                                fPrec2, fPrec, dval3   ) ;
    11611199        if( num_char < 0 ) {
    1162                 G4cerr << "ERROR G4FRSCENEHANDLER::SendStrDouble3(), 1\n" ;
     1200          if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
     1201                G4cout << "ERROR G4FRSCENEHANDLER::SendStrDouble3(), 1\n" ;
    11631202        }
    11641203        SendStr( command );
     
    11871226                                        fPrec2, fPrec, dval4) ;
    11881227        if( num_char < 0 ) {
    1189                 G4cerr << "ERROR G4FRSCENEHANDLER::SendStrDouble4(), 1\n" ;
     1228          if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
     1229                G4cout << "ERROR G4FRSCENEHANDLER::SendStrDouble4(), 1\n" ;
    11901230        }
    11911231        SendStr( command );
     
    12161256                                        fPrec2, fPrec, dval5    ) ;
    12171257        if( num_char < 0 ) {
    1218                 G4cerr << "ERROR G4FRSCENEHANDLER::SendStrDouble5(), 1\n" ;
     1258          if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
     1259                G4cout << "ERROR G4FRSCENEHANDLER::SendStrDouble5(), 1\n" ;
    12191260        }
    12201261        SendStr( command );
     
    12471288                                        fPrec2, fPrec, dval6    ) ;
    12481289        if( num_char < 0 ) {
    1249                 G4cerr << "ERROR G4FRSCENEHANDLER::SendStrDouble6(), 1\n" ;
     1290          if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
     1291                G4cout << "ERROR G4FRSCENEHANDLER::SendStrDouble6(), 1\n" ;
    12501292        }
    12511293        SendStr( command );
     
    12801322                                fPrec2, fPrec, dval7  ) ;
    12811323        if( num_char < 0 ) {
    1282                 G4cerr << "ERROR G4FRSCENEHANDLER::SendStrDouble7(), 1\n" ;
     1324          if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
     1325                G4cout << "ERROR G4FRSCENEHANDLER::SendStrDouble7(), 1\n" ;
    12831326        }
    12841327        SendStr( command );
     
    13211364                                fPrec2, fPrec, dval11 ) ;
    13221365        if( num_char < 0 ) {
    1323                 G4cerr << "ERROR G4FRSCENEHANDLER::SendStrDouble11(), 1\n" ;
     1366          if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
     1367                G4cout << "ERROR G4FRSCENEHANDLER::SendStrDouble11(), 1\n" ;
    13241368        }
    13251369        SendStr( command );
     
    13461390                                        fPrec2, fPrec, dval3    ) ;
    13471391        if( num_char < 0 ) {
    1348                 G4cerr << "ERROR G4FRSCENEHANDLER::SendIntDouble3(),1\n" ;
     1392          if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
     1393                G4cout << "ERROR G4FRSCENEHANDLER::SendIntDouble3(),1\n" ;
    13491394        }
    13501395        SendStr( command );
     
    13661411                                       ival1, ival2, ival3, char_string ) ;
    13671412        if( num_char < 0 ) {
    1368                 G4cerr << "ERROR G4FRSCENEHANDLER::SendInt3Str(),1\n" ;
     1413          if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
     1414                G4cout << "ERROR G4FRSCENEHANDLER::SendInt3Str(),1\n" ;
    13691415        }
    13701416        SendStr( command );
     
    13871433                                       ival1, ival2, ival3, ival4, char_string ) ;
    13881434        if( num_char < 0 ) {
    1389                 G4cerr << "ERROR G4FRSCENEHANDLER::SendInt4Str(),1\n" ;
     1435          if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
     1436                G4cout << "ERROR G4FRSCENEHANDLER::SendInt4Str(),1\n" ;
    13901437        }
    13911438        SendStr( command );
     
    14181465                                char_string2              );
    14191466        if( num_char < 0 ) {
    1420                 G4cerr << "ERROR G4FRSCENEHANDLER::SendStrDouble6Str(), 1\n" ;
     1467          if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
     1468                G4cout << "ERROR G4FRSCENEHANDLER::SendStrDouble6Str(), 1\n" ;
    14211469        }
    14221470        SendStr( command );
     
    14351483        num_char  = sprintf( command, "%d", val ) ;
    14361484        if( num_char < 0 ) {
    1437                 G4cerr << "ERROR G4FRSCENEHANDLER::SendStrInt(), 1\n" ;
     1485          if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
     1486                G4cout << "ERROR G4FRSCENEHANDLER::SendStrInt(), 1\n" ;
    14381487        }
    14391488        SendStr( command );
     
    14511500        num_char  = sprintf( command, "%*.*g", fPrec2, fPrec, val ) ;
    14521501        if( num_char < 0 ) {
    1453                 G4cerr << "ERROR G4FRSCENEHANDLER::SendStrInt(), 1\n" ;
     1502          if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
     1503                G4cout << "ERROR G4FRSCENEHANDLER::SendStrInt(), 1\n" ;
    14541504        }
    14551505        SendStr( command );
  • trunk/source/visualization/FukuiRenderer/include/G4FRofstream.hh

    r1337 r1347  
    2626//
    2727// $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 $
    2929//
    3030#include <fstream>
  • trunk/source/visualization/FukuiRenderer/include/G4FukuiRenderer.hh

    r1337 r1347  
    2626//
    2727// $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 $
    2929//
    3030//
  • trunk/source/visualization/FukuiRenderer/include/G4FukuiRendererSceneHandler.hh

    r1337 r1347  
    2626//
    2727// $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 $
    2929//
    3030//
  • trunk/source/visualization/FukuiRenderer/include/G4FukuiRendererViewer.hh

    r1337 r1347  
    2626//
    2727// $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 $
    2929//
    3030//
  • 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
    18D
  • trunk/source/visualization/FukuiRenderer/src/G4DAWNFILE.cc

    r1337 r1347  
    2626//
    2727// $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 $
    2929//
    3030// Satoshi TANAKA
  • trunk/source/visualization/FukuiRenderer/src/G4DAWNFILESceneHandler.cc

    r1337 r1347  
    2525//
    2626//
    27 // $Id: G4DAWNFILESceneHandler.cc,v 1.18 2006/06/29 21:16:52 gunter Exp $
    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 $
    2929//
    3030// Satoshi TANAKA
     
    4141#include <string.h>
    4242#include "globals.hh"
     43#include "G4VisManager.hh"
    4344#include "G4FRConst.hh"
    4445#include "G4DAWNFILE.hh"
     
    128129{
    129130#if defined DEBUG_FR_SCENE
    130         G4cerr << "***** ~G4DAWNFILESceneHandler" << G4endl;
     131  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
     132        G4cout << "***** ~G4DAWNFILESceneHandler" << G4endl;
    131133#endif
    132134        if (fPrimDest.IsOpen())
     
    158160                if( i == MAX_FILE_INDEX )
    159161                {
    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                  }
    167171                }
    168172
     
    188192        } // for
    189193
    190         G4cerr << "===========================================    " << G4endl;
    191         G4cerr << "Output file: " <<    fG4PrimFileName             << G4endl;
    192         G4cerr << "Destination directory (current dir if NULL): "       << fG4PrimDestDir    << G4endl;
    193         G4cerr << "Maximal number of files in the destination directory: " << fMaxFileNum << G4endl;
    194         G4cerr << "Note:                                                " << G4endl;
    195         G4cerr << "  * The maximal number is customizable as:           " << G4endl;
    196         G4cerr << "       % setenv  G4DAWNFILE_MAX_FILE_NUM  number " << G4endl;       
    197         G4cerr << "  * The destination directory is customizable as:" << G4endl;
    198         G4cerr << "       % setenv  G4DAWNFILE_DEST_DIR  dir_name/  " << G4endl;       
    199         G4cerr << "     ** Do not forget \"/\" at the end of the    " << G4endl;             
    200         G4cerr << "        dir_name, e.g. \"./tmp/\".  " << G4endl;             
    201         G4cerr << "===========================================      " << 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;
    202206
    203207} // G4DAWNFILESceneHandler::SetG4PrimFileName()
     
    208212{
    209213#if defined DEBUG_FR_SCENE
    210         G4cerr << "***** BeginSavingG4Prim (called)\n";
     214  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
     215        G4cout << "***** BeginSavingG4Prim (called)\n";
    211216#endif
    212217
     
    214219        {
    215220#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          }
    218225#endif
    219226                SetG4PrimFileName() ; // result set to fG4PrimFileName
     
    228235{
    229236#if defined DEBUG_FR_SCENE
    230         G4cerr << "***** EndSavingG4Prim (called)\n";
     237  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
     238        G4cout << "***** EndSavingG4Prim (called)\n";
    231239#endif
    232240
     
    234242        {
    235243#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;
    237246#endif
    238247                fPrimDest.Close()               ;
     
    248257        {
    249258#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;
    251261#endif
    252262
     
    259269                        //----- send SET_CAMERA command
    260270#if defined DEBUG_FR_SCENE
    261                 G4cerr << "*****   (!SetCamera in FRBeginModeling())" << G4endl;
     271                if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
     272                  G4cout << "*****   (!SetCamera in FRBeginModeling())" << G4endl;
    262273#endif
    263274                SendStr( FR_SET_CAMERA );
     
    265276                //----- open device
    266277#if defined DEBUG_FR_SCENE
    267                 G4cerr << "*****   (!OpenDevice in FRBeginModeling())" << G4endl;
     278                if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
     279                  G4cout << "*****   (!OpenDevice in FRBeginModeling())" << G4endl;
    268280#endif
    269281                SendStr( FR_OPEN_DEVICE      );
     
    271283                //----- begin sending primitives
    272284#if defined DEBUG_FR_SCENE
    273                 G4cerr << "*****   (!BeginModeling in FRBeginModeling())" << G4endl;
     285                if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
     286                  G4cout << "*****   (!BeginModeling in FRBeginModeling())" << G4endl;
    274287#endif
    275288                SendStr( FR_BEGIN_MODELING );  FRflag_in_modeling = true ;
  • trunk/source/visualization/FukuiRenderer/src/G4DAWNFILEViewer.cc

    r1337 r1347  
    2525//
    2626//
    27 // $Id: G4DAWNFILEViewer.cc,v 1.20 2006/06/29 21:16:54 gunter Exp $
    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 $
    2929//
    3030// Satoshi TANAKA
     
    4242#include <assert.h>
    4343
     44#include "G4VisManager.hh"
    4445#include "G4Scene.hh"
    4546#include "G4Vector3D.hh"
     
    101102{
    102103#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;
    104106#endif
    105107// Do nothing, since DAWN is running as a different process.
     
    113115{
    114116#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;
    116119#endif
    117120        if (fSceneHandler.fPrimDest.IsOpen()) {
     
    130133{
    131134#if defined DEBUG_FR_VIEW
    132         G4cerr << "***** G4DAWNFILEViewer::DrawView () " << G4endl;
     135  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
     136        G4cout << "***** G4DAWNFILEViewer::DrawView () " << G4endl;
    133137#endif
    134138                //-----
     
    149153{
    150154#if defined DEBUG_FR_VIEW
    151         G4cerr << "***** G4DAWNFILEViewer::ShowView () " << G4endl;
     155  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
     156        G4cout << "***** G4DAWNFILEViewer::ShowView () " << G4endl;
    152157#endif
    153158
     
    204209///////////////////////
    205210//#if defined DEBUG_FR_VIEW
    206 //  G4cerr << "***** G4DAWNFILEViewer::SendDrawingStyleToDAWNGUI()" << G4endl;
     211//  G4cout << "***** G4DAWNFILEViewer::SendDrawingStyleToDAWNGUI()" << G4endl;
    207212//#endif
    208213//////////////////////
     
    242247
    243248#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  }
    246253#endif
    247254
     
    271278
    272279        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          }
    275284                camera_distance = radius ;
    276285        }
  • trunk/source/visualization/FukuiRenderer/src/G4FRClientServer.cc

    r1337 r1347  
    2525//
    2626//
    27 // $Id: G4FRClientServer.cc,v 1.6 2006/06/29 21:16:56 gunter Exp $
    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 $
    2929//
    3030// Satoshi TANAKA, Wed Jul  3 14:14:29 JST 1996
     
    3838//=================//
    3939
     40#include "G4VisManager.hh"
    4041#include "G4FRClientServer.hh"
    4142
     
    119120
    120121#if defined DEBUG_CLIENT_SERVER
    121         G4cerr << ">>>>> receivedMessage = " << fReceivedMessage << G4endl;
     122        if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
     123          G4cout << ">>>>> receivedMessage = " << fReceivedMessage << G4endl;
    122124#endif
    123125
     
    150152
    151153#if defined DEBUG_CLIENT_SERVER
    152         G4cerr << "<<<<< SentMessage = " << fSendingMessage << G4endl;
     154        if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
     155          G4cout << "<<<<< SentMessage = " << fSendingMessage << G4endl;
    153156#endif
    154157
     
    255258
    256259// #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;
    258262// #endif
    259263       
  • trunk/source/visualization/FukuiRenderer/src/G4FukuiRenderer.cc

    r1337 r1347  
    2525//
    2626//
    27 // $Id: G4FukuiRenderer.cc,v 1.9 2006/06/29 21:16:58 gunter Exp $
    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 $
    2929//
    3030//
     
    4343#define __G_ANSI_C__
    4444
     45#include "G4VisManager.hh"
    4546//#include "G4VisFeaturesOfFukuiRenderer.hh"
    4647#include "G4VSceneHandler.hh"
     
    114115
    115116#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;
    117119#endif
    118120        fIPMode = G4FukuiRenderer::IP_UNIX ;
     
    144146
    145147        if(!flag_connected) {
    146           G4cerr << "***** ERROR: Connection failed" << G4endl;
     148          if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
     149            G4cout << "***** ERROR: Connection failed" << G4endl;
    147150        }
    148151        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          }
    151156        }
    152157
     
    159164{
    160165#if defined DEBUG_FR_SYSTEM
    161         G4cerr << "***** INET Domain " << G4endl;
     166  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
     167        G4cout << "***** INET Domain " << G4endl;
    162168#endif
    163169        fIPMode = G4FukuiRenderer::IP_INET ;
     
    166172
    167173        if(!flag_connected) {
    168           G4cerr << "***** ERROR: Connection failed" << G4endl;
     174          if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
     175            G4cout << "***** ERROR: Connection failed" << G4endl;
    169176        }
    170177        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          }
    173182        }
    174183
     
    183192    if ( ++connect_trial > max_port_incr ) {
    184193        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        }
    189200        fPrimDest.IncrementPortNumber( (- FR_MAX_PORT_INCR) );
    190201        return ;
     
    192203            // INET domain connection is established
    193204        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        }
    197210        break ;
    198211    } else {
     
    200213      this->flag_connected = 0 ;
    201214      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      }
    204219
    205220    } // if-elseif-else
     
    215230
    216231#if defined DEBUG_FR_SYSTEM
    217         G4cerr << "***** UseBSDUnixDomainAuto " << G4endl;
     232        if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
     233          G4cout << "***** UseBSDUnixDomainAuto " << G4endl;
    218234#endif
    219235        fIPMode = G4FukuiRenderer::IP_UNIX ; // Unix domain
     
    241257                        //----- display status
    242258                if(!flag_connected) {
    243                   G4cerr << "***** ERROR: Connection failed" << G4endl;
     259                  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
     260                    G4cout << "***** ERROR: Connection failed" << G4endl;
    244261                } 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                  }
    247266                }
    248267
  • trunk/source/visualization/FukuiRenderer/src/G4FukuiRendererSceneHandler.cc

    r1337 r1347  
    2525//
    2626//
    27 // $Id: G4FukuiRendererSceneHandler.cc,v 1.14 2006/06/29 21:17:00 gunter Exp $
    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 $
    2929//
    3030//
     
    4646#include <string.h>
    4747#include "globals.hh"
     48#include "G4VisManager.hh"
    4849#include "G4FRConst.hh"
    4950#include "G4FukuiRenderer.hh"
     
    125126{
    126127#if defined DEBUG_FR_SCENE
    127         G4cerr << "***** ~G4FukuiRendererSceneHandler" << G4endl;
     128  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
     129        G4cout << "***** ~G4FukuiRendererSceneHandler" << G4endl;
    128130#endif
    129131  ClearStore (); // clear current scene
     
    137139        {
    138140#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;
    140143#endif
    141144
     
    173176          //   !SetCamera
    174177#if defined DEBUG_FR_SCENE
    175                 G4cerr << "*****   (!SetCamera in FRBeginModeling())" << G4endl;
     178          if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
     179                G4cout << "*****   (!SetCamera in FRBeginModeling())" << G4endl;
    176180#endif
    177181          SendStr( FR_SET_CAMERA );
     
    180184          //   !OpenDevice
    181185#if defined DEBUG_FR_SCENE
    182                 G4cerr << "*****   (!OpenDevice in FRBeginModeling())" << G4endl;
     186          if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
     187                G4cout << "*****   (!OpenDevice in FRBeginModeling())" << G4endl;
    183188#endif
    184189          SendStr( FR_OPEN_DEVICE      );
     
    187192          //   !BeginModeling
    188193#if defined DEBUG_FR_SCENE
    189           G4cerr << "*****   (!BeginModeling in FRBeginModeling())" << G4endl;
     194          if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
     195          G4cout << "*****   (!BeginModeling in FRBeginModeling())" << G4endl;
    190196#endif
    191197          SendStr( FR_BEGIN_MODELING );  FRflag_in_modeling = true ;
  • trunk/source/visualization/FukuiRenderer/src/G4FukuiRendererViewer.cc

    r1337 r1347  
    2525//
    2626//
    27 // $Id: G4FukuiRendererViewer.cc,v 1.11 2006/06/29 21:17:02 gunter Exp $
    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 $
    2929//
    3030//
     
    4747#include <assert.h>
    4848
     49#include "G4VisManager.hh"
    4950#include "G4Scene.hh"
    5051#include "G4Vector3D.hh"
     
    7677{
    7778#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;
    7981#endif
    8082// Do nothing, since DAWN is running as a different process.
     
    8789{
    8890#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;
    9093#endif
    9194
     
    97100{
    98101#if defined DEBUG_FR_VIEW
    99         G4cerr << "***** G4FukuiRendererViewer::DrawView () " << G4endl;
     102  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
     103        G4cout << "***** G4FukuiRendererViewer::DrawView () " << G4endl;
    100104#endif
    101105
     
    116120{
    117121#if defined DEBUG_FR_VIEW
    118         G4cerr << "***** G4FukuiRendererViewer::ShowView () " << G4endl;
     122  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
     123        G4cout << "***** G4FukuiRendererViewer::ShowView () " << G4endl;
    119124#endif
    120125
     
    137142{
    138143#if defined DEBUG_FR_VIEW
    139         G4cerr << "***** G4FukuiRendererViewer::Wait () : Begin" << G4endl;
     144  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
     145        G4cout << "***** G4FukuiRendererViewer::Wait () : Begin" << G4endl;
    140146#endif
    141147  fSceneHandler.SendStr    ( FR_WAIT );
    142148  fSceneHandler.GetPrimDest().WaitSendBack( FR_WAIT );
    143149#if defined DEBUG_FR_VIEW
    144         G4cerr << "***** G4FukuiRendererViewer::Wait () : end" << G4endl;
     150  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
     151        G4cout << "***** G4FukuiRendererViewer::Wait () : end" << G4endl;
    145152#endif
    146153
     
    153160{
    154161#if defined DEBUG_FR_VIEW
    155         G4cerr << "***** G4FukuiRendererViewer::SendDevice() " << G4endl;
     162  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
     163        G4cout << "***** G4FukuiRendererViewer::SendDevice() " << G4endl;
    156164#endif
    157165
     
    168176{
    169177#if defined DEBUG_FR_VIEW
    170         G4cerr << "***** G4FukuiRendererViewer::SendDrawingStyle() " << G4endl;
     178  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
     179        G4cout << "***** G4FukuiRendererViewer::SendDrawingStyle() " << G4endl;
    171180#endif
    172181
     
    201210
    202211#if defined DEBUG_FR_VIEW
    203   G4cerr << "***** G4FukuiRendererViewer::SendViewParameters()" << G4endl;
     212  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
     213    G4cout << "***** G4FukuiRendererViewer::SendViewParameters()" << G4endl;
    204214#endif
    205215
     
    229239
    230240        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          }
    233245                camera_distance = radius ;
    234246        }
  • trunk/source/visualization/HepRep/CVS/Entries

    r1346 r1347  
    33/CMakeLists.txt/1.1/Wed Sep 29 19:11:49 2010//Tgeant4-09-04-ref-00
    44/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.135 2010/06/21 04:43:07 perl Exp $
     1.$Id: History,v 1.136 2010/11/07 22:29:30 perl Exp $
    22-------------------------------------------------------------------
    33
     
    2020History file for visualization/HepRep sub-category
    2121--------------------------------------------------
     22
     237th November 2010  Joseph Perl  (vis-HepRep-V09-03-04)
     24- G4HepRepFileSceneHandler.hh: Fix coverity warning about uninitialized variables. Turns out they were unneeded.
    2225
    232620th June 2010  Joseph Perl  (vis-HepRep-V09-03-03)
  • trunk/source/visualization/HepRep/include/CVS/Entries

    r1346 r1347  
    11D/HEPREP////
    22D/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  
    2525//
    2626// $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 $
    2828//
    2929
  • trunk/source/visualization/HepRep/include/G4HepRepFile.hh

    r1337 r1347  
    2626//
    2727// $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 $
    2929//
    3030//
  • trunk/source/visualization/HepRep/include/G4HepRepFileSceneHandler.hh

    r1337 r1347  
    2525//
    2626//
    27 // $Id: G4HepRepFileSceneHandler.hh,v 1.32 2010/05/30 10:28:02 allison Exp $
    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 $
    2929//
    3030//
     
    144144  void CheckFileOpen();
    145145  int fileCounter;
    146   char fileDir[256];
    147   char fileName[256];
    148   G4bool fileOverwrite;
    149   G4bool cullInvisibleObjects;
    150146  G4bool haveVisible;
    151147  G4bool inPrimitives2D;
     
    154150  G4bool drawingTraj;
    155151  G4bool doneInitTraj;
    156   G4bool drawTrajPts;
    157152  G4bool drawingHit;
    158153  G4bool doneInitHit;
  • trunk/source/visualization/HepRep/include/G4HepRepFileViewer.hh

    r1337 r1347  
    2626//
    2727// $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 $
    2929//
    3030//
  • trunk/source/visualization/HepRep/include/G4HepRepMessenger.hh

    r1337 r1347  
    2525//
    2626// $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 $
    2828//
    2929//
  • trunk/source/visualization/HepRep/include/G4HepRepSceneHandler.hh

    r1337 r1347  
    2525//
    2626// $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 $
    2828//
    2929
  • trunk/source/visualization/HepRep/include/G4HepRepViewer.hh

    r1337 r1347  
    2525//
    2626// $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 $
    2828//
    2929
  • 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
    125D
  • 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
    128D
  • 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
    133D
  • trunk/source/visualization/HepRep/src/G4HepRep.cc

    r1337 r1347  
    2525//
    2626// $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 $
    2828//
    2929
  • trunk/source/visualization/HepRep/src/G4HepRepFile.cc

    r1337 r1347  
    2525//
    2626// $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 $
    2828//
    2929//
  • trunk/source/visualization/HepRep/src/G4HepRepFileSceneHandler.cc

    r1337 r1347  
    2525//
    2626// $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 $
    2828//
    2929//
  • trunk/source/visualization/HepRep/src/G4HepRepFileViewer.cc

    r1337 r1347  
    2525//
    2626// $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 $
    2828
    2929#include "G4HepRepFileViewer.hh"
  • trunk/source/visualization/HepRep/src/G4HepRepMessenger.cc

    r1337 r1347  
    2525//
    2626// $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 $
    2828//
    2929#include "G4HepRepMessenger.hh"
  • trunk/source/visualization/HepRep/src/G4HepRepSceneHandler.cc

    r1337 r1347  
    2525//
    2626// $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 $
    2828//
    2929
  • trunk/source/visualization/HepRep/src/G4HepRepViewer.cc

    r1337 r1347  
    2525//
    2626// $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 $
    2828//
    2929
  • trunk/source/visualization/OpenInventor/CVS/Entries

    r1346 r1347  
    33/CMakeLists.txt/1.1/Wed Sep 29 19:12:22 2010//Tgeant4-09-04-ref-00
    44/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.107 2010/10/06 15:46:21 allison Exp $
     1$Id: History,v 1.108 2010/11/10 17:53:22 allison Exp $
    22-------------------------------------------------------------------
    33
     
    2020History file for visualization/OpenInventor
    2121-------------------------------------------
     22
     2310th November 2010  John Allison  (openinventor-V09-03-02)
     24- G4OpenInventor*Viewer.cc:
     25  o Protected output with G4VisManager::confirmations.
    2226
    23276th October 2010  John Allison  (openinventor-V09-03-01)
  • trunk/source/visualization/OpenInventor/include/CVS/Entries

    r1346 r1347  
    11D/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  
    2626//
    2727// $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 $
    2929//
    3030// Guy Barrand 26 Mar 1998.
  • trunk/source/visualization/OpenInventor/include/G4OpenInventorSceneHandler.hh

    r1337 r1347  
    2626//
    2727// $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 $
    2929//
    3030//
  • trunk/source/visualization/OpenInventor/include/G4OpenInventorTransform3D.hh

    r1337 r1347  
    2626//
    2727// $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 $
    2929//
    3030//
  • trunk/source/visualization/OpenInventor/include/G4OpenInventorWin.hh

    r1337 r1347  
    2626//
    2727// $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 $
    2929//
    3030// OpenInventor graphics system factory.
  • trunk/source/visualization/OpenInventor/include/G4OpenInventorWin32.hh

    r1337 r1347  
    2626//
    2727// $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 $
    2929//
    3030// OpenInventor graphics system factory.
  • trunk/source/visualization/OpenInventor/include/G4OpenInventorWinViewer.hh

    r1337 r1347  
    2626//
    2727// $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 $
    2929//
    3030//
  • trunk/source/visualization/OpenInventor/include/G4OpenInventorX.hh

    r1337 r1347  
    2626//
    2727// $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 $
    2929//
    3030//
  • trunk/source/visualization/OpenInventor/include/G4OpenInventorXt.hh

    r1337 r1347  
    2626//
    2727// $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 $
    2929//
    3030//
  • trunk/source/visualization/OpenInventor/include/G4OpenInventorXtViewer.hh

    r1337 r1347  
    2626//
    2727// $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 $
    2929//
    3030//
  • trunk/source/visualization/OpenInventor/include/HEPVis/CVS/Entries

    r1346 r1347  
    33D/nodekits////
    44D/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  
    2626//
    2727// $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 $
    2929//
    3030#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
    14D
  • 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
    12D
  • 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
    12D
  • trunk/source/visualization/OpenInventor/include/HEPVis/nodekits/SoDetectorTreeKit.h

    r954 r1347  
    2626//
    2727// $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 $
    2929//
    3030/*-----------------------------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
    18D
  • trunk/source/visualization/OpenInventor/include/HEPVis/nodes/SoBox.h

    r954 r1347  
    2626//
    2727// $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 $
    2929//
    3030/*-----------------------------Hepvis----------------------------------------*/
  • trunk/source/visualization/OpenInventor/include/HEPVis/nodes/SoCons.h

    r954 r1347  
    2626//
    2727// $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 $
    2929//
    3030/*-----------------------------Hepvis----------------------------------------*/
  • trunk/source/visualization/OpenInventor/include/HEPVis/nodes/SoTrap.h

    r954 r1347  
    2626//
    2727// $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 $
    2929//
    3030/*-----------------------------Hepvis----------------------------------------*/
  • trunk/source/visualization/OpenInventor/include/HEPVis/nodes/SoTrd.h

    r954 r1347  
    2626//
    2727// $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 $
    2929//
    3030/*-----------------------------Hepvis----------------------------------------*/
  • trunk/source/visualization/OpenInventor/include/HEPVis/nodes/SoTubs.h

    r954 r1347  
    2626//
    2727// $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 $
    2929//
    3030/*-----------------------------Hepvis----------------------------------------*/
  • trunk/source/visualization/OpenInventor/include/SoG4LineSet.h

    r954 r1347  
    2525//
    2626// $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 $
    2828//
    2929// John Allison  26th October 2006
  • trunk/source/visualization/OpenInventor/include/SoG4MarkerSet.h

    r954 r1347  
    2525//
    2626// $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 $
    2828//
    2929// John Allison  26th October 2006
  • trunk/source/visualization/OpenInventor/include/SoG4Polyhedron.h

    r954 r1347  
    2626//
    2727// $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 $
    2929//
    3030// 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
    124D
  • trunk/source/visualization/OpenInventor/src/G4OpenInventor.cc

    r1337 r1347  
    2626//
    2727// $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 $
    2929//
    3030#ifdef G4VIS_BUILD_OI_DRIVER
  • trunk/source/visualization/OpenInventor/src/G4OpenInventorSceneHandler.cc

    r1337 r1347  
    2626//
    2727// $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 $
    2929//
    3030//
  • trunk/source/visualization/OpenInventor/src/G4OpenInventorTransform3D.cc

    r1337 r1347  
    2626//
    2727// $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 $
    2929//
    3030//
  • trunk/source/visualization/OpenInventor/src/G4OpenInventorViewer.cc

    r1340 r1347  
    2525//
    2626// $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 $
    2828
    2929#ifdef G4VIS_BUILD_OI_DRIVER
  • trunk/source/visualization/OpenInventor/src/G4OpenInventorWin.cc

    r1337 r1347  
    2626//
    2727// $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 $
    2929//
    3030// OpenInventor graphics system factory.
  • trunk/source/visualization/OpenInventor/src/G4OpenInventorWinViewer.cc

    r1337 r1347  
    2525//
    2626//
    27 // $Id: G4OpenInventorWinViewer.cc,v 1.26 2009/09/18 12:48:43 lgarnier Exp $
    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 $
    2929//
    3030/*
     
    5252#include "G4OpenInventorSceneHandler.hh"
    5353#include "G4VInteractorManager.hh"
     54#include "G4VisManager.hh"
    5455
    5556#include <windowsx.h>
     
    9596,fViewer(0)
    9697{
    97   G4cout << "Window name: " << fName << G4endl;
    98 
     98  if (G4VisManager::GetVerbosity() >= G4VisManager::confirmations)
     99    G4cout << "Window name: " << fName << G4endl;
    99100}
    100101
  • trunk/source/visualization/OpenInventor/src/G4OpenInventorXt.cc

    r1337 r1347  
    2626//
    2727// $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 $
    2929//
    3030//
  • trunk/source/visualization/OpenInventor/src/G4OpenInventorXtViewer.cc

    r1337 r1347  
    2525//
    2626//
    27 // $Id: G4OpenInventorXtViewer.cc,v 1.25 2009/09/18 12:48:43 lgarnier Exp $
    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 $
    2929//
    3030/*
     
    6565#include "G4OpenInventorSceneHandler.hh"
    6666#include "G4VInteractorManager.hh"
     67#include "G4VisManager.hh"
    6768
    6869G4OpenInventorXtViewer::G4OpenInventorXtViewer(
     
    7576,fHelpText(0)
    7677{
    77   G4cout << "Window name: " << fName << G4endl;
     78  if (G4VisManager::GetVerbosity() >= G4VisManager::confirmations)
     79    G4cout << "Window name: " << fName << G4endl;
    7880}
    7981
  • trunk/source/visualization/OpenInventor/src/SoBox.cc

    r1337 r1347  
    2727//
    2828// $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 $
    3030//
    3131/*----------------------------HEPVis----------------------------------------*/
  • trunk/source/visualization/OpenInventor/src/SoCons.cc

    r1337 r1347  
    2727//
    2828// $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 $
    3030//
    3131/*-----------------------------HEPVis---------------------------------------*/
  • trunk/source/visualization/OpenInventor/src/SoDetectorTreeKit.cc

    r1337 r1347  
    2727//
    2828// $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 $
    3030//
    3131/*-----------------------------HEPVis----------------------------------------*/
  • trunk/source/visualization/OpenInventor/src/SoTrap.cc

    r1337 r1347  
    2727//
    2828// $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 $
    3030//
    3131/*-----------------------------HEPVis----------------------------------------*/
  • trunk/source/visualization/OpenInventor/src/SoTrd.cc

    r1337 r1347  
    2727//
    2828// $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 $
    3030//
    3131/*-----------------------------HEPVis---------------------------------------*/
  • trunk/source/visualization/OpenInventor/src/SoTubs.cc

    r1337 r1347  
    2727//
    2828// $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 $
    3030//
    3131/*-----------------------------HEPVis---------------------------------------*/
  • trunk/source/visualization/RayTracer/CVS/Entries

    r1346 r1347  
    33/CMakeLists.txt/1.1/Wed Sep 29 19:12:38 2010//Tgeant4-09-04-ref-00
    44/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.64 2010/06/14 14:33:34 gcosmo Exp $
     1$Id: History,v 1.66 2010/10/27 08:00:36 gcosmo Exp $
    22-------------------------------------------------------------------
    33
     
    2424History file for Ray Tracer category
    2525---------------------------------------
     26
     2727th October 2010  Gabriele Cosmo (raytracer-V09-03-04)
     28- Restored DLL setup as originally. Withdrawn changes in last tag.
     29
     3019th October 2010  Gabriele Cosmo (raytracer-V09-03-03)
     31- Replaced G4VIS_ALLOC_EXPORT flag with G4ALLOC_EXPORT for DLL exported
     32  symbols.
    2633
    273414th 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
    122D
  • trunk/source/visualization/RayTracer/include/G4RTJpeg.hh

    r1337 r1347  
    2626//
    2727// $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 $
    2929//
    3030//
  • trunk/source/visualization/RayTracer/include/G4RTJpegCoder.hh

    r1337 r1347  
    2626//
    2727// $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 $
    2929//
    3030//
  • trunk/source/visualization/RayTracer/include/G4RTJpegCoderTables.hh

    r1337 r1347  
    2626//
    2727// $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 $
    2929//
    3030
  • trunk/source/visualization/RayTracer/include/G4RTJpegMaker.hh

    r1337 r1347  
    2626//
    2727// $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 $
    2929//
    3030//
  • trunk/source/visualization/RayTracer/include/G4RTMessenger.hh

    r1337 r1347  
    2626//
    2727// $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 $
    2929//
    3030//
  • trunk/source/visualization/RayTracer/include/G4RTOutBitStream.hh

    r1337 r1347  
    2626//
    2727// $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 $
    2929//
    3030//
  • trunk/source/visualization/RayTracer/include/G4RTSimpleScanner.hh

    r1337 r1347  
    2626//
    2727// $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 $
    2929//
    3030//
  • trunk/source/visualization/RayTracer/include/G4RTSteppingAction.hh

    r1337 r1347  
    2626//
    2727// $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 $
    2929//
    3030//
  • trunk/source/visualization/RayTracer/include/G4RTTrackingAction.hh

    r1337 r1347  
    2626//
    2727// $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 $
    2929//
    3030//
  • trunk/source/visualization/RayTracer/include/G4RTXScanner.hh

    r1337 r1347  
    2626//
    2727// $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 $
    2929//
    3030//
  • trunk/source/visualization/RayTracer/include/G4RayTracer.hh

    r1337 r1347  
    2626//
    2727// $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 $
    2929//
    3030//
  • trunk/source/visualization/RayTracer/include/G4RayTracerFeatures.hh

    r1337 r1347  
    2626//
    2727// $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 $
    2929//
    3030//
  • trunk/source/visualization/RayTracer/include/G4RayTracerSceneHandler.hh

    r1337 r1347  
    2626//
    2727// $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 $
    2929
    3030// John Allison  17th March 2000
  • trunk/source/visualization/RayTracer/include/G4RayTracerViewer.hh

    r1337 r1347  
    2626//
    2727// $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 $
    2929
    3030// John Allison  17th March 2000
  • trunk/source/visualization/RayTracer/include/G4RayTracerX.hh

    r1337 r1347  
    2626//
    2727// $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 $
    2929//
    3030//
  • trunk/source/visualization/RayTracer/include/G4RayTracerXViewer.hh

    r1337 r1347  
    2626//
    2727// $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 $
    2929
    3030// John Allison  17th March 2000
  • trunk/source/visualization/RayTracer/include/G4RayTrajectory.hh

    r1337 r1347  
    2626//
    2727// $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 $
    2929//
    3030//
  • trunk/source/visualization/RayTracer/include/G4RayTrajectoryPoint.hh

    r1337 r1347  
    2626//
    2727// $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 $
    2929//
    3030//
  • trunk/source/visualization/RayTracer/include/G4TheRayTracer.hh

    r1337 r1347  
    2626//
    2727// $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 $
    2929//
    3030//
  • trunk/source/visualization/RayTracer/include/G4VFigureFileMaker.hh

    r1337 r1347  
    2626//
    2727// $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 $
    2929//
    3030//
  • trunk/source/visualization/RayTracer/include/G4VRTScanner.hh

    r1337 r1347  
    2626//
    2727// $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 $
    2929//
    3030//
  • 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
    118D
  • trunk/source/visualization/RayTracer/src/G4RTJpegCoder.cc

    r1337 r1347  
    2626//
    2727// $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 $
    2929//
    3030//
  • trunk/source/visualization/RayTracer/src/G4RTJpegMaker.cc

    r1337 r1347  
    2626//
    2727// $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 $
    2929//
    3030//
  • trunk/source/visualization/RayTracer/src/G4RTMessenger.cc

    r1337 r1347  
    2626//
    2727// $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 $
    2929//
    3030//
  • trunk/source/visualization/RayTracer/src/G4RTOutBitStream.cc

    r1337 r1347  
    2626//
    2727// $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 $
    2929//
    3030//
  • trunk/source/visualization/RayTracer/src/G4RTSimpleScanner.cc

    r1337 r1347  
    2626//
    2727// $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 $
    2929//
    3030//
  • trunk/source/visualization/RayTracer/src/G4RTSteppingAction.cc

    r1337 r1347  
    2626//
    2727// $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 $
    2929//
    3030//
  • trunk/source/visualization/RayTracer/src/G4RTTrackingAction.cc

    r1337 r1347  
    2626//
    2727// $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 $
    2929//
    3030//
  • trunk/source/visualization/RayTracer/src/G4RTXScanner.cc

    r1337 r1347  
    2626//
    2727// $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 $
    2929//
    3030//
  • trunk/source/visualization/RayTracer/src/G4RayTracer.cc

    r1337 r1347  
    2626//
    2727// $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 $
    2929
    3030#include "G4RayTracer.hh"
  • trunk/source/visualization/RayTracer/src/G4RayTracerSceneHandler.cc

    r1337 r1347  
    2626//
    2727// $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 $
    2929
    3030#include "G4RayTracerSceneHandler.hh"
  • trunk/source/visualization/RayTracer/src/G4RayTracerViewer.cc

    r1337 r1347  
    2626//
    2727// $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 $
    2929
    3030#include "G4RayTracerViewer.hh"
  • trunk/source/visualization/RayTracer/src/G4RayTracerX.cc

    r1337 r1347  
    2626//
    2727// $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 $
    2929//
    3030//
  • trunk/source/visualization/RayTracer/src/G4RayTracerXViewer.cc

    r1337 r1347  
    2626//
    2727// $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 $
    2929
    3030#ifdef G4VIS_BUILD_RAYTRACERX_DRIVER
  • trunk/source/visualization/RayTracer/src/G4RayTrajectory.cc

    r1337 r1347  
    2626//
    2727// $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 $
    2929//
    3030//
  • trunk/source/visualization/RayTracer/src/G4RayTrajectoryPoint.cc

    r1337 r1347  
    2626//
    2727// $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 $
    2929//
    3030//
  • trunk/source/visualization/RayTracer/src/G4TheRayTracer.cc

    r1337 r1347  
    2626//
    2727// $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 $
    2929//
    3030//
  • trunk/source/visualization/RayTracer/src/G4VRTScanner.cc

    r1337 r1347  
    2626//
    2727// $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 $
    2929//
    3030//
  • trunk/source/visualization/Tree/CVS/Entries

    r1346 r1347  
    33/CMakeLists.txt/1.1/Wed Sep 29 19:12:55 2010//Tgeant4-09-04-ref-00
    44/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.30 2007/03/27 15:11:43 allison Exp $
     1$Id: History,v 1.31 2010/11/13 11:26:01 allison Exp $
    22-------------------------------------------------------------------
    33
     
    2424History file for visualization/Tree sub-category
    2525------------------------------------------------
     26
     2713th November 2010  John Allison  (vistree-V09-03-00)
     28- Tagged inclusion of CMake stuff.
    2629
    273025th 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
    19D
  • trunk/source/visualization/Tree/include/G4ASCIITree.hh

    r1337 r1347  
    2626//
    2727// $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 $
    2929//
    3030//
  • trunk/source/visualization/Tree/include/G4ASCIITreeMessenger.hh

    r1337 r1347  
    2626//
    2727// $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 $
    2929//
    3030//
  • trunk/source/visualization/Tree/include/G4ASCIITreeSceneHandler.hh

    r1337 r1347  
    2626//
    2727// $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 $
    2929//
    3030//
  • trunk/source/visualization/Tree/include/G4ASCIITreeViewer.hh

    r1337 r1347  
    2626//
    2727// $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 $
    2929//
    3030//
  • trunk/source/visualization/Tree/include/G4VTree.hh

    r1337 r1347  
    2626//
    2727// $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 $
    2929//
    3030//
  • trunk/source/visualization/Tree/include/G4VTreeSceneHandler.hh

    r1337 r1347  
    2626//
    2727// $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 $
    2929//
    3030//
  • trunk/source/visualization/Tree/include/G4VTreeSceneHandler.icc

    r1337 r1347  
    2626//
    2727// $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 $
    2929//
    3030//
  • trunk/source/visualization/Tree/include/G4VTreeViewer.hh

    r1337 r1347  
    2626//
    2727// $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 $
    2929//
    3030//
  • 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
    18D
  • trunk/source/visualization/Tree/src/G4ASCIITree.cc

    r1337 r1347  
    2626//
    2727// $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 $
    2929//
    3030//
  • trunk/source/visualization/Tree/src/G4ASCIITreeMessenger.cc

    r1337 r1347  
    2626//
    2727// $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 $
    2929//
    3030//
  • trunk/source/visualization/Tree/src/G4ASCIITreeSceneHandler.cc

    r1337 r1347  
    2626//
    2727// $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 $
    2929//
    3030//
  • trunk/source/visualization/Tree/src/G4ASCIITreeViewer.cc

    r1337 r1347  
    2626//
    2727// $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 $
    2929
    3030#include "G4ASCIITreeViewer.hh"
  • trunk/source/visualization/Tree/src/G4VTree.cc

    r1337 r1347  
    2626//
    2727// $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 $
    2929//
    3030//
  • trunk/source/visualization/Tree/src/G4VTreeSceneHandler.cc

    r1337 r1347  
    2626//
    2727// $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 $
    2929//
    3030//
  • trunk/source/visualization/Tree/src/G4VTreeViewer.cc

    r1337 r1347  
    2626//
    2727// $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 $
    2929
    3030#include "G4VTreeViewer.hh"
  • trunk/source/visualization/VRML/CVS/Entries

    r1346 r1347  
    44/CMakeLists.txt/1.1/Wed Sep 29 19:13:11 2010//Tgeant4-09-04-ref-00
    55/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 allison Exp $
     1$Id: History,v 1.21 2010/11/11 00:48:34 akimura Exp $
    22-------------------------------------------------------------------
    33
     
    2020History file for visualization/VRML sub-category
    2121------------------------------------------------
     22
     2311 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)
    2226
    232730th 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
    16D
  • trunk/source/visualization/VRML/g4vrmlview/g4mini.java

    r834 r1347  
    2626//
    2727// $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 $
    2929//
    3030import java.io.*;
  • trunk/source/visualization/VRML/g4vrmlview/g4vrmlview.java

    r834 r1347  
    2626//
    2727// $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 $
    2929//
    3030import 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
    116D
  • trunk/source/visualization/VRML/include/FRClient.h

    r944 r1347  
    2626//
    2727// $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 $
    2929//
    3030// FRClient.h
  • trunk/source/visualization/VRML/include/G4FRClient.hh

    r1337 r1347  
    2626//
    2727// $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 $
    2929//
    3030// G4FRClient.hh
  • trunk/source/visualization/VRML/include/G4VRML1.hh

    r1337 r1347  
    2626//
    2727// $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 $
    2929//
    3030// G4VRML1.hh
  • trunk/source/visualization/VRML/include/G4VRML1File.hh

    r1337 r1347  
    2626//
    2727// $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 $
    2929//
    3030// G4VRML1File.hh
  • trunk/source/visualization/VRML/include/G4VRML1FileSceneHandler.hh

    r1337 r1347  
    2626//
    2727// $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 $
    2929//
    3030// G4VRML1FileSceneHandler.hh
  • trunk/source/visualization/VRML/include/G4VRML1FileViewer.hh

    r1337 r1347  
    2626//
    2727// $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 $
    2929//
    3030// G4VRML1FileViewer.hh
  • trunk/source/visualization/VRML/include/G4VRML1SceneHandler.hh

    r1337 r1347  
    2626//
    2727// $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 $
    2929//
    3030// G4VRML1SceneHandler.hh
  • trunk/source/visualization/VRML/include/G4VRML1Viewer.hh

    r1337 r1347  
    2626//
    2727// $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 $
    2929//
    3030// G4VRML1Viewer.hh
  • trunk/source/visualization/VRML/include/G4VRML2.hh

    r1337 r1347  
    2626//
    2727// $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 $
    2929//
    3030// G4VRML2.hh
  • trunk/source/visualization/VRML/include/G4VRML2File.hh

    r1337 r1347  
    2626//
    2727// $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 $
    2929//
    3030// G4VRML2File.hh
  • trunk/source/visualization/VRML/include/G4VRML2FileSceneHandler.hh

    r1337 r1347  
    2626//
    2727// $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 $
    2929//
    3030// G4VRML2FileSceneHandler.hh
  • trunk/source/visualization/VRML/include/G4VRML2FileViewer.hh

    r1337 r1347  
    2626//
    2727// $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 $
    2929//
    3030// G4VRML2FileViewer.hh
  • trunk/source/visualization/VRML/include/G4VRML2SceneHandler.hh

    r1337 r1347  
    2626//
    2727// $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 $
    2929//
    3030// G4VRML2SceneHandler.hh
  • trunk/source/visualization/VRML/include/G4VRML2Viewer.hh

    r1337 r1347  
    2626//
    2727// $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 $
    2929//
    3030// G4VRML2Viewer.hh
  • trunk/source/visualization/VRML/include/G4VRMLNetConfig.hh

    r1337 r1347  
    2626//
    2727// $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 $
    2929//
    3030// 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
    117D
  • trunk/source/visualization/VRML/src/FRClient.cc

    r1337 r1347  
    2525//
    2626//
    27 // $Id: FRClient.cc,v 1.7 2006/06/29 21:25:49 gunter Exp $
    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 $
    2929//
    3030// FRClient.cc
     
    5656#include <stdio.h>
    5757
     58#include "G4VisManager.hh"
    5859#include "FRClient.h"
    5960
     
    99100        hp = gethostbyname(hostname) ;
    100101        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;
    103105        }
    104106
  • trunk/source/visualization/VRML/src/G4FRClient.cc

    r1337 r1347  
    2626//
    2727// $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 $
    2929//
    3030// G4FRClient.cc
  • trunk/source/visualization/VRML/src/G4VRML1.cc

    r1337 r1347  
    2626//
    2727// $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 $
    2929//
    3030// G4VRML1.cc
  • trunk/source/visualization/VRML/src/G4VRML1File.cc

    r1337 r1347  
    2626//
    2727// $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 $
    2929//
    3030// G4VRML1File.cc
  • trunk/source/visualization/VRML/src/G4VRML1FileSceneHandler.cc

    r1337 r1347  
    2525//
    2626//
    27 // $Id: G4VRML1FileSceneHandler.cc,v 1.12 2006/06/29 21:25:57 gunter Exp $
    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 $
    2929//
    3030// G4VRML1FileSceneHandler.cc
     
    4040
    4141#include "globals.hh"
     42#include "G4VisManager.hh"
    4243#include "G4Scene.hh"
    4344#include "G4VPhysicalVolume.hh"
     
    104105{
    105106#if defined DEBUG_FR_SCENE
    106         G4cerr << "***** ~G4VRML1FileSceneHandler" << G4endl;
     107  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
     108        G4cout << "***** ~G4VRML1FileSceneHandler" << G4endl;
    107109#endif
    108110        VRMLEndModeling();
     
    134136                if( i == MAX_FILE_INDEX )
    135137                {
    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                  }
    143147                }
    144148
     
    166170
    167171        // 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        }
    174179        fDest.open(fVRMLFileName) ;  fFlagDestOpen =  true ;
    175180}
     
    187192        // close VRML file     
    188193        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;
    190196
    191197       
     
    193199
    194200        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          }
    201209        } else {
    202210                sprintf( command, "%s %s", viewer, fVRMLFileName  );   
  • trunk/source/visualization/VRML/src/G4VRML1FileViewer.cc

    r1337 r1347  
    2525//
    2626//
    27 // $Id: G4VRML1FileViewer.cc,v 1.11 2006/06/29 21:25:59 gunter Exp $
    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 $
    2929//
    3030// G4VRMLView.cc
     
    3434//#define DEBUG_FR_VIEW
    3535
     36#include "G4VisManager.hh"
    3637#include "G4Scene.hh"
    3738#include "G4VRML1FileViewer.hh"
     
    5455{
    5556#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;
    5759#endif
    5860}
     
    6163{
    6264#if defined DEBUG_FR_VIEW
    63         G4cerr << "***** G4VRML1FileViewer::DrawView()" << G4endl;
     65  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
     66        G4cout << "***** G4VRML1FileViewer::DrawView()" << G4endl;
    6467#endif
    6568
     
    7578{
    7679  //#if defined DEBUG_FR_VIEW
    77   G4cerr << "***** G4VRML1File1View::ClearView()" << G4endl;
     80  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
     81        G4cout << "***** G4VRML1File1View::ClearView()" << G4endl;
    7882  //#endif
    7983  if(fSceneHandler.fFlagDestOpen) {
     
    8993{
    9094#if defined DEBUG_FR_VIEW
    91   G4cerr << "***** G4VRML1FileViewer::ShowView()" << G4endl;
     95  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
     96        G4cout << "***** G4VRML1FileViewer::ShowView()" << G4endl;
    9297#endif
    9398        fSceneHandler.VRMLEndModeling();
     
    97102{
    98103#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;
    100106#endif
    101107}
  • trunk/source/visualization/VRML/src/G4VRML1SceneHandler.cc

    r1337 r1347  
    2525//
    2626//
    27 // $Id: G4VRML1SceneHandler.cc,v 1.10 2006/06/29 21:26:01 gunter Exp $
    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 $
    2929//
    3030// G4VRML1SceneHandler.cc
     
    4444
    4545#include "globals.hh"
     46#include "G4VisManager.hh"
    4647#include "G4VPhysicalVolume.hh"
    4748#include "G4LogicalVolume.hh"
     
    8182{
    8283#if defined DEBUG_FR_SCENE
    83         G4cerr << "***** ~G4VRML1SceneHandler" << G4endl;
     84  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
     85        G4cout << "***** ~G4VRML1SceneHandler" << G4endl;
    8486#endif
    8587}
     
    101103                if (fDest.connect( (const char * )fSystem.getHostName(), port)) {
    102104                    // 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                  }
    106110                        break;
    107111                } else {
    108112                        // 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                  }
    111117                }
    112118
     
    116122
    117123        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          }
    122130        }
    123131}
     
    126134{
    127135        fDest.close();
    128         G4cerr << "*** INET Connection closed. " << G4endl;
     136        if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
     137              G4cout << "*** INET Connection closed. " << G4endl;
    129138}
    130139
  • trunk/source/visualization/VRML/src/G4VRML1SceneHandlerFunc.icc

    r1337 r1347  
    2525//
    2626//
    27 // $Id: G4VRML1SceneHandlerFunc.icc,v 1.16 2006/06/29 21:26:03 gunter Exp $
    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 $
    2929//
    3030// G4VRML1SceneHandlerFunc.icc
    3131// Satoshi Tanaka & Yasuhide Sawada
     32
     33#include "G4VisManager.hh"
    3234
    3335//#define DEBUG_SCENE_FUNC
     
    4446{
    4547#if defined DEBUG_SCENE_FUNC
    46         G4cerr << "***** AddSolid trd" << "\n" ;
     48  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
     49        G4cout << "***** AddSolid trd" << "\n" ;
    4750#endif
    4851        VRMLBeginModeling () ;
     
    5356{
    5457#if defined DEBUG_SCENE_FUNC
    55         G4cerr << "***** AddSolid trap" << "\n" ;
     58  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
     59        G4cout << "***** AddSolid trap" << "\n" ;
    5660#endif
    5761        VRMLBeginModeling () ;
     
    6266{
    6367#if defined DEBUG_SCENE_FUNC
    64         G4cerr << "***** AddSolid para" << "\n" ;
     68  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
     69        G4cout << "***** AddSolid para" << "\n" ;
    6570#endif
    6671        VRMLBeginModeling () ;
     
    7176{
    7277#if defined DEBUG_SCENE_FUNC
    73         G4cerr << "***** AddSolid torus" << "\n" ;
     78  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
     79        G4cout << "***** AddSolid torus" << "\n" ;
    7480#endif
    7581        VRMLBeginModeling () ;
     
    8187{
    8288#if defined DEBUG_SCENE_FUNC
    83         G4cerr << "***** AddSolid vsolid" << "\n" ;
     89  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
     90        G4cout << "***** AddSolid vsolid" << "\n" ;
    8491#endif
    8592        VRMLBeginModeling () ;
     
    9097{
    9198#if defined DEBUG_SCENE_FUNC
    92         G4cerr << "***** AddSolid tubs" << "\n" ;
     99  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
     100        G4cout << "***** AddSolid tubs" << "\n" ;
    93101#endif
    94102        VRMLBeginModeling () ;
     
    127135{
    128136#if defined DEBUG_SCENE_FUNC
    129     G4cerr << "***** AddSolid cons" << "\n" ;
     137  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
     138        G4cout << "***** AddSolid cons" << "\n" ;
    130139#endif
    131140        VRMLBeginModeling () ;
     
    166175{
    167176#if defined DEBUG_SCENE_FUNC
    168         G4cerr << "***** AddSolid box" << "\n" ;
     177  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
     178        G4cout << "***** AddSolid box" << "\n" ;
    169179#endif
    170180        VRMLBeginModeling () ;
     
    194204{
    195205#if defined DEBUG_SCENE_FUNC
    196         G4cerr << "***** AddSolid sphere" << "\n" ;
     206  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
     207        G4cout << "***** AddSolid sphere" << "\n" ;
    197208#endif
    198209        VRMLBeginModeling () ;
     
    230241{
    231242#if defined DEBUG_SCENE_FUNC
    232         G4cerr << "***** AddPrimitive polyline" << "\n" ;
     243  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
     244        G4cout << "***** AddPrimitive polyline" << "\n" ;
    233245#endif
    234246        VRMLBeginModeling () ; 
     
    269281{
    270282#if defined DEBUG_SCENE_FUNC
    271         G4cerr << "***** AddPrimitive(G4Polyhedron)" << "\n";
     283  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
     284        G4cout << "***** AddPrimitive(G4Polyhedron)" << "\n";
    272285#endif
    273286
     
    338351{
    339352#if defined DEBUG_SCENE_FUNC
    340         G4cerr << "***** AddPrimitive nurbs" << "\n" ;
     353  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
     354        G4cout << "***** AddPrimitive nurbs" << "\n" ;
    341355#endif
    342         G4cerr << "G4VRML1File::AddPrimitive(G4NURBS&): not implemented. " << "\n" ;
     356  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
     357        G4cout << "G4VRML1File::AddPrimitive(G4NURBS&): not implemented. " << "\n" ;
    343358        VRMLBeginModeling () ;
    344359
     
    348363{
    349364#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 <<
    353370          "***** void G4VRML1SCENEHANDLER::AddPrimitive( const G4Text& text )"
    354371          " not implemented yet."
     
    361378{
    362379#if defined DEBUG_SCENE_FUNC
    363         G4cerr << "***** AddPrimitive circle" << "\n" ;
     380  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
     381        G4cout << "***** AddPrimitive circle" << "\n" ;
    364382#endif
    365383
     
    391409{
    392410#if defined DEBUG_SCENE_FUNC
    393         G4cerr << "***** AddPrimitive square" << "\n" ;
     411  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
     412        G4cout << "***** AddPrimitive square" << "\n" ;
    394413#endif
    395414
     
    423442{
    424443#if defined DEBUG_SCENE_FUNC
    425         G4cerr << "***** BeginModeling " << "\n" ;
     444  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
     445        G4cout << "***** BeginModeling " << "\n" ;
    426446#endif
    427447        G4VSceneHandler::BeginModeling();
     
    431451{
    432452#if defined DEBUG_SCENE_FUNC
    433         G4cerr << "***** EndModeling " << "\n" ;
     453  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
     454        G4cout << "***** EndModeling " << "\n" ;
    434455#endif
    435456        G4VSceneHandler::EndModeling();
     
    441462  fpObjectTransformation = &objectTransformation;
    442463#if defined DEBUG_SCENE_FUNC
    443         G4cerr << "***** BeginPrimitives " << "\n" ;
     464  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
     465        G4cout << "***** BeginPrimitives " << "\n" ;
    444466#endif
    445467        VRMLBeginModeling();
     
    449471{
    450472#if defined DEBUG_SCENE_FUNC
    451         G4cerr << "***** EndPrimitives " << "\n" ;
     473  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
     474        G4cout << "***** EndPrimitives " << "\n" ;
    452475#endif
    453476  G4VSceneHandler::EndPrimitives();
     
    555578        if (!IS_CONNECTED ) {
    556579#if defined DEBUG_SCENE_FUNC
    557         G4cerr << "***** VRMLBeginModeling() (started)" << "\n" ;
     580  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
     581        G4cout << "***** VRMLBeginModeling() (started)" << "\n" ;
    558582#endif
    559583                this->connectPort();
     
    567591        if ( IS_CONNECTED ) {
    568592#if defined DEBUG_SCENE_FUNC
    569         G4cerr << "***** VRMLEndModeling() (started)" << "\n" ;
     593  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
     594        G4cout << "***** VRMLEndModeling() (started)" << "\n" ;
    570595#endif
    571596
  • trunk/source/visualization/VRML/src/G4VRML1Viewer.cc

    r1337 r1347  
    2525//
    2626//
    27 // $Id: G4VRML1Viewer.cc,v 1.8 2006/06/29 21:26:05 gunter Exp $
    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 $
    2929//
    3030// G4VRMLView.cc
     
    3939
    4040//#define DEBUG_FR_VIEW
     41
     42#include "G4VisManager.hh"
    4143
    4244#include "G4Scene.hh"
     
    5658{
    5759#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;
    5962#endif
    6063}
     
    6366{
    6467#if defined DEBUG_FR_VIEW
    65         G4cerr << "***** G4VRML1Viewer::DrawView()" << G4endl;
     68  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
     69        G4cout << "***** G4VRML1Viewer::DrawView()" << G4endl;
    6670#endif
    6771
     
    7781{
    7882#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;
    8085#endif
    8186}
     
    8489{
    8590#if defined DEBUG_FR_VIEW
    86   G4cerr << "***** G4VRML1Viewer::ShowView()" << G4endl;
     91  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
     92        G4cout << "***** G4VRML1Viewer::ShowView()" << G4endl;
    8793#endif
    8894        fSceneHandler.VRMLEndModeling();
     
    9298{
    9399#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;
    95102#endif
    96103}
  • trunk/source/visualization/VRML/src/G4VRML2.cc

    r1337 r1347  
    2626//
    2727// $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 $
    2929//
    3030// G4VRML2.cc
  • trunk/source/visualization/VRML/src/G4VRML2File.cc

    r1337 r1347  
    2626//
    2727// $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 $
    2929//
    3030// G4VRML2File.cc
  • trunk/source/visualization/VRML/src/G4VRML2FileSceneHandler.cc

    r1337 r1347  
    2525//
    2626//
    27 // $Id: G4VRML2FileSceneHandler.cc,v 1.14 2006/06/29 21:26:11 gunter Exp $
    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 $
    2929//
    3030// G4VRML2FileSceneHandler.cc
     
    4343#include "G4VPhysicalVolume.hh"
    4444#include "G4LogicalVolume.hh"
     45#include "G4VisManager.hh"
    4546#include "G4Point3D.hh"
    4647#include "G4VisAttributes.hh"
     
    119120{
    120121#if defined DEBUG_FR_SCENE
    121         G4cerr << "***** ~G4VRML2FileSceneHandler" << G4endl;
     122  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
     123        G4cout << "***** ~G4VRML2FileSceneHandler" << G4endl;
    122124#endif
    123125        VRMLEndModeling();
     
    149151                if( i == MAX_FILE_INDEX )
    150152                {
    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                  }
    158162                }
    159163
     
    180184
    181185        // 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        }
    188193        fDest.open(fVRMLFileName) ;  fFlagDestOpen =  true ;
    189194}
     
    201206        // close VRML file     
    202207        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;
    204210
    205211       
     
    207213
    208214        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          }
    215223        } else {
    216224                sprintf( command, "%s %s", viewer, fVRMLFileName  );   
  • trunk/source/visualization/VRML/src/G4VRML2FileViewer.cc

    r1337 r1347  
    2525//
    2626//
    27 // $Id: G4VRML2FileViewer.cc,v 1.13 2006/06/29 21:26:13 gunter Exp $
    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 $
    2929//
    3030// G4VRML2FileViewer.cc
     
    3636#include <cmath>
    3737
     38#include "G4VisManager.hh"
    3839#include "G4Scene.hh"
    3940#include "G4VRML2FileViewer.hh"
     
    6061{
    6162#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;
    6365#endif
    6466
     
    7173{
    7274#if defined DEBUG_FR_VIEW
    73         G4cerr << "***** G4VRML2FileViewer::DrawView()" << G4endl;
     75  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
     76        G4cout << "***** G4VRML2FileViewer::DrawView()" << G4endl;
    7477#endif
    7578
     
    8891{
    8992#if defined DEBUG_FR_VIEW
    90   G4cerr << "***** G4VRML2File1View::ClearView()" << G4endl;
     93  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
     94        G4cout << "***** G4VRML2File1View::ClearView()" << G4endl;
    9195#endif
    9296  if(fSceneHandler.fFlagDestOpen) {
     
    102106{
    103107#if defined DEBUG_FR_VIEW
    104   G4cerr << "***** G4VRML2FileViewer::ShowView()" << G4endl;
     108  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
     109        G4cout << "***** G4VRML2FileViewer::ShowView()" << G4endl;
    105110#endif
    106111        fSceneHandler.VRMLEndModeling();
     
    110115{
    111116#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;
    113119#endif
    114120}
     
    121127
    122128#if defined DEBUG_FR_VIEW
    123       G4cerr << "***** G4VRML2FileViewer::SendViewParameters()\n";
     129  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
     130      G4cout << "***** G4VRML2FileViewer::SendViewParameters()\n";
    124131#endif
    125132
  • trunk/source/visualization/VRML/src/G4VRML2SceneHandler.cc

    r1337 r1347  
    2525//
    2626//
    27 // $Id: G4VRML2SceneHandler.cc,v 1.12 2006/06/29 21:26:15 gunter Exp $
    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 $
    2929//
    3030// G4VRML2SceneHandler.cc
     
    4646
    4747#include "globals.hh"
     48#include "G4VisManager.hh"
     49
    4850#include "G4VPhysicalVolume.hh"
    4951#include "G4LogicalVolume.hh"
     
    9395{
    9496#if defined DEBUG_FR_SCENE
    95         G4cerr << "***** ~G4VRML2SceneHandler" << G4endl;
     97  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
     98        G4cout << "***** ~G4VRML2SceneHandler" << G4endl;
    9699#endif
    97100}
     
    113116                if (fDest.connect( (const char * )fSystem.getHostName(), port)) {
    114117                    // 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                  }
    118123                        break;
    119124                } else {
    120125                        // 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                  }
    123130                }
    124131
     
    128135
    129136        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          }
    134143        }
    135144}
     
    138147{
    139148        fDest.close();
    140         G4cerr << "*** INET Connection closed. " << G4endl;
     149        if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
     150              G4cout << "*** INET Connection closed. " << G4endl;
    141151}
    142152
  • trunk/source/visualization/VRML/src/G4VRML2SceneHandlerFunc.icc

    r1337 r1347  
    2525//
    2626//
    27 // $Id: G4VRML2SceneHandlerFunc.icc,v 1.20 2006/06/29 21:26:17 gunter Exp $
    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 $
    2929//
    3030// G4VRML2SceneHandlerFunc.icc
     
    3333//#define DEBUG_SCENE_FUNC
    3434
     35#include "G4VisManager.hh"
     36
    3537void G4VRML2SCENEHANDLER::AddSolid(const G4Trd& trd)
    3638{
    3739#if defined DEBUG_SCENE_FUNC
    38         G4cerr << "***** AddSolid trd" << "\n" ;
     40  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
     41        G4cout << "***** AddSolid trd" << "\n" ;
    3942#endif
    4043        VRMLBeginModeling () ;
     
    4548{
    4649#if defined DEBUG_SCENE_FUNC
    47         G4cerr << "***** AddSolid trap" << "\n" ;
     50  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
     51        G4cout << "***** AddSolid trap" << "\n" ;
    4852#endif
    4953        VRMLBeginModeling () ;
     
    5458{
    5559#if defined DEBUG_SCENE_FUNC
    56         G4cerr << "***** AddSolid para" << "\n" ;
     60  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
     61        G4cout << "***** AddSolid para" << "\n" ;
    5762#endif
    5863        VRMLBeginModeling () ;
     
    6368{
    6469#if defined DEBUG_SCENE_FUNC
    65         G4cerr << "***** AddSolid torus" << "\n" ;
     70  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
     71        G4cout << "***** AddSolid torus" << "\n" ;
    6672#endif
    6773        VRMLBeginModeling () ;
     
    7379{
    7480#if defined DEBUG_SCENE_FUNC
    75         G4cerr << "***** AddSolid vsolid" << "\n" ;
     81  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
     82        G4cout << "***** AddSolid vsolid" << "\n" ;
    7683#endif
    7784        VRMLBeginModeling () ;
     
    8289{
    8390#if defined DEBUG_SCENE_FUNC
    84         G4cerr << "***** AddSolid tubs" << "\n" ;
     91  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
     92        G4cout << "***** AddSolid tubs" << "\n" ;
    8593#endif
    8694        VRMLBeginModeling () ;
     
    93101{
    94102#if defined DEBUG_SCENE_FUNC
    95     G4cerr << "***** AddSolid cons" << "\n" ;
     103  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
     104        G4cout << "***** AddSolid cons" << "\n" ;
    96105#endif
    97106        VRMLBeginModeling () ;
     
    102111{
    103112#if defined DEBUG_SCENE_FUNC
    104         G4cerr << "***** AddSolid box" << "\n" ;
     113  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
     114        G4cout << "***** AddSolid box" << "\n" ;
    105115#endif
    106116        VRMLBeginModeling () ;
     
    112122{
    113123#if defined DEBUG_SCENE_FUNC
    114         G4cerr << "***** AddSolid sphere" << "\n" ;
     124  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
     125        G4cout << "***** AddSolid sphere" << "\n" ;
    115126#endif
    116127        VRMLBeginModeling () ;
     
    121132{
    122133#if defined DEBUG_SCENE_FUNC
    123         G4cerr << "***** AddPrimitive polyline" << "\n" ;
     134  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
     135        G4cout << "***** AddPrimitive polyline" << "\n" ;
    124136#endif
    125137
     
    170182{
    171183#if defined DEBUG_SCENE_FUNC
    172         G4cerr << "***** AddPrimitive(G4Polyhedron)" << "\n";
     184  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
     185        G4cout << "***** AddPrimitive(G4Polyhedron)" << "\n";
    173186#endif
    174187
     
    253266{
    254267#if defined DEBUG_SCENE_FUNC
    255         G4cerr << "***** AddPrimitive nurbs" << "\n" ;
     268  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
     269        G4cout << "***** AddPrimitive nurbs" << "\n" ;
    256270#endif
    257         G4cerr << "G4VRML2File::AddPrimitive(G4NURBS&): not implemented. " << "\n" ;
     271  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
     272        G4cout << "G4VRML2File::AddPrimitive(G4NURBS&): not implemented. " << "\n" ;
    258273
    259274        VRMLBeginModeling () ;
     
    263278{
    264279#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 <<
    268285          "***** void G4VRML2SCENEHANDLER::AddPrimitive( const G4Text& text )"
    269286          " not implemented yet."
     
    277294{
    278295#if defined DEBUG_SCENE_FUNC
    279         G4cerr << "***** AddPrimitive circle" << "\n" ;
     296  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
     297        G4cout << "***** AddPrimitive circle" << "\n" ;
    280298#endif
    281299        VRMLBeginModeling () ;
     
    335353{
    336354#if defined DEBUG_SCENE_FUNC
    337         G4cerr << "***** AddPrimitive square" << "\n" ;
     355  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
     356        G4cout << "***** AddPrimitive square" << "\n" ;
    338357#endif
    339358
     
    396415{
    397416#if defined DEBUG_SCENE_FUNC
    398         G4cerr << "***** BeginModeling" << "\n" ;
     417  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
     418        G4cout << "***** BeginModeling" << "\n" ;
    399419#endif
    400420        G4VSceneHandler::BeginModeling();
     
    405425{
    406426#if defined DEBUG_SCENE_FUNC
    407         G4cerr << "***** EndModeling " << "\n" ;
     427  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
     428        G4cout << "***** EndModeling " << "\n" ;
    408429#endif
    409430        G4VSceneHandler::EndModeling();
     
    415436  fpObjectTransformation = &objectTransformation;
    416437#if defined DEBUG_SCENE_FUNC
    417         G4cerr << "***** BeginPrimitives " << "\n" ;
     438  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
     439        G4cout << "***** BeginPrimitives " << "\n" ;
    418440#endif
    419441        VRMLBeginModeling();
     
    423445{
    424446#if defined DEBUG_SCENE_FUNC
    425         G4cerr << "***** EndPrimitives " << "\n" ;
     447  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
     448        G4cout << "***** EndPrimitives " << "\n" ;
    426449#endif
    427450  G4VSceneHandler::EndPrimitives();
     
    500523        if (!IS_CONNECTED ) {
    501524#if defined DEBUG_SCENE_FUNC
    502         G4cerr << "***** VRMLBeginModeling (started)" << "\n" ;
     525  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
     526        G4cout << "***** VRMLBeginModeling (started)" << "\n" ;
    503527#endif
    504528                this->connectPort();
     
    512536        if ( IS_CONNECTED ) {
    513537#if defined DEBUG_SCENE_FUNC
    514         G4cerr << "***** VRMLEndModeling (started)" << "\n" ;
     538  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
     539        G4cout << "***** VRMLEndModeling (started)" << "\n" ;
    515540#endif
    516541                fDest << "#End of file." << "\n";
  • trunk/source/visualization/VRML/src/G4VRML2Viewer.cc

    r1337 r1347  
    2525//
    2626//
    27 // $Id: G4VRML2Viewer.cc,v 1.12 2006/06/29 21:26:35 gunter Exp $
    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 $
    2929//
    3030// G4VRML2Viewer.cc
     
    4242#include <cmath>
    4343
     44#include "G4VisManager.hh"
    4445#include "G4Scene.hh"
    4546#include "G4VRML2Viewer.hh"
     
    6566{
    6667#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;
    6870#endif
    6971
     
    7779{
    7880#if defined DEBUG_FR_VIEW
    79         G4cerr << "***** G4VRML2Viewer::DrawView()" << G4endl;
     81  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
     82    G4cout << "***** G4VRML2Viewer::DrawView()" << G4endl;
    8083#endif
    8184        fSceneHandler.VRMLBeginModeling() ;
     
    9396{
    9497#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;
    96100#endif
    97101}
     
    100104{
    101105#if defined DEBUG_FR_VIEW
    102   G4cerr << "***** G4VRML2Viewer::ShowView()" << G4endl;
     106  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
     107    G4cout << "***** G4VRML2Viewer::ShowView()" << G4endl;
    103108#endif
    104109        fSceneHandler.VRMLEndModeling();
     
    108113{
    109114#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;
    111117#endif
    112118}
     
    119125
    120126#if defined DEBUG_FR_VIEW
    121       G4cerr << "***** G4VRML2Viewer::SendViewParameters()\n";
     127  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
     128    G4cout << "***** G4VRML2Viewer::SendViewParameters()\n";
    122129#endif
    123130        // error recovery
  • trunk/source/visualization/XXX/CVS/Entries

    r1346 r1347  
    33/CMakeLists.txt/1.1/Wed Sep 29 19:13:27 2010//Tgeant4-09-04-ref-00
    44/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  
    11D/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  
    2626//
    2727// $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 $
    2929//
    3030//
  • trunk/source/visualization/XXX/include/G4XXXFile.hh

    r1337 r1347  
    2626//
    2727// $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 $
    2929//
    3030//
  • trunk/source/visualization/XXX/include/G4XXXFileSceneHandler.hh

    r1337 r1347  
    2626//
    2727// $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 $
    2929//
    3030//
  • trunk/source/visualization/XXX/include/G4XXXFileViewer.hh

    r1337 r1347  
    2626//
    2727// $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 $
    2929//
    3030//
  • trunk/source/visualization/XXX/include/G4XXXSG.hh

    r1337 r1347  
    2626//
    2727// $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 $
    2929//
    3030//
  • trunk/source/visualization/XXX/include/G4XXXSGSceneHandler.hh

    r1337 r1347  
    2626//
    2727// $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 $
    2929//
    3030//
  • trunk/source/visualization/XXX/include/G4XXXSGViewer.hh

    r1337 r1347  
    2626//
    2727// $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 $
    2929//
    3030//
  • trunk/source/visualization/XXX/include/G4XXXSceneHandler.hh

    r1337 r1347  
    2626//
    2727// $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 $
    2929//
    3030//
  • trunk/source/visualization/XXX/include/G4XXXStored.hh

    r1337 r1347  
    2626//
    2727// $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 $
    2929//
    3030//
  • trunk/source/visualization/XXX/include/G4XXXStoredSceneHandler.hh

    r1337 r1347  
    2626//
    2727// $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 $
    2929//
    3030//
  • trunk/source/visualization/XXX/include/G4XXXStoredViewer.hh

    r1337 r1347  
    2626//
    2727// $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 $
    2929//
    3030//
  • trunk/source/visualization/XXX/include/G4XXXViewer.hh

    r1337 r1347  
    2626//
    2727// $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 $
    2929//
    3030//
  • 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
    122D
  • 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
    113D
  • trunk/source/visualization/XXX/src/G4XXX.cc

    r1337 r1347  
    2626//
    2727// $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 $
    2929//
    3030//
  • trunk/source/visualization/XXX/src/G4XXXFile.cc

    r1337 r1347  
    2626//
    2727// $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 $
    2929//
    3030//
  • trunk/source/visualization/XXX/src/G4XXXFileSceneHandler.cc

    r1337 r1347  
    2626//
    2727// $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 $
    2929//
    3030//
  • trunk/source/visualization/XXX/src/G4XXXFileViewer.cc

    r1337 r1347  
    2626//
    2727// $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 $
    2929//
    3030//
  • trunk/source/visualization/XXX/src/G4XXXSG.cc

    r1337 r1347  
    2626//
    2727// $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 $
    2929//
    3030//
  • trunk/source/visualization/XXX/src/G4XXXSGSceneHandler.cc

    r1337 r1347  
    2626//
    2727// $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 $
    2929//
    3030//
  • trunk/source/visualization/XXX/src/G4XXXSGViewer.cc

    r1340 r1347  
    2626//
    2727// $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 $
    2929//
    3030//
  • trunk/source/visualization/XXX/src/G4XXXSceneHandler.cc

    r1337 r1347  
    2626//
    2727// $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 $
    2929//
    3030//
  • trunk/source/visualization/XXX/src/G4XXXStored.cc

    r1337 r1347  
    2626//
    2727// $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 $
    2929//
    3030//
  • trunk/source/visualization/XXX/src/G4XXXStoredSceneHandler.cc

    r1337 r1347  
    2626//
    2727// $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 $
    2929//
    3030//
  • trunk/source/visualization/XXX/src/G4XXXStoredViewer.cc

    r1340 r1347  
    2626//
    2727// $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 $
    2929//
    3030//
  • trunk/source/visualization/XXX/src/G4XXXViewer.cc

    r1337 r1347  
    2626//
    2727// $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 $
    2929//
    3030//
  • trunk/source/visualization/gMocren/CVS/Entries

    r1346 r1347  
    33/CMakeLists.txt/1.1/Wed Sep 29 19:14:32 2010//Tgeant4-09-04-ref-00
    44/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  
    1717include $(G4INSTALL)/config/G4VIS_BUILD.gmk
    1818include $(G4INSTALL)/config/interactivity.gmk
    19 
    20 # NO need OGL, then reset OGLGLAGS
    21 OGLFLAGS = ""
    22 OGLLIBS  = ""
    23 # NO need QT, then reset QTGLAGS
    24 QTFLAGS = ""
    25 QTLIBS  = ""
    26 GLQTLIBS  = ""
    2719
    2820CPPFLAGS += -I$(G4BASE)/visualization/management/include
  • trunk/source/visualization/gMocren/History

    r1337 r1347  
    1 $Id: History,v 1.14 2010/09/03 16:01:38 gcosmo Exp $
     1$Id: History,v 1.16 2010/11/11 00:49:25 akimura Exp $
    22-------------------------------------------------------------------
    33
     
    2020History file for visualization/gMocren sub-category
    2121---------------------------------------------------
     22
     2311 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)
    2226
    23273rd 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
    18D
  • trunk/source/visualization/gMocren/include/G4GMocrenFile.hh

    r1337 r1347  
    2626//
    2727// $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 $
    2929//
    3030//
  • trunk/source/visualization/gMocren/include/G4GMocrenFileCTtoDensityMap.hh

    r1337 r1347  
    2626//
    2727// $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 $
    2929//
    3030//
  • trunk/source/visualization/gMocren/include/G4GMocrenFileSceneHandler.hh

    r1337 r1347  
    2626//
    2727// $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 $
    2929//
    3030//
  • trunk/source/visualization/gMocren/include/G4GMocrenFileViewer.hh

    r1337 r1347  
    2626//
    2727// $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 $
    2929//
    3030//
  • trunk/source/visualization/gMocren/include/G4GMocrenMessenger.hh

    r1337 r1347  
    2525//
    2626// $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 $
    2828//
    2929//
  • trunk/source/visualization/gMocren/include/G4GMocrenTouchable.hh

    r1337 r1347  
    2626//
    2727// $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 $
    2929//
    3030//
  • 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
    17D
  • trunk/source/visualization/gMocren/src/G4GMocrenFile.cc

    r1337 r1347  
    2626//
    2727// $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 $
    2929//
    3030//
  • trunk/source/visualization/gMocren/src/G4GMocrenFileSceneHandler.cc

    r1337 r1347  
    2525//
    2626//
    27 // $Id: G4GMocrenFileSceneHandler.cc,v 1.17 2010/09/03 16:01:21 gcosmo Exp $
    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 $
    2929//
    3030//
     
    4343
    4444#include "globals.hh"
     45#include "G4VisManager.hh"
     46
    4547#include "G4GMocrenFile.hh"
    4648#include "G4GMocrenFileSceneHandler.hh"
     
    156158G4GMocrenFileSceneHandler::~G4GMocrenFileSceneHandler ()
    157159{
    158   if(GFDEBUG) G4cerr << "***** ~G4GMocrenFileSceneHandler" << G4endl;
     160  if(GFDEBUG || G4VisManager::GetVerbosity() >= G4VisManager::errors)
     161      G4cout << "***** ~G4GMocrenFileSceneHandler" << G4endl;
    159162
    160163  if(kGddDest) {
     
    199202    if( i == MAX_FILE_INDEX )
    200203      {
    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        }
    208213      }
    209214
     
    231236  } // for
    232237
    233   G4cerr << "======================================================================" << G4endl;
    234   G4cerr << "Output file: " << kGddFileName                          << G4endl;
    235   G4cerr << "Destination directory (current dir if NULL): " << kGddDestDir << G4endl;
    236   G4cerr << "Maximum number of files in the destination directory: " << kMaxFileNum << G4endl;
    237   G4cerr << "Note:" << G4endl;
    238   G4cerr << "  * The maximum number is customizable as:           " << G4endl;
    239   G4cerr << "      % setenv  G4GMocrenFile_MAX_FILE_NUM  number " << G4endl;       
    240   G4cerr << "  * The destination directory is customizable as:" << G4endl;
    241   G4cerr << "      % setenv  G4GMocrenFile_DEST_DIR  dir_name/  " << G4endl;       
    242   G4cerr << "     ** Do not forget \"/\" at the end of the dir_name, e.g. \"./tmp/\"." << G4endl;             
    243   //G4cerr << "        dir_name, e.g. \"./tmp/\"."                 << G4endl;             
    244   G4cerr << G4endl;
    245   G4cerr << "Maximum number of trajectories is set to " << MAX_NUM_TRAJECTORIES << "."<< G4endl;
    246   G4cerr << "======================================================================" << 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;
    247252
    248253} // G4GMocrenFileSceneHandler::SetGddFileName()
     
    252257void    G4GMocrenFileSceneHandler::BeginSavingGdd( void )
    253258{
    254   if(GFDEBUG) G4cerr << "***** BeginSavingGdd (called)" << G4endl;
     259  if(GFDEBUG || G4VisManager::GetVerbosity() >= G4VisManager::errors)
     260      G4cout << "***** BeginSavingGdd (called)" << G4endl;
    255261
    256262  if( !IsSavingGdd() ) {
    257263
    258     if(GFDEBUG) {
    259       G4cerr << "*****                   (started) " ;
    260       G4cerr << "(open g4.gdd, ##)"  << G4endl;
     264    if(GFDEBUG || G4VisManager::GetVerbosity() >= G4VisManager::errors) {
     265      G4cout << "*****                   (started) " ;
     266      G4cout << "(open g4.gdd, ##)"  << G4endl;
    261267    }
    262268
     
    294300     
    295301    } else {
    296       G4cerr << "cann't open the file : " << fname << G4endl;
     302      G4cout << "cann't open the file : " << fname << G4endl;
    297303    }
    298304    */
     
    322328void    G4GMocrenFileSceneHandler::EndSavingGdd  ( void )
    323329{
    324   if(GFDEBUG) G4cerr << "***** EndSavingGdd (called)" << G4endl;
     330  if(GFDEBUG || G4VisManager::GetVerbosity() >= G4VisManager::errors)
     331    G4cout << "***** EndSavingGdd (called)" << G4endl;
    325332
    326333  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;
    329337
    330338    if(kGddDest) kGddDest.close();
     
    483491
    484492
    485       if(GFDEBUG) G4cerr << "***** G4GMocrenFileSceneHandler::GFBeginModeling (called & started)" << G4endl;
     493    if(GFDEBUG || G4VisManager::GetVerbosity() >= G4VisManager::errors)
     494      G4cout << "***** G4GMocrenFileSceneHandler::GFBeginModeling (called & started)" << G4endl;
    486495
    487496      //----- Send saving command and heading comment
     
    511520void G4GMocrenFileSceneHandler::AddPrimitive (const G4Polyline& polyline)
    512521{
    513   if(GFDEBUG) G4cerr << "***** AddPrimitive" << G4endl;
     522  if(GFDEBUG || G4VisManager::GetVerbosity() >= G4VisManager::errors)
     523    G4cout << "***** AddPrimitive" << G4endl;
    514524
    515525
     
    591601{
    592602  //-----
    593   if(GFDEBUG) G4cerr << "***** AddPrimitive( G4NURBS )" << G4endl;
     603  if(GFDEBUG || G4VisManager::GetVerbosity() >= G4VisManager::errors)
     604    G4cout << "***** AddPrimitive( G4NURBS )" << G4endl;
    594605
    595606  //----- Initialize if necessary
     
    607618
    608619  //-----
    609   if(GFDEBUG) G4cerr << "***** AddPrimitive( G4Text )" << G4endl;
     620  if(GFDEBUG || G4VisManager::GetVerbosity() >= G4VisManager::errors)
     621    G4cout << "***** AddPrimitive( G4Text )" << G4endl;
    610622
    611623  //----- Initialize IF NECESSARY
     
    622634
    623635  //-----
    624   if(GFDEBUG) G4cerr << "***** AddPrimitive( G4Circle )" << G4endl;
     636  if(GFDEBUG || G4VisManager::GetVerbosity() >= G4VisManager::errors)
     637    G4cout << "***** AddPrimitive( G4Circle )" << G4endl;
    625638
    626639  //----- Initialize IF NECESSARY
     
    638651
    639652  //-----
    640   if(GFDEBUG) G4cerr << "***** AddPrimitive( G4Square )" << G4endl;
     653  if(GFDEBUG || G4VisManager::GetVerbosity() >= G4VisManager::errors)
     654    G4cout << "***** AddPrimitive( G4Square )" << G4endl;
    641655
    642656  //----- Initialize if necessary
     
    650664{
    651665  //-----
    652   if(GFDEBUG) G4cerr << "***** AddPrimitive( G4Polyhedron )" << G4endl;
     666  if(GFDEBUG || G4VisManager::GetVerbosity() >= G4VisManager::errors)
     667    G4cout << "***** AddPrimitive( G4Polyhedron )" << G4endl;
    653668
    654669
     
    678693      break;
    679694    default:
    680       G4cerr <<
    681         "ERROR G4GMocrenFileSceneHandler::AddPrimitive(G4Polyhedron)" << G4endl;
     695      if(GFDEBUG || G4VisManager::GetVerbosity() >= G4VisManager::errors)
     696        G4cout <<
     697          "ERROR G4GMocrenFileSceneHandler::AddPrimitive(G4Polyhedron)" << G4endl;
    682698      G4PhysicalVolumeModel* pPVModel =
    683699        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;     
    690709    }
    691710  }
     
    700719
    701720  //-----               
    702   if(GFDEBUG) G4cerr << "***** GFEndModeling (called)" << G4endl;
     721  if(GFDEBUG || G4VisManager::GetVerbosity() >= G4VisManager::errors)
     722    G4cout << "***** GFEndModeling (called)" << G4endl;
    703723
    704724  if( GFIsInModeling() ) {
    705725
    706     if(GFDEBUG) {
    707       G4cerr << "***** GFEndModeling (started) " ;
    708       G4cerr << "(/EndModeling, /DrawAll, /CloseDevice)" << G4endl;
     726    if(GFDEBUG || G4VisManager::GetVerbosity() >= G4VisManager::errors) {
     727      G4cout << "***** GFEndModeling (started) " ;
     728      G4cout << "(/EndModeling, /DrawAll, /CloseDevice)" << G4endl;
    709729    }
    710730
     
    723743void G4GMocrenFileSceneHandler::BeginPrimitives (const G4Transform3D& objectTransformation)
    724744{
    725   if(GFDEBUG) G4cerr << "***** BeginPrimitives " << G4endl;
     745  if(GFDEBUG || G4VisManager::GetVerbosity() >= G4VisManager::errors)
     746    G4cout << "***** BeginPrimitives " << G4endl;
    726747
    727748  GFBeginModeling();
     
    736757void G4GMocrenFileSceneHandler::EndPrimitives ()
    737758{
    738   if(GFDEBUG) G4cerr << "***** EndPrimitives " << G4endl;
     759  if(GFDEBUG || G4VisManager::GetVerbosity() >= G4VisManager::errors)
     760    G4cout << "***** EndPrimitives " << G4endl;
    739761
    740762  G4VSceneHandler::EndPrimitives ();
     
    747769void G4GMocrenFileSceneHandler::AddSolid( const G4Box& box )
    748770{
    749   if(GFDEBUG) G4cerr << "***** AddSolid ( box )" << G4endl;
     771  if(GFDEBUG || G4VisManager::GetVerbosity() >= G4VisManager::errors)
     772    G4cout << "***** AddSolid ( box )" << G4endl;
    750773
    751774  if(GFDEBUG_DET > 0)
     
    12791302G4GMocrenFileSceneHandler::AddSolid( const G4Tubs& tubes )
    12801303{
    1281   if(GFDEBUG) G4cerr << "***** AddSolid ( tubes )" << G4endl;
     1304  if(GFDEBUG || G4VisManager::GetVerbosity() >= G4VisManager::errors)
     1305    G4cout << "***** AddSolid ( tubes )" << G4endl;
    12821306
    12831307  //----- skip drawing invisible primitive
     
    13211345G4GMocrenFileSceneHandler::AddSolid( const G4Cons& cons )
    13221346{
    1323   if(GFDEBUG) G4cerr << "***** AddSolid ( cons )" << G4endl;
     1347  if(GFDEBUG || G4VisManager::GetVerbosity() >= G4VisManager::errors)
     1348    G4cout << "***** AddSolid ( cons )" << G4endl;
    13241349
    13251350  //----- skip drawing invisible primitive
     
    13381363void G4GMocrenFileSceneHandler::AddSolid ( const G4Trd& trd )
    13391364{
    1340   if(GFDEBUG) G4cerr << "***** AddSolid ( trd )" << G4endl;
     1365  if(GFDEBUG || G4VisManager::GetVerbosity() >= G4VisManager::errors)
     1366    G4cout << "***** AddSolid ( trd )" << G4endl;
    13411367
    13421368
     
    13561382void G4GMocrenFileSceneHandler::AddSolid ( const G4Sphere& sphere )
    13571383{
    1358   if(GFDEBUG) G4cerr << "***** AddSolid ( sphere )" << G4endl;
     1384  if(GFDEBUG || G4VisManager::GetVerbosity() >= G4VisManager::errors)
     1385    G4cout << "***** AddSolid ( sphere )" << G4endl;
    13591386
    13601387  //----- skip drawing invisible primitive
     
    13731400void G4GMocrenFileSceneHandler::AddSolid (const G4Para& para)
    13741401{
    1375   if(GFDEBUG) G4cerr << "***** AddSolid ( para )" << G4endl;
     1402  if(GFDEBUG || G4VisManager::GetVerbosity() >= G4VisManager::errors)
     1403    G4cout << "***** AddSolid ( para )" << G4endl;
    13761404
    13771405  //----- skip drawing invisible primitive
     
    13901418void G4GMocrenFileSceneHandler::AddSolid (const G4Trap& trap)
    13911419{
    1392   if(GFDEBUG) G4cerr << "***** AddSolid ( trap )" << G4endl;
     1420  if(GFDEBUG || G4VisManager::GetVerbosity() >= G4VisManager::errors)
     1421    G4cout << "***** AddSolid ( trap )" << G4endl;
    13931422
    13941423  //----- skip drawing invisible primitive
     
    14081437G4GMocrenFileSceneHandler::AddSolid( const G4Torus& torus )
    14091438{
    1410   if(GFDEBUG) G4cerr << "***** AddSolid ( torus )" << G4endl;
     1439  if(GFDEBUG || G4VisManager::GetVerbosity() >= G4VisManager::errors)
     1440    G4cout << "***** AddSolid ( torus )" << G4endl;
    14111441
    14121442  //----- skip drawing invisible primitive
     
    14521482
    14531483  if(GFDEBUG_TRK) {
    1454     std::cout << " ::AddCompound(const G4VTrajectory&) >>>>>>>>> " << std::endl;
     1484    G4cout << " ::AddCompound(const G4VTrajectory&) >>>>>>>>> " << G4endl;
    14551485    G4TrajectoriesModel * pTrModel = dynamic_cast<G4TrajectoriesModel*>(fpModel);
    14561486    if (!pTrModel) {
  • trunk/source/visualization/gMocren/src/G4GMocrenFileViewer.cc

    r1337 r1347  
    2525//
    2626//
    27 // $Id: G4GMocrenFileViewer.cc,v 1.3 2009/12/03 11:44:42 akimura 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 $
    2929//
    3030//
     
    4141#include <cassert>
    4242
     43#include "G4VisManager.hh"
    4344#include "G4Scene.hh"
    4445#include "G4Vector3D.hh"
     
    9394{
    9495  if(GFDEBUG)
    95     G4cerr << "***** G4GMocrenFileViewer::SetView(): No effects" << G4endl;
     96    if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
     97      G4cout << "***** G4GMocrenFileViewer::SetView(): No effects" << G4endl;
    9698
    9799  // Do nothing, since DAWN is running as a different process.
     
    105107{
    106108  if(GFDEBUG)
    107     G4cerr << "***** G4GMocrenFileViewer::ClearView (): No effects " << G4endl;
     109    if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
     110      G4cout << "***** G4GMocrenFileViewer::ClearView (): No effects " << G4endl;
    108111
    109112  //if(kSceneHandler.kGddDest) {
     
    121124{
    122125  if(GFDEBUG)
    123     G4cerr << "***** G4GMocrenFileViewer::DrawView () " << G4endl;
     126    if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
     127      G4cout << "***** G4GMocrenFileViewer::DrawView () " << G4endl;
    124128
    125129  //-----
     
    140144{
    141145  if(GFDEBUG)
    142     G4cerr << "***** G4GMocrenFileViewer::ShowView () " << G4endl;
     146    if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
     147      G4cout << "***** G4GMocrenFileViewer::ShowView () " << G4endl;
    143148
    144149  if( kSceneHandler.GFIsInModeling() )
  • trunk/source/visualization/gMocren/src/G4GMocrenIO.cc

    r1337 r1347  
    2525//
    2626//
    27 // $Id: G4GMocrenIO.cc,v 1.5 2009/12/03 11:44:42 akimura 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 $
    2929//
    3030//
     
    4040//
    4141#include "G4GMocrenIO.hh"
    42 
    4342#include <iostream>
    4443#include <ctime>
     
    4746#include <cstdlib>
    4847#include <cstring>
     48
     49#include "globals.hh"
     50#include "G4VisManager.hh"
     51
    4952#if defined(_WIN32)
    5053#define LITTLE_ENDIAN 1234
     
    97100  }
    98101  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;
    102106    return *this;
    103107  }
     
    137141  }
    138142  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;
    142147    return *this;
    143148  }
     
    263268                           int _num) {
    264269  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;
    267273    return;
    268274  }
     
    313319                           int _num) {
    314320  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;
    317324    return;
    318325  }
     
    458465
    459466  if(DEBUG || kVerbose > 0)
    460     std::cout << ">>>>>>>  store data (ver.4) <<<<<<<" << std::endl;
     467    G4cout << ">>>>>>>  store data (ver.4) <<<<<<<" << G4endl;
    461468  if(DEBUG || kVerbose > 0)
    462     std::cout << "         " << kFileName << std::endl;
     469    G4cout << "         " << kFileName << G4endl;
    463470
    464471  // output file open
     
    466473                      std::ios_base::out|std::ios_base::binary);
    467474  if(DEBUG || kVerbose > 0)
    468     std::cout << "         file open status: " << ofile << std::endl;
     475    G4cout << "         file open status: " << ofile << G4endl;
    469476 
    470477  // file identifier
     
    480487  ofile.write((char *)&littleEndian, sizeof(char));
    481488  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;
    484491  }
    485492
     
    505512  ofile.write((char *)cmt, 1024);
    506513  if(DEBUG || kVerbose > 0) {
    507     std::cout << "Data comment : "
    508               << kComment << std::endl;
     514    G4cout << "Data comment : "
     515              << kComment << G4endl;
    509516  }
    510517
     
    518525  }
    519526  if(DEBUG || kVerbose > 0) {
    520     std::cout << "Voxel spacing : ("
     527    G4cout << "Voxel spacing : ("
    521528              << kVoxelSpacing[0] << ", "
    522529              << kVoxelSpacing[1] << ", "
    523530              << kVoxelSpacing[2]
    524               << ") mm " << std::endl;
     531              << ") mm " << G4endl;
    525532  }
    526533
     
    583590
    584591  if(DEBUG || kVerbose > 0) {
    585     std::cout << "Each pointer to data : "
     592    G4cout << "Each pointer to data : "
    586593              << kPointerToModalityData << ", ";
    587594    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 << ", "
    591598              << kPointerToTrackData << ", "
    592599              << kPointerToDetectorData
    593               << std::endl;
     600              << G4endl;
    594601  }
    595602
     
    613620
    614621  if(DEBUG || kVerbose > 0) {
    615     std::cout << "Modality image size : ("
     622    G4cout << "Modality image size : ("
    616623              << size[0] << ", "
    617624              << size[1] << ", "
    618625              << size[2] << ")"
    619               << std::endl;
     626              << G4endl;
    620627  }
    621628
     
    643650  }
    644651  if(DEBUG || kVerbose > 0) {
    645     std::cout << "Modality image min., max., scale : "
     652    G4cout << "Modality image min., max., scale : "
    646653              << minmax[0] << ", "
    647654              << minmax[1] << ", "
    648               << scale << std::endl;
     655              << scale << G4endl;
    649656  }
    650657
    651658  // modality image
    652659  int psize = size[0]*size[1];
    653   if(DEBUG || kVerbose > 0) std::cout << "Modality image : ";
     660  if(DEBUG || kVerbose > 0) G4cout << "Modality image : ";
    654661  for(int i = 0; i < size[2]; i++) {
    655662    short * image = kModality.getImage(i);
     
    663670    }
    664671
    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;
    668675
    669676  // modality desity map for CT value
    670677  size_t msize = minmax[1] - minmax[0]+1;
    671678  if(DEBUG || kVerbose > 0)
    672     std::cout << "modality image : " << minmax[0] << ", " << minmax[1] << std::endl;
     679    G4cout << "modality image : " << minmax[0] << ", " << minmax[1] << G4endl;
    673680  float * pdmap = new float[msize];
    674681  for(int i = 0; i < (int)msize; i++) pdmap[i] =kModalityImageDensityMap[i];
     
    684691
    685692  if(DEBUG || kVerbose > 0) {
    686     std::cout << "density map : " << std::ends;
     693    G4cout << "density map : " << std::ends;
    687694    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;
    690697  }
    691698  delete [] pdmap;
     
    709716      }
    710717      if(DEBUG || kVerbose > 0) {
    711         std::cout << "Dose dist. [" << ndose << "] image size : ("
     718        G4cout << "Dose dist. [" << ndose << "] image size : ("
    712719                  << size[0] << ", "
    713720                  << size[1] << ", "
    714721                  << size[2] << ")"
    715                   << std::endl;
     722                  << G4endl;
    716723      }
    717724
     
    732739      ofile.write((char *)cdunit, 12);
    733740      if(DEBUG || kVerbose > 0) {
    734         std::cout << "Dose dist. unit : " << kDoseUnit << std::endl;
     741        G4cout << "Dose dist. unit : " << kDoseUnit << G4endl;
    735742      }
    736743
     
    746753      }
    747754      if(DEBUG || kVerbose > 0) {
    748         std::cout << "Dose dist. [" << ndose
     755        G4cout << "Dose dist. [" << ndose
    749756                  << "] image min., max., scale : "
    750757                  << minmax[0] << ", "
    751758                  << minmax[1] << ", "
    752                   << scale << std::endl;
     759                  << scale << G4endl;
    753760      }
    754761
     
    770777          for(int j = 0; j < dsize; j++) {
    771778            if(dimage[j] < 0)
    772               std::cout << "[" << j << "," << z << "]"
     779              G4cout << "[" << j << "," << z << "]"
    773780                        << dimage[j] << ", ";
    774781          }
    775782        }
    776783      }
    777       if(DEBUG || kVerbose > 0) std::cout << std::endl;
     784      if(DEBUG || kVerbose > 0) G4cout << G4endl;
    778785      delete [] dimage;
    779786
     
    790797      }
    791798      if(DEBUG || kVerbose > 0) {
    792         std::cout << "Dose dist. [" << ndose
     799        G4cout << "Dose dist. [" << ndose
    793800                  << "]image relative location : ("
    794801                  << iCenter[0] << ", "
    795802                  << iCenter[1] << ", "
    796                   << iCenter[2] << ")" << std::endl;
     803                  << iCenter[2] << ")" << G4endl;
    797804      }
    798805
     
    803810      ofile.write((char *)name.c_str(), 80);
    804811      if(DEBUG || kVerbose > 0) {
    805         std::cout << "Dose dist. name : " << name << std::endl;
     812        G4cout << "Dose dist. name : " << name << G4endl;
    806813      }
    807814
     
    821828    }
    822829    if(DEBUG || kVerbose > 0) {
    823       std::cout << "ROI image size : ("
     830      G4cout << "ROI image size : ("
    824831                << size[0] << ", "
    825832                << size[1] << ", "
    826833                << size[2] << ")"
    827                 << std::endl;
     834                << G4endl;
    828835    }
    829836
     
    847854    }
    848855    if(DEBUG || kVerbose > 0) {
    849       std::cout << "ROI image min., max., scale : "
     856      G4cout << "ROI image min., max., scale : "
    850857                << minmax[0] << ", "
    851858                << minmax[1] << ", "
    852                 << scale << std::endl;
     859                << scale << G4endl;
    853860    }
    854861
     
    879886    }
    880887    if(DEBUG || kVerbose > 0) {
    881       std::cout << "ROI image relative location : ("
     888      G4cout << "ROI image relative location : ("
    882889                << iCenter[0] << ", "
    883890                << iCenter[1] << ", "
    884                 << iCenter[2] << ")" << std::endl;
     891                << iCenter[2] << ")" << G4endl;
    885892    }
    886893  }
     
    898905    }
    899906    if(DEBUG || kVerbose > 0) {
    900       std::cout << "# of tracks : "
    901                 << ntrk << std::endl;
     907      G4cout << "# of tracks : "
     908                << ntrk << G4endl;
    902909    }
    903910
     
    913920      }
    914921      if(DEBUG || kVerbose > 0) {
    915         std::cout << "# of steps : " << nsteps << std::endl;
     922        G4cout << "# of steps : " << nsteps << G4endl;
    916923      }
    917924
     
    950957    }
    951958    if(DEBUG || kVerbose > 0) {
    952       std::cout << "# of detectors : "
    953                 << ndet << std::endl;
     959      G4cout << "# of detectors : "
     960                << ndet << G4endl;
    954961    }
    955962
     
    965972      }
    966973      if(DEBUG || kVerbose > 0) {
    967         std::cout << "# of edges in a detector : " << nedges << std::endl;
     974        G4cout << "# of edges in a detector : " << nedges << G4endl;
    968975      }
    969976
     
    985992        if(DEBUG || kVerbose > 0) {
    986993          if(ne < 1) {
    987             std::cout << " edge : (" << edgePoints[0] << ", "
     994            G4cout << " edge : (" << edgePoints[0] << ", "
    988995                      << edgePoints[1] << ", "
    989996                      << edgePoints[2] << ") - ("
    990997                      << edgePoints[3] << ", "
    991998                      << edgePoints[4] << ", "
    992                       << edgePoints[5] << ")" << std::endl;
     999                      << edgePoints[5] << ")" << G4endl;
    9931000          }
    9941001        }
     
    10001007      ofile.write((char *)dcolor, 3);
    10011008      if(DEBUG || kVerbose > 0) {
    1002         std::cout << " rgb : (" << (int)dcolor[0] << ", "
     1009        G4cout << " rgb : (" << (int)dcolor[0] << ", "
    10031010                  << (int)dcolor[1] << ", "
    1004                   << (int)dcolor[2] << ")" << std::endl;
     1011                  << (int)dcolor[2] << ")" << G4endl;
    10051012      }
    10061013
     
    10101017      ofile.write((char *)dname.c_str(), 80);
    10111018      if(DEBUG || kVerbose > 0) {
    1012         std::cout << " detector name : " << dname << std::endl;
     1019        G4cout << " detector name : " << dname << G4endl;
    10131020     
    10141021      }
     
    10211028  ofile.close();
    10221029  if(DEBUG || kVerbose > 0)
    1023     std::cout << ">>>> closed gdd file: " << kFileName << std::endl;
     1030    G4cout << ">>>> closed gdd file: " << kFileName << G4endl;
    10241031
    10251032  return true;
     
    10271034bool G4GMocrenIO::storeData3() {
    10281035
    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;
    10311038
    10321039  bool DEBUG = false;//
     
    10551062  ofile.write((char *)cmt, 1024);
    10561063  if(DEBUG || kVerbose > 0) {
    1057     std::cout << "Data comment : "
    1058               << kComment << std::endl;
     1064    G4cout << "Data comment : "
     1065              << kComment << G4endl;
    10591066  }
    10601067
     
    10621069  ofile.write((char *)kVoxelSpacing, 12);
    10631070  if(DEBUG || kVerbose > 0) {
    1064     std::cout << "Voxel spacing : ("
     1071    G4cout << "Voxel spacing : ("
    10651072              << kVoxelSpacing[0] << ", "
    10661073              << kVoxelSpacing[1] << ", "
    10671074              << kVoxelSpacing[2]
    1068               << ") mm " << std::endl;
     1075              << ") mm " << G4endl;
    10691076  }
    10701077
     
    10901097  ofile.write((char *)&kPointerToTrackData, 4);
    10911098  if(DEBUG || kVerbose > 0) {
    1092     std::cout << "Each pointer to data : "
     1099    G4cout << "Each pointer to data : "
    10931100              << kPointerToModalityData << ", ";
    10941101    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;
    10991106  }
    11001107
     
    11101117  ofile.write((char *)size, 3*sizeof(int));
    11111118  if(DEBUG || kVerbose > 0) {
    1112     std::cout << "Modality image size : ("
     1119    G4cout << "Modality image size : ("
    11131120              << size[0] << ", "
    11141121              << size[1] << ", "
    11151122              << size[2] << ")"
    1116               << std::endl;
     1123              << G4endl;
    11171124  }
    11181125
     
    11291136  ofile.write((char *)&scale, 4);
    11301137  if(DEBUG || kVerbose > 0) {
    1131     std::cout << "Modality image min., max., scale : "
     1138    G4cout << "Modality image min., max., scale : "
    11321139              << minmax[0] << ", "
    11331140              << minmax[1] << ", "
    1134               << scale << std::endl;
     1141              << scale << G4endl;
    11351142  }
    11361143
    11371144  // modality image
    11381145  int psize = size[0]*size[1];
    1139   if(DEBUG || kVerbose > 0) std::cout << "Modality image : ";
     1146  if(DEBUG || kVerbose > 0) G4cout << "Modality image : ";
    11401147  for(int i = 0; i < size[2]; i++) {
    11411148    short * image = kModality.getImage(i);
    11421149    ofile.write((char *)image, psize*sizeof(short));
    11431150
    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;
    11471154
    11481155  // modality desity map for CT value
     
    11521159  ofile.write((char *)pdmap, msize*sizeof(float));
    11531160  if(DEBUG || kVerbose > 0) {
    1154     std::cout << "density map : " << std::ends;
     1161    G4cout << "density map : " << std::ends;
    11551162    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;
    11581165  }
    11591166  delete [] pdmap;
     
    11711178      ofile.write((char *)size, 3*sizeof(int));
    11721179      if(DEBUG || kVerbose > 0) {
    1173         std::cout << "Dose dist. [" << ndose << "] image size : ("
     1180        G4cout << "Dose dist. [" << ndose << "] image size : ("
    11741181                  << size[0] << ", "
    11751182                  << size[1] << ", "
    11761183                  << size[2] << ")"
    1177                   << std::endl;
     1184                  << G4endl;
    11781185      }
    11791186
     
    11851192      ofile.write((char *)kDoseUnit.c_str(), 12);
    11861193      if(DEBUG || kVerbose > 0) {
    1187         std::cout << "Dose dist. unit : " << kDoseUnit << std::endl;
     1194        G4cout << "Dose dist. unit : " << kDoseUnit << G4endl;
    11881195      }
    11891196
     
    11941201      ofile.write((char *)&scale, 4);
    11951202      if(DEBUG || kVerbose > 0) {
    1196         std::cout << "Dose dist. [" << ndose
     1203        G4cout << "Dose dist. [" << ndose
    11971204                  << "] image min., max., scale : "
    11981205                  << minmax[0] << ", "
    11991206                  << minmax[1] << ", "
    1200                   << scale << std::endl;
     1207                  << scale << G4endl;
    12011208      }
    12021209
     
    12111218          for(int j = 0; j < dsize; j++) {
    12121219            if(dimage[j] < 0)
    1213               std::cout << "[" << j << "," << z << "]"
     1220              G4cout << "[" << j << "," << z << "]"
    12141221                        << dimage[j] << ", ";
    12151222          }
    12161223        }
    12171224      }
    1218       if(DEBUG || kVerbose > 0) std::cout << std::endl;
     1225      if(DEBUG || kVerbose > 0) G4cout << G4endl;
    12191226      delete [] dimage;
    12201227
     
    12251232      ofile.write((char *)iCenter, 3*4); // 3*sizeof(int)
    12261233      if(DEBUG || kVerbose > 0) {
    1227         std::cout << "Dose dist. [" << ndose
     1234        G4cout << "Dose dist. [" << ndose
    12281235                  << "]image relative location : ("
    12291236                  << iCenter[0] << ", "
    12301237                  << iCenter[1] << ", "
    1231                   << iCenter[2] << ")" << std::endl;
     1238                  << iCenter[2] << ")" << G4endl;
    12321239      }
    12331240    }
     
    12401247    ofile.write((char *)size, 3*sizeof(int));
    12411248    if(DEBUG || kVerbose > 0) {
    1242       std::cout << "ROI image size : ("
     1249      G4cout << "ROI image size : ("
    12431250                << size[0] << ", "
    12441251                << size[1] << ", "
    12451252                << size[2] << ")"
    1246                 << std::endl;
     1253                << G4endl;
    12471254    }
    12481255
     
    12551262    ofile.write((char *)&scale, sizeof(float));
    12561263    if(DEBUG || kVerbose > 0) {
    1257       std::cout << "ROI image min., max., scale : "
     1264      G4cout << "ROI image min., max., scale : "
    12581265                << minmax[0] << ", "
    12591266                << minmax[1] << ", "
    1260                 << scale << std::endl;
     1267                << scale << G4endl;
    12611268    }
    12621269
     
    12741281    ofile.write((char *)iCenter, 3*sizeof(int));
    12751282    if(DEBUG || kVerbose > 0) {
    1276       std::cout << "ROI image relative location : ("
     1283      G4cout << "ROI image relative location : ("
    12771284                << iCenter[0] << ", "
    12781285                << iCenter[1] << ", "
    1279                 << iCenter[2] << ")" << std::endl;
     1286                << iCenter[2] << ")" << G4endl;
    12801287    }
    12811288  }
     
    12861293  ofile.write((char *)&ntrk, sizeof(int));
    12871294  if(DEBUG || kVerbose > 0) {
    1288     std::cout << "# of tracks : "
    1289               << ntrk << std::endl;
     1295    G4cout << "# of tracks : "
     1296              << ntrk << G4endl;
    12901297  }
    12911298  // track position
     
    12971304  int ntcolor = int(kStepColors.size());
    12981305  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;
    13011309  unsigned char white[3] = {255,255,255}; // default color
    13021310  for(int i = 0; i < ntrk; i++) {
     
    13251333bool G4GMocrenIO::storeData2() {
    13261334
    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;
    13291337
    13301338  bool DEBUG = false;//
     
    13611369  ofile.write((char *)kVoxelSpacing, 12);
    13621370  if(DEBUG || kVerbose > 0) {
    1363     std::cout << "Voxel spacing : ("
     1371    G4cout << "Voxel spacing : ("
    13641372              << kVoxelSpacing[0] << ", "
    13651373              << kVoxelSpacing[1] << ", "
    13661374              << kVoxelSpacing[2]
    1367               << ") mm " << std::endl;
     1375              << ") mm " << G4endl;
    13681376  }
    13691377
     
    13811389  ofile.write((char *)&kPointerToTrackData, 4);
    13821390  if(DEBUG || kVerbose > 0) {
    1383     std::cout << "Each pointer to data : "
     1391    G4cout << "Each pointer to data : "
    13841392              << kPointerToModalityData << ", "
    13851393              << kPointerToDoseDistData[0] << ", "
    13861394              << kPointerToROIData << ", "
    1387               << kPointerToTrackData << std::endl;
     1395              << kPointerToTrackData << G4endl;
    13881396  }
    13891397
     
    13991407  ofile.write((char *)size, 3*sizeof(int));
    14001408  if(DEBUG || kVerbose > 0) {
    1401     std::cout << "Modality image size : ("
     1409    G4cout << "Modality image size : ("
    14021410              << size[0] << ", "
    14031411              << size[1] << ", "
    14041412              << size[2] << ")"
    1405               << std::endl;
     1413              << G4endl;
    14061414  }
    14071415
     
    14181426  ofile.write((char *)&scale, 4);
    14191427  if(DEBUG || kVerbose > 0) {
    1420     std::cout << "Modality image min., max., scale : "
     1428    G4cout << "Modality image min., max., scale : "
    14211429              << minmax[0] << ", "
    14221430              << minmax[1] << ", "
    1423               << scale << std::endl;
     1431              << scale << G4endl;
    14241432  }
    14251433
    14261434  // modality image
    14271435  int psize = size[0]*size[1];
    1428   if(DEBUG || kVerbose > 0) std::cout << "Modality image : ";
     1436  if(DEBUG || kVerbose > 0) G4cout << "Modality image : ";
    14291437  for(int i = 0; i < size[2]; i++) {
    14301438    short * image =kModality.getImage(i);
    14311439    ofile.write((char *)image, psize*sizeof(short));
    14321440
    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;
    14361444
    14371445  // modality desity map for CT value
     
    14411449  ofile.write((char *)pdmap, msize*sizeof(float));
    14421450  if(DEBUG || kVerbose > 0) {
    1443     std::cout << "density map : " << std::ends;
     1451    G4cout << "density map : " << std::ends;
    14441452    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;
    14471455  }
    14481456  delete [] pdmap;
     
    14581466    ofile.write((char *)size, 3*sizeof(int));
    14591467    if(DEBUG || kVerbose > 0) {
    1460       std::cout << "Dose dist. image size : ("
     1468      G4cout << "Dose dist. image size : ("
    14611469                << size[0] << ", "
    14621470                << size[1] << ", "
    14631471                << size[2] << ")"
    1464                 << std::endl;
     1472                << G4endl;
    14651473    }
    14661474
     
    14731481    ofile.write((char *)&scale, sizeof(float));
    14741482    if(DEBUG || kVerbose > 0) {
    1475       std::cout << "Dose dist. image min., max., scale : "
     1483      G4cout << "Dose dist. image min., max., scale : "
    14761484                << minmax[0] << ", "
    14771485                << minmax[1] << ", "
    1478                 << scale << std::endl;
     1486                << scale << G4endl;
    14791487    }
    14801488
     
    14891497        for(int j = 0; j < dsize; j++) {
    14901498          if(dimage[j] < 0)
    1491             std::cout << "[" << j << "," << z << "]"
     1499            G4cout << "[" << j << "," << z << "]"
    14921500                      << dimage[j] << ", ";
    14931501        }
    14941502      }
    14951503    }
    1496     if(DEBUG || kVerbose > 0) std::cout << std::endl;
     1504    if(DEBUG || kVerbose > 0) G4cout << G4endl;
    14971505    delete [] dimage;
    14981506
     
    15031511    ofile.write((char *)iCenter, 3*sizeof(int));
    15041512    if(DEBUG || kVerbose > 0) {
    1505       std::cout << "Dose dist. image relative location : ("
     1513      G4cout << "Dose dist. image relative location : ("
    15061514                << iCenter[0] << ", "
    15071515                << iCenter[1] << ", "
    1508                 << iCenter[2] << ")" << std::endl;
     1516                << iCenter[2] << ")" << G4endl;
    15091517    }
    15101518
     
    15171525    ofile.write((char *)size, 3*sizeof(int));
    15181526    if(DEBUG || kVerbose > 0) {
    1519       std::cout << "ROI image size : ("
     1527      G4cout << "ROI image size : ("
    15201528                << size[0] << ", "
    15211529                << size[1] << ", "
    15221530                << size[2] << ")"
    1523                 << std::endl;
     1531                << G4endl;
    15241532    }
    15251533
     
    15321540    ofile.write((char *)&scale, sizeof(float));
    15331541    if(DEBUG || kVerbose > 0) {
    1534       std::cout << "ROI image min., max., scale : "
     1542      G4cout << "ROI image min., max., scale : "
    15351543                << minmax[0] << ", "
    15361544                << minmax[1] << ", "
    1537                 << scale << std::endl;
     1545                << scale << G4endl;
    15381546    }
    15391547
     
    15511559    ofile.write((char *)iCenter, 3*sizeof(int));
    15521560    if(DEBUG || kVerbose > 0) {
    1553       std::cout << "ROI image relative location : ("
     1561      G4cout << "ROI image relative location : ("
    15541562                << iCenter[0] << ", "
    15551563                << iCenter[1] << ", "
    1556                 << iCenter[2] << ")" << std::endl;
     1564                << iCenter[2] << ")" << G4endl;
    15571565    }
    15581566  }
     
    15641572  ofile.write((char *)&ntrk, sizeof(int));
    15651573  if(DEBUG || kVerbose > 0) {
    1566     std::cout << "# of tracks : "
    1567               << ntrk << std::endl;
     1574    G4cout << "# of tracks : "
     1575              << ntrk << G4endl;
    15681576  }
    15691577  for(int i = 0; i < ntrk; i++) {
     
    15911599  std::ifstream ifile(kFileName.c_str(), std::ios_base::in|std::ios_base::binary);
    15921600  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;
    15951604    return false;
    15961605  }
     
    16061615  if(std::strncmp(verid, "gMocren", 7) == 0) {
    16071616    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;
    16101619      retrieveData3();
    16111620    } 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;
    16141623      retrieveData4();
    16151624    } 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      }
    16191630      std::exit(-1);
    16201631    }
    16211632  } 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;
    16241635    retrieveData2();
    16251636  } 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;
    16271639    return false;
    16281640  }
     
    16441656  std::ifstream ifile(kFileName.c_str(), std::ios_base::in|std::ios_base::binary);
    16451657  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;
    16481661    return false;
    16491662  }
     
    16621675  ss << (int)ver;
    16631676  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;
    16651678
    16661679  // endian
    16671680  ifile.read((char *)&kLittleEndianInput, sizeof(char));
    16681681  if(DEBUG || kVerbose > 0) {
    1669     std::cout << "Endian : ";
     1682    G4cout << "Endian : ";
    16701683    if(kLittleEndianInput == 1)
    1671       std::cout << " little" << std::endl;
     1684      G4cout << " little" << G4endl;
    16721685    else {
    1673       std::cout << " big" << std::endl;
     1686      G4cout << " big" << G4endl;
    16741687    }
    16751688  }
     
    16861699  setComment(scmt);
    16871700  if(DEBUG || kVerbose > 0) {
    1688     std::cout << "Data comment : "
    1689               << kComment << std::endl;
     1701    G4cout << "Data comment : "
     1702              << kComment << G4endl;
    16901703  }
    16911704
     
    16961709  convertEndian(ctmp+8, kVoxelSpacing[2]);
    16971710  if(DEBUG || kVerbose > 0) {
    1698     std::cout << "Voxel spacing : ("
     1711    G4cout << "Voxel spacing : ("
    16991712              << kVoxelSpacing[0] << ", "
    17001713              << kVoxelSpacing[1] << ", "
    17011714              << kVoxelSpacing[2]
    1702               << ") mm " << std::endl;
     1715              << ") mm " << G4endl;
    17031716  }
    17041717
     
    17341747
    17351748  if(DEBUG || kVerbose > 0) {
    1736     std::cout << "Each pointer to data : "
     1749    G4cout << "Each pointer to data : "
    17371750              << kPointerToModalityData << ", ";
    17381751    for(int i = 0; i < nDoseDist; i++)
    1739       std::cout << kPointerToDoseDistData[i] << ", ";
    1740     std::cout << kPointerToROIData << ", "
     1752      G4cout << kPointerToDoseDistData[i] << ", ";
     1753    G4cout << kPointerToROIData << ", "
    17411754              << kPointerToTrackData << ", "
    17421755              << kPointerToDetectorData
    1743               << std::endl;
     1756              << G4endl;
    17441757  }
    17451758
     
    17491762     kPointerToROIData == 0 && kPointerToTrackData == 0) {
    17501763    if(DEBUG || kVerbose > 0) {
    1751       std::cout << "No data." << std::endl;
     1764      G4cout << "No data." << G4endl;
    17521765    }
    17531766    return false;
     
    17741787  convertEndian(ctmp+2*sizeof(int), size[2]);
    17751788  if(DEBUG || kVerbose > 0) {
    1776     std::cout << "Modality image size : ("
     1789    G4cout << "Modality image size : ("
    17771790              << size[0] << ", "
    17781791              << size[1] << ", "
    17791792              << size[2] << ")"
    1780               << std::endl;
     1793              << G4endl;
    17811794  }
    17821795  kModality.setSize(size);
     
    18101823    kModality.setScale(dscale = scale);
    18111824    if(DEBUG || kVerbose > 0) {
    1812       std::cout << "Modality image min., max., scale : "
     1825      G4cout << "Modality image min., max., scale : "
    18131826                << minmax[0] << ", "
    18141827                << minmax[1] << ", "
    1815                 << scale << std::endl;
     1828                << scale << G4endl;
    18161829    }
    18171830
    18181831    // modality density
    18191832    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 << "): ";
    18211834    char * cimage = new char[psize*sizeof(short)];
    18221835    for(int i = 0; i < size[2]; i++) {
     
    18281841      kModality.addImage(mimage);
    18291842
    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;
    18331846    delete [] cimage;
    18341847
    18351848    // modality desity map for CT value
    18361849    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;
    18381851    char * pdmap = new char[msize*sizeof(float)];
    18391852    ifile.read((char *)pdmap, msize*sizeof(float));
     
    18441857    }
    18451858    if(DEBUG || kVerbose > 0) {
    1846       std::cout << "density map : " << std::ends;
     1859      G4cout << "density map : " << std::ends;
    18471860      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;
    18521865      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;
    18551868    }
    18561869
     
    18691882    convertEndian(ctmp+2*sizeof(int), size[2]);
    18701883    if(DEBUG || kVerbose > 0) {
    1871       std::cout << "Dose dist. image size : ("
     1884      G4cout << "Dose dist. image size : ("
    18721885                << size[0] << ", "
    18731886                << size[1] << ", "
    18741887                << size[2] << ")"
    1875                 << std::endl;
     1888                << G4endl;
    18761889    }
    18771890    kDose[ndose].setSize(size);
     
    18891902    setDoseDistUnit(sdunit, ndose);
    18901903    if(DEBUG || kVerbose > 0) {
    1891       std::cout << "Dose dist. unit : " << kDoseUnit << std::endl;
     1904      G4cout << "Dose dist. unit : " << kDoseUnit << G4endl;
    18921905    }
    18931906
     
    19021915
    19031916    if(DEBUG || kVerbose > 0) {
    1904       std::cout << "Dose dist. image min., max., scale : "
     1917      G4cout << "Dose dist. image min., max., scale : "
    19051918                << dminmax[0] << ", "
    19061919                << dminmax[1] << ", "
    1907                 << scale << std::endl;
     1920                << scale << G4endl;
    19081921    }
    19091922
    19101923    // dose distribution image
    19111924    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 << "): ";
    19131926    char * di = new char[dsize*sizeof(short)];
    19141927    short * shimage = new short[dsize];
     
    19221935      kDose[ndose].addImage(dimage);
    19231936
    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)] << ", ";
    19251938
    19261939      if(DEBUG || kVerbose > 0) {
    19271940        for(int j = 0; j < dsize; j++) {
    19281941          if(dimage[j] < 0)
    1929             std::cout << "[" << j << "," << z << "]"
     1942            G4cout << "[" << j << "," << z << "]"
    19301943                      << dimage[j] << ", ";
    19311944        }
     
    19341947    delete [] shimage;
    19351948    delete [] di;
    1936     if(DEBUG || kVerbose > 0) std::cout << std::endl;
     1949    if(DEBUG || kVerbose > 0) G4cout << G4endl;
    19371950
    19381951    ifile.read((char *)ctmp, 3*4); // 3*sizeof(int)
     
    19441957
    19451958    if(DEBUG || kVerbose > 0) {
    1946       std::cout << "Dose dist. image relative location : ("
     1959      G4cout << "Dose dist. image relative location : ("
    19471960                << fCenter[0] << ", "
    19481961                << fCenter[1] << ", "
    1949                 << fCenter[2] << ")" << std::endl;
     1962                << fCenter[2] << ")" << G4endl;
    19501963    }
    19511964
     
    19571970    setDoseDistName(dosename, ndose);
    19581971    if(DEBUG || kVerbose > 0) {
    1959       std::cout << "Dose dist. name : " << dosename << std::endl;
     1972      G4cout << "Dose dist. name : " << dosename << G4endl;
    19601973    }
    19611974
     
    19741987    kRoi[0].setSize(size);
    19751988    if(DEBUG || kVerbose > 0) {
    1976       std::cout << "ROI image size : ("
     1989      G4cout << "ROI image size : ("
    19771990                << size[0] << ", "
    19781991                << size[1] << ", "
    19791992                << size[2] << ")"
    1980                 << std::endl;
     1993                << G4endl;
    19811994    }
    19821995
     
    19922005    kRoi[0].setScale(dscale = scale);
    19932006    if(DEBUG || kVerbose > 0) {
    1994       std::cout << "ROI image min., max., scale : "
     2007      G4cout << "ROI image min., max., scale : "
    19952008                << minmax[0] << ", "
    19962009                << minmax[1] << ", "
    1997                 << scale << std::endl;
     2010                << scale << G4endl;
    19982011    }
    19992012
     
    20202033    kRoi[0].setCenterPosition(fCenter);
    20212034    if(DEBUG || kVerbose > 0) {
    2022       std::cout << "ROI image relative location : ("
     2035      G4cout << "ROI image relative location : ("
    20232036                << fCenter[0] << ", "
    20242037                << fCenter[1] << ", "
    2025                 << fCenter[2] << ")" << std::endl;
     2038                << fCenter[2] << ")" << G4endl;
    20262039    }
    20272040
     
    20362049    convertEndian(ctmp, ntrk);
    20372050    if(DEBUG || kVerbose > 0) {
    2038       std::cout << "# of tracks: " << ntrk << std::endl;
     2051      G4cout << "# of tracks: " << ntrk << G4endl;
    20392052    }
    20402053
     
    20712084      if(DEBUG || kVerbose > 0) {
    20722085        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] << " ";
    20752088          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;
    20812094        }
    20822095      }
     
    20962109
    20972110    if(DEBUG || kVerbose > 0) {
    2098       std::cout << "# of detectors : "
    2099                 << ndet << std::endl;
     2111      G4cout << "# of detectors : "
     2112                << ndet << G4endl;
    21002113    }
    21012114
     
    21072120      convertEndian(ctmp, nedges);
    21082121      if(DEBUG || kVerbose > 0) {
    2109         std::cout << "# of edges in a detector : " << nedges << std::endl;
     2122        G4cout << "# of edges in a detector : " << nedges << G4endl;
    21102123      }
    21112124
     
    21232136
    21242137      if(DEBUG || kVerbose > 0) {
    2125         std::cout << " first edge : (" << detector[0][0] << ", "
     2138        G4cout << " first edge : (" << detector[0][0] << ", "
    21262139                  << detector[0][1] << ", "
    21272140                  << detector[0][2] << ") - ("
    21282141                  << detector[0][3] << ", "
    21292142                  << detector[0][4] << ", "
    2130                   << detector[0][5] << ")" << std::endl;
     2143                  << detector[0][5] << ")" << G4endl;
    21312144      }
    21322145
     
    21352148      ifile.read((char *)dcolor, 3);
    21362149      if(DEBUG || kVerbose > 0) {
    2137         std::cout << " detector color : rgb("
     2150        G4cout << " detector color : rgb("
    21382151                  << (int)dcolor[0] << ", "
    21392152                  << (int)dcolor[1] << ", "
    2140                   << (int)dcolor[2] << std::endl;
     2153                  << (int)dcolor[2] << G4endl;
    21412154      }
    21422155
     
    21472160      std::string dname = cname;
    21482161      if(DEBUG || kVerbose > 0) {
    2149         std::cout << " detector name : " << dname << std::endl;
     2162        G4cout << " detector name : " << dname << G4endl;
    21502163      }
    21512164
     
    21742187  std::ifstream ifile(kFileName.c_str(), std::ios_base::in|std::ios_base::binary);
    21752188  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;
    21782192    return false;
    21792193  }
     
    21922206  ss << (int)ver;
    21932207  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;
    21952209
    21962210  // endian
    21972211  ifile.read((char *)&kLittleEndianInput, sizeof(char));
    21982212  if(DEBUG || kVerbose > 0) {
    2199     std::cout << "Endian : ";
     2213    G4cout << "Endian : ";
    22002214    if(kLittleEndianInput == 1)
    2201       std::cout << " little" << std::endl;
     2215      G4cout << " little" << G4endl;
    22022216    else {
    2203       std::cout << " big" << std::endl;
     2217      G4cout << " big" << G4endl;
    22042218    }
    22052219  }
     
    22152229  setComment(scmt);
    22162230  if(DEBUG || kVerbose > 0) {
    2217     std::cout << "Data comment : "
    2218               << kComment << std::endl;
     2231    G4cout << "Data comment : "
     2232              << kComment << G4endl;
    22192233  }
    22202234
     
    22252239  convertEndian(ctmp+8, kVoxelSpacing[2]);
    22262240  if(DEBUG || kVerbose > 0) {
    2227     std::cout << "Voxel spacing : ("
     2241    G4cout << "Voxel spacing : ("
    22282242              << kVoxelSpacing[0] << ", "
    22292243              << kVoxelSpacing[1] << ", "
    22302244              << kVoxelSpacing[2]
    2231               << ") mm " << std::endl;
     2245              << ") mm " << G4endl;
    22322246  }
    22332247
     
    22582272  convertEndian(ctmp, kPointerToTrackData);
    22592273  if(DEBUG || kVerbose > 0) {
    2260     std::cout << "Each pointer to data : "
     2274    G4cout << "Each pointer to data : "
    22612275              << kPointerToModalityData << ", ";
    22622276    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;
    22662280  }
    22672281
     
    22692283     kPointerToROIData == 0 && kPointerToTrackData == 0) {
    22702284    if(DEBUG || kVerbose > 0) {
    2271       std::cout << "No data." << std::endl;
     2285      G4cout << "No data." << G4endl;
    22722286    }
    22732287    return false;
     
    22942308  convertEndian(ctmp+2*sizeof(int), size[2]);
    22952309  if(DEBUG || kVerbose > 0) {
    2296     std::cout << "Modality image size : ("
     2310    G4cout << "Modality image size : ("
    22972311              << size[0] << ", "
    22982312              << size[1] << ", "
    22992313              << size[2] << ")"
    2300               << std::endl;
     2314              << G4endl;
    23012315  }
    23022316  kModality.setSize(size);
     
    23292343    kModality.setScale(dscale = scale);
    23302344    if(DEBUG || kVerbose > 0) {
    2331       std::cout << "Modality image min., max., scale : "
     2345      G4cout << "Modality image min., max., scale : "
    23322346                << minmax[0] << ", "
    23332347                << minmax[1] << ", "
    2334                 << scale << std::endl;
     2348                << scale << G4endl;
    23352349    }
    23362350
    23372351    // modality density
    23382352    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 << "): ";
    23402354    char * cimage = new char[psize*sizeof(short)];
    23412355    for(int i = 0; i < size[2]; i++) {
     
    23472361      kModality.addImage(mimage);
    23482362
    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;
    23522366    delete [] cimage;
    23532367
    23542368    // modality desity map for CT value
    23552369    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;
    23572371    char * pdmap = new char[msize*sizeof(float)];
    23582372    ifile.read((char *)pdmap, msize*sizeof(float));
     
    23632377    }
    23642378    if(DEBUG || kVerbose > 0) {
    2365       std::cout << "density map : " << std::ends;
     2379      G4cout << "density map : " << std::ends;
    23662380      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;
    23712385      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;
    23742388    }
    23752389
     
    23882402    convertEndian(ctmp+2*sizeof(int), size[2]);
    23892403    if(DEBUG || kVerbose > 0) {
    2390       std::cout << "Dose dist. image size : ("
     2404      G4cout << "Dose dist. image size : ("
    23912405                << size[0] << ", "
    23922406                << size[1] << ", "
    23932407                << size[2] << ")"
    2394                 << std::endl;
     2408                << G4endl;
    23952409    }
    23962410    kDose[ndose].setSize(size);
     
    24072421    setDoseDistUnit(sdunit, ndose);
    24082422    if(DEBUG || kVerbose > 0) {
    2409       std::cout << "Dose dist. unit : " << kDoseUnit << std::endl;
     2423      G4cout << "Dose dist. unit : " << kDoseUnit << G4endl;
    24102424    }
    24112425
     
    24202434
    24212435    if(DEBUG || kVerbose > 0) {
    2422       std::cout << "Dose dist. image min., max., scale : "
     2436      G4cout << "Dose dist. image min., max., scale : "
    24232437                << dminmax[0] << ", "
    24242438                << dminmax[1] << ", "
    2425                 << scale << std::endl;
     2439                << scale << G4endl;
    24262440    }
    24272441
    24282442    // dose distribution image
    24292443    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 << "): ";
    24312445    char * di = new char[dsize*sizeof(short)];
    24322446    short * shimage = new short[dsize];
     
    24402454      kDose[ndose].addImage(dimage);
    24412455
    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)] << ", ";
    24432457
    24442458      if(DEBUG || kVerbose > 0) {
    24452459        for(int j = 0; j < dsize; j++) {
    24462460          if(dimage[j] < 0)
    2447             std::cout << "[" << j << "," << z << "]"
     2461            G4cout << "[" << j << "," << z << "]"
    24482462                      << dimage[j] << ", ";
    24492463        }
     
    24522466    delete [] shimage;
    24532467    delete [] di;
    2454     if(DEBUG || kVerbose > 0) std::cout << std::endl;
     2468    if(DEBUG || kVerbose > 0) G4cout << G4endl;
    24552469
    24562470    ifile.read((char *)ctmp, 3*4); // 3*sizeof(int)
     
    24622476
    24632477    if(DEBUG || kVerbose > 0) {
    2464       std::cout << "Dose dist. image relative location : ("
     2478      G4cout << "Dose dist. image relative location : ("
    24652479                << fCenter[0] << ", "
    24662480                << fCenter[1] << ", "
    2467                 << fCenter[2] << ")" << std::endl;
     2481                << fCenter[2] << ")" << G4endl;
    24682482    }
    24692483
     
    24832497    kRoi[0].setSize(size);
    24842498    if(DEBUG || kVerbose > 0) {
    2485       std::cout << "ROI image size : ("
     2499      G4cout << "ROI image size : ("
    24862500                << size[0] << ", "
    24872501                << size[1] << ", "
    24882502                << size[2] << ")"
    2489                 << std::endl;
     2503                << G4endl;
    24902504    }
    24912505
     
    25012515    kRoi[0].setScale(dscale = scale);
    25022516    if(DEBUG || kVerbose > 0) {
    2503       std::cout << "ROI image min., max., scale : "
     2517      G4cout << "ROI image min., max., scale : "
    25042518                << minmax[0] << ", "
    25052519                << minmax[1] << ", "
    2506                 << scale << std::endl;
     2520                << scale << G4endl;
    25072521    }
    25082522
     
    25292543    kRoi[0].setCenterPosition(fCenter);
    25302544    if(DEBUG || kVerbose > 0) {
    2531       std::cout << "ROI image relative location : ("
     2545      G4cout << "ROI image relative location : ("
    25322546                << fCenter[0] << ", "
    25332547                << fCenter[1] << ", "
    2534                 << fCenter[2] << ")" << std::endl;
     2548                << fCenter[2] << ")" << G4endl;
    25352549    }
    25362550
     
    25452559    convertEndian(ctmp, ntrk);
    25462560    if(DEBUG || kVerbose > 0) {
    2547       std::cout << "# of tracks: " << ntrk << std::endl;
     2561      G4cout << "# of tracks: " << ntrk << G4endl;
    25482562    }
    25492563
     
    25562570
    25572571      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 << ": " ;
    25592573      for(int j = 0; j < 3; j++) {
    25602574        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] << ", ";
    25622576      }
    25632577
     
    25652579      for(int j = 0; j < 3; j++) {
    25662580        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] << ", ";
    25682582      }
    25692583      addTrack(tp);
    2570       if(DEBUG || kVerbose > 0) if(i < 10) std::cout << std::endl;
     2584      if(DEBUG || kVerbose > 0) if(i < 10) G4cout << G4endl;
    25712585
    25722586      // v4
     
    26102624  std::ifstream ifile(kFileName.c_str(), std::ios_base::in|std::ios_base::binary);
    26112625  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;
    26142629    return false;
    26152630  }
     
    26282643  ss << (int)ver;
    26292644  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;
    26312646
    26322647  // id of version 1
     
    26412656  ifile.read((char *)&kLittleEndianInput, sizeof(char));
    26422657  if(DEBUG || kVerbose > 0) {
    2643     std::cout << "Endian : ";
     2658    G4cout << "Endian : ";
    26442659    if(kLittleEndianInput == 1)
    2645       std::cout << " little" << std::endl;
     2660      G4cout << " little" << G4endl;
    26462661    else {
    2647       std::cout << " big" << std::endl;
     2662      G4cout << " big" << G4endl;
    26482663    }
    26492664  }
     
    26552670  convertEndian(ctmp+8, kVoxelSpacing[2]);
    26562671  if(DEBUG || kVerbose > 0) {
    2657     std::cout << "Voxel spacing : ("
     2672    G4cout << "Voxel spacing : ("
    26582673              << kVoxelSpacing[0] << ", "
    26592674              << kVoxelSpacing[1] << ", "
    26602675              << kVoxelSpacing[2]
    2661               << ") mm " << std::endl;
     2676              << ") mm " << G4endl;
    26622677  }
    26632678
     
    26812696  convertEndian(ctmp, kPointerToTrackData);
    26822697  if(DEBUG || kVerbose > 0) {
    2683     std::cout << "Each pointer to data : "
     2698    G4cout << "Each pointer to data : "
    26842699              << kPointerToModalityData << ", "
    26852700              << kPointerToDoseDistData[0] << ", "
    26862701              << kPointerToROIData << ", "
    2687               << kPointerToTrackData << std::endl;
     2702              << kPointerToTrackData << G4endl;
    26882703  }
    26892704
     
    26912706     kPointerToROIData == 0 && kPointerToTrackData == 0) {
    26922707    if(DEBUG || kVerbose > 0) {
    2693       std::cout << "No data." << std::endl;
     2708      G4cout << "No data." << G4endl;
    26942709    }
    26952710    return false;
     
    27162731  convertEndian(ctmp+2*sizeof(int), size[2]);
    27172732  if(DEBUG || kVerbose > 0) {
    2718     std::cout << "Modality image size : ("
     2733    G4cout << "Modality image size : ("
    27192734              << size[0] << ", "
    27202735              << size[1] << ", "
    27212736              << size[2] << ")"
    2722               << std::endl;
     2737              << G4endl;
    27232738  }
    27242739  kModality.setSize(size);
     
    27452760    kModality.setScale(dscale = scale);
    27462761    if(DEBUG || kVerbose > 0) {
    2747       std::cout << "Modality image min., max., scale : "
     2762      G4cout << "Modality image min., max., scale : "
    27482763                << minmax[0] << ", "
    27492764                << minmax[1] << ", "
    2750                 << scale << std::endl;
     2765                << scale << G4endl;
    27512766    }
    27522767
    27532768    // modality density
    27542769    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 << "): ";
    27562771    char * cimage = new char[psize*sizeof(short)];
    27572772    for(int i = 0; i < size[2]; i++) {
     
    27632778      kModality.addImage(mimage);
    27642779
    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;
    27682783    delete [] cimage;
    27692784
    27702785    // modality desity map for CT value
    27712786    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;
    27732788    char * pdmap = new char[msize*sizeof(float)];
    27742789    ifile.read((char *)pdmap, msize*sizeof(float));
     
    27792794    }
    27802795    if(DEBUG || kVerbose > 0) {
    2781       std::cout << "density map : " << std::ends;
     2796      G4cout << "density map : " << std::ends;
    27822797      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;
    27872802      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;
    27902805    }
    27912806
     
    28042819    convertEndian(ctmp+2*sizeof(int), size[2]);
    28052820    if(DEBUG || kVerbose > 0) {
    2806       std::cout << "Dose dist. image size : ("
     2821      G4cout << "Dose dist. image size : ("
    28072822                << size[0] << ", "
    28082823                << size[1] << ", "
    28092824                << size[2] << ")"
    2810                 << std::endl;
     2825                << G4endl;
    28112826    }
    28122827    kDose[0].setSize(size);
     
    28262841
    28272842    if(DEBUG || kVerbose > 0) {
    2828       std::cout << "Dose dist. image min., max., scale : "
     2843      G4cout << "Dose dist. image min., max., scale : "
    28292844                << dminmax[0] << ", "
    28302845                << dminmax[1] << ", "
    2831                 << scale << std::endl;
     2846                << scale << G4endl;
    28322847    }
    28332848
    28342849    // dose distribution image
    28352850    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 << "): ";
    28372852    char * di = new char[dsize*sizeof(short)];
    28382853    short * shimage = new short[dsize];
     
    28462861      kDose[0].addImage(dimage);
    28472862
    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)] << ", ";
    28492864
    28502865      if(DEBUG || kVerbose > 0) {
    28512866        for(int j = 0; j < dsize; j++) {
    28522867          if(dimage[j] < 0)
    2853             std::cout << "[" << j << "," << z << "]"
     2868            G4cout << "[" << j << "," << z << "]"
    28542869                      << dimage[j] << ", ";
    28552870        }
     
    28582873    delete [] shimage;
    28592874    delete [] di;
    2860     if(DEBUG || kVerbose > 0) std::cout << std::endl;
     2875    if(DEBUG || kVerbose > 0) G4cout << G4endl;
    28612876
    28622877    /* ver 1
     
    29022917
    29032918    if(DEBUG || kVerbose > 0) {
    2904       std::cout << "Dose dist. image relative location : ("
     2919      G4cout << "Dose dist. image relative location : ("
    29052920                << fCenter[0] << ", "
    29062921                << fCenter[1] << ", "
    2907                 << fCenter[2] << ")" << std::endl;
     2922                << fCenter[2] << ")" << G4endl;
    29082923    }
    29092924
     
    29232938    kRoi[0].setSize(size);
    29242939    if(DEBUG || kVerbose > 0) {
    2925       std::cout << "ROI image size : ("
     2940      G4cout << "ROI image size : ("
    29262941                << size[0] << ", "
    29272942                << size[1] << ", "
    29282943                << size[2] << ")"
    2929                 << std::endl;
     2944                << G4endl;
    29302945    }
    29312946
     
    29412956    kRoi[0].setScale(dscale = scale);
    29422957    if(DEBUG || kVerbose > 0) {
    2943       std::cout << "ROI image min., max., scale : "
     2958      G4cout << "ROI image min., max., scale : "
    29442959                << minmax[0] << ", "
    29452960                << minmax[1] << ", "
    2946                 << scale << std::endl;
     2961                << scale << G4endl;
    29472962    }
    29482963
     
    29692984    kRoi[0].setCenterPosition(fCenter);
    29702985    if(DEBUG || kVerbose > 0) {
    2971       std::cout << "ROI image relative location : ("
     2986      G4cout << "ROI image relative location : ("
    29722987                << fCenter[0] << ", "
    29732988                << fCenter[1] << ", "
    2974                 << fCenter[2] << ")" << std::endl;
     2989                << fCenter[2] << ")" << G4endl;
    29752990    }
    29762991
     
    29853000    convertEndian(ctmp, ntrk);
    29863001    if(DEBUG || kVerbose > 0) {
    2987       std::cout << "# of tracks: " << ntrk << std::endl;
     3002      G4cout << "# of tracks: " << ntrk << G4endl;
    29883003    }
    29893004
     
    29973012
    29983013      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 << ": " ;
    30003015      for(int j = 0; j < 3; j++) {
    30013016        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] << ", ";
    30033018      }
    30043019
     
    30063021      for(int j = 0; j < 3; j++) {
    30073022        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] << ", ";
    30093024      }
    30103025
     
    30143029      addTrack(trkv4, trkcolorv4);
    30153030     
    3016       if(DEBUG || kVerbose > 0) if(i < 10) std::cout << std::endl;
     3031      if(DEBUG || kVerbose > 0) if(i < 10) G4cout << G4endl;
    30173032    }
    30183033
     
    32173232    setPointerToTrackData(pointer0);
    32183233  }
    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;
    32213236
    32223237  // pointer to detector data
     
    32273242    kPointerToDetectorData = 0;
    32283243  }
    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;
    32313246
    32323247}
     
    34313446    rval = minmax[1];
    34323447    for(int i = 0; i < nmap; i++) {
    3433       //std::cout << kModalityImageDensityMap[i] << std::endl;
     3448      //G4cout << kModalityImageDensityMap[i] << G4endl;
    34343449      if(_dens <= kModalityImageDensityMap[i]) {
    34353450        rval = i + minmax[0];
     
    35583573
    35593574  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;
    35643580    std::exit(-1);
    35653581  }
     
    35993615  void G4GMocrenIO::getDoseDist(double * & _image, int _z, int _num) {
    36003616
    3601   std::cout << " <" << (void*)_image << "> ";
     3617  G4cout << " <" << (void*)_image << "> ";
    36023618  if(isDoseEmpty()) {
    36033619  _image = 0;
    36043620  } else {
    36053621  _image = kDose[_num].getImage(_z);
    3606   std::cout << " <" << (void*)_image << "> ";
    3607   std::cout << _image[100] << " ";
     3622  G4cout << " <" << (void*)_image << "> ";
     3623  G4cout << _image[100] << " ";
    36083624  }
    36093625  }
     
    36603676bool G4GMocrenIO::mergeDoseDist(std::vector<class GMocrenDataPrimitive<double> > & _dose) {
    36613677  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    }
    36653683    return false;
    36663684  }
     
    36703688  std::vector<class GMocrenDataPrimitive<double> >::iterator itr2 = _dose.begin();
    36713689  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;
    36733693    *itr1 += *itr2;
    36743694  }
     
    36893709bool G4GMocrenIO::isDoseEmpty() {
    36903710  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;
    36923713    return true;
    36933714  } else {
     
    37943815bool G4GMocrenIO::isROIEmpty() {
    37953816  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;
    37973819    return true;
    37983820  } else {
     
    38833905
    38843906  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;
    38863909    std::exit(-1);
    38873910  }
     
    39423965
    39433966  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;
    39453969    std::exit(-1);
    39463970  }
  • trunk/source/visualization/gMocren/src/G4GMocrenMessenger.cc

    r1337 r1347  
    2626//
    2727// $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 $
    2929//
    3030//
  • trunk/source/visualization/management/CVS/Entries

    r1346 r1347  
    44/History/1.160.2.1/Wed Dec 22 10:23:43 2010//Tgeant4-09-04-ref-00
    55/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//
    21/G4GraphicsSystemList.hh/1.9/Thu Jun 29 21:27:54 2006//Tgeant4-09-04-ref-00
    32/G4Scene.hh/1.19/Wed Nov  4 12:49:16 2009//Tgeant4-09-04-ref-00
     
    3938/G4VisModelManager.hh/1.4/Thu Jun 29 21:29:10 2006//Tgeant4-09-04-ref-00
    4039/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
    4141D
  • trunk/source/visualization/management/include/G4VisManager.icc

    r1346 r1347  
    2525//
    2626//
    27 // $Id: G4VisManager.icc,v 1.22 2010/06/01 16:08:15 allison Exp $
    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 $
    2929//
    3030//
     
    6767G4VisManager::GetCurrentGraphicsSystem () const {
    6868  return fpGraphicsSystem;
    69 }
    70 
    71 inline G4VisManager::Verbosity G4VisManager::GetVerbosity () {
    72   return fVerbosity;
    7369}
    7470
  • trunk/source/visualization/management/src/CVS/Entries

    r1346 r1347  
    2222/G4VisFeaturesOfOpenGL.cc/1.6/Wed Oct  3 14:21:55 2007//Tgeant4-09-04-ref-00
    2323/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-00
    2524/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
    2626D
  • 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
  • trunk/source/visualization/test/include/BuildCalorimeter.hh

    r954 r1347  
    2626//
    2727// $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 $
    2929//
    3030//
  • trunk/source/visualization/test/include/BuildGeom_Example1.hh

    r954 r1347  
    2626//
    2727// $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 $
    2929//
    3030//
  • trunk/source/visualization/test/include/BuildGeom_Example2.hh

    r954 r1347  
    2626//
    2727// $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 $
    2929//
    3030//
  • trunk/source/visualization/test/include/BuildHouse.hh

    r954 r1347  
    2626//
    2727// $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 $
    2929//
    3030//
  • trunk/source/visualization/test/include/BuildParametrised.hh

    r954 r1347  
    2626//
    2727// $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 $
    2929//
    3030//
  • trunk/source/visualization/test/include/BuildShapes.hh

    r954 r1347  
    2626//
    2727// $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 $
    2929//
    3030//
  • trunk/source/visualization/test/include/G4ParametrizedBox.hh

    r954 r1347  
    2626//
    2727// $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 $
    2929//
    3030//
  • trunk/source/visualization/test/include/MyDetectorConstruction.hh

    r954 r1347  
    2626//
    2727// $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 $
    2929//
    3030
  • trunk/source/visualization/test/include/MyDetectorMessenger.hh

    r954 r1347  
    2626//
    2727// $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 $
    2929//
    3030
  • trunk/source/visualization/test/include/MyEventAction.hh

    r954 r1347  
    2626//
    2727// $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 $
    2929//
    3030
  • trunk/source/visualization/test/include/MyPrimaryGeneratorAction.hh

    r954 r1347  
    2626//
    2727// $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 $
    2929//
    3030
  • trunk/source/visualization/test/include/MyRunAction.hh

    r954 r1347  
    2626//
    2727// $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 $
    2929//
    3030
  • trunk/source/visualization/test/include/MySteppingAction.hh

    r954 r1347  
    2626//
    2727// $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 $
    2929//
    3030//
  • trunk/source/visualization/test/include/ParametrisedBox.hh

    r954 r1347  
    2626//
    2727// $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 $
    2929//
    3030//
  • trunk/source/visualization/test/include/test19DetectorConstruction.hh

    r954 r1347  
    2626//
    2727// $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 $
    2929//
    3030//
  • trunk/source/visualization/test/include/test19DetectorMessenger.hh

    r954 r1347  
    2626//
    2727// $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 $
    2929//
    3030//
  • trunk/source/visualization/test/src/BuildCalorimeter.cc

    r954 r1347  
    2626//
    2727// $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 $
    2929//
    3030//
  • trunk/source/visualization/test/src/BuildGeom_Example1.cc

    r954 r1347  
    2626//
    2727// $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 $
    2929//
    3030//
  • trunk/source/visualization/test/src/BuildGeom_Example2.cc

    r954 r1347  
    2626//
    2727// $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 $
    2929//
    3030//
  • trunk/source/visualization/test/src/BuildHouse.cc

    r954 r1347  
    2626//
    2727// $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 $
    2929//
    3030//
  • trunk/source/visualization/test/src/BuildParametrised.cc

    r954 r1347  
    2626//
    2727// $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 $
    2929//
    3030//
  • trunk/source/visualization/test/src/BuildShapes.cc

    r954 r1347  
    2626//
    2727// $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 $
    2929//
    3030//
  • trunk/source/visualization/test/src/MyDetectorConstruction.cc

    r954 r1347  
    2626//
    2727// $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 $
    2929//
    3030//
  • trunk/source/visualization/test/src/MyDetectorMessenger.cc

    r954 r1347  
    2626//
    2727// $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 $
    2929//
    3030
  • trunk/source/visualization/test/src/MyEventAction.cc

    r954 r1347  
    2626//
    2727// $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 $
    2929//
    3030
  • trunk/source/visualization/test/src/MyPrimaryGeneratorAction.cc

    r954 r1347  
    2626//
    2727// $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 $
    2929//
    3030
  • trunk/source/visualization/test/src/MyRunAction.cc

    r954 r1347  
    2626//
    2727// $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 $
    2929//
    3030
  • trunk/source/visualization/test/src/MySteppingAction.cc

    r954 r1347  
    2626//
    2727// $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 $
    2929//
    3030//
  • trunk/source/visualization/test/src/ParametrisedBox.cc

    r954 r1347  
    2626//
    2727// $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 $
    2929//
    3030//
  • trunk/source/visualization/test/src/test19DetectorConstruction.cc

    r954 r1347  
    2626//
    2727// $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 $
    2929//
    3030//
  • trunk/source/visualization/test/src/test19DetectorMessenger.cc

    r954 r1347  
    2626//
    2727// $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 $
    2929//
    3030//
  • trunk/source/visualization/test/test19.cc

    r1340 r1347  
    2626//
    2727// $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 $
    2929//
    3030//
  • trunk/source/visualization/test/test19.g4m

    r1340 r1347  
    66/control/saveHistory
    77/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
    13460exit
  • trunk/source/visualization/test/testshapes.cc

    r954 r1347  
    2626//
    2727// $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 $
    2929//
    3030//
Note: See TracChangeset for help on using the changeset viewer.