Index: trunk/source/visualization/FukuiRenderer/CVS/Entries
===================================================================
--- trunk/source/visualization/FukuiRenderer/CVS/Entries	(revision 1346)
+++ trunk/source/visualization/FukuiRenderer/CVS/Entries	(revision 1347)
@@ -3,2 +3,6 @@
 /CMakeLists.txt/1.1/Wed Sep 29 19:11:33 2010//Tgeant4-09-04-ref-00
 /sources.cmake/1.1/Wed Sep 29 19:11:41 2010//Tgeant4-09-04-ref-00
+/CUSTOMIZE/1.2/Mon Sep  2 05:41:38 2002//Tgeant4-09-04-ref-00
+/GNUmakefile/1.6/Wed Oct 21 14:59:17 2009//Tgeant4-09-04-ref-00
+/History/1.29/Thu Nov 11 01:13:42 2010//Tgeant4-09-04-ref-00
+/README/1.2/Thu Nov  4 02:06:43 1999//Tgeant4-09-04-ref-00
Index: trunk/source/visualization/FukuiRenderer/History
===================================================================
--- trunk/source/visualization/FukuiRenderer/History	(revision 1346)
+++ trunk/source/visualization/FukuiRenderer/History	(revision 1347)
@@ -1,3 +1,3 @@
-$Id: History,v 1.28 2010/05/30 10:18:32 allison Exp $
+$Id: History,v 1.29 2010/11/11 01:13:42 akimura Exp $
 -------------------------------------------------------------------
 
@@ -20,4 +20,8 @@
 History file for visualization/FukuiRenderer sub-category
 ---------------------------------------------------------
+
+11 November 2010  Akinori Kimura (DAWN-V09-03-01)
+- Replaced G4cerr with G4cout and added the following line before G4cout.
+  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
 
 30th May 2010  John Allison  (DAWN-V09-03-00)
Index: trunk/source/visualization/FukuiRenderer/include/CVS/Entries
===================================================================
--- trunk/source/visualization/FukuiRenderer/include/CVS/Entries	(revision 1346)
+++ trunk/source/visualization/FukuiRenderer/include/CVS/Entries	(revision 1347)
@@ -1,1 +1,12 @@
+/G4DAWNFILE.hh/1.9/Thu Jun 29 21:16:28 2006//Tgeant4-09-04-ref-00
+/G4DAWNFILESceneHandler.hh/1.18/Sun May 30 10:18:32 2010//Tgeant4-09-04-ref-00
+/G4DAWNFILEViewer.hh/1.10/Thu Jun 29 21:16:32 2006//Tgeant4-09-04-ref-00
+/G4FRClientServer.hh/1.7/Thu Jun 29 21:16:34 2006//Tgeant4-09-04-ref-00
+/G4FRConst.hh/1.7/Thu Jun 29 21:16:36 2006//Tgeant4-09-04-ref-00
+/G4FRFeatures.hh/1.6/Thu Jun 29 21:16:38 2006//Tgeant4-09-04-ref-00
+/G4FRSceneFunc.icc/1.16/Thu Nov 11 01:13:42 2010//Tgeant4-09-04-ref-00
+/G4FRofstream.hh/1.9/Thu Jun 29 21:16:42 2006//Tgeant4-09-04-ref-00
+/G4FukuiRenderer.hh/1.8/Thu Jun 29 21:16:44 2006//Tgeant4-09-04-ref-00
+/G4FukuiRendererSceneHandler.hh/1.17/Sun May 30 10:18:32 2010//Tgeant4-09-04-ref-00
+/G4FukuiRendererViewer.hh/1.8/Thu Jun 29 21:16:48 2006//Tgeant4-09-04-ref-00
 D
Index: trunk/source/visualization/FukuiRenderer/include/G4DAWNFILE.hh
===================================================================
--- trunk/source/visualization/FukuiRenderer/include/G4DAWNFILE.hh	(revision 1346)
+++ trunk/source/visualization/FukuiRenderer/include/G4DAWNFILE.hh	(revision 1347)
@@ -26,5 +26,5 @@
 //
 // $Id: G4DAWNFILE.hh,v 1.9 2006/06/29 21:16:28 gunter Exp $
-// GEANT4 tag $Name: geant4-09-04-beta-01 $
+// GEANT4 tag $Name: geant4-09-04-ref-00 $
 //
 // Satoshi TANAKA
Index: trunk/source/visualization/FukuiRenderer/include/G4DAWNFILESceneHandler.hh
===================================================================
--- trunk/source/visualization/FukuiRenderer/include/G4DAWNFILESceneHandler.hh	(revision 1346)
+++ trunk/source/visualization/FukuiRenderer/include/G4DAWNFILESceneHandler.hh	(revision 1347)
@@ -26,5 +26,5 @@
 //
 // $Id: G4DAWNFILESceneHandler.hh,v 1.18 2010/05/30 10:18:32 allison Exp $
-// GEANT4 tag $Name: geant4-09-04-beta-01 $
+// GEANT4 tag $Name: geant4-09-04-ref-00 $
 //
 // Satoshi TANAKA
Index: trunk/source/visualization/FukuiRenderer/include/G4DAWNFILEViewer.hh
===================================================================
--- trunk/source/visualization/FukuiRenderer/include/G4DAWNFILEViewer.hh	(revision 1346)
+++ trunk/source/visualization/FukuiRenderer/include/G4DAWNFILEViewer.hh	(revision 1347)
@@ -26,5 +26,5 @@
 //
 // $Id: G4DAWNFILEViewer.hh,v 1.10 2006/06/29 21:16:32 gunter Exp $
-// GEANT4 tag $Name: geant4-09-04-beta-01 $
+// GEANT4 tag $Name: geant4-09-04-ref-00 $
 //
 // Satoshi TANAKA
Index: trunk/source/visualization/FukuiRenderer/include/G4FRClientServer.hh
===================================================================
--- trunk/source/visualization/FukuiRenderer/include/G4FRClientServer.hh	(revision 1346)
+++ trunk/source/visualization/FukuiRenderer/include/G4FRClientServer.hh	(revision 1347)
@@ -26,5 +26,5 @@
 //
 // $Id: G4FRClientServer.hh,v 1.7 2006/06/29 21:16:34 gunter Exp $
-// GEANT4 tag $Name: geant4-09-04-beta-01 $
+// GEANT4 tag $Name: geant4-09-04-ref-00 $
 //
 // Satoshi TANAKA, Wed Jul  3 14:13:52 JST 1996
Index: trunk/source/visualization/FukuiRenderer/include/G4FRConst.hh
===================================================================
--- trunk/source/visualization/FukuiRenderer/include/G4FRConst.hh	(revision 1346)
+++ trunk/source/visualization/FukuiRenderer/include/G4FRConst.hh	(revision 1347)
@@ -26,5 +26,5 @@
 //
 // $Id: G4FRConst.hh,v 1.7 2006/06/29 21:16:36 gunter Exp $
-// GEANT4 tag $Name: geant4-09-04-beta-01 $
+// GEANT4 tag $Name: geant4-09-04-ref-00 $
 //
 // Satoshi TANAKA, Tue Jul  2 15:30:49 JST 1996
Index: trunk/source/visualization/FukuiRenderer/include/G4FRFeatures.hh
===================================================================
--- trunk/source/visualization/FukuiRenderer/include/G4FRFeatures.hh	(revision 1346)
+++ trunk/source/visualization/FukuiRenderer/include/G4FRFeatures.hh	(revision 1347)
@@ -26,5 +26,5 @@
 //
 // $Id: G4FRFeatures.hh,v 1.6 2006/06/29 21:16:38 gunter Exp $
-// GEANT4 tag $Name: geant4-09-04-beta-01 $
+// GEANT4 tag $Name: geant4-09-04-ref-00 $
 //
 #if !defined G4_FR_FEATURES_HH
Index: trunk/source/visualization/FukuiRenderer/include/G4FRSceneFunc.icc
===================================================================
--- trunk/source/visualization/FukuiRenderer/include/G4FRSceneFunc.icc	(revision 1346)
+++ trunk/source/visualization/FukuiRenderer/include/G4FRSceneFunc.icc	(revision 1347)
@@ -25,8 +25,9 @@
 //
 //
-// $Id: G4FRSceneFunc.icc,v 1.15 2006/07/10 15:31:45 allison Exp $
-// GEANT4 tag $Name: geant4-09-04-beta-01 $
+// $Id: G4FRSceneFunc.icc,v 1.16 2010/11/11 01:13:42 akimura Exp $
+// GEANT4 tag $Name: geant4-09-04-ref-00 $
 //
 
+#include "G4VisManager.hh"
 #include "G4PhysicalVolumeModel.hh"
 #include "G4LogicalVolume.hh"
@@ -38,5 +39,6 @@
 {
 #if defined DEBUG_FR_SCENE
-      G4cerr << "***** AddPrimitive\n";
+  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
+      G4cout << "***** AddPrimitive\n";
 #endif 
 		//----- Initialize Fukui Renderer IF NECESSARY
@@ -84,5 +86,6 @@
 		//----- 
 #if defined DEBUG_FR_SCENE
-	G4cerr << "***** AddPrimitive( G4NURBS )\n";
+  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
+	G4cout << "***** AddPrimitive( G4NURBS )\n";
 #endif
 
@@ -102,5 +105,6 @@
 		//----- 
 #if defined DEBUG_FR_SCENE
-	G4cerr << "***** AddPrimitive( G4Text )\n";
+  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
+	G4cout << "***** AddPrimitive( G4Text )\n";
 #endif
 		//----- Initialize DAWN IF NECESSARY
@@ -135,7 +139,9 @@
 	int   MAX_STR_LENGTH   =  COMMAND_BUF_SIZE - 100 ;
 	if  ( MAX_STR_LENGTH <= 0 ) { 
-		G4cerr << "ERROR (FukuiRenderer) : Not enough buffer size for data transferring." << G4endl;
-		G4cerr << "                        G4Text Visualization is aborted" << G4endl;
-		return ;
+	  if (G4VisManager::GetVerbosity() >= G4VisManager::errors) {
+		G4cout << "ERROR (FukuiRenderer) : Not enough buffer size for data transferring." << G4endl;
+		G4cout << "                        G4Text Visualization is aborted" << G4endl;
+	  }
+	  return ;
 	}
 	char*  buf  = new char [ (MAX_STR_LENGTH + 1) ] ; 
@@ -175,5 +181,6 @@
 		//----- 
 #if defined DEBUG_FR_SCENE
-	G4cerr << "***** AddPrimitive( G4Circle )\n";
+  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
+	G4cout << "***** AddPrimitive( G4Circle )\n";
 #endif
 		//----- Initialize Fukui Renderer IF NECESSARY
@@ -218,5 +225,6 @@
 		//----- 
 #if defined DEBUG_FR_SCENE
-	G4cerr << "***** AddPrimitive( G4Square )\n";
+  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
+	G4cout << "***** AddPrimitive( G4Square )\n";
 #endif
 		//----- Initialize Fukui Renderer IF NECESSARY
@@ -261,5 +269,6 @@
 		//----- 
 #if defined DEBUG_FR_SCENE
-	G4cerr << "***** AddPrimitive( G4Polyhedron )\n";
+  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
+	G4cout << "***** AddPrimitive( G4Polyhedron )\n";
 #endif
 
@@ -310,14 +319,18 @@
 			break;
 		default:
-			G4cerr <<
-	"ERROR G4FRSCENEHANDLER::AddPrimitive(G4Polyhedron)\n";
-      G4PhysicalVolumeModel* pPVModel =
-        dynamic_cast<G4PhysicalVolumeModel*>(fpModel);
-      if (pPVModel) G4cerr <<
-	"Volume " << pPVModel->GetCurrentPV()->GetName() <<
-	", Solid " << pPVModel->GetCurrentLV()->GetSolid()->GetName() <<
-	" (" << pPVModel->GetCurrentLV()->GetSolid()->GetEntityType();
-                        G4cerr <<
-	"\nG4Polyhedron facet with " << i << " edges" << G4endl;	
+		  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
+			G4cout <<
+			  "ERROR G4FRSCENEHANDLER::AddPrimitive(G4Polyhedron)\n";
+		  G4PhysicalVolumeModel* pPVModel =
+		    dynamic_cast<G4PhysicalVolumeModel*>(fpModel);
+		  if (pPVModel)
+		    if (G4VisManager::GetVerbosity() >= G4VisManager::errors) {
+		      G4cout <<
+			"Volume " << pPVModel->GetCurrentPV()->GetName() <<
+			", Solid " << pPVModel->GetCurrentLV()->GetSolid()->GetName() <<
+			" (" << pPVModel->GetCurrentLV()->GetSolid()->GetEntityType();
+		      G4cout <<
+			"\nG4Polyhedron facet with " << i << " edges" << G4endl;
+		    }
 		}
 	}
@@ -334,5 +347,5 @@
 //////////////////////////////////////////////////
 //#if defined DEBUG_FR_SCENE
-//	G4cerr << "***** SendNdiv() (/Ndiv)" << G4endl;
+//	G4cout << "***** SendNdiv() (/Ndiv)" << G4endl;
 //#endif
 //////////////////////////////////////////////////
@@ -348,7 +361,9 @@
 	// } else {
 #if defined DEBUG_FR_SCENE
-	   G4cerr << "WARNING: GetNoOfSides() failed. " ;
-	   G4cerr << "The default value " << num_division ;
-	   G4cerr << " is assigned." << G4endl;
+	   if (G4VisManager::GetVerbosity() >= G4VisManager::errors) {
+	     G4cout << "WARNING: GetNoOfSides() failed. " ;
+	     G4cout << "The default value " << num_division ;
+	     G4cout << " is assigned." << G4endl;
+	   }
 #endif
 	//}
@@ -359,5 +374,5 @@
 //////////////////////////////////////////////////
 //#if defined DEBUG_FR_SCENE
-//	G4cerr << "Ndiv = " << num_division << G4endl;
+//	G4cout << "Ndiv = " << num_division << G4endl;
 //#endif
 //////////////////////////////////////////////////
@@ -374,11 +389,14 @@
 		//----- 		
 #if defined DEBUG_FR_SCENE
-	G4cerr << "***** FREndModeling (called)" << G4endl;
+  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
+	G4cout << "***** FREndModeling (called)" << G4endl;
 #endif
 	if( FRIsInModeling() ) {
 
 #if defined DEBUG_FR_SCENE
-		G4cerr << "***** FREndModeling (started) " ; 
-		G4cerr << "(/EndModeling, /DrawAll, /CloseDevice)" << G4endl;
+	  if (G4VisManager::GetVerbosity() >= G4VisManager::errors) {
+		G4cout << "***** FREndModeling (started) " ; 
+		G4cout << "(/EndModeling, /DrawAll, /CloseDevice)" << G4endl;
+	  }
 #endif
 
@@ -407,5 +425,6 @@
 {
 #if defined DEBUG_FR_SCENE
-	G4cerr << "***** BeginPrimitives \n";
+  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
+	G4cout << "***** BeginPrimitives \n";
 #endif
 
@@ -422,5 +441,6 @@
 {
 #if defined DEBUG_FR_SCENE
-	G4cerr << "***** EndPrimitives \n";
+  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
+	G4cout << "***** EndPrimitives \n";
 #endif
   G4VSceneHandler::EndPrimitives ();
@@ -434,5 +454,6 @@
 {
 #if defined DEBUG_FR_SCENE
-	G4cerr << "***** AddSolid ( box )\n";
+  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
+	G4cout << "***** AddSolid ( box )\n";
 #endif
 		//----- skip drawing invisible primitive
@@ -473,5 +494,6 @@
 {
 #if defined DEBUG_FR_SCENE
-	G4cerr << "***** AddSolid ( tubes )\n";
+  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
+	G4cout << "***** AddSolid ( tubes )\n";
 #endif
 		//----- skip drawing invisible primitive
@@ -515,5 +537,6 @@
 {
 #if defined DEBUG_FR_SCENE
-	G4cerr << "***** AddSolid ( cons )\n";
+  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
+	G4cout << "***** AddSolid ( cons )\n";
 #endif
 		//----- skip drawing invisible primitive
@@ -557,5 +580,6 @@
 {
 #if defined DEBUG_FR_SCENE
-	G4cerr << "***** AddSolid ( trd )\n";
+  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
+	G4cout << "***** AddSolid ( trd )\n";
 #endif
 
@@ -598,5 +622,6 @@
 {
 #if defined DEBUG_FR_SCENE
-	G4cerr << "***** AddSolid ( sphere )\n";
+  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
+	G4cout << "***** AddSolid ( sphere )\n";
 #endif
 		//----- skip drawing invisible primitive
@@ -658,5 +683,6 @@
 {
 #if defined DEBUG_FR_SCENE
-	G4cerr << "***** AddSolid ( para )\n";
+  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
+	G4cout << "***** AddSolid ( para )\n";
 #endif
 
@@ -685,8 +711,10 @@
 	G4double cosTheta                  = para.GetSymAxis().z() ;
 	if( cosTheta < epsilon ) {
-		G4cerr << "WARNING from FukuiRenderer (DAWN) driver:" << G4endl;
-		G4cerr << "  Invalid parameter for parallelepiped."   << G4endl;
-		G4cerr << "  Drawing is skipped."                     << G4endl;
-		return ;
+	  if (G4VisManager::GetVerbosity() >= G4VisManager::errors) {
+		G4cout << "WARNING from FukuiRenderer (DAWN) driver:" << G4endl;
+		G4cout << "  Invalid parameter for parallelepiped."   << G4endl;
+		G4cout << "  Drawing is skipped."                     << G4endl;
+	  }
+	  return ;
 	}
 	G4double tanTheta_cosPhi_cosTheta  = para.GetSymAxis().x() ;
@@ -714,5 +742,6 @@
 {
 #if defined DEBUG_FR_SCENE
-	G4cerr << "***** AddSolid ( trap )\n";
+  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
+	G4cout << "***** AddSolid ( trap )\n";
 #endif
 
@@ -741,8 +770,10 @@
 	G4double cosTheta                  = trap.GetSymAxis().z() ;
 	if( cosTheta < epsilon ) {
-		G4cerr << "WARNING from FukuiRenderer (DAWN) driver:" << G4endl;
-		G4cerr << "  Invalid parameter for trap, 1" << G4endl;
-		G4cerr << "  Drawing is skipped."           << G4endl;
-		return ;
+	  if (G4VisManager::GetVerbosity() >= G4VisManager::errors) {
+		G4cout << "WARNING from FukuiRenderer (DAWN) driver:" << G4endl;
+		G4cout << "  Invalid parameter for trap, 1" << G4endl;
+		G4cout << "  Drawing is skipped."           << G4endl;
+	  }
+	  return ;
 	}
 
@@ -805,5 +836,6 @@
 {
 #if defined DEBUG_FR_SCENE
-	G4cerr << "***** AddSolid ( torus )\n";
+  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
+	G4cout << "***** AddSolid ( torus )\n";
 #endif
 		//----- skip drawing invisible primitive
@@ -929,5 +961,6 @@
 {
 #if defined DEBUG_FR_SCENE
-	G4cerr << "***** SendBoundingBox ()  (/BoundingBox)" << G4endl;
+  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
+	G4cout << "***** SendBoundingBox ()  (/BoundingBox)" << G4endl;
 #endif
 
@@ -1048,5 +1081,6 @@
 	num_char  = sprintf( command, "%s  %d", char_string , ival ) ; 
 	if( num_char < 0 ) { 
-		G4cerr << "ERROR G4FRSCENEHANDLER::SendStrInt(), 1\n" ;
+	  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
+		G4cout << "ERROR G4FRSCENEHANDLER::SendStrInt(), 1\n" ;
 	}
 	SendStr( command );
@@ -1070,5 +1104,6 @@
 
 	if( num_char < 0 ) { 
-		G4cerr << "ERROR G4FRSCENEHANDLER::SendStrInt3(), 1\n" ;
+	  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
+		G4cout << "ERROR G4FRSCENEHANDLER::SendStrInt3(), 1\n" ;
 	}
 	SendStr( command );
@@ -1094,5 +1129,6 @@
 
 	if( num_char < 0 ) { 
-		G4cerr << "ERROR G4FRSCENEHANDLER::SendStrInt4(), 1\n" ;
+	  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
+		G4cout << "ERROR G4FRSCENEHANDLER::SendStrInt4(), 1\n" ;
 	}
 	SendStr( command );
@@ -1113,5 +1149,6 @@
 					fPrec2, fPrec, dval ) ; 
 	if( num_char < 0 ) { 
-		G4cerr << "ERROR G4FRSCENEHANDLER::SendStrDouble(), 1\n" ;
+	  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
+		G4cout << "ERROR G4FRSCENEHANDLER::SendStrDouble(), 1\n" ;
 	}
 	SendStr( command );
@@ -1135,5 +1172,6 @@
 					fPrec2, fPrec, dval2         ) ; 
 	if( num_char < 0 ) { 
-		G4cerr << "ERROR G4FRSCENEHANDLER::SendStrDouble2(), 1\n" ;
+	  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
+		G4cout << "ERROR G4FRSCENEHANDLER::SendStrDouble2(), 1\n" ;
 	}
 	SendStr( command );
@@ -1160,5 +1198,6 @@
 				fPrec2, fPrec, dval3   ) ; 
 	if( num_char < 0 ) { 
-		G4cerr << "ERROR G4FRSCENEHANDLER::SendStrDouble3(), 1\n" ;
+	  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
+		G4cout << "ERROR G4FRSCENEHANDLER::SendStrDouble3(), 1\n" ;
 	}
 	SendStr( command );
@@ -1187,5 +1226,6 @@
 					fPrec2, fPrec, dval4) ; 
 	if( num_char < 0 ) { 
-		G4cerr << "ERROR G4FRSCENEHANDLER::SendStrDouble4(), 1\n" ;
+	  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
+		G4cout << "ERROR G4FRSCENEHANDLER::SendStrDouble4(), 1\n" ;
 	}
 	SendStr( command );
@@ -1216,5 +1256,6 @@
 					fPrec2, fPrec, dval5    ) ; 
 	if( num_char < 0 ) { 
-		G4cerr << "ERROR G4FRSCENEHANDLER::SendStrDouble5(), 1\n" ;
+	  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
+		G4cout << "ERROR G4FRSCENEHANDLER::SendStrDouble5(), 1\n" ;
 	}
 	SendStr( command );
@@ -1247,5 +1288,6 @@
 					fPrec2, fPrec, dval6    ) ; 
 	if( num_char < 0 ) { 
-		G4cerr << "ERROR G4FRSCENEHANDLER::SendStrDouble6(), 1\n" ;
+	  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
+		G4cout << "ERROR G4FRSCENEHANDLER::SendStrDouble6(), 1\n" ;
 	}
 	SendStr( command );
@@ -1280,5 +1322,6 @@
 				fPrec2, fPrec, dval7  ) ; 
 	if( num_char < 0 ) { 
-		G4cerr << "ERROR G4FRSCENEHANDLER::SendStrDouble7(), 1\n" ;
+	  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
+		G4cout << "ERROR G4FRSCENEHANDLER::SendStrDouble7(), 1\n" ;
 	}
 	SendStr( command );
@@ -1321,5 +1364,6 @@
 				fPrec2, fPrec, dval11 ) ; 
 	if( num_char < 0 ) { 
-		G4cerr << "ERROR G4FRSCENEHANDLER::SendStrDouble11(), 1\n" ;
+	  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
+		G4cout << "ERROR G4FRSCENEHANDLER::SendStrDouble11(), 1\n" ;
 	}
 	SendStr( command );
@@ -1346,5 +1390,6 @@
 					fPrec2, fPrec, dval3    ) ; 
 	if( num_char < 0 ) { 
-		G4cerr << "ERROR G4FRSCENEHANDLER::SendIntDouble3(),1\n" ;
+	  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
+		G4cout << "ERROR G4FRSCENEHANDLER::SendIntDouble3(),1\n" ;
 	}
 	SendStr( command );
@@ -1366,5 +1411,6 @@
                                        ival1, ival2, ival3, char_string ) ; 
 	if( num_char < 0 ) { 
-		G4cerr << "ERROR G4FRSCENEHANDLER::SendInt3Str(),1\n" ;
+	  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
+		G4cout << "ERROR G4FRSCENEHANDLER::SendInt3Str(),1\n" ;
 	}
 	SendStr( command );
@@ -1387,5 +1433,6 @@
                                        ival1, ival2, ival3, ival4, char_string ) ; 
 	if( num_char < 0 ) { 
-		G4cerr << "ERROR G4FRSCENEHANDLER::SendInt4Str(),1\n" ;
+	  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
+		G4cout << "ERROR G4FRSCENEHANDLER::SendInt4Str(),1\n" ;
 	}
 	SendStr( command );
@@ -1418,5 +1465,6 @@
 				char_string2              );
 	if( num_char < 0 ) { 
-		G4cerr << "ERROR G4FRSCENEHANDLER::SendStrDouble6Str(), 1\n" ;
+	  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
+		G4cout << "ERROR G4FRSCENEHANDLER::SendStrDouble6Str(), 1\n" ;
 	}
 	SendStr( command );
@@ -1435,5 +1483,6 @@
 	num_char  = sprintf( command, "%d", val ) ; 
 	if( num_char < 0 ) { 
-		G4cerr << "ERROR G4FRSCENEHANDLER::SendStrInt(), 1\n" ;
+	  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
+		G4cout << "ERROR G4FRSCENEHANDLER::SendStrInt(), 1\n" ;
 	}
 	SendStr( command );
@@ -1451,5 +1500,6 @@
 	num_char  = sprintf( command, "%*.*g", fPrec2, fPrec, val ) ; 
 	if( num_char < 0 ) { 
-		G4cerr << "ERROR G4FRSCENEHANDLER::SendStrInt(), 1\n" ;
+	  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
+		G4cout << "ERROR G4FRSCENEHANDLER::SendStrInt(), 1\n" ;
 	}
 	SendStr( command );
Index: trunk/source/visualization/FukuiRenderer/include/G4FRofstream.hh
===================================================================
--- trunk/source/visualization/FukuiRenderer/include/G4FRofstream.hh	(revision 1346)
+++ trunk/source/visualization/FukuiRenderer/include/G4FRofstream.hh	(revision 1347)
@@ -26,5 +26,5 @@
 //
 // $Id: G4FRofstream.hh,v 1.9 2006/06/29 21:16:42 gunter Exp $
-// GEANT4 tag $Name: geant4-09-04-beta-01 $
+// GEANT4 tag $Name: geant4-09-04-ref-00 $
 //
 #include <fstream>
Index: trunk/source/visualization/FukuiRenderer/include/G4FukuiRenderer.hh
===================================================================
--- trunk/source/visualization/FukuiRenderer/include/G4FukuiRenderer.hh	(revision 1346)
+++ trunk/source/visualization/FukuiRenderer/include/G4FukuiRenderer.hh	(revision 1347)
@@ -26,5 +26,5 @@
 //
 // $Id: G4FukuiRenderer.hh,v 1.8 2006/06/29 21:16:44 gunter Exp $
-// GEANT4 tag $Name: geant4-09-04-beta-01 $
+// GEANT4 tag $Name: geant4-09-04-ref-00 $
 //
 // 
Index: trunk/source/visualization/FukuiRenderer/include/G4FukuiRendererSceneHandler.hh
===================================================================
--- trunk/source/visualization/FukuiRenderer/include/G4FukuiRendererSceneHandler.hh	(revision 1346)
+++ trunk/source/visualization/FukuiRenderer/include/G4FukuiRendererSceneHandler.hh	(revision 1347)
@@ -26,5 +26,5 @@
 //
 // $Id: G4FukuiRendererSceneHandler.hh,v 1.17 2010/05/30 10:18:32 allison Exp $
-// GEANT4 tag $Name: geant4-09-04-beta-01 $
+// GEANT4 tag $Name: geant4-09-04-ref-00 $
 //
 // 
Index: trunk/source/visualization/FukuiRenderer/include/G4FukuiRendererViewer.hh
===================================================================
--- trunk/source/visualization/FukuiRenderer/include/G4FukuiRendererViewer.hh	(revision 1346)
+++ trunk/source/visualization/FukuiRenderer/include/G4FukuiRendererViewer.hh	(revision 1347)
@@ -26,5 +26,5 @@
 //
 // $Id: G4FukuiRendererViewer.hh,v 1.8 2006/06/29 21:16:48 gunter Exp $
-// GEANT4 tag $Name: geant4-09-04-beta-01 $
+// GEANT4 tag $Name: geant4-09-04-ref-00 $
 //
 // 
Index: trunk/source/visualization/FukuiRenderer/src/CVS/Entries
===================================================================
--- trunk/source/visualization/FukuiRenderer/src/CVS/Entries	(revision 1346)
+++ trunk/source/visualization/FukuiRenderer/src/CVS/Entries	(revision 1347)
@@ -1,1 +1,8 @@
+/G4DAWNFILE.cc/1.11/Thu Jun 29 21:16:50 2006//Tgeant4-09-04-ref-00
+/G4DAWNFILESceneHandler.cc/1.19/Thu Nov 11 01:13:42 2010//Tgeant4-09-04-ref-00
+/G4DAWNFILEViewer.cc/1.21/Thu Nov 11 01:13:42 2010//Tgeant4-09-04-ref-00
+/G4FRClientServer.cc/1.7/Thu Nov 11 01:13:42 2010//Tgeant4-09-04-ref-00
+/G4FukuiRenderer.cc/1.10/Thu Nov 11 01:13:42 2010//Tgeant4-09-04-ref-00
+/G4FukuiRendererSceneHandler.cc/1.15/Thu Nov 11 01:13:42 2010//Tgeant4-09-04-ref-00
+/G4FukuiRendererViewer.cc/1.12/Thu Nov 11 01:13:42 2010//Tgeant4-09-04-ref-00
 D
Index: trunk/source/visualization/FukuiRenderer/src/G4DAWNFILE.cc
===================================================================
--- trunk/source/visualization/FukuiRenderer/src/G4DAWNFILE.cc	(revision 1346)
+++ trunk/source/visualization/FukuiRenderer/src/G4DAWNFILE.cc	(revision 1347)
@@ -26,5 +26,5 @@
 //
 // $Id: G4DAWNFILE.cc,v 1.11 2006/06/29 21:16:50 gunter Exp $
-// GEANT4 tag $Name: geant4-09-04-beta-01 $
+// GEANT4 tag $Name: geant4-09-04-ref-00 $
 //
 // Satoshi TANAKA
Index: trunk/source/visualization/FukuiRenderer/src/G4DAWNFILESceneHandler.cc
===================================================================
--- trunk/source/visualization/FukuiRenderer/src/G4DAWNFILESceneHandler.cc	(revision 1346)
+++ trunk/source/visualization/FukuiRenderer/src/G4DAWNFILESceneHandler.cc	(revision 1347)
@@ -25,6 +25,6 @@
 //
 //
-// $Id: G4DAWNFILESceneHandler.cc,v 1.18 2006/06/29 21:16:52 gunter Exp $
-// GEANT4 tag $Name: geant4-09-04-beta-01 $
+// $Id: G4DAWNFILESceneHandler.cc,v 1.19 2010/11/11 01:13:42 akimura Exp $
+// GEANT4 tag $Name: geant4-09-04-ref-00 $
 //
 // Satoshi TANAKA
@@ -41,4 +41,5 @@
 #include <string.h>
 #include "globals.hh"
+#include "G4VisManager.hh"
 #include "G4FRConst.hh"
 #include "G4DAWNFILE.hh"
@@ -128,5 +129,6 @@
 {
 #if defined DEBUG_FR_SCENE
-	G4cerr << "***** ~G4DAWNFILESceneHandler" << G4endl;
+  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
+	G4cout << "***** ~G4DAWNFILESceneHandler" << G4endl;
 #endif 
 	if (fPrimDest.IsOpen()) 
@@ -158,11 +160,13 @@
 		if( i == MAX_FILE_INDEX ) 
 		{
-		  G4cerr << "==========================================="   << G4endl; 
-		  G4cerr << "WARNING MESSAGE from DAWNFILE driver:      "   << G4endl;
-		  G4cerr << "  This file name is the final one in the   "   << G4endl;
-		  G4cerr << "  automatic updation of the output file name." << G4endl; 
-		  G4cerr << "  You may overwrite existing files, i.e.   "   << G4endl; 
-                  G4cerr << "  g4_XX.prim and g4_XX.eps                 "   << G4endl;
-		  G4cerr << "==========================================="   << G4endl; 
+		  if (G4VisManager::GetVerbosity() >= G4VisManager::errors) {
+		    G4cout << "==========================================="   << G4endl; 
+		    G4cout << "WARNING MESSAGE from DAWNFILE driver:      "   << G4endl;
+		    G4cout << "  This file name is the final one in the   "   << G4endl;
+		    G4cout << "  automatic updation of the output file name." << G4endl; 
+		    G4cout << "  You may overwrite existing files, i.e.   "   << G4endl; 
+		    G4cout << "  g4_XX.prim and g4_XX.eps                 "   << G4endl;
+		    G4cout << "==========================================="   << G4endl; 
+		  }
 		}
 
@@ -188,16 +192,16 @@
 	} // for 
 
-	G4cerr << "===========================================    " << G4endl; 
-	G4cerr << "Output file: " <<    fG4PrimFileName             << G4endl; 
-	G4cerr << "Destination directory (current dir if NULL): "       << fG4PrimDestDir    << G4endl; 
-	G4cerr << "Maximal number of files in the destination directory: " << fMaxFileNum << G4endl; 
-	G4cerr << "Note:                                                " << G4endl; 
-	G4cerr << "  * The maximal number is customizable as:           " << G4endl;
-	G4cerr << "       % setenv  G4DAWNFILE_MAX_FILE_NUM  number " << G4endl;        
-	G4cerr << "  * The destination directory is customizable as:" << G4endl;
-	G4cerr << "       % setenv  G4DAWNFILE_DEST_DIR  dir_name/  " << G4endl;        
-	G4cerr << "     ** Do not forget \"/\" at the end of the    " << G4endl;              
-	G4cerr << "        dir_name, e.g. \"./tmp/\".  " << G4endl;              
-	G4cerr << "===========================================      " << G4endl; 
+	G4cout << "===========================================    " << G4endl; 
+	G4cout << "Output file: " <<    fG4PrimFileName             << G4endl; 
+	G4cout << "Destination directory (current dir if NULL): "       << fG4PrimDestDir    << G4endl; 
+	G4cout << "Maximal number of files in the destination directory: " << fMaxFileNum << G4endl; 
+	G4cout << "Note:                                                " << G4endl; 
+	G4cout << "  * The maximal number is customizable as:           " << G4endl;
+	G4cout << "       % setenv  G4DAWNFILE_MAX_FILE_NUM  number " << G4endl;        
+	G4cout << "  * The destination directory is customizable as:" << G4endl;
+	G4cout << "       % setenv  G4DAWNFILE_DEST_DIR  dir_name/  " << G4endl;        
+	G4cout << "     ** Do not forget \"/\" at the end of the    " << G4endl;              
+	G4cout << "        dir_name, e.g. \"./tmp/\".  " << G4endl;              
+	G4cout << "===========================================      " << G4endl; 
 
 } // G4DAWNFILESceneHandler::SetG4PrimFileName()
@@ -208,5 +212,6 @@
 {
 #if defined DEBUG_FR_SCENE
-	G4cerr << "***** BeginSavingG4Prim (called)\n";
+  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
+	G4cout << "***** BeginSavingG4Prim (called)\n";
 #endif
 
@@ -214,6 +219,8 @@
 	{ 
 #if defined DEBUG_FR_SCENE
-	        G4cerr << "*****                   (started) " ;
-	        G4cerr << "(open g4.prim, ##)"  << G4endl;
+	  if (G4VisManager::GetVerbosity() >= G4VisManager::errors) {
+	        G4cout << "*****                   (started) " ;
+	        G4cout << "(open g4.prim, ##)"  << G4endl;
+	  }
 #endif
 		SetG4PrimFileName() ; // result set to fG4PrimFileName
@@ -228,5 +235,6 @@
 {
 #if defined DEBUG_FR_SCENE
-	G4cerr << "***** EndSavingG4Prim (called)\n";
+  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
+	G4cout << "***** EndSavingG4Prim (called)\n";
 #endif
 
@@ -234,5 +242,6 @@
 	{
 #if defined DEBUG_FR_SCENE
-          G4cerr << "*****                 (started) (close g4.prim)" << G4endl;
+	  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
+	    G4cout << "*****                 (started) (close g4.prim)" << G4endl;
 #endif
 		fPrimDest.Close()               ;
@@ -248,5 +257,6 @@
 	{
 #if defined DEBUG_FR_SCENE
-	  G4cerr << "***** G4DAWNFILESceneHandler::FRBeginModeling (called & started)" << G4endl;
+	  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
+	    G4cout << "***** G4DAWNFILESceneHandler::FRBeginModeling (called & started)" << G4endl;
 #endif
 
@@ -259,5 +269,6 @@
 			//----- send SET_CAMERA command 
 #if defined DEBUG_FR_SCENE
-		G4cerr << "*****   (!SetCamera in FRBeginModeling())" << G4endl;
+		if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
+		  G4cout << "*****   (!SetCamera in FRBeginModeling())" << G4endl;
 #endif
 		SendStr( FR_SET_CAMERA );
@@ -265,5 +276,6 @@
 		//----- open device
 #if defined DEBUG_FR_SCENE
-		G4cerr << "*****   (!OpenDevice in FRBeginModeling())" << G4endl;
+		if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
+		  G4cout << "*****   (!OpenDevice in FRBeginModeling())" << G4endl;
 #endif
 		SendStr( FR_OPEN_DEVICE      );
@@ -271,5 +283,6 @@
 		//----- begin sending primitives
 #if defined DEBUG_FR_SCENE
-		G4cerr << "*****   (!BeginModeling in FRBeginModeling())" << G4endl;
+		if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
+		  G4cout << "*****   (!BeginModeling in FRBeginModeling())" << G4endl;
 #endif
 		SendStr( FR_BEGIN_MODELING );  FRflag_in_modeling = true ;
Index: trunk/source/visualization/FukuiRenderer/src/G4DAWNFILEViewer.cc
===================================================================
--- trunk/source/visualization/FukuiRenderer/src/G4DAWNFILEViewer.cc	(revision 1346)
+++ trunk/source/visualization/FukuiRenderer/src/G4DAWNFILEViewer.cc	(revision 1347)
@@ -25,6 +25,6 @@
 //
 //
-// $Id: G4DAWNFILEViewer.cc,v 1.20 2006/06/29 21:16:54 gunter Exp $
-// GEANT4 tag $Name: geant4-09-04-beta-01 $
+// $Id: G4DAWNFILEViewer.cc,v 1.21 2010/11/11 01:13:42 akimura Exp $
+// GEANT4 tag $Name: geant4-09-04-ref-00 $
 //
 // Satoshi TANAKA
@@ -42,4 +42,5 @@
 #include <assert.h>
 
+#include "G4VisManager.hh"
 #include "G4Scene.hh"
 #include "G4Vector3D.hh"
@@ -101,5 +102,6 @@
 {
 #if defined DEBUG_FR_VIEW
-  G4cerr << "***** G4DAWNFILEViewer::SetView(): No effects" << G4endl;
+  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
+    G4cout << "***** G4DAWNFILEViewer::SetView(): No effects" << G4endl;
 #endif 
 // Do nothing, since DAWN is running as a different process.
@@ -113,5 +115,6 @@
 {
 #if defined DEBUG_FR_VIEW
-	G4cerr << "***** G4DAWNFILEViewer::ClearView (): No effects " << G4endl;
+  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
+	G4cout << "***** G4DAWNFILEViewer::ClearView (): No effects " << G4endl;
 #endif
 	if (fSceneHandler.fPrimDest.IsOpen()) {
@@ -130,5 +133,6 @@
 {
 #if defined DEBUG_FR_VIEW
-	G4cerr << "***** G4DAWNFILEViewer::DrawView () " << G4endl;
+  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
+	G4cout << "***** G4DAWNFILEViewer::DrawView () " << G4endl;
 #endif
 		//----- 
@@ -149,5 +153,6 @@
 {
 #if defined DEBUG_FR_VIEW
-	G4cerr << "***** G4DAWNFILEViewer::ShowView () " << G4endl;
+  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
+	G4cout << "***** G4DAWNFILEViewer::ShowView () " << G4endl;
 #endif
 
@@ -204,5 +209,5 @@
 ///////////////////////
 //#if defined DEBUG_FR_VIEW
-//  G4cerr << "***** G4DAWNFILEViewer::SendDrawingStyleToDAWNGUI()" << G4endl;
+//  G4cout << "***** G4DAWNFILEViewer::SendDrawingStyleToDAWNGUI()" << G4endl;
 //#endif
 //////////////////////
@@ -242,6 +247,8 @@
 
 #if defined DEBUG_FR_VIEW
-  G4cerr << "***** G4DAWNFILEViewer::SendViewParameters()  "; 
-  G4cerr << "(GUI parameters)" << G4endl;
+  if (G4VisManager::GetVerbosity() >= G4VisManager::errors) {
+    G4cout << "***** G4DAWNFILEViewer::SendViewParameters()  "; 
+    G4cout << "(GUI parameters)" << G4endl;
+  }
 #endif 
 
@@ -271,6 +278,8 @@
 
 	if ( camera_distance < radius ) { 
-		G4cerr << "WARNING from DAWNFILE driver:" << G4endl;
-		G4cerr << "  Camera cannot enter inside objects"      << G4endl;
+	  if (G4VisManager::GetVerbosity() >= G4VisManager::errors) {
+		G4cout << "WARNING from DAWNFILE driver:" << G4endl;
+		G4cout << "  Camera cannot enter inside objects"      << G4endl;
+	  }
 		camera_distance = radius ; 
 	}
Index: trunk/source/visualization/FukuiRenderer/src/G4FRClientServer.cc
===================================================================
--- trunk/source/visualization/FukuiRenderer/src/G4FRClientServer.cc	(revision 1346)
+++ trunk/source/visualization/FukuiRenderer/src/G4FRClientServer.cc	(revision 1347)
@@ -25,6 +25,6 @@
 //
 //
-// $Id: G4FRClientServer.cc,v 1.6 2006/06/29 21:16:56 gunter Exp $
-// GEANT4 tag $Name: geant4-09-04-beta-01 $
+// $Id: G4FRClientServer.cc,v 1.7 2010/11/11 01:13:42 akimura Exp $
+// GEANT4 tag $Name: geant4-09-04-ref-00 $
 //
 // Satoshi TANAKA, Wed Jul  3 14:14:29 JST 1996
@@ -38,4 +38,5 @@
 //=================//
 
+#include "G4VisManager.hh"
 #include "G4FRClientServer.hh"
 
@@ -119,5 +120,6 @@
 
 #if defined DEBUG_CLIENT_SERVER
-	G4cerr << ">>>>> receivedMessage = " << fReceivedMessage << G4endl;
+	if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
+	  G4cout << ">>>>> receivedMessage = " << fReceivedMessage << G4endl;
 #endif
 
@@ -150,5 +152,6 @@
 
 #if defined DEBUG_CLIENT_SERVER
-	G4cerr << "<<<<< SentMessage = " << fSendingMessage << G4endl;
+	if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
+	  G4cout << "<<<<< SentMessage = " << fSendingMessage << G4endl;
 #endif
 
@@ -255,5 +258,6 @@
 
 // #if defined DEBUG_CLIENT_SERVER
-	G4cerr << "***** Trying connection to  " << server_hostname << G4endl;
+	if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
+	  G4cout << "***** Trying connection to  " << server_hostname << G4endl;
 // #endif 
 	
Index: trunk/source/visualization/FukuiRenderer/src/G4FukuiRenderer.cc
===================================================================
--- trunk/source/visualization/FukuiRenderer/src/G4FukuiRenderer.cc	(revision 1346)
+++ trunk/source/visualization/FukuiRenderer/src/G4FukuiRenderer.cc	(revision 1347)
@@ -25,6 +25,6 @@
 //
 //
-// $Id: G4FukuiRenderer.cc,v 1.9 2006/06/29 21:16:58 gunter Exp $
-// GEANT4 tag $Name: geant4-09-04-beta-01 $
+// $Id: G4FukuiRenderer.cc,v 1.10 2010/11/11 01:13:42 akimura Exp $
+// GEANT4 tag $Name: geant4-09-04-ref-00 $
 //
 // 
@@ -43,4 +43,5 @@
 #define __G_ANSI_C__
 
+#include "G4VisManager.hh"
 //#include "G4VisFeaturesOfFukuiRenderer.hh"
 #include "G4VSceneHandler.hh"
@@ -114,5 +115,6 @@
 
 #if defined DEBUG_FR_SYSTEM
-	G4cerr << "***** Unix Inet Domain (AUTO mode)" << G4endl;
+	if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
+	  G4cout << "***** Unix Inet Domain (AUTO mode)" << G4endl;
 #endif
 	fIPMode = G4FukuiRenderer::IP_UNIX ;
@@ -144,9 +146,12 @@
 
 	if(!flag_connected) { 
-	  G4cerr << "***** ERROR: Connection failed" << G4endl; 
+	  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
+	    G4cout << "***** ERROR: Connection failed" << G4endl; 
 	}
 	else { 
-	  G4cerr << "***** GEANT4 is connected to FukuiRenderer DAWN ";
-	  G4cerr << "in the same host" << G4endl; 
+	  if (G4VisManager::GetVerbosity() >= G4VisManager::errors) {
+	    G4cout << "***** GEANT4 is connected to FukuiRenderer DAWN ";
+	    G4cout << "in the same host" << G4endl; 
+	  }
 	}
 
@@ -159,5 +164,6 @@
 {
 #if defined DEBUG_FR_SYSTEM
-	G4cerr << "***** INET Domain " << G4endl;
+  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
+	G4cout << "***** INET Domain " << G4endl;
 #endif
 	fIPMode = G4FukuiRenderer::IP_INET ;
@@ -166,9 +172,12 @@
 
 	if(!flag_connected) {
-	  G4cerr << "***** ERROR: Connection failed" << G4endl; 
+	  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
+	    G4cout << "***** ERROR: Connection failed" << G4endl; 
 	}
 	else { 
-	  G4cerr << "GEANT4 is connected to FukuiRenderer DAWN via socket" ; 
-	  G4cerr << G4endl; 
+	  if (G4VisManager::GetVerbosity() >= G4VisManager::errors) {
+	    G4cout << "GEANT4 is connected to FukuiRenderer DAWN via socket" ; 
+	    G4cout << G4endl; 
+	  }
 	}
 
@@ -183,8 +192,10 @@
     if ( ++connect_trial > max_port_incr ) {
 	this->flag_connected = 0 ;
-	G4cerr << "***** INET Connection failed."                << G4endl;
-	G4cerr << "      Maybe, you have not invoked DAWN yet,"  << G4endl;
-	G4cerr << "      or too many DAWN's are already running" << G4endl;
-	G4cerr << "      in the server host."                    << G4endl;
+	if (G4VisManager::GetVerbosity() >= G4VisManager::errors) {
+	  G4cout << "***** INET Connection failed."                << G4endl;
+	  G4cout << "      Maybe, you have not invoked DAWN yet,"  << G4endl;
+	  G4cout << "      or too many DAWN's are already running" << G4endl;
+	  G4cout << "      in the server host."                    << G4endl;
+	}
 	fPrimDest.IncrementPortNumber( (- FR_MAX_PORT_INCR) );
 	return ;
@@ -192,7 +203,9 @@
 	    // INET domain connection is established
 	this->flag_connected = 1 ;
-	G4cerr << "***** GEANT4 is connected to port  " ;
-	G4cerr << fPrimDest.GetPortNumber() ; 
-	G4cerr << "  of server" << G4endl;
+	if (G4VisManager::GetVerbosity() >= G4VisManager::errors) {
+	  G4cout << "***** GEANT4 is connected to port  " ;
+	  G4cout << fPrimDest.GetPortNumber() ; 
+	  G4cout << "  of server" << G4endl;
+	}
 	break ; 
     } else { 
@@ -200,6 +213,8 @@
       this->flag_connected = 0 ;
       fPrimDest.IncrementPortNumber();
-      G4cerr << "***** GEANT4 incremented targeting port to " ;
-      G4cerr << fPrimDest.GetPortNumber() << G4endl;
+      if (G4VisManager::GetVerbosity() >= G4VisManager::errors) {
+	G4cout << "***** GEANT4 incremented targeting port to " ;
+	G4cout << fPrimDest.GetPortNumber() << G4endl;
+      }
 
     } // if-elseif-else
@@ -215,5 +230,6 @@
 
 #if defined DEBUG_FR_SYSTEM
-	G4cerr << "***** UseBSDUnixDomainAuto " << G4endl;
+	if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
+	  G4cout << "***** UseBSDUnixDomainAuto " << G4endl;
 #endif
 	fIPMode = G4FukuiRenderer::IP_UNIX ; // Unix domain
@@ -241,8 +257,11 @@
 			//----- display status
 		if(!flag_connected) {
-		  G4cerr << "***** ERROR: Connection failed" << G4endl; 
+		  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
+		    G4cout << "***** ERROR: Connection failed" << G4endl; 
 		} else { 
-		  G4cerr << "*** GEANT4 is connected to FukuiRenderer DAWN ";
-		  G4cerr <<  "in the same host" << G4endl; 
+		  if (G4VisManager::GetVerbosity() >= G4VisManager::errors) {
+		    G4cout << "*** GEANT4 is connected to FukuiRenderer DAWN ";
+		    G4cout <<  "in the same host" << G4endl; 
+		  }
 		}
 
Index: trunk/source/visualization/FukuiRenderer/src/G4FukuiRendererSceneHandler.cc
===================================================================
--- trunk/source/visualization/FukuiRenderer/src/G4FukuiRendererSceneHandler.cc	(revision 1346)
+++ trunk/source/visualization/FukuiRenderer/src/G4FukuiRendererSceneHandler.cc	(revision 1347)
@@ -25,6 +25,6 @@
 //
 //
-// $Id: G4FukuiRendererSceneHandler.cc,v 1.14 2006/06/29 21:17:00 gunter Exp $
-// GEANT4 tag $Name: geant4-09-04-beta-01 $
+// $Id: G4FukuiRendererSceneHandler.cc,v 1.15 2010/11/11 01:13:42 akimura Exp $
+// GEANT4 tag $Name: geant4-09-04-ref-00 $
 //
 // 
@@ -46,4 +46,5 @@
 #include <string.h>
 #include "globals.hh"
+#include "G4VisManager.hh"
 #include "G4FRConst.hh"
 #include "G4FukuiRenderer.hh"
@@ -125,5 +126,6 @@
 {
 #if defined DEBUG_FR_SCENE
-	G4cerr << "***** ~G4FukuiRendererSceneHandler" << G4endl;
+  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
+	G4cout << "***** ~G4FukuiRendererSceneHandler" << G4endl;
 #endif 
   ClearStore (); // clear current scene
@@ -137,5 +139,6 @@
 	{
 #if defined DEBUG_FR_SCENE
-	  G4cerr << "***** G4FukuiRendererSceneHandler::FRBeginModeling (called & started)" << G4endl;
+	  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
+	    G4cout << "***** G4FukuiRendererSceneHandler::FRBeginModeling (called & started)" << G4endl;
 #endif
 
@@ -173,5 +176,6 @@
 	  //   !SetCamera
 #if defined DEBUG_FR_SCENE
-		G4cerr << "*****   (!SetCamera in FRBeginModeling())" << G4endl;
+	  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
+		G4cout << "*****   (!SetCamera in FRBeginModeling())" << G4endl;
 #endif
 	  SendStr( FR_SET_CAMERA );
@@ -180,5 +184,6 @@
 	  //   !OpenDevice
 #if defined DEBUG_FR_SCENE
-		G4cerr << "*****   (!OpenDevice in FRBeginModeling())" << G4endl;
+	  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
+		G4cout << "*****   (!OpenDevice in FRBeginModeling())" << G4endl;
 #endif
 	  SendStr( FR_OPEN_DEVICE      );
@@ -187,5 +192,6 @@
 	  //   !BeginModeling
 #if defined DEBUG_FR_SCENE
-	  G4cerr << "*****   (!BeginModeling in FRBeginModeling())" << G4endl;
+	  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
+	  G4cout << "*****   (!BeginModeling in FRBeginModeling())" << G4endl;
 #endif
 	  SendStr( FR_BEGIN_MODELING );  FRflag_in_modeling = true ;
Index: trunk/source/visualization/FukuiRenderer/src/G4FukuiRendererViewer.cc
===================================================================
--- trunk/source/visualization/FukuiRenderer/src/G4FukuiRendererViewer.cc	(revision 1346)
+++ trunk/source/visualization/FukuiRenderer/src/G4FukuiRendererViewer.cc	(revision 1347)
@@ -25,6 +25,6 @@
 //
 //
-// $Id: G4FukuiRendererViewer.cc,v 1.11 2006/06/29 21:17:02 gunter Exp $
-// GEANT4 tag $Name: geant4-09-04-beta-01 $
+// $Id: G4FukuiRendererViewer.cc,v 1.12 2010/11/11 01:13:42 akimura Exp $
+// GEANT4 tag $Name: geant4-09-04-ref-00 $
 //
 // 
@@ -47,4 +47,5 @@
 #include <assert.h>
 
+#include "G4VisManager.hh"
 #include "G4Scene.hh"
 #include "G4Vector3D.hh"
@@ -76,5 +77,6 @@
 {
 #if defined DEBUG_FR_VIEW
-  G4cerr << "***** G4FukuiRendererViewer::SetView(): No effects" << G4endl;
+  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
+    G4cout << "***** G4FukuiRendererViewer::SetView(): No effects" << G4endl;
 #endif 
 // Do nothing, since DAWN is running as a different process.
@@ -87,5 +89,6 @@
 {
 #if defined DEBUG_FR_VIEW
-  G4cerr << "***** G4FukuiRendererViewer::ClearView (): No effects " << G4endl;
+  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
+    G4cout << "***** G4FukuiRendererViewer::ClearView (): No effects " << G4endl;
 #endif
 
@@ -97,5 +100,6 @@
 {
 #if defined DEBUG_FR_VIEW
-	G4cerr << "***** G4FukuiRendererViewer::DrawView () " << G4endl;
+  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
+	G4cout << "***** G4FukuiRendererViewer::DrawView () " << G4endl;
 #endif
 
@@ -116,5 +120,6 @@
 {
 #if defined DEBUG_FR_VIEW
-	G4cerr << "***** G4FukuiRendererViewer::ShowView () " << G4endl;
+  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
+	G4cout << "***** G4FukuiRendererViewer::ShowView () " << G4endl;
 #endif
 
@@ -137,10 +142,12 @@
 {
 #if defined DEBUG_FR_VIEW
-	G4cerr << "***** G4FukuiRendererViewer::Wait () : Begin" << G4endl;
+  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
+	G4cout << "***** G4FukuiRendererViewer::Wait () : Begin" << G4endl;
 #endif
   fSceneHandler.SendStr    ( FR_WAIT );
   fSceneHandler.GetPrimDest().WaitSendBack( FR_WAIT );
 #if defined DEBUG_FR_VIEW
-	G4cerr << "***** G4FukuiRendererViewer::Wait () : end" << G4endl;
+  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
+	G4cout << "***** G4FukuiRendererViewer::Wait () : end" << G4endl;
 #endif
 
@@ -153,5 +160,6 @@
 {
 #if defined DEBUG_FR_VIEW
-	G4cerr << "***** G4FukuiRendererViewer::SendDevice() " << G4endl;
+  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
+	G4cout << "***** G4FukuiRendererViewer::SendDevice() " << G4endl;
 #endif
 
@@ -168,5 +176,6 @@
 {
 #if defined DEBUG_FR_VIEW
-	G4cerr << "***** G4FukuiRendererViewer::SendDrawingStyle() " << G4endl;
+  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
+	G4cout << "***** G4FukuiRendererViewer::SendDrawingStyle() " << G4endl;
 #endif
 
@@ -201,5 +210,6 @@
 
 #if defined DEBUG_FR_VIEW
-  G4cerr << "***** G4FukuiRendererViewer::SendViewParameters()" << G4endl;
+  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
+    G4cout << "***** G4FukuiRendererViewer::SendViewParameters()" << G4endl;
 #endif 
 
@@ -229,6 +239,8 @@
 
 	if ( camera_distance < radius ) { 
-		G4cerr << "WARNING from FukuiRenderer (DAWN) driver:" << G4endl;
-		G4cerr << "  Camera cannot enter inside objects"      << G4endl;
+	  if (G4VisManager::GetVerbosity() >= G4VisManager::errors) {
+		G4cout << "WARNING from FukuiRenderer (DAWN) driver:" << G4endl;
+		G4cout << "  Camera cannot enter inside objects"      << G4endl;
+	  }
 		camera_distance = radius ; 
 	}
Index: trunk/source/visualization/HepRep/CVS/Entries
===================================================================
--- trunk/source/visualization/HepRep/CVS/Entries	(revision 1346)
+++ trunk/source/visualization/HepRep/CVS/Entries	(revision 1347)
@@ -3,2 +3,4 @@
 /CMakeLists.txt/1.1/Wed Sep 29 19:11:49 2010//Tgeant4-09-04-ref-00
 /sources.cmake/1.2/Thu Sep 30 13:50:34 2010//Tgeant4-09-04-ref-00
+/History/1.136/Sun Nov  7 22:29:30 2010//Tgeant4-09-04-ref-00
+/README/1.23/Fri Nov 16 20:29:04 2007//Tgeant4-09-04-ref-00
Index: trunk/source/visualization/HepRep/History
===================================================================
--- trunk/source/visualization/HepRep/History	(revision 1346)
+++ trunk/source/visualization/HepRep/History	(revision 1347)
@@ -1,3 +1,3 @@
-.$Id: History,v 1.135 2010/06/21 04:43:07 perl Exp $
+.$Id: History,v 1.136 2010/11/07 22:29:30 perl Exp $
 -------------------------------------------------------------------
 
@@ -20,4 +20,7 @@
 History file for visualization/HepRep sub-category
 --------------------------------------------------
+
+7th November 2010  Joseph Perl  (vis-HepRep-V09-03-04)
+- G4HepRepFileSceneHandler.hh: Fix coverity warning about uninitialized variables. Turns out they were unneeded.
 
 20th June 2010  Joseph Perl  (vis-HepRep-V09-03-03)
Index: trunk/source/visualization/HepRep/include/CVS/Entries
===================================================================
--- trunk/source/visualization/HepRep/include/CVS/Entries	(revision 1346)
+++ trunk/source/visualization/HepRep/include/CVS/Entries	(revision 1347)
@@ -1,2 +1,11 @@
 D/HEPREP////
 D/cheprep////
+/G4HepRep.hh/1.18/Mon Nov 23 05:42:28 2009//Tgeant4-09-04-ref-00
+/G4HepRepFile.hh/1.8/Thu Jun 29 21:17:06 2006//Tgeant4-09-04-ref-00
+/G4HepRepFileSceneHandler.hh/1.33/Sun Nov  7 22:29:30 2010//Tgeant4-09-04-ref-00
+/G4HepRepFileViewer.hh/1.9/Thu Jun 29 21:17:10 2006//Tgeant4-09-04-ref-00
+/G4HepRepFileXMLWriter.hh/1.2/Thu Jun 29 21:17:12 2006//Tgeant4-09-04-ref-00
+/G4HepRepMessenger.hh/1.9/Sat Jun  5 06:25:03 2010//Tgeant4-09-04-ref-00
+/G4HepRepSceneHandler.hh/1.45/Sun May 30 10:28:02 2010//Tgeant4-09-04-ref-00
+/G4HepRepViewer.hh/1.19/Mon Nov 23 05:42:28 2009//Tgeant4-09-04-ref-00
+/README/1.5/Fri May 13 14:57:26 2005//Tgeant4-09-04-ref-00
Index: trunk/source/visualization/HepRep/include/G4HepRep.hh
===================================================================
--- trunk/source/visualization/HepRep/include/G4HepRep.hh	(revision 1346)
+++ trunk/source/visualization/HepRep/include/G4HepRep.hh	(revision 1347)
@@ -25,5 +25,5 @@
 //
 // $Id: G4HepRep.hh,v 1.18 2009/11/23 05:42:28 perl Exp $
-// GEANT4 tag $Name: geant4-09-04-beta-01 $
+// GEANT4 tag $Name: geant4-09-04-ref-00 $
 //
 
Index: trunk/source/visualization/HepRep/include/G4HepRepFile.hh
===================================================================
--- trunk/source/visualization/HepRep/include/G4HepRepFile.hh	(revision 1346)
+++ trunk/source/visualization/HepRep/include/G4HepRepFile.hh	(revision 1347)
@@ -26,5 +26,5 @@
 //
 // $Id: G4HepRepFile.hh,v 1.8 2006/06/29 21:17:06 gunter Exp $
-// GEANT4 tag $Name: geant4-09-04-beta-01 $
+// GEANT4 tag $Name: geant4-09-04-ref-00 $
 //
 // 
Index: trunk/source/visualization/HepRep/include/G4HepRepFileSceneHandler.hh
===================================================================
--- trunk/source/visualization/HepRep/include/G4HepRepFileSceneHandler.hh	(revision 1346)
+++ trunk/source/visualization/HepRep/include/G4HepRepFileSceneHandler.hh	(revision 1347)
@@ -25,6 +25,6 @@
 //
 //
-// $Id: G4HepRepFileSceneHandler.hh,v 1.32 2010/05/30 10:28:02 allison Exp $
-// GEANT4 tag $Name: geant4-09-04-beta-01 $
+// $Id: G4HepRepFileSceneHandler.hh,v 1.33 2010/11/07 22:29:30 perl Exp $
+// GEANT4 tag $Name: geant4-09-04-ref-00 $
 //
 //
@@ -144,8 +144,4 @@
   void CheckFileOpen();
   int fileCounter;
-  char fileDir[256]; 
-  char fileName[256];
-  G4bool fileOverwrite;
-  G4bool cullInvisibleObjects;
   G4bool haveVisible;
   G4bool inPrimitives2D;
@@ -154,5 +150,4 @@
   G4bool drawingTraj;
   G4bool doneInitTraj;
-  G4bool drawTrajPts;
   G4bool drawingHit;
   G4bool doneInitHit;
Index: trunk/source/visualization/HepRep/include/G4HepRepFileViewer.hh
===================================================================
--- trunk/source/visualization/HepRep/include/G4HepRepFileViewer.hh	(revision 1346)
+++ trunk/source/visualization/HepRep/include/G4HepRepFileViewer.hh	(revision 1347)
@@ -26,5 +26,5 @@
 //
 // $Id: G4HepRepFileViewer.hh,v 1.9 2006/06/29 21:17:10 gunter Exp $
-// GEANT4 tag $Name: geant4-09-04-beta-01 $
+// GEANT4 tag $Name: geant4-09-04-ref-00 $
 //
 // 
Index: trunk/source/visualization/HepRep/include/G4HepRepMessenger.hh
===================================================================
--- trunk/source/visualization/HepRep/include/G4HepRepMessenger.hh	(revision 1346)
+++ trunk/source/visualization/HepRep/include/G4HepRepMessenger.hh	(revision 1347)
@@ -25,5 +25,5 @@
 //
 // $Id: G4HepRepMessenger.hh,v 1.9 2010/06/05 06:25:03 perl Exp $
-// GEANT4 tag $Name: geant4-09-04-beta-01 $
+// GEANT4 tag $Name: geant4-09-04-ref-00 $
 //
 //
Index: trunk/source/visualization/HepRep/include/G4HepRepSceneHandler.hh
===================================================================
--- trunk/source/visualization/HepRep/include/G4HepRepSceneHandler.hh	(revision 1346)
+++ trunk/source/visualization/HepRep/include/G4HepRepSceneHandler.hh	(revision 1347)
@@ -25,5 +25,5 @@
 //
 // $Id: G4HepRepSceneHandler.hh,v 1.45 2010/05/30 10:28:02 allison Exp $
-// GEANT4 tag $Name: geant4-09-04-beta-01 $
+// GEANT4 tag $Name: geant4-09-04-ref-00 $
 //
 
Index: trunk/source/visualization/HepRep/include/G4HepRepViewer.hh
===================================================================
--- trunk/source/visualization/HepRep/include/G4HepRepViewer.hh	(revision 1346)
+++ trunk/source/visualization/HepRep/include/G4HepRepViewer.hh	(revision 1347)
@@ -25,5 +25,5 @@
 //
 // $Id: G4HepRepViewer.hh,v 1.19 2009/11/23 05:42:28 perl Exp $
-// GEANT4 tag $Name: geant4-09-04-beta-01 $
+// GEANT4 tag $Name: geant4-09-04-ref-00 $
 //
 
Index: trunk/source/visualization/HepRep/include/HEPREP/CVS/Entries
===================================================================
--- trunk/source/visualization/HepRep/include/HEPREP/CVS/Entries	(revision 1346)
+++ trunk/source/visualization/HepRep/include/HEPREP/CVS/Entries	(revision 1347)
@@ -1,1 +1,25 @@
+/HasHepRep.h/1.4/Wed May 25 23:21:59 2005//Tgeant4-09-04-ref-00
+/HepRep.h/1.11/Wed May 25 23:21:59 2005//Tgeant4-09-04-ref-00
+/HepRepAction.h/1.7/Wed May 25 23:21:59 2005//Tgeant4-09-04-ref-00
+/HepRepAttDef.h/1.7/Wed May 25 23:21:59 2005//Tgeant4-09-04-ref-00
+/HepRepAttValue.h/1.7/Wed May 25 23:21:59 2005//Tgeant4-09-04-ref-00
+/HepRepAttribute.h/1.8/Fri May 13 14:57:26 2005//Tgeant4-09-04-ref-00
+/HepRepAttributeListener.h/1.4/Wed May 25 23:21:59 2005//Tgeant4-09-04-ref-00
+/HepRepConstants.h/1.7/Wed May 25 23:21:59 2005//Tgeant4-09-04-ref-00
+/HepRepDefinition.h/1.8/Wed May 25 23:21:59 2005//Tgeant4-09-04-ref-00
+/HepRepFactory.h/1.8/Wed May 25 23:21:59 2005//Tgeant4-09-04-ref-00
+/HepRepFrameListener.h/1.3/Wed May 25 23:21:59 2005//Tgeant4-09-04-ref-00
+/HepRepInstance.h/1.9/Wed May 25 23:21:59 2005//Tgeant4-09-04-ref-00
+/HepRepInstanceTree.h/1.9/Wed May 25 23:21:59 2005//Tgeant4-09-04-ref-00
+/HepRepIterator.h/1.9/Wed May 25 23:21:59 2005//Tgeant4-09-04-ref-00
+/HepRepPoint.h/1.9/Wed Jun 28 14:00:15 2006//Tgeant4-09-04-ref-00
+/HepRepReader.h/1.4/Wed May 25 23:21:59 2005//Tgeant4-09-04-ref-00
+/HepRepSelectFilter.h/1.7/Wed May 25 23:21:59 2005//Tgeant4-09-04-ref-00
+/HepRepTreeID.h/1.8/Wed May 25 23:21:59 2005//Tgeant4-09-04-ref-00
+/HepRepType.h/1.10/Wed May 25 23:21:59 2005//Tgeant4-09-04-ref-00
+/HepRepTypeTree.h/1.9/Wed May 25 23:21:59 2005//Tgeant4-09-04-ref-00
+/HepRepViewer.h/1.3/Wed May 25 23:21:59 2005//Tgeant4-09-04-ref-00
+/HepRepWriter.h/1.10/Wed May 25 23:21:59 2005//Tgeant4-09-04-ref-00
+/Types.h/1.1/Fri May 13 14:57:26 2005//Tgeant4-09-04-ref-00
+/freehep-heprep.version/1.1/Wed May 25 23:21:59 2005//Tgeant4-09-04-ref-00
 D
Index: trunk/source/visualization/HepRep/include/cheprep/CVS/Entries
===================================================================
--- trunk/source/visualization/HepRep/include/cheprep/CVS/Entries	(revision 1346)
+++ trunk/source/visualization/HepRep/include/cheprep/CVS/Entries	(revision 1347)
@@ -1,1 +1,28 @@
+/AbstractXMLWriter.h/1.3/Thu Jun  2 21:28:45 2005//Tgeant4-09-04-ref-00
+/BHepRepWriter.h/1.9/Thu Jun  2 21:28:45 2005//Tgeant4-09-04-ref-00
+/DefaultHepRep.h/1.3/Thu Jun  2 21:28:45 2005//Tgeant4-09-04-ref-00
+/DefaultHepRepAction.h/1.3/Thu Jun  2 21:28:45 2005//Tgeant4-09-04-ref-00
+/DefaultHepRepAttDef.h/1.3/Thu Jun  2 21:28:45 2005//Tgeant4-09-04-ref-00
+/DefaultHepRepAttValue.h/1.3/Thu Jun  2 21:28:45 2005//Tgeant4-09-04-ref-00
+/DefaultHepRepAttribute.h/1.3/Thu Jun  2 21:28:45 2005//Tgeant4-09-04-ref-00
+/DefaultHepRepDefinition.h/1.3/Thu Jun  2 21:28:45 2005//Tgeant4-09-04-ref-00
+/DefaultHepRepFactory.h/1.3/Thu Jun  2 21:28:45 2005//Tgeant4-09-04-ref-00
+/DefaultHepRepInstance.h/1.3/Thu Jun  2 21:28:45 2005//Tgeant4-09-04-ref-00
+/DefaultHepRepInstanceTree.h/1.3/Thu Jun  2 21:28:45 2005//Tgeant4-09-04-ref-00
+/DefaultHepRepPoint.h/1.3/Thu Jun  2 21:28:45 2005//Tgeant4-09-04-ref-00
+/DefaultHepRepTreeID.h/1.3/Thu Jun  2 21:28:45 2005//Tgeant4-09-04-ref-00
+/DefaultHepRepType.h/1.3/Thu Jun  2 21:28:45 2005//Tgeant4-09-04-ref-00
+/DefaultHepRepTypeTree.h/1.3/Thu Jun  2 21:28:45 2005//Tgeant4-09-04-ref-00
+/DeflateOutputStreamBuffer.h/1.6/Fri May  8 09:26:58 2009//Tgeant4-09-04-ref-00
+/GZIPOutputStream.h/1.3/Thu Jun  2 21:28:45 2005//Tgeant4-09-04-ref-00
+/GZIPOutputStreamBuffer.h/1.4/Thu Jun  2 21:28:45 2005//Tgeant4-09-04-ref-00
+/IndentPrintWriter.h/1.3/Thu Jun  2 21:28:45 2005//Tgeant4-09-04-ref-00
+/XMLHepRepFactory.h/1.3/Thu Jun  2 21:28:45 2005//Tgeant4-09-04-ref-00
+/XMLHepRepWriter.h/1.4/Thu Jun  2 21:28:45 2005//Tgeant4-09-04-ref-00
+/XMLWriter.h/1.3/Thu Jun  2 21:28:45 2005//Tgeant4-09-04-ref-00
+/ZipEntry.h/1.9/Thu Jun  2 21:28:45 2005//Tgeant4-09-04-ref-00
+/ZipOutputStream.h/1.9/Thu Jun  2 21:28:45 2005//Tgeant4-09-04-ref-00
+/ZipOutputStreamBuffer.h/1.9/Thu Jun  2 21:28:45 2005//Tgeant4-09-04-ref-00
+/config.h/1.4/Thu Jun  2 21:28:45 2005//Tgeant4-09-04-ref-00
+/freehep-cheprep.version/1.2/Thu Jun  2 21:28:45 2005//Tgeant4-09-04-ref-00
 D
Index: trunk/source/visualization/HepRep/src/CVS/Entries
===================================================================
--- trunk/source/visualization/HepRep/src/CVS/Entries	(revision 1346)
+++ trunk/source/visualization/HepRep/src/CVS/Entries	(revision 1347)
@@ -1,1 +1,33 @@
+/BHepRepWriter.cc/1.9/Thu Jun  2 21:28:45 2005//Tgeant4-09-04-ref-00
+/DefaultHepRep.cc/1.9/Thu Jun  2 21:28:45 2005//Tgeant4-09-04-ref-00
+/DefaultHepRepAction.cc/1.8/Thu Jun  2 21:28:45 2005//Tgeant4-09-04-ref-00
+/DefaultHepRepAttDef.cc/1.8/Thu Jun  2 21:28:45 2005//Tgeant4-09-04-ref-00
+/DefaultHepRepAttValue.cc/1.10/Thu Jun  2 21:28:45 2005//Tgeant4-09-04-ref-00
+/DefaultHepRepAttribute.cc/1.8/Thu Jun  2 21:28:45 2005//Tgeant4-09-04-ref-00
+/DefaultHepRepDefinition.cc/1.8/Thu Jun  2 21:28:45 2005//Tgeant4-09-04-ref-00
+/DefaultHepRepFactory.cc/1.6/Thu Jun  2 21:28:45 2005//Tgeant4-09-04-ref-00
+/DefaultHepRepInstance.cc/1.7/Thu Jun  2 21:28:45 2005//Tgeant4-09-04-ref-00
+/DefaultHepRepInstanceTree.cc/1.11/Thu Jun  2 21:28:45 2005//Tgeant4-09-04-ref-00
+/DefaultHepRepPoint.cc/1.5/Thu Jun  2 21:28:45 2005//Tgeant4-09-04-ref-00
+/DefaultHepRepTreeID.cc/1.9/Thu Jun  2 21:28:45 2005//Tgeant4-09-04-ref-00
+/DefaultHepRepType.cc/1.8/Thu Jun  2 21:28:45 2005//Tgeant4-09-04-ref-00
+/DefaultHepRepTypeTree.cc/1.7/Thu Jun  2 21:28:45 2005//Tgeant4-09-04-ref-00
+/DeflateOutputStreamBuffer.cc/1.6/Thu Jun  2 21:28:45 2005//Tgeant4-09-04-ref-00
+/G4HepRep.cc/1.23/Mon Nov 23 05:42:28 2009//Tgeant4-09-04-ref-00
+/G4HepRepFile.cc/1.12/Mon Nov 23 05:42:28 2009//Tgeant4-09-04-ref-00
+/G4HepRepFileSceneHandler.cc/1.69/Sat Jun  5 06:25:03 2010//Tgeant4-09-04-ref-00
+/G4HepRepFileViewer.cc/1.15/Thu Jun 29 21:17:26 2006//Tgeant4-09-04-ref-00
+/G4HepRepFileXMLWriter.cc/1.3/Thu Jun 29 21:17:28 2006//Tgeant4-09-04-ref-00
+/G4HepRepMessenger.cc/1.13/Mon Jun 21 04:43:07 2010//Tgeant4-09-04-ref-00
+/G4HepRepSceneHandler.cc/1.102/Mon Nov 23 05:42:28 2009//Tgeant4-09-04-ref-00
+/G4HepRepViewer.cc/1.27/Mon Nov 23 05:42:28 2009//Tgeant4-09-04-ref-00
+/GZIPOutputStream.cc/1.4/Thu Jun  2 21:28:45 2005//Tgeant4-09-04-ref-00
+/GZIPOutputStreamBuffer.cc/1.4/Thu Jun  2 21:28:45 2005//Tgeant4-09-04-ref-00
+/IndentPrintWriter.cc/1.14/Thu Jun  2 21:28:45 2005//Tgeant4-09-04-ref-00
+/README/1.6/Fri May 13 15:00:05 2005//Tgeant4-09-04-ref-00
+/XMLHepRepFactory.cc/1.5/Thu Jun  2 21:28:45 2005//Tgeant4-09-04-ref-00
+/XMLHepRepWriter.cc/1.15/Thu Jun  2 21:28:45 2005//Tgeant4-09-04-ref-00
+/XMLWriter.cc/1.12/Thu Jun  2 21:28:45 2005//Tgeant4-09-04-ref-00
+/ZipOutputStream.cc/1.9/Thu Jun  2 21:28:45 2005//Tgeant4-09-04-ref-00
+/ZipOutputStreamBuffer.cc/1.9/Thu Jun  2 21:28:45 2005//Tgeant4-09-04-ref-00
 D
Index: trunk/source/visualization/HepRep/src/G4HepRep.cc
===================================================================
--- trunk/source/visualization/HepRep/src/G4HepRep.cc	(revision 1346)
+++ trunk/source/visualization/HepRep/src/G4HepRep.cc	(revision 1347)
@@ -25,5 +25,5 @@
 //
 // $Id: G4HepRep.cc,v 1.23 2009/11/23 05:42:28 perl Exp $
-// GEANT4 tag $Name: geant4-09-04-beta-01 $
+// GEANT4 tag $Name: geant4-09-04-ref-00 $
 //
 
Index: trunk/source/visualization/HepRep/src/G4HepRepFile.cc
===================================================================
--- trunk/source/visualization/HepRep/src/G4HepRepFile.cc	(revision 1346)
+++ trunk/source/visualization/HepRep/src/G4HepRepFile.cc	(revision 1347)
@@ -25,5 +25,5 @@
 //
 // $Id: G4HepRepFile.cc,v 1.12 2009/11/23 05:42:28 perl Exp $
-// GEANT4 tag $Name: geant4-09-04-beta-01 $
+// GEANT4 tag $Name: geant4-09-04-ref-00 $
 //
 // 
Index: trunk/source/visualization/HepRep/src/G4HepRepFileSceneHandler.cc
===================================================================
--- trunk/source/visualization/HepRep/src/G4HepRepFileSceneHandler.cc	(revision 1346)
+++ trunk/source/visualization/HepRep/src/G4HepRepFileSceneHandler.cc	(revision 1347)
@@ -25,5 +25,5 @@
 //
 // $Id: G4HepRepFileSceneHandler.cc,v 1.69 2010/06/05 06:25:03 perl Exp $
-// GEANT4 tag $Name: geant4-09-04-beta-01 $
+// GEANT4 tag $Name: geant4-09-04-ref-00 $
 //
 //
Index: trunk/source/visualization/HepRep/src/G4HepRepFileViewer.cc
===================================================================
--- trunk/source/visualization/HepRep/src/G4HepRepFileViewer.cc	(revision 1346)
+++ trunk/source/visualization/HepRep/src/G4HepRepFileViewer.cc	(revision 1347)
@@ -25,5 +25,5 @@
 //
 // $Id: G4HepRepFileViewer.cc,v 1.15 2006/06/29 21:17:26 gunter Exp $
-// GEANT4 tag $Name: geant4-09-04-beta-01 $
+// GEANT4 tag $Name: geant4-09-04-ref-00 $
 
 #include "G4HepRepFileViewer.hh"
Index: trunk/source/visualization/HepRep/src/G4HepRepMessenger.cc
===================================================================
--- trunk/source/visualization/HepRep/src/G4HepRepMessenger.cc	(revision 1346)
+++ trunk/source/visualization/HepRep/src/G4HepRepMessenger.cc	(revision 1347)
@@ -25,5 +25,5 @@
 //
 // $Id: G4HepRepMessenger.cc,v 1.13 2010/06/21 04:43:07 perl Exp $
-// GEANT4 tag $Name: geant4-09-04-beta-01 $
+// GEANT4 tag $Name: geant4-09-04-ref-00 $
 //
 #include "G4HepRepMessenger.hh"
Index: trunk/source/visualization/HepRep/src/G4HepRepSceneHandler.cc
===================================================================
--- trunk/source/visualization/HepRep/src/G4HepRepSceneHandler.cc	(revision 1346)
+++ trunk/source/visualization/HepRep/src/G4HepRepSceneHandler.cc	(revision 1347)
@@ -25,5 +25,5 @@
 //
 // $Id: G4HepRepSceneHandler.cc,v 1.102 2009/11/23 05:42:28 perl Exp $
-// GEANT4 tag $Name: geant4-09-04-beta-01 $
+// GEANT4 tag $Name: geant4-09-04-ref-00 $
 //
 
Index: trunk/source/visualization/HepRep/src/G4HepRepViewer.cc
===================================================================
--- trunk/source/visualization/HepRep/src/G4HepRepViewer.cc	(revision 1346)
+++ trunk/source/visualization/HepRep/src/G4HepRepViewer.cc	(revision 1347)
@@ -25,5 +25,5 @@
 //
 // $Id: G4HepRepViewer.cc,v 1.27 2009/11/23 05:42:28 perl Exp $
-// GEANT4 tag $Name: geant4-09-04-beta-01 $
+// GEANT4 tag $Name: geant4-09-04-ref-00 $
 //
 
Index: trunk/source/visualization/OpenInventor/CVS/Entries
===================================================================
--- trunk/source/visualization/OpenInventor/CVS/Entries	(revision 1346)
+++ trunk/source/visualization/OpenInventor/CVS/Entries	(revision 1347)
@@ -3,2 +3,3 @@
 /CMakeLists.txt/1.1/Wed Sep 29 19:12:22 2010//Tgeant4-09-04-ref-00
 /sources.cmake/1.1/Wed Sep 29 19:12:30 2010//Tgeant4-09-04-ref-00
+/History/1.108/Wed Nov 10 17:53:22 2010//Tgeant4-09-04-ref-00
Index: trunk/source/visualization/OpenInventor/History
===================================================================
--- trunk/source/visualization/OpenInventor/History	(revision 1346)
+++ trunk/source/visualization/OpenInventor/History	(revision 1347)
@@ -1,3 +1,3 @@
-$Id: History,v 1.107 2010/10/06 15:46:21 allison Exp $
+$Id: History,v 1.108 2010/11/10 17:53:22 allison Exp $
 -------------------------------------------------------------------
 
@@ -20,4 +20,8 @@
 History file for visualization/OpenInventor
 -------------------------------------------
+
+10th November 2010  John Allison  (openinventor-V09-03-02)
+- G4OpenInventor*Viewer.cc:
+  o Protected output with G4VisManager::confirmations.
 
 6th October 2010  John Allison  (openinventor-V09-03-01)
Index: trunk/source/visualization/OpenInventor/include/CVS/Entries
===================================================================
--- trunk/source/visualization/OpenInventor/include/CVS/Entries	(revision 1346)
+++ trunk/source/visualization/OpenInventor/include/CVS/Entries	(revision 1347)
@@ -1,1 +1,15 @@
 D/HEPVis////
+/G4OpenInventor.hh/1.9/Thu Jun 29 21:20:22 2006//Tgeant4-09-04-ref-00
+/G4OpenInventorSceneHandler.hh/1.33/Tue Mar 27 15:24:15 2007//Tgeant4-09-04-ref-00
+/G4OpenInventorTransform3D.hh/1.7/Thu Jun 29 21:20:26 2006//Tgeant4-09-04-ref-00
+/G4OpenInventorViewer.hh/1.27/Thu Jun 29 21:20:28 2006//Tgeant4-09-04-ref-00
+/G4OpenInventorWin.hh/1.3/Thu Jun 29 21:20:30 2006//Tgeant4-09-04-ref-00
+/G4OpenInventorWin32.hh/1.7/Thu Jun 29 21:20:32 2006//Tgeant4-09-04-ref-00
+/G4OpenInventorWinViewer.hh/1.10/Fri Sep 18 12:48:43 2009//Tgeant4-09-04-ref-00
+/G4OpenInventorX.hh/1.7/Thu Jun 29 21:20:36 2006//Tgeant4-09-04-ref-00
+/G4OpenInventorXt.hh/1.3/Thu Jun 29 21:20:38 2006//Tgeant4-09-04-ref-00
+/G4OpenInventorXtViewer.hh/1.15/Fri Sep 18 12:48:43 2009//Tgeant4-09-04-ref-00
+/Geant4_SoPolyhedron.h/1.6/Thu Jun 29 21:20:42 2006//Tgeant4-09-04-ref-00
+/SoG4LineSet.h/1.2/Wed Dec 13 15:49:51 2006//Tgeant4-09-04-ref-00
+/SoG4MarkerSet.h/1.2/Wed Dec 13 15:49:53 2006//Tgeant4-09-04-ref-00
+/SoG4Polyhedron.h/1.3/Mon Sep 17 16:08:00 2007//Tgeant4-09-04-ref-00
Index: trunk/source/visualization/OpenInventor/include/G4OpenInventor.hh
===================================================================
--- trunk/source/visualization/OpenInventor/include/G4OpenInventor.hh	(revision 1346)
+++ trunk/source/visualization/OpenInventor/include/G4OpenInventor.hh	(revision 1347)
@@ -26,5 +26,5 @@
 //
 // $Id: G4OpenInventor.hh,v 1.9 2006/06/29 21:20:22 gunter Exp $
-// GEANT4 tag $Name: geant4-09-04-beta-01 $
+// GEANT4 tag $Name: geant4-09-04-ref-00 $
 //
 // Guy Barrand 26 Mar 1998.
Index: trunk/source/visualization/OpenInventor/include/G4OpenInventorSceneHandler.hh
===================================================================
--- trunk/source/visualization/OpenInventor/include/G4OpenInventorSceneHandler.hh	(revision 1346)
+++ trunk/source/visualization/OpenInventor/include/G4OpenInventorSceneHandler.hh	(revision 1347)
@@ -26,5 +26,5 @@
 //
 // $Id: G4OpenInventorSceneHandler.hh,v 1.33 2007/03/27 15:24:15 allison Exp $
-// GEANT4 tag $Name: geant4-09-04-beta-01 $
+// GEANT4 tag $Name: geant4-09-04-ref-00 $
 //
 // 
Index: trunk/source/visualization/OpenInventor/include/G4OpenInventorTransform3D.hh
===================================================================
--- trunk/source/visualization/OpenInventor/include/G4OpenInventorTransform3D.hh	(revision 1346)
+++ trunk/source/visualization/OpenInventor/include/G4OpenInventorTransform3D.hh	(revision 1347)
@@ -26,5 +26,5 @@
 //
 // $Id: G4OpenInventorTransform3D.hh,v 1.7 2006/06/29 21:20:26 gunter Exp $
-// GEANT4 tag $Name: geant4-09-04-beta-01 $
+// GEANT4 tag $Name: geant4-09-04-ref-00 $
 //
 // 
Index: trunk/source/visualization/OpenInventor/include/G4OpenInventorWin.hh
===================================================================
--- trunk/source/visualization/OpenInventor/include/G4OpenInventorWin.hh	(revision 1346)
+++ trunk/source/visualization/OpenInventor/include/G4OpenInventorWin.hh	(revision 1347)
@@ -26,5 +26,5 @@
 //
 // $Id: G4OpenInventorWin.hh,v 1.3 2006/06/29 21:20:30 gunter Exp $
-// GEANT4 tag $Name: geant4-09-04-beta-01 $
+// GEANT4 tag $Name: geant4-09-04-ref-00 $
 //
 // OpenInventor graphics system factory.
Index: trunk/source/visualization/OpenInventor/include/G4OpenInventorWin32.hh
===================================================================
--- trunk/source/visualization/OpenInventor/include/G4OpenInventorWin32.hh	(revision 1346)
+++ trunk/source/visualization/OpenInventor/include/G4OpenInventorWin32.hh	(revision 1347)
@@ -26,5 +26,5 @@
 //
 // $Id: G4OpenInventorWin32.hh,v 1.7 2006/06/29 21:20:32 gunter Exp $
-// GEANT4 tag $Name: geant4-09-04-beta-01 $
+// GEANT4 tag $Name: geant4-09-04-ref-00 $
 //
 // OpenInventor graphics system factory.
Index: trunk/source/visualization/OpenInventor/include/G4OpenInventorWinViewer.hh
===================================================================
--- trunk/source/visualization/OpenInventor/include/G4OpenInventorWinViewer.hh	(revision 1346)
+++ trunk/source/visualization/OpenInventor/include/G4OpenInventorWinViewer.hh	(revision 1347)
@@ -26,5 +26,5 @@
 //
 // $Id: G4OpenInventorWinViewer.hh,v 1.10 2009/09/18 12:48:43 lgarnier Exp $
-// GEANT4 tag $Name: geant4-09-04-beta-01 $
+// GEANT4 tag $Name: geant4-09-04-ref-00 $
 //
 // 
Index: trunk/source/visualization/OpenInventor/include/G4OpenInventorX.hh
===================================================================
--- trunk/source/visualization/OpenInventor/include/G4OpenInventorX.hh	(revision 1346)
+++ trunk/source/visualization/OpenInventor/include/G4OpenInventorX.hh	(revision 1347)
@@ -26,5 +26,5 @@
 //
 // $Id: G4OpenInventorX.hh,v 1.7 2006/06/29 21:20:36 gunter Exp $
-// GEANT4 tag $Name: geant4-09-04-beta-01 $
+// GEANT4 tag $Name: geant4-09-04-ref-00 $
 //
 // 
Index: trunk/source/visualization/OpenInventor/include/G4OpenInventorXt.hh
===================================================================
--- trunk/source/visualization/OpenInventor/include/G4OpenInventorXt.hh	(revision 1346)
+++ trunk/source/visualization/OpenInventor/include/G4OpenInventorXt.hh	(revision 1347)
@@ -26,5 +26,5 @@
 //
 // $Id: G4OpenInventorXt.hh,v 1.3 2006/06/29 21:20:38 gunter Exp $
-// GEANT4 tag $Name: geant4-09-04-beta-01 $
+// GEANT4 tag $Name: geant4-09-04-ref-00 $
 //
 // 
Index: trunk/source/visualization/OpenInventor/include/G4OpenInventorXtViewer.hh
===================================================================
--- trunk/source/visualization/OpenInventor/include/G4OpenInventorXtViewer.hh	(revision 1346)
+++ trunk/source/visualization/OpenInventor/include/G4OpenInventorXtViewer.hh	(revision 1347)
@@ -26,5 +26,5 @@
 //
 // $Id: G4OpenInventorXtViewer.hh,v 1.15 2009/09/18 12:48:43 lgarnier Exp $
-// GEANT4 tag $Name: geant4-09-04-beta-01 $
+// GEANT4 tag $Name: geant4-09-04-ref-00 $
 //
 // 
Index: trunk/source/visualization/OpenInventor/include/HEPVis/CVS/Entries
===================================================================
--- trunk/source/visualization/OpenInventor/include/HEPVis/CVS/Entries	(revision 1346)
+++ trunk/source/visualization/OpenInventor/include/HEPVis/CVS/Entries	(revision 1347)
@@ -3,2 +3,6 @@
 D/nodekits////
 D/nodes////
+/SbGL.h/1.3/Thu Jun 29 21:20:44 2006//Tgeant4-09-04-ref-00
+/SbMath.h/1.4/Thu Jun 29 21:20:46 2006//Tgeant4-09-04-ref-00
+/SbPainter.h/1.3/Thu Jun 29 21:20:48 2006//Tgeant4-09-04-ref-00
+/SbPainterPS.h/1.3/Thu Jun 29 21:20:50 2006//Tgeant4-09-04-ref-00
Index: trunk/source/visualization/OpenInventor/include/HEPVis/SbMath.h
===================================================================
--- trunk/source/visualization/OpenInventor/include/HEPVis/SbMath.h	(revision 1346)
+++ trunk/source/visualization/OpenInventor/include/HEPVis/SbMath.h	(revision 1347)
@@ -26,5 +26,5 @@
 //
 // $Id: SbMath.h,v 1.4 2006/06/29 21:20:46 gunter Exp $
-// GEANT4 tag $Name:  $
+// GEANT4 tag $Name: geant4-09-04-ref-00 $
 //
 #ifndef HEPVis_SbMath_h
Index: trunk/source/visualization/OpenInventor/include/HEPVis/actions/CVS/Entries
===================================================================
--- trunk/source/visualization/OpenInventor/include/HEPVis/actions/CVS/Entries	(revision 1346)
+++ trunk/source/visualization/OpenInventor/include/HEPVis/actions/CVS/Entries	(revision 1347)
@@ -1,1 +1,4 @@
+/SoAlternateRepAction.h/1.3/Thu Jun 29 21:20:52 2006//Tgeant4-09-04-ref-00
+/SoCounterAction.h/1.5/Thu Jun 29 21:20:54 2006//Tgeant4-09-04-ref-00
+/SoGL2PSAction.h/1.7/Wed Feb 18 10:04:25 2009//Tgeant4-09-04-ref-00
 D
Index: trunk/source/visualization/OpenInventor/include/HEPVis/misc/CVS/Entries
===================================================================
--- trunk/source/visualization/OpenInventor/include/HEPVis/misc/CVS/Entries	(revision 1346)
+++ trunk/source/visualization/OpenInventor/include/HEPVis/misc/CVS/Entries	(revision 1347)
@@ -1,1 +1,2 @@
+/SoStyleCache.h/1.6/Thu Jun 29 21:21:14 2006//Tgeant4-09-04-ref-00
 D
Index: trunk/source/visualization/OpenInventor/include/HEPVis/nodekits/CVS/Entries
===================================================================
--- trunk/source/visualization/OpenInventor/include/HEPVis/nodekits/CVS/Entries	(revision 1346)
+++ trunk/source/visualization/OpenInventor/include/HEPVis/nodekits/CVS/Entries	(revision 1347)
@@ -1,1 +1,2 @@
+/SoDetectorTreeKit.h/1.5/Thu Jun 29 21:21:16 2006//Tgeant4-09-04-ref-00
 D
Index: trunk/source/visualization/OpenInventor/include/HEPVis/nodekits/SoDetectorTreeKit.h
===================================================================
--- trunk/source/visualization/OpenInventor/include/HEPVis/nodekits/SoDetectorTreeKit.h	(revision 1346)
+++ trunk/source/visualization/OpenInventor/include/HEPVis/nodekits/SoDetectorTreeKit.h	(revision 1347)
@@ -26,5 +26,5 @@
 //
 // $Id: SoDetectorTreeKit.h,v 1.5 2006/06/29 21:21:16 gunter Exp $
-// GEANT4 tag $Name:  $
+// GEANT4 tag $Name: geant4-09-04-ref-00 $
 //
 /*-----------------------------HEPVis----------------------------------------*/
Index: trunk/source/visualization/OpenInventor/include/HEPVis/nodes/CVS/Entries
===================================================================
--- trunk/source/visualization/OpenInventor/include/HEPVis/nodes/CVS/Entries	(revision 1346)
+++ trunk/source/visualization/OpenInventor/include/HEPVis/nodes/CVS/Entries	(revision 1347)
@@ -1,1 +1,8 @@
+/SoBox.h/1.3/Thu Jun 29 21:21:18 2006//Tgeant4-09-04-ref-00
+/SoCons.h/1.3/Thu Jun 29 21:21:20 2006//Tgeant4-09-04-ref-00
+/SoImageWriter.h/1.3/Thu Jun 29 21:21:38 2006//Tgeant4-09-04-ref-00
+/SoMarkerSet.h/1.3/Thu Jun 29 21:22:03 2006//Tgeant4-09-04-ref-00
+/SoTrap.h/1.4/Thu Jun 29 21:22:06 2006//Tgeant4-09-04-ref-00
+/SoTrd.h/1.3/Thu Jun 29 21:22:08 2006//Tgeant4-09-04-ref-00
+/SoTubs.h/1.3/Thu Jun 29 21:22:10 2006//Tgeant4-09-04-ref-00
 D
Index: trunk/source/visualization/OpenInventor/include/HEPVis/nodes/SoBox.h
===================================================================
--- trunk/source/visualization/OpenInventor/include/HEPVis/nodes/SoBox.h	(revision 1346)
+++ trunk/source/visualization/OpenInventor/include/HEPVis/nodes/SoBox.h	(revision 1347)
@@ -26,5 +26,5 @@
 //
 // $Id: SoBox.h,v 1.3 2006/06/29 21:21:18 gunter Exp $
-// GEANT4 tag $Name:  $
+// GEANT4 tag $Name: geant4-09-04-ref-00 $
 //
 /*-----------------------------Hepvis----------------------------------------*/
Index: trunk/source/visualization/OpenInventor/include/HEPVis/nodes/SoCons.h
===================================================================
--- trunk/source/visualization/OpenInventor/include/HEPVis/nodes/SoCons.h	(revision 1346)
+++ trunk/source/visualization/OpenInventor/include/HEPVis/nodes/SoCons.h	(revision 1347)
@@ -26,5 +26,5 @@
 //
 // $Id: SoCons.h,v 1.3 2006/06/29 21:21:20 gunter Exp $
-// GEANT4 tag $Name:  $
+// GEANT4 tag $Name: geant4-09-04-ref-00 $
 //
 /*-----------------------------Hepvis----------------------------------------*/
Index: trunk/source/visualization/OpenInventor/include/HEPVis/nodes/SoTrap.h
===================================================================
--- trunk/source/visualization/OpenInventor/include/HEPVis/nodes/SoTrap.h	(revision 1346)
+++ trunk/source/visualization/OpenInventor/include/HEPVis/nodes/SoTrap.h	(revision 1347)
@@ -26,5 +26,5 @@
 //
 // $Id: SoTrap.h,v 1.4 2006/06/29 21:22:06 gunter Exp $
-// GEANT4 tag $Name:  $
+// GEANT4 tag $Name: geant4-09-04-ref-00 $
 //
 /*-----------------------------Hepvis----------------------------------------*/
Index: trunk/source/visualization/OpenInventor/include/HEPVis/nodes/SoTrd.h
===================================================================
--- trunk/source/visualization/OpenInventor/include/HEPVis/nodes/SoTrd.h	(revision 1346)
+++ trunk/source/visualization/OpenInventor/include/HEPVis/nodes/SoTrd.h	(revision 1347)
@@ -26,5 +26,5 @@
 //
 // $Id: SoTrd.h,v 1.3 2006/06/29 21:22:08 gunter Exp $
-// GEANT4 tag $Name:  $
+// GEANT4 tag $Name: geant4-09-04-ref-00 $
 //
 /*-----------------------------Hepvis----------------------------------------*/
Index: trunk/source/visualization/OpenInventor/include/HEPVis/nodes/SoTubs.h
===================================================================
--- trunk/source/visualization/OpenInventor/include/HEPVis/nodes/SoTubs.h	(revision 1346)
+++ trunk/source/visualization/OpenInventor/include/HEPVis/nodes/SoTubs.h	(revision 1347)
@@ -26,5 +26,5 @@
 //
 // $Id: SoTubs.h,v 1.3 2006/06/29 21:22:10 gunter Exp $
-// GEANT4 tag $Name:  $
+// GEANT4 tag $Name: geant4-09-04-ref-00 $
 //
 /*-----------------------------Hepvis----------------------------------------*/
Index: trunk/source/visualization/OpenInventor/include/SoG4LineSet.h
===================================================================
--- trunk/source/visualization/OpenInventor/include/SoG4LineSet.h	(revision 1346)
+++ trunk/source/visualization/OpenInventor/include/SoG4LineSet.h	(revision 1347)
@@ -25,5 +25,5 @@
 //
 // $Id: SoG4LineSet.h,v 1.2 2006/12/13 15:49:51 gunter Exp $
-// GEANT4 tag $Name:  $
+// GEANT4 tag $Name: geant4-09-04-ref-00 $
 //
 // John Allison  26th October 2006
Index: trunk/source/visualization/OpenInventor/include/SoG4MarkerSet.h
===================================================================
--- trunk/source/visualization/OpenInventor/include/SoG4MarkerSet.h	(revision 1346)
+++ trunk/source/visualization/OpenInventor/include/SoG4MarkerSet.h	(revision 1347)
@@ -25,5 +25,5 @@
 //
 // $Id: SoG4MarkerSet.h,v 1.2 2006/12/13 15:49:53 gunter Exp $
-// GEANT4 tag $Name:  $
+// GEANT4 tag $Name: geant4-09-04-ref-00 $
 //
 // John Allison  26th October 2006
Index: trunk/source/visualization/OpenInventor/include/SoG4Polyhedron.h
===================================================================
--- trunk/source/visualization/OpenInventor/include/SoG4Polyhedron.h	(revision 1346)
+++ trunk/source/visualization/OpenInventor/include/SoG4Polyhedron.h	(revision 1347)
@@ -26,5 +26,5 @@
 //
 // $Id: SoG4Polyhedron.h,v 1.3 2007/09/17 16:08:00 gcosmo Exp $
-// GEANT4 tag $Name:  $
+// GEANT4 tag $Name: geant4-09-04-ref-00 $
 //
 // John Allison  26th October 2006
Index: trunk/source/visualization/OpenInventor/src/CVS/Entries
===================================================================
--- trunk/source/visualization/OpenInventor/src/CVS/Entries	(revision 1346)
+++ trunk/source/visualization/OpenInventor/src/CVS/Entries	(revision 1347)
@@ -1,1 +1,24 @@
+/G4OpenInventor.cc/1.20/Thu Jun 29 21:22:12 2006//Tgeant4-09-04-ref-00
+/G4OpenInventorSceneHandler.cc/1.55/Wed Feb 18 14:21:38 2009//Tgeant4-09-04-ref-00
+/G4OpenInventorTransform3D.cc/1.8/Thu Jun 29 21:22:16 2006//Tgeant4-09-04-ref-00
+/G4OpenInventorViewer.cc/1.61/Wed Oct  6 10:09:57 2010//Tgeant4-09-04-ref-00
+/G4OpenInventorWin.cc/1.8/Wed May 26 14:30:46 2010//Tgeant4-09-04-ref-00
+/G4OpenInventorWinViewer.cc/1.27/Wed Nov 10 17:53:22 2010//Tgeant4-09-04-ref-00
+/G4OpenInventorXt.cc/1.5/Wed May 26 14:30:46 2010//Tgeant4-09-04-ref-00
+/G4OpenInventorXtViewer.cc/1.26/Wed Nov 10 17:53:22 2010//Tgeant4-09-04-ref-00
+/SbPainter.cc/1.5/Thu Jun 29 21:22:30 2006//Tgeant4-09-04-ref-00
+/SbPainterPS.cc/1.5/Thu Jun 29 21:22:32 2006//Tgeant4-09-04-ref-00
+/SoAlternateRepAction.cc/1.4/Thu Jun 29 21:22:34 2006//Tgeant4-09-04-ref-00
+/SoBox.cc/1.8/Thu Jun 29 21:22:36 2006//Tgeant4-09-04-ref-00
+/SoCons.cc/1.8/Thu Jun 29 21:22:38 2006//Tgeant4-09-04-ref-00
+/SoCounterAction.cc/1.7/Thu Jun 29 21:22:49 2006//Tgeant4-09-04-ref-00
+/SoDetectorTreeKit.cc/1.13/Thu Jun 29 21:22:51 2006//Tgeant4-09-04-ref-00
+/SoGL2PSAction.cc/1.9/Wed Feb 18 10:04:25 2009//Tgeant4-09-04-ref-00
+/SoImageWriter.cc/1.5/Thu Jun 29 21:22:55 2006//Tgeant4-09-04-ref-00
+/SoMarkerSet.cc/1.8/Thu Jun 29 21:22:57 2006//Tgeant4-09-04-ref-00
+/SoPolyhedron.cc/1.13/Tue Oct 23 14:54:06 2007//Tgeant4-09-04-ref-00
+/SoStyleCache.cc/1.7/Thu Jun 29 21:23:01 2006//Tgeant4-09-04-ref-00
+/SoTrap.cc/1.8/Thu Jun 29 21:23:03 2006//Tgeant4-09-04-ref-00
+/SoTrd.cc/1.8/Thu Jun 29 21:23:05 2006//Tgeant4-09-04-ref-00
+/SoTubs.cc/1.8/Thu Jun 29 21:23:07 2006//Tgeant4-09-04-ref-00
 D
Index: trunk/source/visualization/OpenInventor/src/G4OpenInventor.cc
===================================================================
--- trunk/source/visualization/OpenInventor/src/G4OpenInventor.cc	(revision 1346)
+++ trunk/source/visualization/OpenInventor/src/G4OpenInventor.cc	(revision 1347)
@@ -26,5 +26,5 @@
 //
 // $Id: G4OpenInventor.cc,v 1.20 2006/06/29 21:22:12 gunter Exp $
-// GEANT4 tag $Name: geant4-09-04-beta-01 $
+// GEANT4 tag $Name: geant4-09-04-ref-00 $
 //
 #ifdef G4VIS_BUILD_OI_DRIVER
Index: trunk/source/visualization/OpenInventor/src/G4OpenInventorSceneHandler.cc
===================================================================
--- trunk/source/visualization/OpenInventor/src/G4OpenInventorSceneHandler.cc	(revision 1346)
+++ trunk/source/visualization/OpenInventor/src/G4OpenInventorSceneHandler.cc	(revision 1347)
@@ -26,5 +26,5 @@
 //
 // $Id: G4OpenInventorSceneHandler.cc,v 1.55 2009/02/18 14:21:38 lgarnier Exp $
-// GEANT4 tag $Name: geant4-09-04-beta-01 $
+// GEANT4 tag $Name: geant4-09-04-ref-00 $
 //
 // 
Index: trunk/source/visualization/OpenInventor/src/G4OpenInventorTransform3D.cc
===================================================================
--- trunk/source/visualization/OpenInventor/src/G4OpenInventorTransform3D.cc	(revision 1346)
+++ trunk/source/visualization/OpenInventor/src/G4OpenInventorTransform3D.cc	(revision 1347)
@@ -26,5 +26,5 @@
 //
 // $Id: G4OpenInventorTransform3D.cc,v 1.8 2006/06/29 21:22:16 gunter Exp $
-// GEANT4 tag $Name: geant4-09-04-beta-01 $
+// GEANT4 tag $Name: geant4-09-04-ref-00 $
 //
 // 
Index: trunk/source/visualization/OpenInventor/src/G4OpenInventorViewer.cc
===================================================================
--- trunk/source/visualization/OpenInventor/src/G4OpenInventorViewer.cc	(revision 1346)
+++ trunk/source/visualization/OpenInventor/src/G4OpenInventorViewer.cc	(revision 1347)
@@ -25,5 +25,5 @@
 //
 // $Id: G4OpenInventorViewer.cc,v 1.61 2010/10/06 10:09:57 allison Exp $
-// GEANT4 tag $Name:  $
+// GEANT4 tag $Name: geant4-09-04-ref-00 $
 
 #ifdef G4VIS_BUILD_OI_DRIVER
Index: trunk/source/visualization/OpenInventor/src/G4OpenInventorWin.cc
===================================================================
--- trunk/source/visualization/OpenInventor/src/G4OpenInventorWin.cc	(revision 1346)
+++ trunk/source/visualization/OpenInventor/src/G4OpenInventorWin.cc	(revision 1347)
@@ -26,5 +26,5 @@
 //
 // $Id: G4OpenInventorWin.cc,v 1.8 2010/05/26 14:30:46 allison Exp $
-// GEANT4 tag $Name: geant4-09-04-beta-01 $
+// GEANT4 tag $Name: geant4-09-04-ref-00 $
 //
 // OpenInventor graphics system factory.
Index: trunk/source/visualization/OpenInventor/src/G4OpenInventorWinViewer.cc
===================================================================
--- trunk/source/visualization/OpenInventor/src/G4OpenInventorWinViewer.cc	(revision 1346)
+++ trunk/source/visualization/OpenInventor/src/G4OpenInventorWinViewer.cc	(revision 1347)
@@ -25,6 +25,6 @@
 //
 //
-// $Id: G4OpenInventorWinViewer.cc,v 1.26 2009/09/18 12:48:43 lgarnier Exp $
-// GEANT4 tag $Name: geant4-09-04-beta-01 $
+// $Id: G4OpenInventorWinViewer.cc,v 1.27 2010/11/10 17:53:22 allison Exp $
+// GEANT4 tag $Name: geant4-09-04-ref-00 $
 //
 /*
@@ -52,4 +52,5 @@
 #include "G4OpenInventorSceneHandler.hh"
 #include "G4VInteractorManager.hh"
+#include "G4VisManager.hh"
 
 #include <windowsx.h>
@@ -95,6 +96,6 @@
 ,fViewer(0)
 {
-  G4cout << "Window name: " << fName << G4endl;
-
+  if (G4VisManager::GetVerbosity() >= G4VisManager::confirmations)
+    G4cout << "Window name: " << fName << G4endl;
 }
 
Index: trunk/source/visualization/OpenInventor/src/G4OpenInventorXt.cc
===================================================================
--- trunk/source/visualization/OpenInventor/src/G4OpenInventorXt.cc	(revision 1346)
+++ trunk/source/visualization/OpenInventor/src/G4OpenInventorXt.cc	(revision 1347)
@@ -26,5 +26,5 @@
 //
 // $Id: G4OpenInventorXt.cc,v 1.5 2010/05/26 14:30:46 allison Exp $
-// GEANT4 tag $Name: geant4-09-04-beta-01 $
+// GEANT4 tag $Name: geant4-09-04-ref-00 $
 //
 // 
Index: trunk/source/visualization/OpenInventor/src/G4OpenInventorXtViewer.cc
===================================================================
--- trunk/source/visualization/OpenInventor/src/G4OpenInventorXtViewer.cc	(revision 1346)
+++ trunk/source/visualization/OpenInventor/src/G4OpenInventorXtViewer.cc	(revision 1347)
@@ -25,6 +25,6 @@
 //
 //
-// $Id: G4OpenInventorXtViewer.cc,v 1.25 2009/09/18 12:48:43 lgarnier Exp $
-// GEANT4 tag $Name: geant4-09-04-beta-01 $
+// $Id: G4OpenInventorXtViewer.cc,v 1.26 2010/11/10 17:53:22 allison Exp $
+// GEANT4 tag $Name: geant4-09-04-ref-00 $
 //
 /*
@@ -65,4 +65,5 @@
 #include "G4OpenInventorSceneHandler.hh"
 #include "G4VInteractorManager.hh"
+#include "G4VisManager.hh"
 
 G4OpenInventorXtViewer::G4OpenInventorXtViewer(
@@ -75,5 +76,6 @@
 ,fHelpText(0)
 {
-  G4cout << "Window name: " << fName << G4endl;
+  if (G4VisManager::GetVerbosity() >= G4VisManager::confirmations)
+    G4cout << "Window name: " << fName << G4endl;
 }
 
Index: trunk/source/visualization/OpenInventor/src/SoBox.cc
===================================================================
--- trunk/source/visualization/OpenInventor/src/SoBox.cc	(revision 1346)
+++ trunk/source/visualization/OpenInventor/src/SoBox.cc	(revision 1347)
@@ -27,5 +27,5 @@
 //
 // $Id: SoBox.cc,v 1.8 2006/06/29 21:22:36 gunter Exp $
-// GEANT4 tag $Name: geant4-09-04-beta-01 $
+// GEANT4 tag $Name: geant4-09-04-ref-00 $
 //
 /*----------------------------HEPVis----------------------------------------*/
Index: trunk/source/visualization/OpenInventor/src/SoCons.cc
===================================================================
--- trunk/source/visualization/OpenInventor/src/SoCons.cc	(revision 1346)
+++ trunk/source/visualization/OpenInventor/src/SoCons.cc	(revision 1347)
@@ -27,5 +27,5 @@
 //
 // $Id: SoCons.cc,v 1.8 2006/06/29 21:22:38 gunter Exp $
-// GEANT4 tag $Name: geant4-09-04-beta-01 $
+// GEANT4 tag $Name: geant4-09-04-ref-00 $
 //
 /*-----------------------------HEPVis---------------------------------------*/
Index: trunk/source/visualization/OpenInventor/src/SoDetectorTreeKit.cc
===================================================================
--- trunk/source/visualization/OpenInventor/src/SoDetectorTreeKit.cc	(revision 1346)
+++ trunk/source/visualization/OpenInventor/src/SoDetectorTreeKit.cc	(revision 1347)
@@ -27,5 +27,5 @@
 //
 // $Id: SoDetectorTreeKit.cc,v 1.13 2006/06/29 21:22:51 gunter Exp $
-// GEANT4 tag $Name: geant4-09-04-beta-01 $
+// GEANT4 tag $Name: geant4-09-04-ref-00 $
 //
 /*-----------------------------HEPVis----------------------------------------*/
Index: trunk/source/visualization/OpenInventor/src/SoTrap.cc
===================================================================
--- trunk/source/visualization/OpenInventor/src/SoTrap.cc	(revision 1346)
+++ trunk/source/visualization/OpenInventor/src/SoTrap.cc	(revision 1347)
@@ -27,5 +27,5 @@
 //
 // $Id: SoTrap.cc,v 1.8 2006/06/29 21:23:03 gunter Exp $
-// GEANT4 tag $Name: geant4-09-04-beta-01 $
+// GEANT4 tag $Name: geant4-09-04-ref-00 $
 //
 /*-----------------------------HEPVis----------------------------------------*/
Index: trunk/source/visualization/OpenInventor/src/SoTrd.cc
===================================================================
--- trunk/source/visualization/OpenInventor/src/SoTrd.cc	(revision 1346)
+++ trunk/source/visualization/OpenInventor/src/SoTrd.cc	(revision 1347)
@@ -27,5 +27,5 @@
 //
 // $Id: SoTrd.cc,v 1.8 2006/06/29 21:23:05 gunter Exp $
-// GEANT4 tag $Name: geant4-09-04-beta-01 $
+// GEANT4 tag $Name: geant4-09-04-ref-00 $
 //
 /*-----------------------------HEPVis---------------------------------------*/
Index: trunk/source/visualization/OpenInventor/src/SoTubs.cc
===================================================================
--- trunk/source/visualization/OpenInventor/src/SoTubs.cc	(revision 1346)
+++ trunk/source/visualization/OpenInventor/src/SoTubs.cc	(revision 1347)
@@ -27,5 +27,5 @@
 //
 // $Id: SoTubs.cc,v 1.8 2006/06/29 21:23:07 gunter Exp $
-// GEANT4 tag $Name: geant4-09-04-beta-01 $
+// GEANT4 tag $Name: geant4-09-04-ref-00 $
 //
 /*-----------------------------HEPVis---------------------------------------*/
Index: trunk/source/visualization/RayTracer/CVS/Entries
===================================================================
--- trunk/source/visualization/RayTracer/CVS/Entries	(revision 1346)
+++ trunk/source/visualization/RayTracer/CVS/Entries	(revision 1347)
@@ -3,2 +3,4 @@
 /CMakeLists.txt/1.1/Wed Sep 29 19:12:38 2010//Tgeant4-09-04-ref-00
 /sources.cmake/1.1/Wed Sep 29 19:12:47 2010//Tgeant4-09-04-ref-00
+/History/1.66/Wed Oct 27 08:00:36 2010//Tgeant4-09-04-ref-00
+/README/1.1/Sat Jan 29 02:53:57 2000//Tgeant4-09-04-ref-00
Index: trunk/source/visualization/RayTracer/History
===================================================================
--- trunk/source/visualization/RayTracer/History	(revision 1346)
+++ trunk/source/visualization/RayTracer/History	(revision 1347)
@@ -1,3 +1,3 @@
-$Id: History,v 1.64 2010/06/14 14:33:34 gcosmo Exp $
+$Id: History,v 1.66 2010/10/27 08:00:36 gcosmo Exp $
 -------------------------------------------------------------------
 
@@ -24,4 +24,11 @@
 History file for Ray Tracer category
 ---------------------------------------
+
+27th October 2010  Gabriele Cosmo (raytracer-V09-03-04)
+- Restored DLL setup as originally. Withdrawn changes in last tag.
+
+19th October 2010  Gabriele Cosmo (raytracer-V09-03-03)
+- Replaced G4VIS_ALLOC_EXPORT flag with G4ALLOC_EXPORT for DLL exported
+  symbols.
 
 14th June 2010  Gabriele Cosmo  (raytracer-V09-03-02)
Index: trunk/source/visualization/RayTracer/include/CVS/Entries
===================================================================
--- trunk/source/visualization/RayTracer/include/CVS/Entries	(revision 1346)
+++ trunk/source/visualization/RayTracer/include/CVS/Entries	(revision 1347)
@@ -1,1 +1,22 @@
+/G4RTJpeg.hh/1.6/Thu Jun 29 21:23:13 2006//Tgeant4-09-04-ref-00
+/G4RTJpegCoder.hh/1.6/Thu Jun 29 21:23:15 2006//Tgeant4-09-04-ref-00
+/G4RTJpegCoderTables.hh/1.6/Thu Jun 29 21:23:17 2006//Tgeant4-09-04-ref-00
+/G4RTJpegMaker.hh/1.6/Thu Jun 29 21:23:19 2006//Tgeant4-09-04-ref-00
+/G4RTMessenger.hh/1.7/Thu Jun 29 21:23:21 2006//Tgeant4-09-04-ref-00
+/G4RTOutBitStream.hh/1.7/Thu Jun 29 21:23:23 2006//Tgeant4-09-04-ref-00
+/G4RTSimpleScanner.hh/1.4/Mon Jun 14 14:33:34 2010//Tgeant4-09-04-ref-00
+/G4RTSteppingAction.hh/1.5/Thu Jun 29 21:23:27 2006//Tgeant4-09-04-ref-00
+/G4RTTrackingAction.hh/1.6/Thu Jun 29 21:23:29 2006//Tgeant4-09-04-ref-00
+/G4RTXScanner.hh/1.5/Mon Jun 14 14:33:34 2010//Tgeant4-09-04-ref-00
+/G4RayTracer.hh/1.12/Thu Jun 14 15:25:20 2007//Tgeant4-09-04-ref-00
+/G4RayTracerFeatures.hh/1.4/Thu Jun 29 21:23:35 2006//Tgeant4-09-04-ref-00
+/G4RayTracerSceneHandler.hh/1.13/Sun May 30 10:21:25 2010//Tgeant4-09-04-ref-00
+/G4RayTracerViewer.hh/1.7/Thu Jun 29 21:23:39 2006//Tgeant4-09-04-ref-00
+/G4RayTracerX.hh/1.4/Thu Jun 29 21:23:41 2006//Tgeant4-09-04-ref-00
+/G4RayTracerXViewer.hh/1.5/Wed Sep 16 16:56:52 2009//Tgeant4-09-04-ref-00
+/G4RayTrajectory.hh/1.16/Sat May 29 21:09:40 2010//Tgeant4-09-04-ref-00
+/G4RayTrajectoryPoint.hh/1.9/Thu Jun 29 21:23:47 2006//Tgeant4-09-04-ref-00
+/G4TheRayTracer.hh/1.3/Thu Jun 29 21:23:49 2006//Tgeant4-09-04-ref-00
+/G4VFigureFileMaker.hh/1.5/Thu Jun 29 21:23:51 2006//Tgeant4-09-04-ref-00
+/G4VRTScanner.hh/1.6/Mon Jun 14 14:33:34 2010//Tgeant4-09-04-ref-00
 D
Index: trunk/source/visualization/RayTracer/include/G4RTJpeg.hh
===================================================================
--- trunk/source/visualization/RayTracer/include/G4RTJpeg.hh	(revision 1346)
+++ trunk/source/visualization/RayTracer/include/G4RTJpeg.hh	(revision 1347)
@@ -26,5 +26,5 @@
 //
 // $Id: G4RTJpeg.hh,v 1.6 2006/06/29 21:23:13 gunter Exp $
-// GEANT4 tag $Name: geant4-09-04-beta-01 $
+// GEANT4 tag $Name: geant4-09-04-ref-00 $
 //
 //
Index: trunk/source/visualization/RayTracer/include/G4RTJpegCoder.hh
===================================================================
--- trunk/source/visualization/RayTracer/include/G4RTJpegCoder.hh	(revision 1346)
+++ trunk/source/visualization/RayTracer/include/G4RTJpegCoder.hh	(revision 1347)
@@ -26,5 +26,5 @@
 //
 // $Id: G4RTJpegCoder.hh,v 1.6 2006/06/29 21:23:15 gunter Exp $
-// GEANT4 tag $Name: geant4-09-04-beta-01 $
+// GEANT4 tag $Name: geant4-09-04-ref-00 $
 //
 //
Index: trunk/source/visualization/RayTracer/include/G4RTJpegCoderTables.hh
===================================================================
--- trunk/source/visualization/RayTracer/include/G4RTJpegCoderTables.hh	(revision 1346)
+++ trunk/source/visualization/RayTracer/include/G4RTJpegCoderTables.hh	(revision 1347)
@@ -26,5 +26,5 @@
 //
 // $Id: G4RTJpegCoderTables.hh,v 1.6 2006/06/29 21:23:17 gunter Exp $
-// GEANT4 tag $Name: geant4-09-04-beta-01 $
+// GEANT4 tag $Name: geant4-09-04-ref-00 $
 //
 
Index: trunk/source/visualization/RayTracer/include/G4RTJpegMaker.hh
===================================================================
--- trunk/source/visualization/RayTracer/include/G4RTJpegMaker.hh	(revision 1346)
+++ trunk/source/visualization/RayTracer/include/G4RTJpegMaker.hh	(revision 1347)
@@ -26,5 +26,5 @@
 //
 // $Id: G4RTJpegMaker.hh,v 1.6 2006/06/29 21:23:19 gunter Exp $
-// GEANT4 tag $Name: geant4-09-04-beta-01 $
+// GEANT4 tag $Name: geant4-09-04-ref-00 $
 //
 //
Index: trunk/source/visualization/RayTracer/include/G4RTMessenger.hh
===================================================================
--- trunk/source/visualization/RayTracer/include/G4RTMessenger.hh	(revision 1346)
+++ trunk/source/visualization/RayTracer/include/G4RTMessenger.hh	(revision 1347)
@@ -26,5 +26,5 @@
 //
 // $Id: G4RTMessenger.hh,v 1.7 2006/06/29 21:23:21 gunter Exp $
-// GEANT4 tag $Name: geant4-09-04-beta-01 $
+// GEANT4 tag $Name: geant4-09-04-ref-00 $
 //
 //
Index: trunk/source/visualization/RayTracer/include/G4RTOutBitStream.hh
===================================================================
--- trunk/source/visualization/RayTracer/include/G4RTOutBitStream.hh	(revision 1346)
+++ trunk/source/visualization/RayTracer/include/G4RTOutBitStream.hh	(revision 1347)
@@ -26,5 +26,5 @@
 //
 // $Id: G4RTOutBitStream.hh,v 1.7 2006/06/29 21:23:23 gunter Exp $
-// GEANT4 tag $Name: geant4-09-04-beta-01 $
+// GEANT4 tag $Name: geant4-09-04-ref-00 $
 //
 //
Index: trunk/source/visualization/RayTracer/include/G4RTSimpleScanner.hh
===================================================================
--- trunk/source/visualization/RayTracer/include/G4RTSimpleScanner.hh	(revision 1346)
+++ trunk/source/visualization/RayTracer/include/G4RTSimpleScanner.hh	(revision 1347)
@@ -26,5 +26,5 @@
 //
 // $Id: G4RTSimpleScanner.hh,v 1.4 2010/06/14 14:33:34 gcosmo Exp $
-// GEANT4 tag $Name: geant4-09-04-beta-01 $
+// GEANT4 tag $Name: geant4-09-04-ref-00 $
 //
 //
Index: trunk/source/visualization/RayTracer/include/G4RTSteppingAction.hh
===================================================================
--- trunk/source/visualization/RayTracer/include/G4RTSteppingAction.hh	(revision 1346)
+++ trunk/source/visualization/RayTracer/include/G4RTSteppingAction.hh	(revision 1347)
@@ -26,5 +26,5 @@
 //
 // $Id: G4RTSteppingAction.hh,v 1.5 2006/06/29 21:23:27 gunter Exp $
-// GEANT4 tag $Name: geant4-09-04-beta-01 $
+// GEANT4 tag $Name: geant4-09-04-ref-00 $
 //
 //
Index: trunk/source/visualization/RayTracer/include/G4RTTrackingAction.hh
===================================================================
--- trunk/source/visualization/RayTracer/include/G4RTTrackingAction.hh	(revision 1346)
+++ trunk/source/visualization/RayTracer/include/G4RTTrackingAction.hh	(revision 1347)
@@ -26,5 +26,5 @@
 //
 // $Id: G4RTTrackingAction.hh,v 1.6 2006/06/29 21:23:29 gunter Exp $
-// GEANT4 tag $Name: geant4-09-04-beta-01 $
+// GEANT4 tag $Name: geant4-09-04-ref-00 $
 //
 //
Index: trunk/source/visualization/RayTracer/include/G4RTXScanner.hh
===================================================================
--- trunk/source/visualization/RayTracer/include/G4RTXScanner.hh	(revision 1346)
+++ trunk/source/visualization/RayTracer/include/G4RTXScanner.hh	(revision 1347)
@@ -26,5 +26,5 @@
 //
 // $Id: G4RTXScanner.hh,v 1.5 2010/06/14 14:33:34 gcosmo Exp $
-// GEANT4 tag $Name: geant4-09-04-beta-01 $
+// GEANT4 tag $Name: geant4-09-04-ref-00 $
 //
 //
Index: trunk/source/visualization/RayTracer/include/G4RayTracer.hh
===================================================================
--- trunk/source/visualization/RayTracer/include/G4RayTracer.hh	(revision 1346)
+++ trunk/source/visualization/RayTracer/include/G4RayTracer.hh	(revision 1347)
@@ -26,5 +26,5 @@
 //
 // $Id: G4RayTracer.hh,v 1.12 2007/06/14 15:25:20 allison Exp $
-// GEANT4 tag $Name: geant4-09-04-beta-01 $
+// GEANT4 tag $Name: geant4-09-04-ref-00 $
 //
 //
Index: trunk/source/visualization/RayTracer/include/G4RayTracerFeatures.hh
===================================================================
--- trunk/source/visualization/RayTracer/include/G4RayTracerFeatures.hh	(revision 1346)
+++ trunk/source/visualization/RayTracer/include/G4RayTracerFeatures.hh	(revision 1347)
@@ -26,5 +26,5 @@
 //
 // $Id: G4RayTracerFeatures.hh,v 1.4 2006/06/29 21:23:35 gunter Exp $
-// GEANT4 tag $Name: geant4-09-04-beta-01 $
+// GEANT4 tag $Name: geant4-09-04-ref-00 $
 //
 //
Index: trunk/source/visualization/RayTracer/include/G4RayTracerSceneHandler.hh
===================================================================
--- trunk/source/visualization/RayTracer/include/G4RayTracerSceneHandler.hh	(revision 1346)
+++ trunk/source/visualization/RayTracer/include/G4RayTracerSceneHandler.hh	(revision 1347)
@@ -26,5 +26,5 @@
 //
 // $Id: G4RayTracerSceneHandler.hh,v 1.13 2010/05/30 10:21:25 allison Exp $
-// GEANT4 tag $Name: geant4-09-04-beta-01 $
+// GEANT4 tag $Name: geant4-09-04-ref-00 $
 
 // John Allison  17th March 2000
Index: trunk/source/visualization/RayTracer/include/G4RayTracerViewer.hh
===================================================================
--- trunk/source/visualization/RayTracer/include/G4RayTracerViewer.hh	(revision 1346)
+++ trunk/source/visualization/RayTracer/include/G4RayTracerViewer.hh	(revision 1347)
@@ -26,5 +26,5 @@
 //
 // $Id: G4RayTracerViewer.hh,v 1.7 2006/06/29 21:23:39 gunter Exp $
-// GEANT4 tag $Name: geant4-09-04-beta-01 $
+// GEANT4 tag $Name: geant4-09-04-ref-00 $
 
 // John Allison  17th March 2000
Index: trunk/source/visualization/RayTracer/include/G4RayTracerX.hh
===================================================================
--- trunk/source/visualization/RayTracer/include/G4RayTracerX.hh	(revision 1346)
+++ trunk/source/visualization/RayTracer/include/G4RayTracerX.hh	(revision 1347)
@@ -26,5 +26,5 @@
 //
 // $Id: G4RayTracerX.hh,v 1.4 2006/06/29 21:23:41 gunter Exp $
-// GEANT4 tag $Name: geant4-09-04-beta-01 $
+// GEANT4 tag $Name: geant4-09-04-ref-00 $
 //
 //
Index: trunk/source/visualization/RayTracer/include/G4RayTracerXViewer.hh
===================================================================
--- trunk/source/visualization/RayTracer/include/G4RayTracerXViewer.hh	(revision 1346)
+++ trunk/source/visualization/RayTracer/include/G4RayTracerXViewer.hh	(revision 1347)
@@ -26,5 +26,5 @@
 //
 // $Id: G4RayTracerXViewer.hh,v 1.5 2009/09/16 16:56:52 allison Exp $
-// GEANT4 tag $Name: geant4-09-04-beta-01 $
+// GEANT4 tag $Name: geant4-09-04-ref-00 $
 
 // John Allison  17th March 2000
Index: trunk/source/visualization/RayTracer/include/G4RayTrajectory.hh
===================================================================
--- trunk/source/visualization/RayTracer/include/G4RayTrajectory.hh	(revision 1346)
+++ trunk/source/visualization/RayTracer/include/G4RayTrajectory.hh	(revision 1347)
@@ -26,5 +26,5 @@
 //
 // $Id: G4RayTrajectory.hh,v 1.16 2010/05/29 21:09:40 allison Exp $
-// GEANT4 tag $Name: geant4-09-04-beta-01 $
+// GEANT4 tag $Name: geant4-09-04-ref-00 $
 //
 //
Index: trunk/source/visualization/RayTracer/include/G4RayTrajectoryPoint.hh
===================================================================
--- trunk/source/visualization/RayTracer/include/G4RayTrajectoryPoint.hh	(revision 1346)
+++ trunk/source/visualization/RayTracer/include/G4RayTrajectoryPoint.hh	(revision 1347)
@@ -26,5 +26,5 @@
 //
 // $Id: G4RayTrajectoryPoint.hh,v 1.9 2006/06/29 21:23:47 gunter Exp $
-// GEANT4 tag $Name: geant4-09-04-beta-01 $
+// GEANT4 tag $Name: geant4-09-04-ref-00 $
 //
 //
Index: trunk/source/visualization/RayTracer/include/G4TheRayTracer.hh
===================================================================
--- trunk/source/visualization/RayTracer/include/G4TheRayTracer.hh	(revision 1346)
+++ trunk/source/visualization/RayTracer/include/G4TheRayTracer.hh	(revision 1347)
@@ -26,5 +26,5 @@
 //
 // $Id: G4TheRayTracer.hh,v 1.3 2006/06/29 21:23:49 gunter Exp $
-// GEANT4 tag $Name: geant4-09-04-beta-01 $
+// GEANT4 tag $Name: geant4-09-04-ref-00 $
 //
 //
Index: trunk/source/visualization/RayTracer/include/G4VFigureFileMaker.hh
===================================================================
--- trunk/source/visualization/RayTracer/include/G4VFigureFileMaker.hh	(revision 1346)
+++ trunk/source/visualization/RayTracer/include/G4VFigureFileMaker.hh	(revision 1347)
@@ -26,5 +26,5 @@
 //
 // $Id: G4VFigureFileMaker.hh,v 1.5 2006/06/29 21:23:51 gunter Exp $
-// GEANT4 tag $Name: geant4-09-04-beta-01 $
+// GEANT4 tag $Name: geant4-09-04-ref-00 $
 //
 //
Index: trunk/source/visualization/RayTracer/include/G4VRTScanner.hh
===================================================================
--- trunk/source/visualization/RayTracer/include/G4VRTScanner.hh	(revision 1346)
+++ trunk/source/visualization/RayTracer/include/G4VRTScanner.hh	(revision 1347)
@@ -26,5 +26,5 @@
 //
 // $Id: G4VRTScanner.hh,v 1.6 2010/06/14 14:33:34 gcosmo Exp $
-// GEANT4 tag $Name: geant4-09-04-beta-01 $
+// GEANT4 tag $Name: geant4-09-04-ref-00 $
 //
 //
Index: trunk/source/visualization/RayTracer/src/CVS/Entries
===================================================================
--- trunk/source/visualization/RayTracer/src/CVS/Entries	(revision 1346)
+++ trunk/source/visualization/RayTracer/src/CVS/Entries	(revision 1347)
@@ -1,1 +1,18 @@
+/G4RTJpegCoder.cc/1.6/Thu Jun 29 21:23:55 2006//Tgeant4-09-04-ref-00
+/G4RTJpegMaker.cc/1.10/Thu Jun 29 21:23:57 2006//Tgeant4-09-04-ref-00
+/G4RTMessenger.cc/1.10/Fri Nov 17 21:34:12 2006//Tgeant4-09-04-ref-00
+/G4RTOutBitStream.cc/1.6/Fri Apr  4 13:52:48 2008//Tgeant4-09-04-ref-00
+/G4RTSimpleScanner.cc/1.5/Mon Jun 14 14:33:34 2010//Tgeant4-09-04-ref-00
+/G4RTSteppingAction.cc/1.7/Thu Jun 29 21:24:05 2006//Tgeant4-09-04-ref-00
+/G4RTTrackingAction.cc/1.5/Thu Jun 29 21:24:07 2006//Tgeant4-09-04-ref-00
+/G4RTXScanner.cc/1.8/Mon Jun 14 14:33:34 2010//Tgeant4-09-04-ref-00
+/G4RayTracer.cc/1.22/Thu Jun 14 15:25:20 2007//Tgeant4-09-04-ref-00
+/G4RayTracerSceneHandler.cc/1.10/Tue Nov 14 14:46:37 2006//Tgeant4-09-04-ref-00
+/G4RayTracerViewer.cc/1.18/Wed Aug 19 08:39:19 2009//Tgeant4-09-04-ref-00
+/G4RayTracerX.cc/1.5/Thu Jun 29 21:24:17 2006//Tgeant4-09-04-ref-00
+/G4RayTracerXViewer.cc/1.8/Wed Sep 16 16:56:52 2009//Tgeant4-09-04-ref-00
+/G4RayTrajectory.cc/1.15/Thu Jun 29 21:24:21 2006//Tgeant4-09-04-ref-00
+/G4RayTrajectoryPoint.cc/1.6/Thu Jun 29 21:24:23 2006//Tgeant4-09-04-ref-00
+/G4TheRayTracer.cc/1.3/Thu Jun 29 21:24:25 2006//Tgeant4-09-04-ref-00
+/G4VRTScanner.cc/1.1/Mon Jun 14 14:33:34 2010//Tgeant4-09-04-ref-00
 D
Index: trunk/source/visualization/RayTracer/src/G4RTJpegCoder.cc
===================================================================
--- trunk/source/visualization/RayTracer/src/G4RTJpegCoder.cc	(revision 1346)
+++ trunk/source/visualization/RayTracer/src/G4RTJpegCoder.cc	(revision 1347)
@@ -26,5 +26,5 @@
 //
 // $Id: G4RTJpegCoder.cc,v 1.6 2006/06/29 21:23:55 gunter Exp $
-// GEANT4 tag $Name: geant4-09-04-beta-01 $
+// GEANT4 tag $Name: geant4-09-04-ref-00 $
 //
 //
Index: trunk/source/visualization/RayTracer/src/G4RTJpegMaker.cc
===================================================================
--- trunk/source/visualization/RayTracer/src/G4RTJpegMaker.cc	(revision 1346)
+++ trunk/source/visualization/RayTracer/src/G4RTJpegMaker.cc	(revision 1347)
@@ -26,5 +26,5 @@
 //
 // $Id: G4RTJpegMaker.cc,v 1.10 2006/06/29 21:23:57 gunter Exp $
-// GEANT4 tag $Name: geant4-09-04-beta-01 $
+// GEANT4 tag $Name: geant4-09-04-ref-00 $
 //
 //
Index: trunk/source/visualization/RayTracer/src/G4RTMessenger.cc
===================================================================
--- trunk/source/visualization/RayTracer/src/G4RTMessenger.cc	(revision 1346)
+++ trunk/source/visualization/RayTracer/src/G4RTMessenger.cc	(revision 1347)
@@ -26,5 +26,5 @@
 //
 // $Id: G4RTMessenger.cc,v 1.10 2006/11/17 21:34:12 perl Exp $
-// GEANT4 tag $Name: geant4-09-04-beta-01 $
+// GEANT4 tag $Name: geant4-09-04-ref-00 $
 //
 //
Index: trunk/source/visualization/RayTracer/src/G4RTOutBitStream.cc
===================================================================
--- trunk/source/visualization/RayTracer/src/G4RTOutBitStream.cc	(revision 1346)
+++ trunk/source/visualization/RayTracer/src/G4RTOutBitStream.cc	(revision 1347)
@@ -26,5 +26,5 @@
 //
 // $Id: G4RTOutBitStream.cc,v 1.6 2008/04/04 13:52:48 allison Exp $
-// GEANT4 tag $Name: geant4-09-04-beta-01 $
+// GEANT4 tag $Name: geant4-09-04-ref-00 $
 //
 //
Index: trunk/source/visualization/RayTracer/src/G4RTSimpleScanner.cc
===================================================================
--- trunk/source/visualization/RayTracer/src/G4RTSimpleScanner.cc	(revision 1346)
+++ trunk/source/visualization/RayTracer/src/G4RTSimpleScanner.cc	(revision 1347)
@@ -26,5 +26,5 @@
 //
 // $Id: G4RTSimpleScanner.cc,v 1.5 2010/06/14 14:33:34 gcosmo Exp $
-// GEANT4 tag $Name: geant4-09-04-beta-01 $
+// GEANT4 tag $Name: geant4-09-04-ref-00 $
 //
 //
Index: trunk/source/visualization/RayTracer/src/G4RTSteppingAction.cc
===================================================================
--- trunk/source/visualization/RayTracer/src/G4RTSteppingAction.cc	(revision 1346)
+++ trunk/source/visualization/RayTracer/src/G4RTSteppingAction.cc	(revision 1347)
@@ -26,5 +26,5 @@
 //
 // $Id: G4RTSteppingAction.cc,v 1.7 2006/06/29 21:24:05 gunter Exp $
-// GEANT4 tag $Name: geant4-09-04-beta-01 $
+// GEANT4 tag $Name: geant4-09-04-ref-00 $
 //
 //
Index: trunk/source/visualization/RayTracer/src/G4RTTrackingAction.cc
===================================================================
--- trunk/source/visualization/RayTracer/src/G4RTTrackingAction.cc	(revision 1346)
+++ trunk/source/visualization/RayTracer/src/G4RTTrackingAction.cc	(revision 1347)
@@ -26,5 +26,5 @@
 //
 // $Id: G4RTTrackingAction.cc,v 1.5 2006/06/29 21:24:07 gunter Exp $
-// GEANT4 tag $Name: geant4-09-04-beta-01 $
+// GEANT4 tag $Name: geant4-09-04-ref-00 $
 //
 //
Index: trunk/source/visualization/RayTracer/src/G4RTXScanner.cc
===================================================================
--- trunk/source/visualization/RayTracer/src/G4RTXScanner.cc	(revision 1346)
+++ trunk/source/visualization/RayTracer/src/G4RTXScanner.cc	(revision 1347)
@@ -26,5 +26,5 @@
 //
 // $Id: G4RTXScanner.cc,v 1.8 2010/06/14 14:33:34 gcosmo Exp $
-// GEANT4 tag $Name: geant4-09-04-beta-01 $
+// GEANT4 tag $Name: geant4-09-04-ref-00 $
 //
 //
Index: trunk/source/visualization/RayTracer/src/G4RayTracer.cc
===================================================================
--- trunk/source/visualization/RayTracer/src/G4RayTracer.cc	(revision 1346)
+++ trunk/source/visualization/RayTracer/src/G4RayTracer.cc	(revision 1347)
@@ -26,5 +26,5 @@
 //
 // $Id: G4RayTracer.cc,v 1.22 2007/06/14 15:25:20 allison Exp $
-// GEANT4 tag $Name: geant4-09-04-beta-01 $
+// GEANT4 tag $Name: geant4-09-04-ref-00 $
 
 #include "G4RayTracer.hh"
Index: trunk/source/visualization/RayTracer/src/G4RayTracerSceneHandler.cc
===================================================================
--- trunk/source/visualization/RayTracer/src/G4RayTracerSceneHandler.cc	(revision 1346)
+++ trunk/source/visualization/RayTracer/src/G4RayTracerSceneHandler.cc	(revision 1347)
@@ -26,5 +26,5 @@
 //
 // $Id: G4RayTracerSceneHandler.cc,v 1.10 2006/11/14 14:46:37 allison Exp $
-// GEANT4 tag $Name: geant4-09-04-beta-01 $
+// GEANT4 tag $Name: geant4-09-04-ref-00 $
 
 #include "G4RayTracerSceneHandler.hh"
Index: trunk/source/visualization/RayTracer/src/G4RayTracerViewer.cc
===================================================================
--- trunk/source/visualization/RayTracer/src/G4RayTracerViewer.cc	(revision 1346)
+++ trunk/source/visualization/RayTracer/src/G4RayTracerViewer.cc	(revision 1347)
@@ -26,5 +26,5 @@
 //
 // $Id: G4RayTracerViewer.cc,v 1.18 2009/08/19 08:39:19 lgarnier Exp $
-// GEANT4 tag $Name: geant4-09-04-beta-01 $
+// GEANT4 tag $Name: geant4-09-04-ref-00 $
 
 #include "G4RayTracerViewer.hh"
Index: trunk/source/visualization/RayTracer/src/G4RayTracerX.cc
===================================================================
--- trunk/source/visualization/RayTracer/src/G4RayTracerX.cc	(revision 1346)
+++ trunk/source/visualization/RayTracer/src/G4RayTracerX.cc	(revision 1347)
@@ -26,5 +26,5 @@
 //
 // $Id: G4RayTracerX.cc,v 1.5 2006/06/29 21:24:17 gunter Exp $
-// GEANT4 tag $Name: geant4-09-04-beta-01 $
+// GEANT4 tag $Name: geant4-09-04-ref-00 $
 //
 //
Index: trunk/source/visualization/RayTracer/src/G4RayTracerXViewer.cc
===================================================================
--- trunk/source/visualization/RayTracer/src/G4RayTracerXViewer.cc	(revision 1346)
+++ trunk/source/visualization/RayTracer/src/G4RayTracerXViewer.cc	(revision 1347)
@@ -26,5 +26,5 @@
 //
 // $Id: G4RayTracerXViewer.cc,v 1.8 2009/09/16 16:56:52 allison Exp $
-// GEANT4 tag $Name: geant4-09-04-beta-01 $
+// GEANT4 tag $Name: geant4-09-04-ref-00 $
 
 #ifdef G4VIS_BUILD_RAYTRACERX_DRIVER
Index: trunk/source/visualization/RayTracer/src/G4RayTrajectory.cc
===================================================================
--- trunk/source/visualization/RayTracer/src/G4RayTrajectory.cc	(revision 1346)
+++ trunk/source/visualization/RayTracer/src/G4RayTrajectory.cc	(revision 1347)
@@ -26,5 +26,5 @@
 //
 // $Id: G4RayTrajectory.cc,v 1.15 2006/06/29 21:24:21 gunter Exp $
-// GEANT4 tag $Name: geant4-09-04-beta-01 $
+// GEANT4 tag $Name: geant4-09-04-ref-00 $
 //
 //
Index: trunk/source/visualization/RayTracer/src/G4RayTrajectoryPoint.cc
===================================================================
--- trunk/source/visualization/RayTracer/src/G4RayTrajectoryPoint.cc	(revision 1346)
+++ trunk/source/visualization/RayTracer/src/G4RayTrajectoryPoint.cc	(revision 1347)
@@ -26,5 +26,5 @@
 //
 // $Id: G4RayTrajectoryPoint.cc,v 1.6 2006/06/29 21:24:23 gunter Exp $
-// GEANT4 tag $Name: geant4-09-04-beta-01 $
+// GEANT4 tag $Name: geant4-09-04-ref-00 $
 //
 //
Index: trunk/source/visualization/RayTracer/src/G4TheRayTracer.cc
===================================================================
--- trunk/source/visualization/RayTracer/src/G4TheRayTracer.cc	(revision 1346)
+++ trunk/source/visualization/RayTracer/src/G4TheRayTracer.cc	(revision 1347)
@@ -26,5 +26,5 @@
 //
 // $Id: G4TheRayTracer.cc,v 1.3 2006/06/29 21:24:25 gunter Exp $
-// GEANT4 tag $Name: geant4-09-04-beta-01 $
+// GEANT4 tag $Name: geant4-09-04-ref-00 $
 //
 //
Index: trunk/source/visualization/RayTracer/src/G4VRTScanner.cc
===================================================================
--- trunk/source/visualization/RayTracer/src/G4VRTScanner.cc	(revision 1346)
+++ trunk/source/visualization/RayTracer/src/G4VRTScanner.cc	(revision 1347)
@@ -26,5 +26,5 @@
 //
 // $Id: G4VRTScanner.cc,v 1.1 2010/06/14 14:33:34 gcosmo Exp $
-// GEANT4 tag $Name: geant4-09-04-beta-01 $
+// GEANT4 tag $Name: geant4-09-04-ref-00 $
 //
 //
Index: trunk/source/visualization/Tree/CVS/Entries
===================================================================
--- trunk/source/visualization/Tree/CVS/Entries	(revision 1346)
+++ trunk/source/visualization/Tree/CVS/Entries	(revision 1347)
@@ -3,2 +3,3 @@
 /CMakeLists.txt/1.1/Wed Sep 29 19:12:55 2010//Tgeant4-09-04-ref-00
 /sources.cmake/1.1/Wed Sep 29 19:13:03 2010//Tgeant4-09-04-ref-00
+/History/1.31/Sat Nov 13 11:26:01 2010//Tgeant4-09-04-ref-00
Index: trunk/source/visualization/Tree/History
===================================================================
--- trunk/source/visualization/Tree/History	(revision 1346)
+++ trunk/source/visualization/Tree/History	(revision 1347)
@@ -1,3 +1,3 @@
-$Id: History,v 1.30 2007/03/27 15:11:43 allison Exp $
+$Id: History,v 1.31 2010/11/13 11:26:01 allison Exp $
 -------------------------------------------------------------------
 
@@ -24,4 +24,7 @@
 History file for visualization/Tree sub-category
 ------------------------------------------------
+
+13th November 2010  John Allison  (vistree-V09-03-00)
+- Tagged inclusion of CMake stuff.
 
 25th March 2007  John Allison  (vistree-V08-02-01)
Index: trunk/source/visualization/Tree/include/CVS/Entries
===================================================================
--- trunk/source/visualization/Tree/include/CVS/Entries	(revision 1346)
+++ trunk/source/visualization/Tree/include/CVS/Entries	(revision 1347)
@@ -1,1 +1,9 @@
+/G4ASCIITree.hh/1.7/Thu Jun 29 21:24:27 2006//Tgeant4-09-04-ref-00
+/G4ASCIITreeMessenger.hh/1.7/Thu Jun 29 21:24:29 2006//Tgeant4-09-04-ref-00
+/G4ASCIITreeSceneHandler.hh/1.17/Mon Dec 11 21:14:45 2006//Tgeant4-09-04-ref-00
+/G4ASCIITreeViewer.hh/1.5/Thu Jun 29 21:24:33 2006//Tgeant4-09-04-ref-00
+/G4VTree.hh/1.5/Thu Jun 29 21:24:45 2006//Tgeant4-09-04-ref-00
+/G4VTreeSceneHandler.hh/1.18/Thu Jun 29 21:24:47 2006//Tgeant4-09-04-ref-00
+/G4VTreeSceneHandler.icc/1.8/Thu Jun 29 21:24:49 2006//Tgeant4-09-04-ref-00
+/G4VTreeViewer.hh/1.5/Thu Jun 29 21:24:51 2006//Tgeant4-09-04-ref-00
 D
Index: trunk/source/visualization/Tree/include/G4ASCIITree.hh
===================================================================
--- trunk/source/visualization/Tree/include/G4ASCIITree.hh	(revision 1346)
+++ trunk/source/visualization/Tree/include/G4ASCIITree.hh	(revision 1347)
@@ -26,5 +26,5 @@
 //
 // $Id: G4ASCIITree.hh,v 1.7 2006/06/29 21:24:27 gunter Exp $
-// GEANT4 tag $Name: geant4-09-04-beta-01 $
+// GEANT4 tag $Name: geant4-09-04-ref-00 $
 //
 // 
Index: trunk/source/visualization/Tree/include/G4ASCIITreeMessenger.hh
===================================================================
--- trunk/source/visualization/Tree/include/G4ASCIITreeMessenger.hh	(revision 1346)
+++ trunk/source/visualization/Tree/include/G4ASCIITreeMessenger.hh	(revision 1347)
@@ -26,5 +26,5 @@
 //
 // $Id: G4ASCIITreeMessenger.hh,v 1.7 2006/06/29 21:24:29 gunter Exp $
-// GEANT4 tag $Name: geant4-09-04-beta-01 $
+// GEANT4 tag $Name: geant4-09-04-ref-00 $
 //
 // 
Index: trunk/source/visualization/Tree/include/G4ASCIITreeSceneHandler.hh
===================================================================
--- trunk/source/visualization/Tree/include/G4ASCIITreeSceneHandler.hh	(revision 1346)
+++ trunk/source/visualization/Tree/include/G4ASCIITreeSceneHandler.hh	(revision 1347)
@@ -26,5 +26,5 @@
 //
 // $Id: G4ASCIITreeSceneHandler.hh,v 1.17 2006/12/11 21:14:45 allison Exp $
-// GEANT4 tag $Name: geant4-09-04-beta-01 $
+// GEANT4 tag $Name: geant4-09-04-ref-00 $
 //
 // 
Index: trunk/source/visualization/Tree/include/G4ASCIITreeViewer.hh
===================================================================
--- trunk/source/visualization/Tree/include/G4ASCIITreeViewer.hh	(revision 1346)
+++ trunk/source/visualization/Tree/include/G4ASCIITreeViewer.hh	(revision 1347)
@@ -26,5 +26,5 @@
 //
 // $Id: G4ASCIITreeViewer.hh,v 1.5 2006/06/29 21:24:33 gunter Exp $
-// GEANT4 tag $Name: geant4-09-04-beta-01 $
+// GEANT4 tag $Name: geant4-09-04-ref-00 $
 //
 // 
Index: trunk/source/visualization/Tree/include/G4VTree.hh
===================================================================
--- trunk/source/visualization/Tree/include/G4VTree.hh	(revision 1346)
+++ trunk/source/visualization/Tree/include/G4VTree.hh	(revision 1347)
@@ -26,5 +26,5 @@
 //
 // $Id: G4VTree.hh,v 1.5 2006/06/29 21:24:45 gunter Exp $
-// GEANT4 tag $Name: geant4-09-04-beta-01 $
+// GEANT4 tag $Name: geant4-09-04-ref-00 $
 //
 // 
Index: trunk/source/visualization/Tree/include/G4VTreeSceneHandler.hh
===================================================================
--- trunk/source/visualization/Tree/include/G4VTreeSceneHandler.hh	(revision 1346)
+++ trunk/source/visualization/Tree/include/G4VTreeSceneHandler.hh	(revision 1347)
@@ -26,5 +26,5 @@
 //
 // $Id: G4VTreeSceneHandler.hh,v 1.18 2006/06/29 21:24:47 gunter Exp $
-// GEANT4 tag $Name: geant4-09-04-beta-01 $
+// GEANT4 tag $Name: geant4-09-04-ref-00 $
 //
 // 
Index: trunk/source/visualization/Tree/include/G4VTreeSceneHandler.icc
===================================================================
--- trunk/source/visualization/Tree/include/G4VTreeSceneHandler.icc	(revision 1346)
+++ trunk/source/visualization/Tree/include/G4VTreeSceneHandler.icc	(revision 1347)
@@ -26,5 +26,5 @@
 //
 // $Id: G4VTreeSceneHandler.icc,v 1.8 2006/06/29 21:24:49 gunter Exp $
-// GEANT4 tag $Name: geant4-09-04-beta-01 $
+// GEANT4 tag $Name: geant4-09-04-ref-00 $
 //
 // 
Index: trunk/source/visualization/Tree/include/G4VTreeViewer.hh
===================================================================
--- trunk/source/visualization/Tree/include/G4VTreeViewer.hh	(revision 1346)
+++ trunk/source/visualization/Tree/include/G4VTreeViewer.hh	(revision 1347)
@@ -26,5 +26,5 @@
 //
 // $Id: G4VTreeViewer.hh,v 1.5 2006/06/29 21:24:51 gunter Exp $
-// GEANT4 tag $Name: geant4-09-04-beta-01 $
+// GEANT4 tag $Name: geant4-09-04-ref-00 $
 //
 // 
Index: trunk/source/visualization/Tree/src/CVS/Entries
===================================================================
--- trunk/source/visualization/Tree/src/CVS/Entries	(revision 1346)
+++ trunk/source/visualization/Tree/src/CVS/Entries	(revision 1347)
@@ -1,1 +1,8 @@
+/G4ASCIITree.cc/1.12/Fri Jan  5 16:59:43 2007//Tgeant4-09-04-ref-00
+/G4ASCIITreeMessenger.cc/1.19/Fri Jan  5 16:59:43 2007//Tgeant4-09-04-ref-00
+/G4ASCIITreeSceneHandler.cc/1.34/Fri Jan  5 17:00:27 2007//Tgeant4-09-04-ref-00
+/G4ASCIITreeViewer.cc/1.8/Thu Jun 29 21:24:59 2006//Tgeant4-09-04-ref-00
+/G4VTree.cc/1.5/Thu Jun 29 21:25:09 2006//Tgeant4-09-04-ref-00
+/G4VTreeSceneHandler.cc/1.14/Thu Jun 29 21:25:11 2006//Tgeant4-09-04-ref-00
+/G4VTreeViewer.cc/1.7/Thu Jun 29 21:25:13 2006//Tgeant4-09-04-ref-00
 D
Index: trunk/source/visualization/Tree/src/G4ASCIITree.cc
===================================================================
--- trunk/source/visualization/Tree/src/G4ASCIITree.cc	(revision 1346)
+++ trunk/source/visualization/Tree/src/G4ASCIITree.cc	(revision 1347)
@@ -26,5 +26,5 @@
 //
 // $Id: G4ASCIITree.cc,v 1.12 2007/01/05 16:59:43 allison Exp $
-// GEANT4 tag $Name: geant4-09-04-beta-01 $
+// GEANT4 tag $Name: geant4-09-04-ref-00 $
 //
 // 
Index: trunk/source/visualization/Tree/src/G4ASCIITreeMessenger.cc
===================================================================
--- trunk/source/visualization/Tree/src/G4ASCIITreeMessenger.cc	(revision 1346)
+++ trunk/source/visualization/Tree/src/G4ASCIITreeMessenger.cc	(revision 1347)
@@ -26,5 +26,5 @@
 //
 // $Id: G4ASCIITreeMessenger.cc,v 1.19 2007/01/05 16:59:43 allison Exp $
-// GEANT4 tag $Name: geant4-09-04-beta-01 $
+// GEANT4 tag $Name: geant4-09-04-ref-00 $
 //
 // 
Index: trunk/source/visualization/Tree/src/G4ASCIITreeSceneHandler.cc
===================================================================
--- trunk/source/visualization/Tree/src/G4ASCIITreeSceneHandler.cc	(revision 1346)
+++ trunk/source/visualization/Tree/src/G4ASCIITreeSceneHandler.cc	(revision 1347)
@@ -26,5 +26,5 @@
 //
 // $Id: G4ASCIITreeSceneHandler.cc,v 1.34 2007/01/05 17:00:27 allison Exp $
-// GEANT4 tag $Name: geant4-09-04-beta-01 $
+// GEANT4 tag $Name: geant4-09-04-ref-00 $
 //
 // 
Index: trunk/source/visualization/Tree/src/G4ASCIITreeViewer.cc
===================================================================
--- trunk/source/visualization/Tree/src/G4ASCIITreeViewer.cc	(revision 1346)
+++ trunk/source/visualization/Tree/src/G4ASCIITreeViewer.cc	(revision 1347)
@@ -26,5 +26,5 @@
 //
 // $Id: G4ASCIITreeViewer.cc,v 1.8 2006/06/29 21:24:59 gunter Exp $
-// GEANT4 tag $Name: geant4-09-04-beta-01 $
+// GEANT4 tag $Name: geant4-09-04-ref-00 $
 
 #include "G4ASCIITreeViewer.hh"
Index: trunk/source/visualization/Tree/src/G4VTree.cc
===================================================================
--- trunk/source/visualization/Tree/src/G4VTree.cc	(revision 1346)
+++ trunk/source/visualization/Tree/src/G4VTree.cc	(revision 1347)
@@ -26,5 +26,5 @@
 //
 // $Id: G4VTree.cc,v 1.5 2006/06/29 21:25:09 gunter Exp $
-// GEANT4 tag $Name: geant4-09-04-beta-01 $
+// GEANT4 tag $Name: geant4-09-04-ref-00 $
 //
 // 
Index: trunk/source/visualization/Tree/src/G4VTreeSceneHandler.cc
===================================================================
--- trunk/source/visualization/Tree/src/G4VTreeSceneHandler.cc	(revision 1346)
+++ trunk/source/visualization/Tree/src/G4VTreeSceneHandler.cc	(revision 1347)
@@ -26,5 +26,5 @@
 //
 // $Id: G4VTreeSceneHandler.cc,v 1.14 2006/06/29 21:25:11 gunter Exp $
-// GEANT4 tag $Name: geant4-09-04-beta-01 $
+// GEANT4 tag $Name: geant4-09-04-ref-00 $
 //
 // 
Index: trunk/source/visualization/Tree/src/G4VTreeViewer.cc
===================================================================
--- trunk/source/visualization/Tree/src/G4VTreeViewer.cc	(revision 1346)
+++ trunk/source/visualization/Tree/src/G4VTreeViewer.cc	(revision 1347)
@@ -26,5 +26,5 @@
 //
 // $Id: G4VTreeViewer.cc,v 1.7 2006/06/29 21:25:13 gunter Exp $
-// GEANT4 tag $Name: geant4-09-04-beta-01 $
+// GEANT4 tag $Name: geant4-09-04-ref-00 $
 
 #include "G4VTreeViewer.hh"
Index: trunk/source/visualization/VRML/CVS/Entries
===================================================================
--- trunk/source/visualization/VRML/CVS/Entries	(revision 1346)
+++ trunk/source/visualization/VRML/CVS/Entries	(revision 1347)
@@ -4,2 +4,3 @@
 /CMakeLists.txt/1.1/Wed Sep 29 19:13:11 2010//Tgeant4-09-04-ref-00
 /sources.cmake/1.2/Wed Dec 22 10:23:43 2010//Tgeant4-09-04-ref-00
+/History/1.21/Thu Nov 11 00:48:34 2010//Tgeant4-09-04-ref-00
Index: trunk/source/visualization/VRML/History
===================================================================
--- trunk/source/visualization/VRML/History	(revision 1346)
+++ trunk/source/visualization/VRML/History	(revision 1347)
@@ -1,3 +1,3 @@
-$Id: History,v 1.19 2010/05/30 10:14:39 allison Exp $
+$Id: History,v 1.21 2010/11/11 00:48:34 akimura Exp $
 -------------------------------------------------------------------
 
@@ -20,4 +20,8 @@
 History file for visualization/VRML sub-category
 ------------------------------------------------
+
+11 November 2010  Akinori Kimura (VRML-V09-03-01)
+- Replaced G4cerr with G4cout and added the following line before G4cout.
+  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
 
 30th May 2010  John Allison (VRML-V09-03-00)
Index: trunk/source/visualization/VRML/g4vrmlview/CVS/Entries
===================================================================
--- trunk/source/visualization/VRML/g4vrmlview/CVS/Entries	(revision 1346)
+++ trunk/source/visualization/VRML/g4vrmlview/CVS/Entries	(revision 1347)
@@ -1,1 +1,6 @@
+/Makefile/1.1/Thu Jan  7 16:15:08 1999//Tgeant4-09-04-ref-00
+/README/1.1/Thu Nov  4 07:24:37 1999//Tgeant4-09-04-ref-00
+/g4mini.java/1.4/Thu Jun 29 21:25:15 2006//Tgeant4-09-04-ref-00
+/g4vrmlview.java/1.4/Thu Jun 29 21:25:17 2006//Tgeant4-09-04-ref-00
+/sample.wrl/1.1/Thu Jan  7 16:15:09 1999//Tgeant4-09-04-ref-00
 D
Index: trunk/source/visualization/VRML/g4vrmlview/g4mini.java
===================================================================
--- trunk/source/visualization/VRML/g4vrmlview/g4mini.java	(revision 1346)
+++ trunk/source/visualization/VRML/g4vrmlview/g4mini.java	(revision 1347)
@@ -26,5 +26,5 @@
 //
 // $Id: g4mini.java,v 1.4 2006/06/29 21:25:15 gunter Exp $
-// GEANT4 tag $Name:  $
+// GEANT4 tag $Name: geant4-09-04-ref-00 $
 //
 import java.io.*;
Index: trunk/source/visualization/VRML/g4vrmlview/g4vrmlview.java
===================================================================
--- trunk/source/visualization/VRML/g4vrmlview/g4vrmlview.java	(revision 1346)
+++ trunk/source/visualization/VRML/g4vrmlview/g4vrmlview.java	(revision 1347)
@@ -26,5 +26,5 @@
 //
 // $Id: g4vrmlview.java,v 1.4 2006/06/29 21:25:17 gunter Exp $
-// GEANT4 tag $Name:  $
+// GEANT4 tag $Name: geant4-09-04-ref-00 $
 //
 import java.io.*;
Index: trunk/source/visualization/VRML/include/CVS/Entries
===================================================================
--- trunk/source/visualization/VRML/include/CVS/Entries	(revision 1346)
+++ trunk/source/visualization/VRML/include/CVS/Entries	(revision 1347)
@@ -1,1 +1,16 @@
+/FRClient.h/1.6/Thu Jun 29 21:25:19 2006//Tgeant4-09-04-ref-00
+/G4FRClient.hh/1.8/Thu Jun 29 21:25:21 2006//Tgeant4-09-04-ref-00
+/G4VRML1.hh/1.10/Thu Jun 29 21:25:23 2006//Tgeant4-09-04-ref-00
+/G4VRML1File.hh/1.10/Thu Jun 29 21:25:25 2006//Tgeant4-09-04-ref-00
+/G4VRML1FileSceneHandler.hh/1.19/Sun May 30 10:14:39 2010//Tgeant4-09-04-ref-00
+/G4VRML1FileViewer.hh/1.8/Thu Jun 29 21:25:29 2006//Tgeant4-09-04-ref-00
+/G4VRML1SceneHandler.hh/1.16/Sun May 30 10:08:32 2010//Tgeant4-09-04-ref-00
+/G4VRML1Viewer.hh/1.8/Thu Jun 29 21:25:33 2006//Tgeant4-09-04-ref-00
+/G4VRML2.hh/1.10/Thu Jun 29 21:25:35 2006//Tgeant4-09-04-ref-00
+/G4VRML2File.hh/1.11/Thu Jun 29 21:25:37 2006//Tgeant4-09-04-ref-00
+/G4VRML2FileSceneHandler.hh/1.18/Sun May 30 10:14:39 2010//Tgeant4-09-04-ref-00
+/G4VRML2FileViewer.hh/1.10/Thu Jun 29 21:25:41 2006//Tgeant4-09-04-ref-00
+/G4VRML2SceneHandler.hh/1.15/Sun May 30 10:08:32 2010//Tgeant4-09-04-ref-00
+/G4VRML2Viewer.hh/1.8/Thu Jun 29 21:25:45 2006//Tgeant4-09-04-ref-00
+/G4VRMLNetConfig.hh/1.7/Thu Jun 29 21:25:47 2006//Tgeant4-09-04-ref-00
 D
Index: trunk/source/visualization/VRML/include/FRClient.h
===================================================================
--- trunk/source/visualization/VRML/include/FRClient.h	(revision 1346)
+++ trunk/source/visualization/VRML/include/FRClient.h	(revision 1347)
@@ -26,5 +26,5 @@
 //
 // $Id: FRClient.h,v 1.6 2006/06/29 21:25:19 gunter Exp $
-// GEANT4 tag $Name:  $
+// GEANT4 tag $Name: geant4-09-04-ref-00 $
 //
 // FRClient.h
Index: trunk/source/visualization/VRML/include/G4FRClient.hh
===================================================================
--- trunk/source/visualization/VRML/include/G4FRClient.hh	(revision 1346)
+++ trunk/source/visualization/VRML/include/G4FRClient.hh	(revision 1347)
@@ -26,5 +26,5 @@
 //
 // $Id: G4FRClient.hh,v 1.8 2006/06/29 21:25:21 gunter Exp $
-// GEANT4 tag $Name: geant4-09-04-beta-01 $
+// GEANT4 tag $Name: geant4-09-04-ref-00 $
 //
 // G4FRClient.hh
Index: trunk/source/visualization/VRML/include/G4VRML1.hh
===================================================================
--- trunk/source/visualization/VRML/include/G4VRML1.hh	(revision 1346)
+++ trunk/source/visualization/VRML/include/G4VRML1.hh	(revision 1347)
@@ -26,5 +26,5 @@
 //
 // $Id: G4VRML1.hh,v 1.10 2006/06/29 21:25:23 gunter Exp $
-// GEANT4 tag $Name: geant4-09-04-beta-01 $
+// GEANT4 tag $Name: geant4-09-04-ref-00 $
 //
 // G4VRML1.hh
Index: trunk/source/visualization/VRML/include/G4VRML1File.hh
===================================================================
--- trunk/source/visualization/VRML/include/G4VRML1File.hh	(revision 1346)
+++ trunk/source/visualization/VRML/include/G4VRML1File.hh	(revision 1347)
@@ -26,5 +26,5 @@
 //
 // $Id: G4VRML1File.hh,v 1.10 2006/06/29 21:25:25 gunter Exp $
-// GEANT4 tag $Name: geant4-09-04-beta-01 $
+// GEANT4 tag $Name: geant4-09-04-ref-00 $
 //
 // G4VRML1File.hh
Index: trunk/source/visualization/VRML/include/G4VRML1FileSceneHandler.hh
===================================================================
--- trunk/source/visualization/VRML/include/G4VRML1FileSceneHandler.hh	(revision 1346)
+++ trunk/source/visualization/VRML/include/G4VRML1FileSceneHandler.hh	(revision 1347)
@@ -26,5 +26,5 @@
 //
 // $Id: G4VRML1FileSceneHandler.hh,v 1.19 2010/05/30 10:14:39 allison Exp $
-// GEANT4 tag $Name: geant4-09-04-beta-01 $
+// GEANT4 tag $Name: geant4-09-04-ref-00 $
 //
 // G4VRML1FileSceneHandler.hh
Index: trunk/source/visualization/VRML/include/G4VRML1FileViewer.hh
===================================================================
--- trunk/source/visualization/VRML/include/G4VRML1FileViewer.hh	(revision 1346)
+++ trunk/source/visualization/VRML/include/G4VRML1FileViewer.hh	(revision 1347)
@@ -26,5 +26,5 @@
 //
 // $Id: G4VRML1FileViewer.hh,v 1.8 2006/06/29 21:25:29 gunter Exp $
-// GEANT4 tag $Name: geant4-09-04-beta-01 $
+// GEANT4 tag $Name: geant4-09-04-ref-00 $
 //
 // G4VRML1FileViewer.hh
Index: trunk/source/visualization/VRML/include/G4VRML1SceneHandler.hh
===================================================================
--- trunk/source/visualization/VRML/include/G4VRML1SceneHandler.hh	(revision 1346)
+++ trunk/source/visualization/VRML/include/G4VRML1SceneHandler.hh	(revision 1347)
@@ -26,5 +26,5 @@
 //
 // $Id: G4VRML1SceneHandler.hh,v 1.16 2010/05/30 10:08:32 allison Exp $
-// GEANT4 tag $Name: geant4-09-04-beta-01 $
+// GEANT4 tag $Name: geant4-09-04-ref-00 $
 //
 // G4VRML1SceneHandler.hh
Index: trunk/source/visualization/VRML/include/G4VRML1Viewer.hh
===================================================================
--- trunk/source/visualization/VRML/include/G4VRML1Viewer.hh	(revision 1346)
+++ trunk/source/visualization/VRML/include/G4VRML1Viewer.hh	(revision 1347)
@@ -26,5 +26,5 @@
 //
 // $Id: G4VRML1Viewer.hh,v 1.8 2006/06/29 21:25:33 gunter Exp $
-// GEANT4 tag $Name: geant4-09-04-beta-01 $
+// GEANT4 tag $Name: geant4-09-04-ref-00 $
 //
 // G4VRML1Viewer.hh
Index: trunk/source/visualization/VRML/include/G4VRML2.hh
===================================================================
--- trunk/source/visualization/VRML/include/G4VRML2.hh	(revision 1346)
+++ trunk/source/visualization/VRML/include/G4VRML2.hh	(revision 1347)
@@ -26,5 +26,5 @@
 //
 // $Id: G4VRML2.hh,v 1.10 2006/06/29 21:25:35 gunter Exp $
-// GEANT4 tag $Name: geant4-09-04-beta-01 $
+// GEANT4 tag $Name: geant4-09-04-ref-00 $
 //
 // G4VRML2.hh
Index: trunk/source/visualization/VRML/include/G4VRML2File.hh
===================================================================
--- trunk/source/visualization/VRML/include/G4VRML2File.hh	(revision 1346)
+++ trunk/source/visualization/VRML/include/G4VRML2File.hh	(revision 1347)
@@ -26,5 +26,5 @@
 //
 // $Id: G4VRML2File.hh,v 1.11 2006/06/29 21:25:37 gunter Exp $
-// GEANT4 tag $Name: geant4-09-04-beta-01 $
+// GEANT4 tag $Name: geant4-09-04-ref-00 $
 //
 // G4VRML2File.hh
Index: trunk/source/visualization/VRML/include/G4VRML2FileSceneHandler.hh
===================================================================
--- trunk/source/visualization/VRML/include/G4VRML2FileSceneHandler.hh	(revision 1346)
+++ trunk/source/visualization/VRML/include/G4VRML2FileSceneHandler.hh	(revision 1347)
@@ -26,5 +26,5 @@
 //
 // $Id: G4VRML2FileSceneHandler.hh,v 1.18 2010/05/30 10:14:39 allison Exp $
-// GEANT4 tag $Name: geant4-09-04-beta-01 $
+// GEANT4 tag $Name: geant4-09-04-ref-00 $
 //
 // G4VRML2FileSceneHandler.hh
Index: trunk/source/visualization/VRML/include/G4VRML2FileViewer.hh
===================================================================
--- trunk/source/visualization/VRML/include/G4VRML2FileViewer.hh	(revision 1346)
+++ trunk/source/visualization/VRML/include/G4VRML2FileViewer.hh	(revision 1347)
@@ -26,5 +26,5 @@
 //
 // $Id: G4VRML2FileViewer.hh,v 1.10 2006/06/29 21:25:41 gunter Exp $
-// GEANT4 tag $Name: geant4-09-04-beta-01 $
+// GEANT4 tag $Name: geant4-09-04-ref-00 $
 //
 // G4VRML2FileViewer.hh
Index: trunk/source/visualization/VRML/include/G4VRML2SceneHandler.hh
===================================================================
--- trunk/source/visualization/VRML/include/G4VRML2SceneHandler.hh	(revision 1346)
+++ trunk/source/visualization/VRML/include/G4VRML2SceneHandler.hh	(revision 1347)
@@ -26,5 +26,5 @@
 //
 // $Id: G4VRML2SceneHandler.hh,v 1.15 2010/05/30 10:08:32 allison Exp $
-// GEANT4 tag $Name: geant4-09-04-beta-01 $
+// GEANT4 tag $Name: geant4-09-04-ref-00 $
 //
 // G4VRML2SceneHandler.hh
Index: trunk/source/visualization/VRML/include/G4VRML2Viewer.hh
===================================================================
--- trunk/source/visualization/VRML/include/G4VRML2Viewer.hh	(revision 1346)
+++ trunk/source/visualization/VRML/include/G4VRML2Viewer.hh	(revision 1347)
@@ -26,5 +26,5 @@
 //
 // $Id: G4VRML2Viewer.hh,v 1.8 2006/06/29 21:25:45 gunter Exp $
-// GEANT4 tag $Name: geant4-09-04-beta-01 $
+// GEANT4 tag $Name: geant4-09-04-ref-00 $
 //
 // G4VRML2Viewer.hh
Index: trunk/source/visualization/VRML/include/G4VRMLNetConfig.hh
===================================================================
--- trunk/source/visualization/VRML/include/G4VRMLNetConfig.hh	(revision 1346)
+++ trunk/source/visualization/VRML/include/G4VRMLNetConfig.hh	(revision 1347)
@@ -26,5 +26,5 @@
 //
 // $Id: G4VRMLNetConfig.hh,v 1.7 2006/06/29 21:25:47 gunter Exp $
-// GEANT4 tag $Name: geant4-09-04-beta-01 $
+// GEANT4 tag $Name: geant4-09-04-ref-00 $
 //
 // G4VRMLNetConfig.hh
Index: trunk/source/visualization/VRML/src/CVS/Entries
===================================================================
--- trunk/source/visualization/VRML/src/CVS/Entries	(revision 1346)
+++ trunk/source/visualization/VRML/src/CVS/Entries	(revision 1347)
@@ -1,1 +1,17 @@
+/FRClient.cc/1.8/Thu Nov 11 00:14:50 2010//Tgeant4-09-04-ref-00
+/G4FRClient.cc/1.8/Thu Jun 29 21:25:51 2006//Tgeant4-09-04-ref-00
+/G4VRML1.cc/1.10/Thu Jun 29 21:25:53 2006//Tgeant4-09-04-ref-00
+/G4VRML1File.cc/1.10/Thu Jun 29 21:25:55 2006//Tgeant4-09-04-ref-00
+/G4VRML1FileSceneHandler.cc/1.13/Thu Nov 11 00:14:50 2010//Tgeant4-09-04-ref-00
+/G4VRML1FileViewer.cc/1.12/Thu Nov 11 00:14:50 2010//Tgeant4-09-04-ref-00
+/G4VRML1SceneHandler.cc/1.11/Thu Nov 11 00:14:50 2010//Tgeant4-09-04-ref-00
+/G4VRML1SceneHandlerFunc.icc/1.17/Thu Nov 11 00:14:50 2010//Tgeant4-09-04-ref-00
+/G4VRML1Viewer.cc/1.9/Thu Nov 11 00:14:50 2010//Tgeant4-09-04-ref-00
+/G4VRML2.cc/1.10/Thu Jun 29 21:26:07 2006//Tgeant4-09-04-ref-00
+/G4VRML2File.cc/1.10/Thu Jun 29 21:26:09 2006//Tgeant4-09-04-ref-00
+/G4VRML2FileSceneHandler.cc/1.15/Thu Nov 11 00:14:50 2010//Tgeant4-09-04-ref-00
+/G4VRML2FileViewer.cc/1.14/Thu Nov 11 00:14:50 2010//Tgeant4-09-04-ref-00
+/G4VRML2SceneHandler.cc/1.13/Thu Nov 11 00:14:50 2010//Tgeant4-09-04-ref-00
+/G4VRML2SceneHandlerFunc.icc/1.21/Thu Nov 11 00:14:50 2010//Tgeant4-09-04-ref-00
+/G4VRML2Viewer.cc/1.13/Thu Nov 11 00:14:50 2010//Tgeant4-09-04-ref-00
 D
Index: trunk/source/visualization/VRML/src/FRClient.cc
===================================================================
--- trunk/source/visualization/VRML/src/FRClient.cc	(revision 1346)
+++ trunk/source/visualization/VRML/src/FRClient.cc	(revision 1347)
@@ -25,6 +25,6 @@
 //
 //
-// $Id: FRClient.cc,v 1.7 2006/06/29 21:25:49 gunter Exp $
-// GEANT4 tag $Name: geant4-09-04-beta-01 $
+// $Id: FRClient.cc,v 1.8 2010/11/11 00:14:50 akimura Exp $
+// GEANT4 tag $Name: geant4-09-04-ref-00 $
 //
 // FRClient.cc
@@ -56,4 +56,5 @@
 #include <stdio.h>
 
+#include "G4VisManager.hh"
 #include "FRClient.h"
 
@@ -99,6 +100,7 @@
 	hp = gethostbyname(hostname) ;
 	if ( !hp ) {
-		G4cerr << "ERROR: gethostbyname() failed" << G4endl;
-		return -1; 
+	  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
+		G4cout << "ERROR: gethostbyname() failed" << G4endl;
+	  return -1; 
 	}
 
Index: trunk/source/visualization/VRML/src/G4FRClient.cc
===================================================================
--- trunk/source/visualization/VRML/src/G4FRClient.cc	(revision 1346)
+++ trunk/source/visualization/VRML/src/G4FRClient.cc	(revision 1347)
@@ -26,5 +26,5 @@
 //
 // $Id: G4FRClient.cc,v 1.8 2006/06/29 21:25:51 gunter Exp $
-// GEANT4 tag $Name: geant4-09-04-beta-01 $
+// GEANT4 tag $Name: geant4-09-04-ref-00 $
 //
 // G4FRClient.cc
Index: trunk/source/visualization/VRML/src/G4VRML1.cc
===================================================================
--- trunk/source/visualization/VRML/src/G4VRML1.cc	(revision 1346)
+++ trunk/source/visualization/VRML/src/G4VRML1.cc	(revision 1347)
@@ -26,5 +26,5 @@
 //
 // $Id: G4VRML1.cc,v 1.10 2006/06/29 21:25:53 gunter Exp $
-// GEANT4 tag $Name: geant4-09-04-beta-01 $
+// GEANT4 tag $Name: geant4-09-04-ref-00 $
 //
 // G4VRML1.cc
Index: trunk/source/visualization/VRML/src/G4VRML1File.cc
===================================================================
--- trunk/source/visualization/VRML/src/G4VRML1File.cc	(revision 1346)
+++ trunk/source/visualization/VRML/src/G4VRML1File.cc	(revision 1347)
@@ -26,5 +26,5 @@
 //
 // $Id: G4VRML1File.cc,v 1.10 2006/06/29 21:25:55 gunter Exp $
-// GEANT4 tag $Name: geant4-09-04-beta-01 $
+// GEANT4 tag $Name: geant4-09-04-ref-00 $
 //
 // G4VRML1File.cc
Index: trunk/source/visualization/VRML/src/G4VRML1FileSceneHandler.cc
===================================================================
--- trunk/source/visualization/VRML/src/G4VRML1FileSceneHandler.cc	(revision 1346)
+++ trunk/source/visualization/VRML/src/G4VRML1FileSceneHandler.cc	(revision 1347)
@@ -25,6 +25,6 @@
 //
 //
-// $Id: G4VRML1FileSceneHandler.cc,v 1.12 2006/06/29 21:25:57 gunter Exp $
-// GEANT4 tag $Name: geant4-09-04-beta-01 $
+// $Id: G4VRML1FileSceneHandler.cc,v 1.13 2010/11/11 00:14:50 akimura Exp $
+// GEANT4 tag $Name: geant4-09-04-ref-00 $
 //
 // G4VRML1FileSceneHandler.cc
@@ -40,4 +40,5 @@
 
 #include "globals.hh"
+#include "G4VisManager.hh"
 #include "G4Scene.hh"
 #include "G4VPhysicalVolume.hh"
@@ -104,5 +105,6 @@
 {
 #if defined DEBUG_FR_SCENE
-	G4cerr << "***** ~G4VRML1FileSceneHandler" << G4endl;
+  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
+	G4cout << "***** ~G4VRML1FileSceneHandler" << G4endl;
 #endif 
 	VRMLEndModeling();
@@ -134,11 +136,13 @@
 		if( i == MAX_FILE_INDEX ) 
 		{
-		  G4cerr << "==========================================="   << G4endl; 
-		  G4cerr << "WARNING MESSAGE from VRML1FILE driver:     "   << G4endl;
-		  G4cerr << "  This file name is the final one in the   "   << G4endl;
-		  G4cerr << "  automatic updation of the output file name." << G4endl; 
-		  G4cerr << "  You may overwrite existing files, i.e.   "   << G4endl; 
-                  G4cerr << "  g4_XX.wrl.                               "   << G4endl;
-		  G4cerr << "==========================================="   << G4endl; 
+		  if (G4VisManager::GetVerbosity() >= G4VisManager::errors) {
+		    G4cout << "==========================================="   << G4endl; 
+		    G4cout << "WARNING MESSAGE from VRML1FILE driver:     "   << G4endl;
+		    G4cout << "  This file name is the final one in the   "   << G4endl;
+		    G4cout << "  automatic updation of the output file name." << G4endl; 
+		    G4cout << "  You may overwrite existing files, i.e.   "   << G4endl; 
+		    G4cout << "  g4_XX.wrl.                               "   << G4endl;
+		    G4cout << "==========================================="   << G4endl; 
+		  }
 		}
 
@@ -166,10 +170,11 @@
 
 	// open a VRML 1.0 file with determined file name
-	G4cerr << "==========================================="  << G4endl; 
-	G4cerr << "Output VRML 1.0 file: " << fVRMLFileName << G4endl; 
-	G4cerr << "Maximum number of files in the destination directory: " << fMaxFileNum << G4endl; 
-	G4cerr << "  (Customizable with the environment variable: G4VRMLFILE_MAX_FILE_NUM) " << G4endl;
-	G4cerr << "===========================================" << G4endl; 
-
+	if (G4VisManager::GetVerbosity() >= G4VisManager::errors) {
+	  G4cout << "==========================================="  << G4endl; 
+	  G4cout << "Output VRML 1.0 file: " << fVRMLFileName << G4endl; 
+	  G4cout << "Maximum number of files in the destination directory: " << fMaxFileNum << G4endl; 
+	  G4cout << "  (Customizable with the environment variable: G4VRMLFILE_MAX_FILE_NUM) " << G4endl;
+	  G4cout << "===========================================" << G4endl; 
+	}
 	fDest.open(fVRMLFileName) ;  fFlagDestOpen =  true ;
 }
@@ -187,5 +192,6 @@
 	// close VRML file	
 	fDest.close();  fFlagDestOpen = false ;
-	G4cerr << "*** VRML 1.0 File  " << fVRMLFileName << "  is generated." << G4endl;
+	if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
+	  G4cout << "*** VRML 1.0 File  " << fVRMLFileName << "  is generated." << G4endl;
 
 	
@@ -193,10 +199,12 @@
 
 	if ( !strcmp(viewer, NO_VRML_VIEWER )) {
-		G4cerr << "MESSAGE from VRML1FILE driver:"     << G4endl;
-		G4cerr << "    Set an environmental variable  " ;
-		G4cerr <<      ENV_VRML_VIEWER << G4endl;
-		G4cerr << "    if you want to visualize the generated VRML file" << G4endl; 
-		G4cerr << "    automatically.  For example, " << G4endl;
-		G4cerr << "    setenv  " << ENV_VRML_VIEWER << "  vrweb " << G4endl;
+	  if (G4VisManager::GetVerbosity() >= G4VisManager::errors) {
+		G4cout << "MESSAGE from VRML1FILE driver:"     << G4endl;
+		G4cout << "    Set an environmental variable  " ;
+		G4cout <<      ENV_VRML_VIEWER << G4endl;
+		G4cout << "    if you want to visualize the generated VRML file" << G4endl; 
+		G4cout << "    automatically.  For example, " << G4endl;
+		G4cout << "    setenv  " << ENV_VRML_VIEWER << "  vrweb " << G4endl;
+	  }
 	} else {
 		sprintf( command, "%s %s", viewer, fVRMLFileName  );   
Index: trunk/source/visualization/VRML/src/G4VRML1FileViewer.cc
===================================================================
--- trunk/source/visualization/VRML/src/G4VRML1FileViewer.cc	(revision 1346)
+++ trunk/source/visualization/VRML/src/G4VRML1FileViewer.cc	(revision 1347)
@@ -25,6 +25,6 @@
 //
 //
-// $Id: G4VRML1FileViewer.cc,v 1.11 2006/06/29 21:25:59 gunter Exp $
-// GEANT4 tag $Name: geant4-09-04-beta-01 $
+// $Id: G4VRML1FileViewer.cc,v 1.12 2010/11/11 00:14:50 akimura Exp $
+// GEANT4 tag $Name: geant4-09-04-ref-00 $
 //
 // G4VRMLView.cc
@@ -34,4 +34,5 @@
 //#define DEBUG_FR_VIEW
 
+#include "G4VisManager.hh"
 #include "G4Scene.hh"
 #include "G4VRML1FileViewer.hh"
@@ -54,5 +55,6 @@
 {
 #if defined DEBUG_FR_VIEW
-  G4cerr << "***** G4VRML1FileViewer::SetView(): No effects" << G4endl;
+  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
+        G4cout << "***** G4VRML1FileViewer::SetView(): No effects" << G4endl;
 #endif
 }
@@ -61,5 +63,6 @@
 {
 #if defined DEBUG_FR_VIEW
-	G4cerr << "***** G4VRML1FileViewer::DrawView()" << G4endl;
+  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
+	G4cout << "***** G4VRML1FileViewer::DrawView()" << G4endl;
 #endif
 
@@ -75,5 +78,6 @@
 {
   //#if defined DEBUG_FR_VIEW
-  G4cerr << "***** G4VRML1File1View::ClearView()" << G4endl;
+  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
+        G4cout << "***** G4VRML1File1View::ClearView()" << G4endl;
   //#endif
   if(fSceneHandler.fFlagDestOpen) {
@@ -89,5 +93,6 @@
 {
 #if defined DEBUG_FR_VIEW
-  G4cerr << "***** G4VRML1FileViewer::ShowView()" << G4endl;
+  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
+        G4cout << "***** G4VRML1FileViewer::ShowView()" << G4endl;
 #endif
 	fSceneHandler.VRMLEndModeling();
@@ -97,5 +102,6 @@
 {
 #if defined DEBUG_FR_VIEW
-  G4cerr << "***** G4VRML1FileViewer::FinishView(): No effects" << G4endl;
+  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
+        G4cout << "***** G4VRML1FileViewer::FinishView(): No effects" << G4endl;
 #endif
 }
Index: trunk/source/visualization/VRML/src/G4VRML1SceneHandler.cc
===================================================================
--- trunk/source/visualization/VRML/src/G4VRML1SceneHandler.cc	(revision 1346)
+++ trunk/source/visualization/VRML/src/G4VRML1SceneHandler.cc	(revision 1347)
@@ -25,6 +25,6 @@
 //
 //
-// $Id: G4VRML1SceneHandler.cc,v 1.10 2006/06/29 21:26:01 gunter Exp $
-// GEANT4 tag $Name: geant4-09-04-beta-01 $
+// $Id: G4VRML1SceneHandler.cc,v 1.11 2010/11/11 00:14:50 akimura Exp $
+// GEANT4 tag $Name: geant4-09-04-ref-00 $
 //
 // G4VRML1SceneHandler.cc
@@ -44,4 +44,5 @@
 
 #include "globals.hh"
+#include "G4VisManager.hh"
 #include "G4VPhysicalVolume.hh"
 #include "G4LogicalVolume.hh"
@@ -81,5 +82,6 @@
 {
 #if defined DEBUG_FR_SCENE
-	G4cerr << "***** ~G4VRML1SceneHandler" << G4endl;
+  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
+	G4cout << "***** ~G4VRML1SceneHandler" << G4endl;
 #endif 
 }
@@ -101,12 +103,16 @@
 		if (fDest.connect( (const char * )fSystem.getHostName(), port)) {
 		    // INET domain connection is established
-			G4cerr << "*** GEANT4 is connected to port  ";
-			G4cerr << fDest.getPort(); 
-			G4cerr << " of server  " << fSystem.getHostName() << G4endl;
+		  if (G4VisManager::GetVerbosity() >= G4VisManager::errors) {
+			G4cout << "*** GEANT4 is connected to port  ";
+			G4cout << fDest.getPort(); 
+			G4cout << " of server  " << fSystem.getHostName() << G4endl;
+		  }
 			break; 
 		} else { 
 			// Connection failed. Try the next port.
-			G4cerr << "*** GEANT4 incremented targeting port to ";
-			G4cerr << port << G4endl;
+		  if (G4VisManager::GetVerbosity() >= G4VisManager::errors) {
+			G4cout << "*** GEANT4 incremented targeting port to ";
+			G4cout << port << G4endl;
+		  }
 		}
 
@@ -116,8 +122,10 @@
 
 	if (!fDest.isConnected()) {
-		G4cerr << "*** INET Connection failed. " << G4endl;
-		G4cerr << "    Maybe, you have not invoked viewer  g4vrmlview  yet, " << G4endl;
-		G4cerr << "    or too many viewers are already running in the " << G4endl;
-		G4cerr << "    server host(" << fSystem.getHostName() << "). " << G4endl;
+	  if (G4VisManager::GetVerbosity() >= G4VisManager::errors) {
+		G4cout << "*** INET Connection failed. " << G4endl;
+		G4cout << "    Maybe, you have not invoked viewer  g4vrmlview  yet, " << G4endl;
+		G4cout << "    or too many viewers are already running in the " << G4endl;
+		G4cout << "    server host(" << fSystem.getHostName() << "). " << G4endl;
+	  }
 	}
 }
@@ -126,5 +134,6 @@
 {
 	fDest.close();
-	G4cerr << "*** INET Connection closed. " << G4endl;
+	if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
+	      G4cout << "*** INET Connection closed. " << G4endl;
 }
 
Index: trunk/source/visualization/VRML/src/G4VRML1SceneHandlerFunc.icc
===================================================================
--- trunk/source/visualization/VRML/src/G4VRML1SceneHandlerFunc.icc	(revision 1346)
+++ trunk/source/visualization/VRML/src/G4VRML1SceneHandlerFunc.icc	(revision 1347)
@@ -25,9 +25,11 @@
 //
 //
-// $Id: G4VRML1SceneHandlerFunc.icc,v 1.16 2006/06/29 21:26:03 gunter Exp $
-// GEANT4 tag $Name: geant4-09-04-beta-01 $
+// $Id: G4VRML1SceneHandlerFunc.icc,v 1.17 2010/11/11 00:14:50 akimura Exp $
+// GEANT4 tag $Name: geant4-09-04-ref-00 $
 //
 // G4VRML1SceneHandlerFunc.icc
 // Satoshi Tanaka & Yasuhide Sawada
+
+#include "G4VisManager.hh"
 
 //#define DEBUG_SCENE_FUNC
@@ -44,5 +46,6 @@
 {
 #if defined DEBUG_SCENE_FUNC
-	G4cerr << "***** AddSolid trd" << "\n" ;
+  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
+	G4cout << "***** AddSolid trd" << "\n" ;
 #endif
 	VRMLBeginModeling () ;
@@ -53,5 +56,6 @@
 {
 #if defined DEBUG_SCENE_FUNC
-	G4cerr << "***** AddSolid trap" << "\n" ;
+  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
+	G4cout << "***** AddSolid trap" << "\n" ;
 #endif
 	VRMLBeginModeling () ;
@@ -62,5 +66,6 @@
 {
 #if defined DEBUG_SCENE_FUNC
-	G4cerr << "***** AddSolid para" << "\n" ;
+  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
+	G4cout << "***** AddSolid para" << "\n" ;
 #endif
 	VRMLBeginModeling () ;
@@ -71,5 +76,6 @@
 {
 #if defined DEBUG_SCENE_FUNC
-	G4cerr << "***** AddSolid torus" << "\n" ;
+  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
+	G4cout << "***** AddSolid torus" << "\n" ;
 #endif
 	VRMLBeginModeling () ;
@@ -81,5 +87,6 @@
 {
 #if defined DEBUG_SCENE_FUNC
-	G4cerr << "***** AddSolid vsolid" << "\n" ;
+  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
+	G4cout << "***** AddSolid vsolid" << "\n" ;
 #endif
 	VRMLBeginModeling () ;
@@ -90,5 +97,6 @@
 {
 #if defined DEBUG_SCENE_FUNC
-	G4cerr << "***** AddSolid tubs" << "\n" ;
+  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
+	G4cout << "***** AddSolid tubs" << "\n" ;
 #endif
 	VRMLBeginModeling () ;
@@ -127,5 +135,6 @@
 {
 #if defined DEBUG_SCENE_FUNC
-    G4cerr << "***** AddSolid cons" << "\n" ;
+  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
+        G4cout << "***** AddSolid cons" << "\n" ;
 #endif
 	VRMLBeginModeling () ;
@@ -166,5 +175,6 @@
 {
 #if defined DEBUG_SCENE_FUNC
-	G4cerr << "***** AddSolid box" << "\n" ;
+  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
+	G4cout << "***** AddSolid box" << "\n" ;
 #endif
 	VRMLBeginModeling () ;
@@ -194,5 +204,6 @@
 {
 #if defined DEBUG_SCENE_FUNC
-	G4cerr << "***** AddSolid sphere" << "\n" ;
+  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
+	G4cout << "***** AddSolid sphere" << "\n" ;
 #endif
 	VRMLBeginModeling () ;
@@ -230,5 +241,6 @@
 {
 #if defined DEBUG_SCENE_FUNC
-	G4cerr << "***** AddPrimitive polyline" << "\n" ;
+  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
+	G4cout << "***** AddPrimitive polyline" << "\n" ;
 #endif 
 	VRMLBeginModeling () ;	
@@ -269,5 +281,6 @@
 {
 #if defined DEBUG_SCENE_FUNC
-	G4cerr << "***** AddPrimitive(G4Polyhedron)" << "\n";
+  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
+	G4cout << "***** AddPrimitive(G4Polyhedron)" << "\n";
 #endif
 
@@ -338,7 +351,9 @@
 {
 #if defined DEBUG_SCENE_FUNC
-	G4cerr << "***** AddPrimitive nurbs" << "\n" ;
+  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
+	G4cout << "***** AddPrimitive nurbs" << "\n" ;
 #endif 
-	G4cerr << "G4VRML1File::AddPrimitive(G4NURBS&): not implemented. " << "\n" ;
+  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
+	G4cout << "G4VRML1File::AddPrimitive(G4NURBS&): not implemented. " << "\n" ;
 	VRMLBeginModeling () ;
 
@@ -348,7 +363,9 @@
 {
 #if defined DEBUG_SCENE_FUNC
-	G4cerr << "***** AddPrimitive text" << "\n" ;
-#endif
-	G4cerr <<
+  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
+	G4cout << "***** AddPrimitive text" << "\n" ;
+#endif
+  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
+	G4cout <<
           "***** void G4VRML1SCENEHANDLER::AddPrimitive( const G4Text& text )"
           " not implemented yet."
@@ -361,5 +378,6 @@
 {
 #if defined DEBUG_SCENE_FUNC
-	G4cerr << "***** AddPrimitive circle" << "\n" ;
+  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
+	G4cout << "***** AddPrimitive circle" << "\n" ;
 #endif
 
@@ -391,5 +409,6 @@
 {
 #if defined DEBUG_SCENE_FUNC
-	G4cerr << "***** AddPrimitive square" << "\n" ;
+  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
+	G4cout << "***** AddPrimitive square" << "\n" ;
 #endif
 
@@ -423,5 +442,6 @@
 {
 #if defined DEBUG_SCENE_FUNC
-	G4cerr << "***** BeginModeling " << "\n" ;
+  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
+	G4cout << "***** BeginModeling " << "\n" ;
 #endif
 	G4VSceneHandler::BeginModeling();
@@ -431,5 +451,6 @@
 {
 #if defined DEBUG_SCENE_FUNC
-	G4cerr << "***** EndModeling " << "\n" ;
+  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
+	G4cout << "***** EndModeling " << "\n" ;
 #endif
 	G4VSceneHandler::EndModeling();
@@ -441,5 +462,6 @@
   fpObjectTransformation = &objectTransformation;
 #if defined DEBUG_SCENE_FUNC
-	G4cerr << "***** BeginPrimitives " << "\n" ;
+  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
+	G4cout << "***** BeginPrimitives " << "\n" ;
 #endif
 	VRMLBeginModeling();
@@ -449,5 +471,6 @@
 {
 #if defined DEBUG_SCENE_FUNC
-	G4cerr << "***** EndPrimitives " << "\n" ;
+  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
+	G4cout << "***** EndPrimitives " << "\n" ;
 #endif
   G4VSceneHandler::EndPrimitives();
@@ -555,5 +578,6 @@
 	if (!IS_CONNECTED ) {
 #if defined DEBUG_SCENE_FUNC
-	G4cerr << "***** VRMLBeginModeling() (started)" << "\n" ;
+  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
+	G4cout << "***** VRMLBeginModeling() (started)" << "\n" ;
 #endif
 		this->connectPort();
@@ -567,5 +591,6 @@
 	if ( IS_CONNECTED ) {
 #if defined DEBUG_SCENE_FUNC
-	G4cerr << "***** VRMLEndModeling() (started)" << "\n" ;
+  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
+	G4cout << "***** VRMLEndModeling() (started)" << "\n" ;
 #endif
 
Index: trunk/source/visualization/VRML/src/G4VRML1Viewer.cc
===================================================================
--- trunk/source/visualization/VRML/src/G4VRML1Viewer.cc	(revision 1346)
+++ trunk/source/visualization/VRML/src/G4VRML1Viewer.cc	(revision 1347)
@@ -25,6 +25,6 @@
 //
 //
-// $Id: G4VRML1Viewer.cc,v 1.8 2006/06/29 21:26:05 gunter Exp $
-// GEANT4 tag $Name: geant4-09-04-beta-01 $
+// $Id: G4VRML1Viewer.cc,v 1.9 2010/11/11 00:14:50 akimura Exp $
+// GEANT4 tag $Name: geant4-09-04-ref-00 $
 //
 // G4VRMLView.cc
@@ -39,4 +39,6 @@
 
 //#define DEBUG_FR_VIEW
+
+#include "G4VisManager.hh"
 
 #include "G4Scene.hh"
@@ -56,5 +58,6 @@
 {
 #if defined DEBUG_FR_VIEW
-  G4cerr << "***** G4VRML1Viewer::SetView(): No effects" << G4endl;
+  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
+        G4cout << "***** G4VRML1Viewer::SetView(): No effects" << G4endl;
 #endif
 }
@@ -63,5 +66,6 @@
 {
 #if defined DEBUG_FR_VIEW
-	G4cerr << "***** G4VRML1Viewer::DrawView()" << G4endl;
+  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
+	G4cout << "***** G4VRML1Viewer::DrawView()" << G4endl;
 #endif
 
@@ -77,5 +81,6 @@
 {
 #if defined DEBUG_FR_VIEW
-  G4cerr << "***** G4VRML1Viewer::ClearView(): No effects" << G4endl;
+  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
+        G4cout << "***** G4VRML1Viewer::ClearView(): No effects" << G4endl;
 #endif
 }
@@ -84,5 +89,6 @@
 {
 #if defined DEBUG_FR_VIEW
-  G4cerr << "***** G4VRML1Viewer::ShowView()" << G4endl;
+  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
+        G4cout << "***** G4VRML1Viewer::ShowView()" << G4endl;
 #endif
 	fSceneHandler.VRMLEndModeling();
@@ -92,5 +98,6 @@
 {
 #if defined DEBUG_FR_VIEW
-  G4cerr << "***** G4VRML1Viewer::FinishView(): No effects" << G4endl;
+  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
+        G4cout << "***** G4VRML1Viewer::FinishView(): No effects" << G4endl;
 #endif
 }
Index: trunk/source/visualization/VRML/src/G4VRML2.cc
===================================================================
--- trunk/source/visualization/VRML/src/G4VRML2.cc	(revision 1346)
+++ trunk/source/visualization/VRML/src/G4VRML2.cc	(revision 1347)
@@ -26,5 +26,5 @@
 //
 // $Id: G4VRML2.cc,v 1.10 2006/06/29 21:26:07 gunter Exp $
-// GEANT4 tag $Name: geant4-09-04-beta-01 $
+// GEANT4 tag $Name: geant4-09-04-ref-00 $
 //
 // G4VRML2.cc
Index: trunk/source/visualization/VRML/src/G4VRML2File.cc
===================================================================
--- trunk/source/visualization/VRML/src/G4VRML2File.cc	(revision 1346)
+++ trunk/source/visualization/VRML/src/G4VRML2File.cc	(revision 1347)
@@ -26,5 +26,5 @@
 //
 // $Id: G4VRML2File.cc,v 1.10 2006/06/29 21:26:09 gunter Exp $
-// GEANT4 tag $Name: geant4-09-04-beta-01 $
+// GEANT4 tag $Name: geant4-09-04-ref-00 $
 //
 // G4VRML2File.cc
Index: trunk/source/visualization/VRML/src/G4VRML2FileSceneHandler.cc
===================================================================
--- trunk/source/visualization/VRML/src/G4VRML2FileSceneHandler.cc	(revision 1346)
+++ trunk/source/visualization/VRML/src/G4VRML2FileSceneHandler.cc	(revision 1347)
@@ -25,6 +25,6 @@
 //
 //
-// $Id: G4VRML2FileSceneHandler.cc,v 1.14 2006/06/29 21:26:11 gunter Exp $
-// GEANT4 tag $Name: geant4-09-04-beta-01 $
+// $Id: G4VRML2FileSceneHandler.cc,v 1.15 2010/11/11 00:14:50 akimura Exp $
+// GEANT4 tag $Name: geant4-09-04-ref-00 $
 //
 // G4VRML2FileSceneHandler.cc
@@ -43,4 +43,5 @@
 #include "G4VPhysicalVolume.hh"
 #include "G4LogicalVolume.hh"
+#include "G4VisManager.hh"
 #include "G4Point3D.hh"
 #include "G4VisAttributes.hh"
@@ -119,5 +120,6 @@
 {
 #if defined DEBUG_FR_SCENE
-	G4cerr << "***** ~G4VRML2FileSceneHandler" << G4endl;
+  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
+	G4cout << "***** ~G4VRML2FileSceneHandler" << G4endl;
 #endif 
 	VRMLEndModeling();
@@ -149,11 +151,13 @@
 		if( i == MAX_FILE_INDEX ) 
 		{
-		  G4cerr << "==========================================="   << G4endl; 
-		  G4cerr << "WARNING MESSAGE from VRML2FILE driver:     "   << G4endl;
-		  G4cerr << "  This file name is the final one in the   "   << G4endl;
-		  G4cerr << "  automatic updation of the output file name." << G4endl; 
-		  G4cerr << "  You may overwrite existing files, i.e.   "   << G4endl; 
-                  G4cerr << "  g4_XX.wrl.                               "   << G4endl;
-		  G4cerr << "==========================================="   << G4endl; 
+		  if (G4VisManager::GetVerbosity() >= G4VisManager::errors) {
+		    G4cout << "==========================================="   << G4endl; 
+		    G4cout << "WARNING MESSAGE from VRML2FILE driver:     "   << G4endl;
+		    G4cout << "  This file name is the final one in the   "   << G4endl;
+		    G4cout << "  automatic updation of the output file name." << G4endl; 
+		    G4cout << "  You may overwrite existing files, i.e.   "   << G4endl; 
+		    G4cout << "  g4_XX.wrl.                               "   << G4endl;
+		    G4cout << "==========================================="   << G4endl; 
+		  }
 		}
 
@@ -180,10 +184,11 @@
 
 	// open a VRML 2.0 file with determined file name
-	G4cerr << "==========================================="  << G4endl; 
-	G4cerr << "Output VRML 2.0 file: " <<    fVRMLFileName << G4endl; 
-	G4cerr << "Maximum number of files in the destination directory: " << fMaxFileNum << G4endl; 
-	G4cerr << "  (Customizable with the environment variable: G4VRMLFILE_MAX_FILE_NUM) " << G4endl;
-	G4cerr << "===========================================" << G4endl; 
-
+	if (G4VisManager::GetVerbosity() >= G4VisManager::errors) {
+	  G4cout << "==========================================="  << G4endl; 
+	  G4cout << "Output VRML 2.0 file: " <<    fVRMLFileName << G4endl; 
+	  G4cout << "Maximum number of files in the destination directory: " << fMaxFileNum << G4endl; 
+	  G4cout << "  (Customizable with the environment variable: G4VRMLFILE_MAX_FILE_NUM) " << G4endl;
+	  G4cout << "===========================================" << G4endl; 
+	}
 	fDest.open(fVRMLFileName) ;  fFlagDestOpen =  true ;
 }
@@ -201,5 +206,6 @@
 	// close VRML file	
 	fDest.close();  fFlagDestOpen = false ;
-	G4cerr << "*** VRML 2.0 File  " << fVRMLFileName << "  is generated." << G4endl;
+	if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
+	      G4cout << "*** VRML 2.0 File  " << fVRMLFileName << "  is generated." << G4endl;
 
 	
@@ -207,10 +213,12 @@
 
 	if ( !strcmp(viewer, NO_VRML_VIEWER )) {
-		G4cerr << "MESSAGE from VRML2FILE driver:"     << G4endl;
-		G4cerr << "    Set an environmental variable  " ;
-		G4cerr <<      ENV_VRML_VIEWER << G4endl;
-		G4cerr << "    if you want to visualize the generated VRML file" << G4endl; 
-		G4cerr << "    automatically.  For example, " << G4endl;
-		G4cerr << "    setenv  " << ENV_VRML_VIEWER << "  vrwave " << G4endl;
+	  if (G4VisManager::GetVerbosity() >= G4VisManager::errors) {
+		G4cout << "MESSAGE from VRML2FILE driver:"     << G4endl;
+		G4cout << "    Set an environmental variable  " ;
+		G4cout <<      ENV_VRML_VIEWER << G4endl;
+		G4cout << "    if you want to visualize the generated VRML file" << G4endl; 
+		G4cout << "    automatically.  For example, " << G4endl;
+		G4cout << "    setenv  " << ENV_VRML_VIEWER << "  vrwave " << G4endl;
+	  }
 	} else {
 		sprintf( command, "%s %s", viewer, fVRMLFileName  );   
Index: trunk/source/visualization/VRML/src/G4VRML2FileViewer.cc
===================================================================
--- trunk/source/visualization/VRML/src/G4VRML2FileViewer.cc	(revision 1346)
+++ trunk/source/visualization/VRML/src/G4VRML2FileViewer.cc	(revision 1347)
@@ -25,6 +25,6 @@
 //
 //
-// $Id: G4VRML2FileViewer.cc,v 1.13 2006/06/29 21:26:13 gunter Exp $
-// GEANT4 tag $Name: geant4-09-04-beta-01 $
+// $Id: G4VRML2FileViewer.cc,v 1.14 2010/11/11 00:14:50 akimura Exp $
+// GEANT4 tag $Name: geant4-09-04-ref-00 $
 //
 // G4VRML2FileViewer.cc
@@ -36,4 +36,5 @@
 #include <cmath>
 
+#include "G4VisManager.hh"
 #include "G4Scene.hh"
 #include "G4VRML2FileViewer.hh"
@@ -60,5 +61,6 @@
 {
 #if defined DEBUG_FR_VIEW
-  G4cerr << "***** G4VRML2FileViewer::SetView(): No effects" << G4endl;
+  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
+        G4cout << "***** G4VRML2FileViewer::SetView(): No effects" << G4endl;
 #endif
 
@@ -71,5 +73,6 @@
 {
 #if defined DEBUG_FR_VIEW
-	G4cerr << "***** G4VRML2FileViewer::DrawView()" << G4endl;
+  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
+	G4cout << "***** G4VRML2FileViewer::DrawView()" << G4endl;
 #endif
 
@@ -88,5 +91,6 @@
 {
 #if defined DEBUG_FR_VIEW
-  G4cerr << "***** G4VRML2File1View::ClearView()" << G4endl;
+  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
+        G4cout << "***** G4VRML2File1View::ClearView()" << G4endl;
 #endif
   if(fSceneHandler.fFlagDestOpen) {
@@ -102,5 +106,6 @@
 {
 #if defined DEBUG_FR_VIEW
-  G4cerr << "***** G4VRML2FileViewer::ShowView()" << G4endl;
+  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
+        G4cout << "***** G4VRML2FileViewer::ShowView()" << G4endl;
 #endif
 	fSceneHandler.VRMLEndModeling();
@@ -110,5 +115,6 @@
 {
 #if defined DEBUG_FR_VIEW
-  G4cerr << "***** G4VRML2FileViewer::FinishView(): No effects" << G4endl;
+  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
+        G4cout << "***** G4VRML2FileViewer::FinishView(): No effects" << G4endl;
 #endif
 }
@@ -121,5 +127,6 @@
 
 #if defined DEBUG_FR_VIEW
-      G4cerr << "***** G4VRML2FileViewer::SendViewParameters()\n";
+  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
+      G4cout << "***** G4VRML2FileViewer::SendViewParameters()\n";
 #endif 
 
Index: trunk/source/visualization/VRML/src/G4VRML2SceneHandler.cc
===================================================================
--- trunk/source/visualization/VRML/src/G4VRML2SceneHandler.cc	(revision 1346)
+++ trunk/source/visualization/VRML/src/G4VRML2SceneHandler.cc	(revision 1347)
@@ -25,6 +25,6 @@
 //
 //
-// $Id: G4VRML2SceneHandler.cc,v 1.12 2006/06/29 21:26:15 gunter Exp $
-// GEANT4 tag $Name: geant4-09-04-beta-01 $
+// $Id: G4VRML2SceneHandler.cc,v 1.13 2010/11/11 00:14:50 akimura Exp $
+// GEANT4 tag $Name: geant4-09-04-ref-00 $
 //
 // G4VRML2SceneHandler.cc
@@ -46,4 +46,6 @@
 
 #include "globals.hh"
+#include "G4VisManager.hh"
+
 #include "G4VPhysicalVolume.hh"
 #include "G4LogicalVolume.hh"
@@ -93,5 +95,6 @@
 {
 #if defined DEBUG_FR_SCENE
-	G4cerr << "***** ~G4VRML2SceneHandler" << G4endl;
+  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
+	G4cout << "***** ~G4VRML2SceneHandler" << G4endl;
 #endif 
 }
@@ -113,12 +116,16 @@
 		if (fDest.connect( (const char * )fSystem.getHostName(), port)) {
 		    // INET domain connection is established
-			G4cerr << "*** GEANT4 is connected to port  ";
-			G4cerr << fDest.getPort(); 
-			G4cerr << " of server  " << fSystem.getHostName() << G4endl;
+		  if (G4VisManager::GetVerbosity() >= G4VisManager::errors) {
+			G4cout << "*** GEANT4 is connected to port  ";
+			G4cout << fDest.getPort(); 
+			G4cout << " of server  " << fSystem.getHostName() << G4endl;
+		  }
 			break; 
 		} else { 
 			// Connection failed. Try the next port.
-			G4cerr << "*** GEANT4 incremented targeting port to ";
-			G4cerr << port << G4endl;
+		  if (G4VisManager::GetVerbosity() >= G4VisManager::errors) {
+			G4cout << "*** GEANT4 incremented targeting port to ";
+			G4cout << port << G4endl;
+		  }
 		}
 
@@ -128,8 +135,10 @@
 
 	if (!fDest.isConnected()) {
-		G4cerr << "*** INET Connection failed. " << G4endl;
-		G4cerr << "    Maybe, you have not invoked viewer  g4vrmlview  yet, " << G4endl;
-		G4cerr << "    or too many viewers are already running in the " << G4endl;
-		G4cerr << "    server host(" << fSystem.getHostName() << "). " << G4endl;
+	  if (G4VisManager::GetVerbosity() >= G4VisManager::errors) {
+		G4cout << "*** INET Connection failed. " << G4endl;
+		G4cout << "    Maybe, you have not invoked viewer  g4vrmlview  yet, " << G4endl;
+		G4cout << "    or too many viewers are already running in the " << G4endl;
+		G4cout << "    server host(" << fSystem.getHostName() << "). " << G4endl;
+	  }
 	}
 }
@@ -138,5 +147,6 @@
 {
 	fDest.close();
-	G4cerr << "*** INET Connection closed. " << G4endl;
+	if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
+	      G4cout << "*** INET Connection closed. " << G4endl;
 }
 
Index: trunk/source/visualization/VRML/src/G4VRML2SceneHandlerFunc.icc
===================================================================
--- trunk/source/visualization/VRML/src/G4VRML2SceneHandlerFunc.icc	(revision 1346)
+++ trunk/source/visualization/VRML/src/G4VRML2SceneHandlerFunc.icc	(revision 1347)
@@ -25,6 +25,6 @@
 //
 //
-// $Id: G4VRML2SceneHandlerFunc.icc,v 1.20 2006/06/29 21:26:17 gunter Exp $
-// GEANT4 tag $Name: geant4-09-04-beta-01 $
+// $Id: G4VRML2SceneHandlerFunc.icc,v 1.21 2010/11/11 00:14:50 akimura Exp $
+// GEANT4 tag $Name: geant4-09-04-ref-00 $
 //
 // G4VRML2SceneHandlerFunc.icc
@@ -33,8 +33,11 @@
 //#define DEBUG_SCENE_FUNC
 
+#include "G4VisManager.hh"
+
 void G4VRML2SCENEHANDLER::AddSolid(const G4Trd& trd)
 {
 #if defined DEBUG_SCENE_FUNC
-	G4cerr << "***** AddSolid trd" << "\n" ;
+  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
+        G4cout << "***** AddSolid trd" << "\n" ;
 #endif
 	VRMLBeginModeling () ;
@@ -45,5 +48,6 @@
 {
 #if defined DEBUG_SCENE_FUNC
-	G4cerr << "***** AddSolid trap" << "\n" ;
+  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
+        G4cout << "***** AddSolid trap" << "\n" ;
 #endif
 	VRMLBeginModeling () ;
@@ -54,5 +58,6 @@
 {
 #if defined DEBUG_SCENE_FUNC
-	G4cerr << "***** AddSolid para" << "\n" ;
+  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
+        G4cout << "***** AddSolid para" << "\n" ;
 #endif
 	VRMLBeginModeling () ;
@@ -63,5 +68,6 @@
 {
 #if defined DEBUG_SCENE_FUNC
-	G4cerr << "***** AddSolid torus" << "\n" ;
+  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
+        G4cout << "***** AddSolid torus" << "\n" ;
 #endif
 	VRMLBeginModeling () ;
@@ -73,5 +79,6 @@
 {
 #if defined DEBUG_SCENE_FUNC
-	G4cerr << "***** AddSolid vsolid" << "\n" ;
+  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
+        G4cout << "***** AddSolid vsolid" << "\n" ;
 #endif
 	VRMLBeginModeling () ;
@@ -82,5 +89,6 @@
 {
 #if defined DEBUG_SCENE_FUNC
-	G4cerr << "***** AddSolid tubs" << "\n" ;
+  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
+	G4cout << "***** AddSolid tubs" << "\n" ;
 #endif
 	VRMLBeginModeling () ;
@@ -93,5 +101,6 @@
 {
 #if defined DEBUG_SCENE_FUNC
-    G4cerr << "***** AddSolid cons" << "\n" ;
+  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
+        G4cout << "***** AddSolid cons" << "\n" ;
 #endif
 	VRMLBeginModeling () ;
@@ -102,5 +111,6 @@
 {
 #if defined DEBUG_SCENE_FUNC
-	G4cerr << "***** AddSolid box" << "\n" ;
+  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
+	G4cout << "***** AddSolid box" << "\n" ;
 #endif
 	VRMLBeginModeling () ;
@@ -112,5 +122,6 @@
 {
 #if defined DEBUG_SCENE_FUNC
-	G4cerr << "***** AddSolid sphere" << "\n" ;
+  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
+	G4cout << "***** AddSolid sphere" << "\n" ;
 #endif
 	VRMLBeginModeling () ;
@@ -121,5 +132,6 @@
 {
 #if defined DEBUG_SCENE_FUNC
-	G4cerr << "***** AddPrimitive polyline" << "\n" ;
+  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
+	G4cout << "***** AddPrimitive polyline" << "\n" ;
 #endif 
 
@@ -170,5 +182,6 @@
 {
 #if defined DEBUG_SCENE_FUNC
-	G4cerr << "***** AddPrimitive(G4Polyhedron)" << "\n";
+  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
+	G4cout << "***** AddPrimitive(G4Polyhedron)" << "\n";
 #endif
 
@@ -253,7 +266,9 @@
 {
 #if defined DEBUG_SCENE_FUNC
-	G4cerr << "***** AddPrimitive nurbs" << "\n" ;
+  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
+	G4cout << "***** AddPrimitive nurbs" << "\n" ;
 #endif 
-	G4cerr << "G4VRML2File::AddPrimitive(G4NURBS&): not implemented. " << "\n" ;
+  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
+	G4cout << "G4VRML2File::AddPrimitive(G4NURBS&): not implemented. " << "\n" ;
 
 	VRMLBeginModeling () ;
@@ -263,7 +278,9 @@
 {
 #if defined DEBUG_SCENE_FUNC
-	G4cerr << "***** AddPrimitive text" << "\n" ;
-#endif
-	G4cerr <<
+  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
+	G4cout << "***** AddPrimitive text" << "\n" ;
+#endif
+  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
+	G4cout <<
           "***** void G4VRML2SCENEHANDLER::AddPrimitive( const G4Text& text )"
           " not implemented yet."
@@ -277,5 +294,6 @@
 {
 #if defined DEBUG_SCENE_FUNC
-	G4cerr << "***** AddPrimitive circle" << "\n" ;
+  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
+	G4cout << "***** AddPrimitive circle" << "\n" ;
 #endif
 	VRMLBeginModeling () ;
@@ -335,5 +353,6 @@
 {
 #if defined DEBUG_SCENE_FUNC
-	G4cerr << "***** AddPrimitive square" << "\n" ;
+  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
+	G4cout << "***** AddPrimitive square" << "\n" ;
 #endif
 
@@ -396,5 +415,6 @@
 {
 #if defined DEBUG_SCENE_FUNC
-	G4cerr << "***** BeginModeling" << "\n" ;
+  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
+	G4cout << "***** BeginModeling" << "\n" ;
 #endif
 	G4VSceneHandler::BeginModeling();
@@ -405,5 +425,6 @@
 {
 #if defined DEBUG_SCENE_FUNC
-	G4cerr << "***** EndModeling " << "\n" ;
+  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
+	G4cout << "***** EndModeling " << "\n" ;
 #endif
 	G4VSceneHandler::EndModeling();
@@ -415,5 +436,6 @@
   fpObjectTransformation = &objectTransformation;
 #if defined DEBUG_SCENE_FUNC
-	G4cerr << "***** BeginPrimitives " << "\n" ;
+  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
+	G4cout << "***** BeginPrimitives " << "\n" ;
 #endif
 	VRMLBeginModeling(); 
@@ -423,5 +445,6 @@
 {
 #if defined DEBUG_SCENE_FUNC
-	G4cerr << "***** EndPrimitives " << "\n" ;
+  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
+	G4cout << "***** EndPrimitives " << "\n" ;
 #endif
   G4VSceneHandler::EndPrimitives();
@@ -500,5 +523,6 @@
 	if (!IS_CONNECTED ) {
 #if defined DEBUG_SCENE_FUNC
-	G4cerr << "***** VRMLBeginModeling (started)" << "\n" ;
+  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
+	G4cout << "***** VRMLBeginModeling (started)" << "\n" ;
 #endif
 		this->connectPort();
@@ -512,5 +536,6 @@
 	if ( IS_CONNECTED ) {
 #if defined DEBUG_SCENE_FUNC
-	G4cerr << "***** VRMLEndModeling (started)" << "\n" ;
+  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
+	G4cout << "***** VRMLEndModeling (started)" << "\n" ;
 #endif
 		fDest << "#End of file." << "\n";
Index: trunk/source/visualization/VRML/src/G4VRML2Viewer.cc
===================================================================
--- trunk/source/visualization/VRML/src/G4VRML2Viewer.cc	(revision 1346)
+++ trunk/source/visualization/VRML/src/G4VRML2Viewer.cc	(revision 1347)
@@ -25,6 +25,6 @@
 //
 //
-// $Id: G4VRML2Viewer.cc,v 1.12 2006/06/29 21:26:35 gunter Exp $
-// GEANT4 tag $Name: geant4-09-04-beta-01 $
+// $Id: G4VRML2Viewer.cc,v 1.13 2010/11/11 00:14:50 akimura Exp $
+// GEANT4 tag $Name: geant4-09-04-ref-00 $
 //
 // G4VRML2Viewer.cc
@@ -42,4 +42,5 @@
 #include <cmath>
 
+#include "G4VisManager.hh"
 #include "G4Scene.hh"
 #include "G4VRML2Viewer.hh"
@@ -65,5 +66,6 @@
 {
 #if defined DEBUG_FR_VIEW
-  G4cerr << "***** G4VRML2Viewer::SetView(): No effects" << G4endl;
+  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
+    G4cout << "***** G4VRML2Viewer::SetView(): No effects" << G4endl;
 #endif
 
@@ -77,5 +79,6 @@
 {
 #if defined DEBUG_FR_VIEW
-	G4cerr << "***** G4VRML2Viewer::DrawView()" << G4endl;
+  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
+    G4cout << "***** G4VRML2Viewer::DrawView()" << G4endl;
 #endif
 	fSceneHandler.VRMLBeginModeling() ;
@@ -93,5 +96,6 @@
 {
 #if defined DEBUG_FR_VIEW
-  G4cerr << "***** G4VRML2Viewer::ClearView(): No effects" << G4endl;
+  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
+    G4cout << "***** G4VRML2Viewer::ClearView(): No effects" << G4endl;
 #endif
 }
@@ -100,5 +104,6 @@
 {
 #if defined DEBUG_FR_VIEW
-  G4cerr << "***** G4VRML2Viewer::ShowView()" << G4endl;
+  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
+    G4cout << "***** G4VRML2Viewer::ShowView()" << G4endl;
 #endif
 	fSceneHandler.VRMLEndModeling();
@@ -108,5 +113,6 @@
 {
 #if defined DEBUG_FR_VIEW
-  G4cerr << "***** G4VRML2Viewer::FinishView(): No effects" << G4endl;
+  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
+    G4cout << "***** G4VRML2Viewer::FinishView(): No effects" << G4endl;
 #endif
 }
@@ -119,5 +125,6 @@
 
 #if defined DEBUG_FR_VIEW
-      G4cerr << "***** G4VRML2Viewer::SendViewParameters()\n";
+  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
+    G4cout << "***** G4VRML2Viewer::SendViewParameters()\n";
 #endif 
 	// error recovery
Index: trunk/source/visualization/XXX/CVS/Entries
===================================================================
--- trunk/source/visualization/XXX/CVS/Entries	(revision 1346)
+++ trunk/source/visualization/XXX/CVS/Entries	(revision 1347)
@@ -3,2 +3,3 @@
 /CMakeLists.txt/1.1/Wed Sep 29 19:13:27 2010//Tgeant4-09-04-ref-00
 /sources.cmake/1.1/Wed Sep 29 19:13:35 2010//Tgeant4-09-04-ref-00
+/History/1.30/Wed Oct  6 15:49:24 2010//Tgeant4-09-04-ref-00
Index: trunk/source/visualization/XXX/include/CVS/Entries
===================================================================
--- trunk/source/visualization/XXX/include/CVS/Entries	(revision 1346)
+++ trunk/source/visualization/XXX/include/CVS/Entries	(revision 1347)
@@ -1,1 +1,13 @@
 D/tree////
+/G4XXX.hh/1.5/Thu Jun 29 21:26:37 2006//Tgeant4-09-04-ref-00
+/G4XXXFile.hh/1.2/Thu Jun 29 21:26:39 2006//Tgeant4-09-04-ref-00
+/G4XXXFileSceneHandler.hh/1.4/Wed Oct 21 15:28:53 2009//Tgeant4-09-04-ref-00
+/G4XXXFileViewer.hh/1.3/Mon Jul  3 16:52:48 2006//Tgeant4-09-04-ref-00
+/G4XXXSG.hh/1.2/Thu Jun 29 21:26:54 2006//Tgeant4-09-04-ref-00
+/G4XXXSGSceneHandler.hh/1.4/Wed Oct 21 15:28:53 2009//Tgeant4-09-04-ref-00
+/G4XXXSGViewer.hh/1.2/Thu Jun 29 21:26:58 2006//Tgeant4-09-04-ref-00
+/G4XXXSceneHandler.hh/1.21/Thu Jun 29 21:27:00 2006//Tgeant4-09-04-ref-00
+/G4XXXStored.hh/1.2/Thu Jun 29 21:27:02 2006//Tgeant4-09-04-ref-00
+/G4XXXStoredSceneHandler.hh/1.4/Wed Oct 21 15:28:53 2009//Tgeant4-09-04-ref-00
+/G4XXXStoredViewer.hh/1.2/Thu Jun 29 21:27:17 2006//Tgeant4-09-04-ref-00
+/G4XXXViewer.hh/1.8/Thu Jun 29 21:27:20 2006//Tgeant4-09-04-ref-00
Index: trunk/source/visualization/XXX/include/G4XXX.hh
===================================================================
--- trunk/source/visualization/XXX/include/G4XXX.hh	(revision 1346)
+++ trunk/source/visualization/XXX/include/G4XXX.hh	(revision 1347)
@@ -26,5 +26,5 @@
 //
 // $Id: G4XXX.hh,v 1.5 2006/06/29 21:26:37 gunter Exp $
-// GEANT4 tag $Name: geant4-09-04-beta-01 $
+// GEANT4 tag $Name: geant4-09-04-ref-00 $
 //
 // 
Index: trunk/source/visualization/XXX/include/G4XXXFile.hh
===================================================================
--- trunk/source/visualization/XXX/include/G4XXXFile.hh	(revision 1346)
+++ trunk/source/visualization/XXX/include/G4XXXFile.hh	(revision 1347)
@@ -26,5 +26,5 @@
 //
 // $Id: G4XXXFile.hh,v 1.2 2006/06/29 21:26:39 gunter Exp $
-// GEANT4 tag $Name: geant4-09-04-beta-01 $
+// GEANT4 tag $Name: geant4-09-04-ref-00 $
 //
 // 
Index: trunk/source/visualization/XXX/include/G4XXXFileSceneHandler.hh
===================================================================
--- trunk/source/visualization/XXX/include/G4XXXFileSceneHandler.hh	(revision 1346)
+++ trunk/source/visualization/XXX/include/G4XXXFileSceneHandler.hh	(revision 1347)
@@ -26,5 +26,5 @@
 //
 // $Id: G4XXXFileSceneHandler.hh,v 1.4 2009/10/21 15:28:53 allison Exp $
-// GEANT4 tag $Name: geant4-09-04-beta-01 $
+// GEANT4 tag $Name: geant4-09-04-ref-00 $
 //
 // 
Index: trunk/source/visualization/XXX/include/G4XXXFileViewer.hh
===================================================================
--- trunk/source/visualization/XXX/include/G4XXXFileViewer.hh	(revision 1346)
+++ trunk/source/visualization/XXX/include/G4XXXFileViewer.hh	(revision 1347)
@@ -26,5 +26,5 @@
 //
 // $Id: G4XXXFileViewer.hh,v 1.3 2006/07/03 16:52:48 allison Exp $
-// GEANT4 tag $Name: geant4-09-04-beta-01 $
+// GEANT4 tag $Name: geant4-09-04-ref-00 $
 //
 // 
Index: trunk/source/visualization/XXX/include/G4XXXSG.hh
===================================================================
--- trunk/source/visualization/XXX/include/G4XXXSG.hh	(revision 1346)
+++ trunk/source/visualization/XXX/include/G4XXXSG.hh	(revision 1347)
@@ -26,5 +26,5 @@
 //
 // $Id: G4XXXSG.hh,v 1.2 2006/06/29 21:26:54 gunter Exp $
-// GEANT4 tag $Name: geant4-09-04-beta-01 $
+// GEANT4 tag $Name: geant4-09-04-ref-00 $
 //
 // 
Index: trunk/source/visualization/XXX/include/G4XXXSGSceneHandler.hh
===================================================================
--- trunk/source/visualization/XXX/include/G4XXXSGSceneHandler.hh	(revision 1346)
+++ trunk/source/visualization/XXX/include/G4XXXSGSceneHandler.hh	(revision 1347)
@@ -26,5 +26,5 @@
 //
 // $Id: G4XXXSGSceneHandler.hh,v 1.4 2009/10/21 15:28:53 allison Exp $
-// GEANT4 tag $Name: geant4-09-04-beta-01 $
+// GEANT4 tag $Name: geant4-09-04-ref-00 $
 //
 // 
Index: trunk/source/visualization/XXX/include/G4XXXSGViewer.hh
===================================================================
--- trunk/source/visualization/XXX/include/G4XXXSGViewer.hh	(revision 1346)
+++ trunk/source/visualization/XXX/include/G4XXXSGViewer.hh	(revision 1347)
@@ -26,5 +26,5 @@
 //
 // $Id: G4XXXSGViewer.hh,v 1.2 2006/06/29 21:26:58 gunter Exp $
-// GEANT4 tag $Name: geant4-09-04-beta-01 $
+// GEANT4 tag $Name: geant4-09-04-ref-00 $
 //
 // 
Index: trunk/source/visualization/XXX/include/G4XXXSceneHandler.hh
===================================================================
--- trunk/source/visualization/XXX/include/G4XXXSceneHandler.hh	(revision 1346)
+++ trunk/source/visualization/XXX/include/G4XXXSceneHandler.hh	(revision 1347)
@@ -26,5 +26,5 @@
 //
 // $Id: G4XXXSceneHandler.hh,v 1.21 2006/06/29 21:27:00 gunter Exp $
-// GEANT4 tag $Name: geant4-09-04-beta-01 $
+// GEANT4 tag $Name: geant4-09-04-ref-00 $
 //
 // 
Index: trunk/source/visualization/XXX/include/G4XXXStored.hh
===================================================================
--- trunk/source/visualization/XXX/include/G4XXXStored.hh	(revision 1346)
+++ trunk/source/visualization/XXX/include/G4XXXStored.hh	(revision 1347)
@@ -26,5 +26,5 @@
 //
 // $Id: G4XXXStored.hh,v 1.2 2006/06/29 21:27:02 gunter Exp $
-// GEANT4 tag $Name: geant4-09-04-beta-01 $
+// GEANT4 tag $Name: geant4-09-04-ref-00 $
 //
 // 
Index: trunk/source/visualization/XXX/include/G4XXXStoredSceneHandler.hh
===================================================================
--- trunk/source/visualization/XXX/include/G4XXXStoredSceneHandler.hh	(revision 1346)
+++ trunk/source/visualization/XXX/include/G4XXXStoredSceneHandler.hh	(revision 1347)
@@ -26,5 +26,5 @@
 //
 // $Id: G4XXXStoredSceneHandler.hh,v 1.4 2009/10/21 15:28:53 allison Exp $
-// GEANT4 tag $Name: geant4-09-04-beta-01 $
+// GEANT4 tag $Name: geant4-09-04-ref-00 $
 //
 // 
Index: trunk/source/visualization/XXX/include/G4XXXStoredViewer.hh
===================================================================
--- trunk/source/visualization/XXX/include/G4XXXStoredViewer.hh	(revision 1346)
+++ trunk/source/visualization/XXX/include/G4XXXStoredViewer.hh	(revision 1347)
@@ -26,5 +26,5 @@
 //
 // $Id: G4XXXStoredViewer.hh,v 1.2 2006/06/29 21:27:17 gunter Exp $
-// GEANT4 tag $Name: geant4-09-04-beta-01 $
+// GEANT4 tag $Name: geant4-09-04-ref-00 $
 //
 // 
Index: trunk/source/visualization/XXX/include/G4XXXViewer.hh
===================================================================
--- trunk/source/visualization/XXX/include/G4XXXViewer.hh	(revision 1346)
+++ trunk/source/visualization/XXX/include/G4XXXViewer.hh	(revision 1347)
@@ -26,5 +26,5 @@
 //
 // $Id: G4XXXViewer.hh,v 1.8 2006/06/29 21:27:20 gunter Exp $
-// GEANT4 tag $Name: geant4-09-04-beta-01 $
+// GEANT4 tag $Name: geant4-09-04-ref-00 $
 //
 // 
Index: trunk/source/visualization/XXX/include/tree/CVS/Entries
===================================================================
--- trunk/source/visualization/XXX/include/tree/CVS/Entries	(revision 1346)
+++ trunk/source/visualization/XXX/include/tree/CVS/Entries	(revision 1347)
@@ -1,1 +1,22 @@
+/AUTHORS/1.1/Tue Mar 28 17:16:41 2006//Tgeant4-09-04-ref-00
+/COPYING/1.1/Tue Mar 28 17:16:41 2006//Tgeant4-09-04-ref-00
+/Changelog/1.1/Tue Mar 28 17:16:41 2006//Tgeant4-09-04-ref-00
+/bfs_iterator.h/1.1/Tue Mar 28 17:16:41 2006//Tgeant4-09-04-ref-00
+/const_bfs_iterator.h/1.1/Tue Mar 28 17:16:41 2006//Tgeant4-09-04-ref-00
+/const_iterator.cc/1.1/Tue Mar 28 17:16:41 2006//Tgeant4-09-04-ref-00
+/const_iterator.h/1.1/Tue Mar 28 17:16:41 2006//Tgeant4-09-04-ref-00
+/const_postorder_iterator.h/1.1/Tue Mar 28 17:16:41 2006//Tgeant4-09-04-ref-00
+/const_preorder_iterator.h/1.1/Tue Mar 28 17:16:41 2006//Tgeant4-09-04-ref-00
+/const_sibling_iterator.h/1.1/Tue Mar 28 17:16:41 2006//Tgeant4-09-04-ref-00
+/iterator.cc/1.1/Tue Mar 28 17:16:41 2006//Tgeant4-09-04-ref-00
+/iterator.h/1.1/Tue Mar 28 17:16:41 2006//Tgeant4-09-04-ref-00
+/postorder_iterator.h/1.1/Tue Mar 28 17:16:41 2006//Tgeant4-09-04-ref-00
+/preorder_iterator.h/1.1/Tue Mar 28 17:16:41 2006//Tgeant4-09-04-ref-00
+/sibling_iterator.h/1.1/Tue Mar 28 17:16:41 2006//Tgeant4-09-04-ref-00
+/tree.cc/1.1/Tue Mar 28 17:16:41 2006//Tgeant4-09-04-ref-00
+/tree.h/1.1/Tue Mar 28 17:16:41 2006//Tgeant4-09-04-ref-00
+/tree_iterator.cc/1.1/Tue Mar 28 17:16:41 2006//Tgeant4-09-04-ref-00
+/tree_iterator.h/1.1/Tue Mar 28 17:16:41 2006//Tgeant4-09-04-ref-00
+/tree_node.h/1.1/Tue Mar 28 17:16:41 2006//Tgeant4-09-04-ref-00
+/tree_test.cc/1.1/Tue Mar 28 17:16:41 2006//Tgeant4-09-04-ref-00
 D
Index: trunk/source/visualization/XXX/src/CVS/Entries
===================================================================
--- trunk/source/visualization/XXX/src/CVS/Entries	(revision 1346)
+++ trunk/source/visualization/XXX/src/CVS/Entries	(revision 1347)
@@ -1,1 +1,13 @@
+/G4XXX.cc/1.6/Thu Jun 29 21:27:22 2006//Tgeant4-09-04-ref-00
+/G4XXXFile.cc/1.2/Thu Jun 29 21:27:24 2006//Tgeant4-09-04-ref-00
+/G4XXXFileSceneHandler.cc/1.5/Mon Jul  3 16:52:49 2006//Tgeant4-09-04-ref-00
+/G4XXXFileViewer.cc/1.3/Mon Jul  3 16:52:49 2006//Tgeant4-09-04-ref-00
+/G4XXXSG.cc/1.2/Thu Jun 29 21:27:33 2006//Tgeant4-09-04-ref-00
+/G4XXXSGSceneHandler.cc/1.6/Sun Nov  5 20:41:36 2006//Tgeant4-09-04-ref-00
+/G4XXXSGViewer.cc/1.5/Wed Oct  6 10:12:03 2010//Tgeant4-09-04-ref-00
+/G4XXXSceneHandler.cc/1.32/Mon Jul  3 16:52:49 2006//Tgeant4-09-04-ref-00
+/G4XXXStored.cc/1.2/Thu Jun 29 21:27:46 2006//Tgeant4-09-04-ref-00
+/G4XXXStoredSceneHandler.cc/1.9/Thu Oct 26 11:30:10 2006//Tgeant4-09-04-ref-00
+/G4XXXStoredViewer.cc/1.6/Wed Oct  6 10:12:03 2010//Tgeant4-09-04-ref-00
+/G4XXXViewer.cc/1.9/Thu Jun 29 21:27:52 2006//Tgeant4-09-04-ref-00
 D
Index: trunk/source/visualization/XXX/src/G4XXX.cc
===================================================================
--- trunk/source/visualization/XXX/src/G4XXX.cc	(revision 1346)
+++ trunk/source/visualization/XXX/src/G4XXX.cc	(revision 1347)
@@ -26,5 +26,5 @@
 //
 // $Id: G4XXX.cc,v 1.6 2006/06/29 21:27:22 gunter Exp $
-// GEANT4 tag $Name: geant4-09-04-beta-01 $
+// GEANT4 tag $Name: geant4-09-04-ref-00 $
 //
 // 
Index: trunk/source/visualization/XXX/src/G4XXXFile.cc
===================================================================
--- trunk/source/visualization/XXX/src/G4XXXFile.cc	(revision 1346)
+++ trunk/source/visualization/XXX/src/G4XXXFile.cc	(revision 1347)
@@ -26,5 +26,5 @@
 //
 // $Id: G4XXXFile.cc,v 1.2 2006/06/29 21:27:24 gunter Exp $
-// GEANT4 tag $Name: geant4-09-04-beta-01 $
+// GEANT4 tag $Name: geant4-09-04-ref-00 $
 //
 // 
Index: trunk/source/visualization/XXX/src/G4XXXFileSceneHandler.cc
===================================================================
--- trunk/source/visualization/XXX/src/G4XXXFileSceneHandler.cc	(revision 1346)
+++ trunk/source/visualization/XXX/src/G4XXXFileSceneHandler.cc	(revision 1347)
@@ -26,5 +26,5 @@
 //
 // $Id: G4XXXFileSceneHandler.cc,v 1.5 2006/07/03 16:52:49 allison Exp $
-// GEANT4 tag $Name: geant4-09-04-beta-01 $
+// GEANT4 tag $Name: geant4-09-04-ref-00 $
 //
 // 
Index: trunk/source/visualization/XXX/src/G4XXXFileViewer.cc
===================================================================
--- trunk/source/visualization/XXX/src/G4XXXFileViewer.cc	(revision 1346)
+++ trunk/source/visualization/XXX/src/G4XXXFileViewer.cc	(revision 1347)
@@ -26,5 +26,5 @@
 //
 // $Id: G4XXXFileViewer.cc,v 1.3 2006/07/03 16:52:49 allison Exp $
-// GEANT4 tag $Name: geant4-09-04-beta-01 $
+// GEANT4 tag $Name: geant4-09-04-ref-00 $
 //
 // 
Index: trunk/source/visualization/XXX/src/G4XXXSG.cc
===================================================================
--- trunk/source/visualization/XXX/src/G4XXXSG.cc	(revision 1346)
+++ trunk/source/visualization/XXX/src/G4XXXSG.cc	(revision 1347)
@@ -26,5 +26,5 @@
 //
 // $Id: G4XXXSG.cc,v 1.2 2006/06/29 21:27:33 gunter Exp $
-// GEANT4 tag $Name: geant4-09-04-beta-01 $
+// GEANT4 tag $Name: geant4-09-04-ref-00 $
 //
 // 
Index: trunk/source/visualization/XXX/src/G4XXXSGSceneHandler.cc
===================================================================
--- trunk/source/visualization/XXX/src/G4XXXSGSceneHandler.cc	(revision 1346)
+++ trunk/source/visualization/XXX/src/G4XXXSGSceneHandler.cc	(revision 1347)
@@ -26,5 +26,5 @@
 //
 // $Id: G4XXXSGSceneHandler.cc,v 1.6 2006/11/05 20:41:36 allison Exp $
-// GEANT4 tag $Name: geant4-09-04-beta-01 $
+// GEANT4 tag $Name: geant4-09-04-ref-00 $
 //
 // 
Index: trunk/source/visualization/XXX/src/G4XXXSGViewer.cc
===================================================================
--- trunk/source/visualization/XXX/src/G4XXXSGViewer.cc	(revision 1346)
+++ trunk/source/visualization/XXX/src/G4XXXSGViewer.cc	(revision 1347)
@@ -26,5 +26,5 @@
 //
 // $Id: G4XXXSGViewer.cc,v 1.5 2010/10/06 10:12:03 allison Exp $
-// GEANT4 tag $Name:  $
+// GEANT4 tag $Name: geant4-09-04-ref-00 $
 //
 // 
Index: trunk/source/visualization/XXX/src/G4XXXSceneHandler.cc
===================================================================
--- trunk/source/visualization/XXX/src/G4XXXSceneHandler.cc	(revision 1346)
+++ trunk/source/visualization/XXX/src/G4XXXSceneHandler.cc	(revision 1347)
@@ -26,5 +26,5 @@
 //
 // $Id: G4XXXSceneHandler.cc,v 1.32 2006/07/03 16:52:49 allison Exp $
-// GEANT4 tag $Name: geant4-09-04-beta-01 $
+// GEANT4 tag $Name: geant4-09-04-ref-00 $
 //
 // 
Index: trunk/source/visualization/XXX/src/G4XXXStored.cc
===================================================================
--- trunk/source/visualization/XXX/src/G4XXXStored.cc	(revision 1346)
+++ trunk/source/visualization/XXX/src/G4XXXStored.cc	(revision 1347)
@@ -26,5 +26,5 @@
 //
 // $Id: G4XXXStored.cc,v 1.2 2006/06/29 21:27:46 gunter Exp $
-// GEANT4 tag $Name: geant4-09-04-beta-01 $
+// GEANT4 tag $Name: geant4-09-04-ref-00 $
 //
 // 
Index: trunk/source/visualization/XXX/src/G4XXXStoredSceneHandler.cc
===================================================================
--- trunk/source/visualization/XXX/src/G4XXXStoredSceneHandler.cc	(revision 1346)
+++ trunk/source/visualization/XXX/src/G4XXXStoredSceneHandler.cc	(revision 1347)
@@ -26,5 +26,5 @@
 //
 // $Id: G4XXXStoredSceneHandler.cc,v 1.9 2006/10/26 11:30:10 allison Exp $
-// GEANT4 tag $Name: geant4-09-04-beta-01 $
+// GEANT4 tag $Name: geant4-09-04-ref-00 $
 //
 // 
Index: trunk/source/visualization/XXX/src/G4XXXStoredViewer.cc
===================================================================
--- trunk/source/visualization/XXX/src/G4XXXStoredViewer.cc	(revision 1346)
+++ trunk/source/visualization/XXX/src/G4XXXStoredViewer.cc	(revision 1347)
@@ -26,5 +26,5 @@
 //
 // $Id: G4XXXStoredViewer.cc,v 1.6 2010/10/06 10:12:03 allison Exp $
-// GEANT4 tag $Name:  $
+// GEANT4 tag $Name: geant4-09-04-ref-00 $
 //
 // 
Index: trunk/source/visualization/XXX/src/G4XXXViewer.cc
===================================================================
--- trunk/source/visualization/XXX/src/G4XXXViewer.cc	(revision 1346)
+++ trunk/source/visualization/XXX/src/G4XXXViewer.cc	(revision 1347)
@@ -26,5 +26,5 @@
 //
 // $Id: G4XXXViewer.cc,v 1.9 2006/06/29 21:27:52 gunter Exp $
-// GEANT4 tag $Name: geant4-09-04-beta-01 $
+// GEANT4 tag $Name: geant4-09-04-ref-00 $
 //
 // 
Index: trunk/source/visualization/gMocren/CVS/Entries
===================================================================
--- trunk/source/visualization/gMocren/CVS/Entries	(revision 1346)
+++ trunk/source/visualization/gMocren/CVS/Entries	(revision 1347)
@@ -3,2 +3,5 @@
 /CMakeLists.txt/1.1/Wed Sep 29 19:14:32 2010//Tgeant4-09-04-ref-00
 /sources.cmake/1.1/Wed Sep 29 19:14:41 2010//Tgeant4-09-04-ref-00
+/GNUmakefile/1.2/Mon Oct 12 10:24:23 2009//Tgeant4-09-04-ref-00
+/History/1.16/Thu Nov 11 00:49:25 2010//Tgeant4-09-04-ref-00
+/README/1.2/Mon Oct 12 19:51:37 2009//Tgeant4-09-04-ref-00
Index: trunk/source/visualization/gMocren/GNUmakefile
===================================================================
--- trunk/source/visualization/gMocren/GNUmakefile	(revision 1346)
+++ trunk/source/visualization/gMocren/GNUmakefile	(revision 1347)
@@ -17,12 +17,4 @@
 include $(G4INSTALL)/config/G4VIS_BUILD.gmk
 include $(G4INSTALL)/config/interactivity.gmk
-
-# NO need OGL, then reset OGLGLAGS
-OGLFLAGS = ""
-OGLLIBS  = ""
-# NO need QT, then reset QTGLAGS
-QTFLAGS = ""
-QTLIBS  = ""
-GLQTLIBS  = ""
 
 CPPFLAGS += -I$(G4BASE)/visualization/management/include
Index: trunk/source/visualization/gMocren/History
===================================================================
--- trunk/source/visualization/gMocren/History	(revision 1346)
+++ trunk/source/visualization/gMocren/History	(revision 1347)
@@ -1,3 +1,3 @@
-$Id: History,v 1.14 2010/09/03 16:01:38 gcosmo Exp $
+$Id: History,v 1.16 2010/11/11 00:49:25 akimura Exp $
 -------------------------------------------------------------------
 
@@ -20,4 +20,8 @@
 History file for visualization/gMocren sub-category
 ---------------------------------------------------
+
+11 November 2010  Akinori Kimura (gMocren-V09-03-05)
+- Replaced G4cerr with G4cout and added the following line before G4cout.
+  if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
 
 3rd September 2010  John Allison  (gMocren-V09-03-04)
Index: trunk/source/visualization/gMocren/include/CVS/Entries
===================================================================
--- trunk/source/visualization/gMocren/include/CVS/Entries	(revision 1346)
+++ trunk/source/visualization/gMocren/include/CVS/Entries	(revision 1347)
@@ -1,1 +1,8 @@
+/G4GMocrenFile.hh/1.2/Mon Oct 12 10:04:35 2009//Tgeant4-09-04-ref-00
+/G4GMocrenFileCTtoDensityMap.hh/1.1/Mon Oct 12 10:04:35 2009//Tgeant4-09-04-ref-00
+/G4GMocrenFileSceneHandler.hh/1.6/Sun May 30 10:04:16 2010//Tgeant4-09-04-ref-00
+/G4GMocrenFileViewer.hh/1.2/Mon Oct 12 10:04:35 2009//Tgeant4-09-04-ref-00
+/G4GMocrenIO.hh/1.4/Fri Jun 25 09:46:17 2010//Tgeant4-09-04-ref-00
+/G4GMocrenMessenger.hh/1.2/Mon Oct 12 10:04:35 2009//Tgeant4-09-04-ref-00
+/G4GMocrenTouchable.hh/1.2/Mon Oct 12 10:04:35 2009//Tgeant4-09-04-ref-00
 D
Index: trunk/source/visualization/gMocren/include/G4GMocrenFile.hh
===================================================================
--- trunk/source/visualization/gMocren/include/G4GMocrenFile.hh	(revision 1346)
+++ trunk/source/visualization/gMocren/include/G4GMocrenFile.hh	(revision 1347)
@@ -26,5 +26,5 @@
 //
 // $Id: G4GMocrenFile.hh,v 1.2 2009/10/12 10:04:35 akimura Exp $
-// GEANT4 tag $Name: geant4-09-04-beta-01 $
+// GEANT4 tag $Name: geant4-09-04-ref-00 $
 //
 //
Index: trunk/source/visualization/gMocren/include/G4GMocrenFileCTtoDensityMap.hh
===================================================================
--- trunk/source/visualization/gMocren/include/G4GMocrenFileCTtoDensityMap.hh	(revision 1346)
+++ trunk/source/visualization/gMocren/include/G4GMocrenFileCTtoDensityMap.hh	(revision 1347)
@@ -26,5 +26,5 @@
 //
 // $Id: G4GMocrenFileCTtoDensityMap.hh,v 1.1 2009/10/12 10:04:35 akimura Exp $
-// GEANT4 tag $Name: geant4-09-04-beta-01 $
+// GEANT4 tag $Name: geant4-09-04-ref-00 $
 //
 //
Index: trunk/source/visualization/gMocren/include/G4GMocrenFileSceneHandler.hh
===================================================================
--- trunk/source/visualization/gMocren/include/G4GMocrenFileSceneHandler.hh	(revision 1346)
+++ trunk/source/visualization/gMocren/include/G4GMocrenFileSceneHandler.hh	(revision 1347)
@@ -26,5 +26,5 @@
 //
 // $Id: G4GMocrenFileSceneHandler.hh,v 1.6 2010/05/30 10:04:16 allison Exp $
-// GEANT4 tag $Name: geant4-09-04-beta-01 $
+// GEANT4 tag $Name: geant4-09-04-ref-00 $
 //
 //
Index: trunk/source/visualization/gMocren/include/G4GMocrenFileViewer.hh
===================================================================
--- trunk/source/visualization/gMocren/include/G4GMocrenFileViewer.hh	(revision 1346)
+++ trunk/source/visualization/gMocren/include/G4GMocrenFileViewer.hh	(revision 1347)
@@ -26,5 +26,5 @@
 //
 // $Id: G4GMocrenFileViewer.hh,v 1.2 2009/10/12 10:04:35 akimura Exp $
-// GEANT4 tag $Name: geant4-09-04-beta-01 $
+// GEANT4 tag $Name: geant4-09-04-ref-00 $
 //
 //
Index: trunk/source/visualization/gMocren/include/G4GMocrenMessenger.hh
===================================================================
--- trunk/source/visualization/gMocren/include/G4GMocrenMessenger.hh	(revision 1346)
+++ trunk/source/visualization/gMocren/include/G4GMocrenMessenger.hh	(revision 1347)
@@ -25,5 +25,5 @@
 //
 // $Id: G4GMocrenMessenger.hh,v 1.2 2009/10/12 10:04:35 akimura Exp $
-// GEANT4 tag $Name: geant4-09-04-beta-01 $
+// GEANT4 tag $Name: geant4-09-04-ref-00 $
 //
 //
Index: trunk/source/visualization/gMocren/include/G4GMocrenTouchable.hh
===================================================================
--- trunk/source/visualization/gMocren/include/G4GMocrenTouchable.hh	(revision 1346)
+++ trunk/source/visualization/gMocren/include/G4GMocrenTouchable.hh	(revision 1347)
@@ -26,5 +26,5 @@
 //
 // $Id: G4GMocrenTouchable.hh,v 1.2 2009/10/12 10:04:35 akimura Exp $
-// GEANT4 tag $Name: geant4-09-04-beta-01 $
+// GEANT4 tag $Name: geant4-09-04-ref-00 $
 //
 //
Index: trunk/source/visualization/gMocren/src/CVS/Entries
===================================================================
--- trunk/source/visualization/gMocren/src/CVS/Entries	(revision 1346)
+++ trunk/source/visualization/gMocren/src/CVS/Entries	(revision 1347)
@@ -1,1 +1,7 @@
+/G4GMocrenFile.cc/1.2/Mon Oct 12 10:04:35 2009//Tgeant4-09-04-ref-00
+/G4GMocrenFileCTtoDensityMap.cc/1.2/Wed Dec 16 17:51:27 2009//Tgeant4-09-04-ref-00
+/G4GMocrenFileSceneHandler.cc/1.18/Wed Nov 10 23:53:23 2010//Tgeant4-09-04-ref-00
+/G4GMocrenFileViewer.cc/1.4/Wed Nov 10 23:53:23 2010//Tgeant4-09-04-ref-00
+/G4GMocrenIO.cc/1.6/Wed Nov 10 23:53:23 2010//Tgeant4-09-04-ref-00
+/G4GMocrenMessenger.cc/1.2/Mon Oct 12 10:04:35 2009//Tgeant4-09-04-ref-00
 D
Index: trunk/source/visualization/gMocren/src/G4GMocrenFile.cc
===================================================================
--- trunk/source/visualization/gMocren/src/G4GMocrenFile.cc	(revision 1346)
+++ trunk/source/visualization/gMocren/src/G4GMocrenFile.cc	(revision 1347)
@@ -26,5 +26,5 @@
 //
 // $Id: G4GMocrenFile.cc,v 1.2 2009/10/12 10:04:35 akimura Exp $
-// GEANT4 tag $Name: geant4-09-04-beta-01 $
+// GEANT4 tag $Name: geant4-09-04-ref-00 $
 //
 //
Index: trunk/source/visualization/gMocren/src/G4GMocrenFileSceneHandler.cc
===================================================================
--- trunk/source/visualization/gMocren/src/G4GMocrenFileSceneHandler.cc	(revision 1346)
+++ trunk/source/visualization/gMocren/src/G4GMocrenFileSceneHandler.cc	(revision 1347)
@@ -25,6 +25,6 @@
 //
 //
-// $Id: G4GMocrenFileSceneHandler.cc,v 1.17 2010/09/03 16:01:21 gcosmo Exp $
-// GEANT4 tag $Name:  $
+// $Id: G4GMocrenFileSceneHandler.cc,v 1.18 2010/11/10 23:53:23 akimura Exp $
+// GEANT4 tag $Name: geant4-09-04-ref-00 $
 //
 //
@@ -43,4 +43,6 @@
 
 #include "globals.hh"
+#include "G4VisManager.hh"
+
 #include "G4GMocrenFile.hh"
 #include "G4GMocrenFileSceneHandler.hh"
@@ -156,5 +158,6 @@
 G4GMocrenFileSceneHandler::~G4GMocrenFileSceneHandler () 
 {
-  if(GFDEBUG) G4cerr << "***** ~G4GMocrenFileSceneHandler" << G4endl;
+  if(GFDEBUG || G4VisManager::GetVerbosity() >= G4VisManager::errors)
+      G4cout << "***** ~G4GMocrenFileSceneHandler" << G4endl;
 
   if(kGddDest) {
@@ -199,11 +202,13 @@
     if( i == MAX_FILE_INDEX ) 
       {
-	G4cerr << "==========================================="   << G4endl; 
-	G4cerr << "WARNING MESSAGE from GMocrenFile driver:   "   << G4endl;
-	G4cerr << "  This file name is the final one in the   "   << G4endl;
-	G4cerr << "  automatic updation of the output file name." << G4endl; 
-	G4cerr << "  You may overwrite existing files, i.e.   "   << G4endl; 
-	G4cerr << "  g4_XX.gdd."   << G4endl;
-	G4cerr << "==========================================="   << G4endl; 
+	if (G4VisManager::GetVerbosity() >= G4VisManager::errors) {
+	  G4cout << "==========================================="   << G4endl; 
+	  G4cout << "WARNING MESSAGE from GMocrenFile driver:   "   << G4endl;
+	  G4cout << "  This file name is the final one in the   "   << G4endl;
+	  G4cout << "  automatic updation of the output file name." << G4endl; 
+	  G4cout << "  You may overwrite existing files, i.e.   "   << G4endl; 
+	  G4cout << "  g4_XX.gdd."   << G4endl;
+	  G4cout << "==========================================="   << G4endl; 
+	}
       }
 
@@ -231,18 +236,18 @@
   } // for 
 
-  G4cerr << "======================================================================" << G4endl; 
-  G4cerr << "Output file: " << kGddFileName                          << G4endl; 
-  G4cerr << "Destination directory (current dir if NULL): " << kGddDestDir << G4endl; 
-  G4cerr << "Maximum number of files in the destination directory: " << kMaxFileNum << G4endl; 
-  G4cerr << "Note:" << G4endl; 
-  G4cerr << "  * The maximum number is customizable as:           " << G4endl;
-  G4cerr << "      % setenv  G4GMocrenFile_MAX_FILE_NUM  number " << G4endl;        
-  G4cerr << "  * The destination directory is customizable as:" << G4endl;
-  G4cerr << "      % setenv  G4GMocrenFile_DEST_DIR  dir_name/  " << G4endl;        
-  G4cerr << "     ** Do not forget \"/\" at the end of the dir_name, e.g. \"./tmp/\"." << G4endl;              
-  //G4cerr << "        dir_name, e.g. \"./tmp/\"."                 << G4endl;              
-  G4cerr << G4endl;
-  G4cerr << "Maximum number of trajectories is set to " << MAX_NUM_TRAJECTORIES << "."<< G4endl;
-  G4cerr << "======================================================================" << G4endl; 
+  G4cout << "======================================================================" << G4endl; 
+  G4cout << "Output file: " << kGddFileName                          << G4endl; 
+  G4cout << "Destination directory (current dir if NULL): " << kGddDestDir << G4endl; 
+  G4cout << "Maximum number of files in the destination directory: " << kMaxFileNum << G4endl; 
+  G4cout << "Note:" << G4endl; 
+  G4cout << "  * The maximum number is customizable as:           " << G4endl;
+  G4cout << "      % setenv  G4GMocrenFile_MAX_FILE_NUM  number " << G4endl;        
+  G4cout << "  * The destination directory is customizable as:" << G4endl;
+  G4cout << "      % setenv  G4GMocrenFile_DEST_DIR  dir_name/  " << G4endl;        
+  G4cout << "     ** Do not forget \"/\" at the end of the dir_name, e.g. \"./tmp/\"." << G4endl;              
+  //G4cout << "        dir_name, e.g. \"./tmp/\"."                 << G4endl;              
+  G4cout << G4endl;
+  G4cout << "Maximum number of trajectories is set to " << MAX_NUM_TRAJECTORIES << "."<< G4endl;
+  G4cout << "======================================================================" << G4endl; 
 
 } // G4GMocrenFileSceneHandler::SetGddFileName()
@@ -252,11 +257,12 @@
 void	G4GMocrenFileSceneHandler::BeginSavingGdd( void )
 {
-  if(GFDEBUG) G4cerr << "***** BeginSavingGdd (called)" << G4endl;
+  if(GFDEBUG || G4VisManager::GetVerbosity() >= G4VisManager::errors)
+      G4cout << "***** BeginSavingGdd (called)" << G4endl;
 
   if( !IsSavingGdd() ) {
 
-    if(GFDEBUG) {
-      G4cerr << "*****                   (started) " ;
-      G4cerr << "(open g4.gdd, ##)"  << G4endl;
+    if(GFDEBUG || G4VisManager::GetVerbosity() >= G4VisManager::errors) {
+      G4cout << "*****                   (started) " ;
+      G4cout << "(open g4.gdd, ##)"  << G4endl;
     }
 
@@ -294,5 +300,5 @@
       
     } else {
-      G4cerr << "cann't open the file : " << fname << G4endl;
+      G4cout << "cann't open the file : " << fname << G4endl;
     }
     */
@@ -322,9 +328,11 @@
 void	G4GMocrenFileSceneHandler::EndSavingGdd  ( void ) 
 {
-  if(GFDEBUG) G4cerr << "***** EndSavingGdd (called)" << G4endl;
+  if(GFDEBUG || G4VisManager::GetVerbosity() >= G4VisManager::errors)
+    G4cout << "***** EndSavingGdd (called)" << G4endl;
 
   if(IsSavingGdd()) {
-    if(GFDEBUG) G4cerr << "*****                 (started) (close "
-		       << kGddFileName << ")" << G4endl;
+    if(GFDEBUG || G4VisManager::GetVerbosity() >= G4VisManager::errors)
+      G4cout << "*****                 (started) (close "
+	     << kGddFileName << ")" << G4endl;
 
     if(kGddDest) kGddDest.close();
@@ -483,5 +491,6 @@
 
 
-      if(GFDEBUG) G4cerr << "***** G4GMocrenFileSceneHandler::GFBeginModeling (called & started)" << G4endl;
+    if(GFDEBUG || G4VisManager::GetVerbosity() >= G4VisManager::errors)
+      G4cout << "***** G4GMocrenFileSceneHandler::GFBeginModeling (called & started)" << G4endl;
 
       //----- Send saving command and heading comment
@@ -511,5 +520,6 @@
 void G4GMocrenFileSceneHandler::AddPrimitive (const G4Polyline& polyline) 
 {
-  if(GFDEBUG) G4cerr << "***** AddPrimitive" << G4endl;
+  if(GFDEBUG || G4VisManager::GetVerbosity() >= G4VisManager::errors)
+    G4cout << "***** AddPrimitive" << G4endl;
 
 
@@ -591,5 +601,6 @@
 {
   //----- 
-  if(GFDEBUG) G4cerr << "***** AddPrimitive( G4NURBS )" << G4endl;
+  if(GFDEBUG || G4VisManager::GetVerbosity() >= G4VisManager::errors)
+    G4cout << "***** AddPrimitive( G4NURBS )" << G4endl;
 
   //----- Initialize if necessary
@@ -607,5 +618,6 @@
 
   //----- 
-  if(GFDEBUG) G4cerr << "***** AddPrimitive( G4Text )" << G4endl;
+  if(GFDEBUG || G4VisManager::GetVerbosity() >= G4VisManager::errors)
+    G4cout << "***** AddPrimitive( G4Text )" << G4endl;
 
   //----- Initialize IF NECESSARY
@@ -622,5 +634,6 @@
 
   //----- 
-  if(GFDEBUG) G4cerr << "***** AddPrimitive( G4Circle )" << G4endl;
+  if(GFDEBUG || G4VisManager::GetVerbosity() >= G4VisManager::errors)
+    G4cout << "***** AddPrimitive( G4Circle )" << G4endl;
 
   //----- Initialize IF NECESSARY
@@ -638,5 +651,6 @@
 
   //----- 
-  if(GFDEBUG) G4cerr << "***** AddPrimitive( G4Square )" << G4endl;
+  if(GFDEBUG || G4VisManager::GetVerbosity() >= G4VisManager::errors)
+    G4cout << "***** AddPrimitive( G4Square )" << G4endl;
 
   //----- Initialize if necessary
@@ -650,5 +664,6 @@
 {
   //----- 
-  if(GFDEBUG) G4cerr << "***** AddPrimitive( G4Polyhedron )" << G4endl;
+  if(GFDEBUG || G4VisManager::GetVerbosity() >= G4VisManager::errors)
+    G4cout << "***** AddPrimitive( G4Polyhedron )" << G4endl;
 
 
@@ -678,14 +693,18 @@
       break;
     default:
-      G4cerr <<
-	"ERROR G4GMocrenFileSceneHandler::AddPrimitive(G4Polyhedron)" << G4endl;
+      if(GFDEBUG || G4VisManager::GetVerbosity() >= G4VisManager::errors)
+	G4cout <<
+	  "ERROR G4GMocrenFileSceneHandler::AddPrimitive(G4Polyhedron)" << G4endl;
       G4PhysicalVolumeModel* pPVModel =
         dynamic_cast<G4PhysicalVolumeModel*>(fpModel);
-      if (pPVModel) G4cerr <<
-		      "Volume " << pPVModel->GetCurrentPV()->GetName() <<
-		      ", Solid " << pPVModel->GetCurrentLV()->GetSolid()->GetName() <<
-		      " (" << pPVModel->GetCurrentLV()->GetSolid()->GetEntityType();
-      G4cerr <<
-	"\nG4Polyhedron facet with " << i << " edges" << G4endl;	
+      if (pPVModel)   
+	if(G4VisManager::GetVerbosity() >= G4VisManager::errors)
+	  G4cout << "Volume " << pPVModel->GetCurrentPV()->GetName() <<
+	    ", Solid " << pPVModel->GetCurrentLV()->GetSolid()->GetName() <<
+	    " (" << pPVModel->GetCurrentLV()->GetSolid()->GetEntityType();
+
+      if(G4VisManager::GetVerbosity() >= G4VisManager::errors)
+	G4cout <<
+	  "\nG4Polyhedron facet with " << i << " edges" << G4endl;	
     }
   }
@@ -700,11 +719,12 @@
 
   //----- 		
-  if(GFDEBUG) G4cerr << "***** GFEndModeling (called)" << G4endl;
+  if(GFDEBUG || G4VisManager::GetVerbosity() >= G4VisManager::errors)
+    G4cout << "***** GFEndModeling (called)" << G4endl;
 
   if( GFIsInModeling() ) {
 
-    if(GFDEBUG) {
-      G4cerr << "***** GFEndModeling (started) " ; 
-      G4cerr << "(/EndModeling, /DrawAll, /CloseDevice)" << G4endl;
+    if(GFDEBUG || G4VisManager::GetVerbosity() >= G4VisManager::errors) {
+      G4cout << "***** GFEndModeling (started) " ; 
+      G4cout << "(/EndModeling, /DrawAll, /CloseDevice)" << G4endl;
     }
 
@@ -723,5 +743,6 @@
 void G4GMocrenFileSceneHandler::BeginPrimitives (const G4Transform3D& objectTransformation)
 {
-  if(GFDEBUG) G4cerr << "***** BeginPrimitives " << G4endl;
+  if(GFDEBUG || G4VisManager::GetVerbosity() >= G4VisManager::errors)
+    G4cout << "***** BeginPrimitives " << G4endl;
 
   GFBeginModeling();
@@ -736,5 +757,6 @@
 void G4GMocrenFileSceneHandler::EndPrimitives ()
 {
-  if(GFDEBUG) G4cerr << "***** EndPrimitives " << G4endl;
+  if(GFDEBUG || G4VisManager::GetVerbosity() >= G4VisManager::errors)
+    G4cout << "***** EndPrimitives " << G4endl;
 
   G4VSceneHandler::EndPrimitives ();
@@ -747,5 +769,6 @@
 void G4GMocrenFileSceneHandler::AddSolid( const G4Box& box )
 {
-  if(GFDEBUG) G4cerr << "***** AddSolid ( box )" << G4endl;
+  if(GFDEBUG || G4VisManager::GetVerbosity() >= G4VisManager::errors)
+    G4cout << "***** AddSolid ( box )" << G4endl;
 
   if(GFDEBUG_DET > 0)
@@ -1279,5 +1302,6 @@
 G4GMocrenFileSceneHandler::AddSolid( const G4Tubs& tubes )
 {
-  if(GFDEBUG) G4cerr << "***** AddSolid ( tubes )" << G4endl;
+  if(GFDEBUG || G4VisManager::GetVerbosity() >= G4VisManager::errors)
+    G4cout << "***** AddSolid ( tubes )" << G4endl;
 
   //----- skip drawing invisible primitive
@@ -1321,5 +1345,6 @@
 G4GMocrenFileSceneHandler::AddSolid( const G4Cons& cons )
 {
-  if(GFDEBUG) G4cerr << "***** AddSolid ( cons )" << G4endl;
+  if(GFDEBUG || G4VisManager::GetVerbosity() >= G4VisManager::errors)
+    G4cout << "***** AddSolid ( cons )" << G4endl;
 
   //----- skip drawing invisible primitive
@@ -1338,5 +1363,6 @@
 void G4GMocrenFileSceneHandler::AddSolid ( const G4Trd& trd )
 {
-  if(GFDEBUG) G4cerr << "***** AddSolid ( trd )" << G4endl;
+  if(GFDEBUG || G4VisManager::GetVerbosity() >= G4VisManager::errors)
+    G4cout << "***** AddSolid ( trd )" << G4endl;
 
 
@@ -1356,5 +1382,6 @@
 void G4GMocrenFileSceneHandler::AddSolid ( const G4Sphere& sphere )
 {
-  if(GFDEBUG) G4cerr << "***** AddSolid ( sphere )" << G4endl;
+  if(GFDEBUG || G4VisManager::GetVerbosity() >= G4VisManager::errors)
+    G4cout << "***** AddSolid ( sphere )" << G4endl;
 
   //----- skip drawing invisible primitive
@@ -1373,5 +1400,6 @@
 void G4GMocrenFileSceneHandler::AddSolid (const G4Para& para)
 {
-  if(GFDEBUG) G4cerr << "***** AddSolid ( para )" << G4endl;
+  if(GFDEBUG || G4VisManager::GetVerbosity() >= G4VisManager::errors)
+    G4cout << "***** AddSolid ( para )" << G4endl;
 
   //----- skip drawing invisible primitive
@@ -1390,5 +1418,6 @@
 void G4GMocrenFileSceneHandler::AddSolid (const G4Trap& trap)
 {
-  if(GFDEBUG) G4cerr << "***** AddSolid ( trap )" << G4endl;
+  if(GFDEBUG || G4VisManager::GetVerbosity() >= G4VisManager::errors)
+    G4cout << "***** AddSolid ( trap )" << G4endl;
 
   //----- skip drawing invisible primitive
@@ -1408,5 +1437,6 @@
 G4GMocrenFileSceneHandler::AddSolid( const G4Torus& torus )
 {
-  if(GFDEBUG) G4cerr << "***** AddSolid ( torus )" << G4endl;
+  if(GFDEBUG || G4VisManager::GetVerbosity() >= G4VisManager::errors)
+    G4cout << "***** AddSolid ( torus )" << G4endl;
 
   //----- skip drawing invisible primitive
@@ -1452,5 +1482,5 @@
 
   if(GFDEBUG_TRK) {
-    std::cout << " ::AddCompound(const G4VTrajectory&) >>>>>>>>> " << std::endl;
+    G4cout << " ::AddCompound(const G4VTrajectory&) >>>>>>>>> " << G4endl;
     G4TrajectoriesModel * pTrModel = dynamic_cast<G4TrajectoriesModel*>(fpModel);
     if (!pTrModel) { 
Index: trunk/source/visualization/gMocren/src/G4GMocrenFileViewer.cc
===================================================================
--- trunk/source/visualization/gMocren/src/G4GMocrenFileViewer.cc	(revision 1346)
+++ trunk/source/visualization/gMocren/src/G4GMocrenFileViewer.cc	(revision 1347)
@@ -25,6 +25,6 @@
 //
 //
-// $Id: G4GMocrenFileViewer.cc,v 1.3 2009/12/03 11:44:42 akimura Exp $
-// GEANT4 tag $Name: geant4-09-04-beta-01 $
+// $Id: G4GMocrenFileViewer.cc,v 1.4 2010/11/10 23:53:23 akimura Exp $
+// GEANT4 tag $Name: geant4-09-04-ref-00 $
 //
 //
@@ -41,4 +41,5 @@
 #include <cassert>
 
+#include "G4VisManager.hh"
 #include "G4Scene.hh"
 #include "G4Vector3D.hh"
@@ -93,5 +94,6 @@
 {
   if(GFDEBUG)
-    G4cerr << "***** G4GMocrenFileViewer::SetView(): No effects" << G4endl;
+    if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
+      G4cout << "***** G4GMocrenFileViewer::SetView(): No effects" << G4endl;
 
   // Do nothing, since DAWN is running as a different process.
@@ -105,5 +107,6 @@
 {
   if(GFDEBUG)
-    G4cerr << "***** G4GMocrenFileViewer::ClearView (): No effects " << G4endl;
+    if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
+      G4cout << "***** G4GMocrenFileViewer::ClearView (): No effects " << G4endl;
 
   //if(kSceneHandler.kGddDest) {
@@ -121,5 +124,6 @@
 {
   if(GFDEBUG)
-    G4cerr << "***** G4GMocrenFileViewer::DrawView () " << G4endl;
+    if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
+      G4cout << "***** G4GMocrenFileViewer::DrawView () " << G4endl;
 
   //----- 
@@ -140,5 +144,6 @@
 {
   if(GFDEBUG)
-    G4cerr << "***** G4GMocrenFileViewer::ShowView () " << G4endl;
+    if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
+      G4cout << "***** G4GMocrenFileViewer::ShowView () " << G4endl;
 
   if( kSceneHandler.GFIsInModeling() ) 
Index: trunk/source/visualization/gMocren/src/G4GMocrenIO.cc
===================================================================
--- trunk/source/visualization/gMocren/src/G4GMocrenIO.cc	(revision 1346)
+++ trunk/source/visualization/gMocren/src/G4GMocrenIO.cc	(revision 1347)
@@ -25,6 +25,6 @@
 //
 //
-// $Id: G4GMocrenIO.cc,v 1.5 2009/12/03 11:44:42 akimura Exp $
-// GEANT4 tag $Name: geant4-09-04-beta-01 $
+// $Id: G4GMocrenIO.cc,v 1.6 2010/11/10 23:53:23 akimura Exp $
+// GEANT4 tag $Name: geant4-09-04-ref-00 $
 //
 //
@@ -40,5 +40,4 @@
 //
 #include "G4GMocrenIO.hh"
-
 #include <iostream>
 #include <ctime>
@@ -47,4 +46,8 @@
 #include <cstdlib>
 #include <cstring>
+
+#include "globals.hh"
+#include "G4VisManager.hh"
+
 #if defined(_WIN32)
 #define LITTLE_ENDIAN 1234
@@ -97,7 +100,8 @@
   }
   if(!stat) {
-    std::cerr << "Warning: operator + "
-	      << "         Cannot do the operator +"
-	      << std::endl;
+    if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
+      G4cout << "Warning: operator + "
+	     << "         Cannot do the operator +"
+	     << G4endl;
     return *this;
   }
@@ -137,7 +141,8 @@
   }
   if(!stat) {
-    std::cerr << "Warning: operator += " << std::endl
-	      << "         Cannot do the operator +="
-	      << std::endl;
+    if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
+      G4cout << "Warning: operator += " << G4endl
+	     << "         Cannot do the operator +="
+	     << G4endl;
     return *this;
   }
@@ -263,6 +268,7 @@
 			   int _num) {
   if(_num >= (int)kTrack.size()) {
-    std::cerr << "GMocrenTrack::getStep(...) Error: "
-	      << "invalid step # : " << _num << std::endl;
+    if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
+      G4cout << "GMocrenTrack::getStep(...) Error: "
+	     << "invalid step # : " << _num << G4endl;
     return;
   }
@@ -313,6 +319,7 @@
 			   int _num) {
   if(_num >= (int)kDetector.size()) {
-    std::cerr << "GMocrenDetector::getEdge(...) Error: "
-	      << "invalid edge # : " << _num << std::endl;
+    if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
+      G4cout << "GMocrenDetector::getEdge(...) Error: "
+	     << "invalid edge # : " << _num << G4endl;
     return;
   }
@@ -458,7 +465,7 @@
 
   if(DEBUG || kVerbose > 0)
-    std::cout << ">>>>>>>  store data (ver.4) <<<<<<<" << std::endl;
+    G4cout << ">>>>>>>  store data (ver.4) <<<<<<<" << G4endl;
   if(DEBUG || kVerbose > 0)
-    std::cout << "         " << kFileName << std::endl;
+    G4cout << "         " << kFileName << G4endl;
 
   // output file open
@@ -466,5 +473,5 @@
 		      std::ios_base::out|std::ios_base::binary);
   if(DEBUG || kVerbose > 0)
-    std::cout << "         file open status: " << ofile << std::endl;
+    G4cout << "         file open status: " << ofile << G4endl;
   
   // file identifier
@@ -480,6 +487,6 @@
   ofile.write((char *)&littleEndian, sizeof(char));
   if(DEBUG || kVerbose > 0) {
-    //std::cout << "Endian: " << (int)kLittleEndianOutput << std::endl;
-    std::cout << "Endian: " << (int)littleEndian << std::endl;
+    //G4cout << "Endian: " << (int)kLittleEndianOutput << G4endl;
+    G4cout << "Endian: " << (int)littleEndian << G4endl;
   }
 
@@ -505,6 +512,6 @@
   ofile.write((char *)cmt, 1024);
   if(DEBUG || kVerbose > 0) {
-    std::cout << "Data comment : "
-	      << kComment << std::endl;
+    G4cout << "Data comment : "
+	      << kComment << G4endl;
   }
 
@@ -518,9 +525,9 @@
   }
   if(DEBUG || kVerbose > 0) {
-    std::cout << "Voxel spacing : ("
+    G4cout << "Voxel spacing : ("
 	      << kVoxelSpacing[0] << ", "
 	      << kVoxelSpacing[1] << ", "
 	      << kVoxelSpacing[2]
-	      << ") mm " << std::endl;
+	      << ") mm " << G4endl;
   }
 
@@ -583,13 +590,13 @@
 
   if(DEBUG || kVerbose > 0) {
-    std::cout << "Each pointer to data : "
+    G4cout << "Each pointer to data : "
 	      << kPointerToModalityData << ", ";
     for(int i = 0; i < nDoseDist; i++) {
-      std::cout << kPointerToDoseDistData[i] << ", ";
-    }
-    std::cout << kPointerToROIData << ", "
+      G4cout << kPointerToDoseDistData[i] << ", ";
+    }
+    G4cout << kPointerToROIData << ", "
 	      << kPointerToTrackData << ", "
 	      << kPointerToDetectorData
-	      << std::endl;
+	      << G4endl;
   }
 
@@ -613,9 +620,9 @@
 
   if(DEBUG || kVerbose > 0) {
-    std::cout << "Modality image size : ("
+    G4cout << "Modality image size : ("
 	      << size[0] << ", "
 	      << size[1] << ", "
 	      << size[2] << ")"
-	      << std::endl;
+	      << G4endl;
   }
 
@@ -643,13 +650,13 @@
   }
   if(DEBUG || kVerbose > 0) {
-    std::cout << "Modality image min., max., scale : "
+    G4cout << "Modality image min., max., scale : "
 	      << minmax[0] << ", "
 	      << minmax[1] << ", "
-	      << scale << std::endl;
+	      << scale << G4endl;
   }
 
   // modality image
   int psize = size[0]*size[1];
-  if(DEBUG || kVerbose > 0) std::cout << "Modality image : ";
+  if(DEBUG || kVerbose > 0) G4cout << "Modality image : ";
   for(int i = 0; i < size[2]; i++) {
     short * image = kModality.getImage(i);
@@ -663,12 +670,12 @@
     }
 
-    if(DEBUG || kVerbose > 0) std::cout << "[" << i << "]" << image[(size_t)(psize*0.55)] << ", ";
-  }
-  if(DEBUG || kVerbose > 0) std::cout << std::endl;
+    if(DEBUG || kVerbose > 0) G4cout << "[" << i << "]" << image[(size_t)(psize*0.55)] << ", ";
+  }
+  if(DEBUG || kVerbose > 0) G4cout << G4endl;
 
   // modality desity map for CT value
   size_t msize = minmax[1] - minmax[0]+1;
   if(DEBUG || kVerbose > 0) 
-    std::cout << "modality image : " << minmax[0] << ", " << minmax[1] << std::endl;
+    G4cout << "modality image : " << minmax[0] << ", " << minmax[1] << G4endl;
   float * pdmap = new float[msize];
   for(int i = 0; i < (int)msize; i++) pdmap[i] =kModalityImageDensityMap[i]; 
@@ -684,8 +691,8 @@
 
   if(DEBUG || kVerbose > 0) {
-    std::cout << "density map : " << std::ends;
+    G4cout << "density map : " << std::ends;
     for(int i = 0; i < (int)msize; i+=50)
-      std::cout <<kModalityImageDensityMap[i] << ", ";
-    std::cout << std::endl;
+      G4cout <<kModalityImageDensityMap[i] << ", ";
+    G4cout << G4endl;
   }
   delete [] pdmap;
@@ -709,9 +716,9 @@
       }
       if(DEBUG || kVerbose > 0) {
-	std::cout << "Dose dist. [" << ndose << "] image size : ("
+	G4cout << "Dose dist. [" << ndose << "] image size : ("
 		  << size[0] << ", "
 		  << size[1] << ", "
 		  << size[2] << ")"
-		  << std::endl;
+		  << G4endl;
       }
 
@@ -732,5 +739,5 @@
       ofile.write((char *)cdunit, 12);
       if(DEBUG || kVerbose > 0) {
-	std::cout << "Dose dist. unit : " << kDoseUnit << std::endl;
+	G4cout << "Dose dist. unit : " << kDoseUnit << G4endl;
       }
 
@@ -746,9 +753,9 @@
       }
       if(DEBUG || kVerbose > 0) {
-	std::cout << "Dose dist. [" << ndose
+	G4cout << "Dose dist. [" << ndose
 		  << "] image min., max., scale : "
 		  << minmax[0] << ", "
 		  << minmax[1] << ", "
-		  << scale << std::endl;
+		  << scale << G4endl;
       }
 
@@ -770,10 +777,10 @@
 	  for(int j = 0; j < dsize; j++) {
 	    if(dimage[j] < 0)
-	      std::cout << "[" << j << "," << z << "]"
+	      G4cout << "[" << j << "," << z << "]"
 			<< dimage[j] << ", ";
 	  }
 	}
       }
-      if(DEBUG || kVerbose > 0) std::cout << std::endl;
+      if(DEBUG || kVerbose > 0) G4cout << G4endl;
       delete [] dimage;
 
@@ -790,9 +797,9 @@
       }
       if(DEBUG || kVerbose > 0) {
-	std::cout << "Dose dist. [" << ndose
+	G4cout << "Dose dist. [" << ndose
 		  << "]image relative location : ("
 		  << iCenter[0] << ", "
 		  << iCenter[1] << ", "
-		  << iCenter[2] << ")" << std::endl;
+		  << iCenter[2] << ")" << G4endl;
       }
 
@@ -803,5 +810,5 @@
       ofile.write((char *)name.c_str(), 80);
       if(DEBUG || kVerbose > 0) {
-	std::cout << "Dose dist. name : " << name << std::endl;
+	G4cout << "Dose dist. name : " << name << G4endl;
       }
 
@@ -821,9 +828,9 @@
     }
     if(DEBUG || kVerbose > 0) {
-      std::cout << "ROI image size : ("
+      G4cout << "ROI image size : ("
 		<< size[0] << ", "
 		<< size[1] << ", "
 		<< size[2] << ")"
-		<< std::endl;
+		<< G4endl;
     }
 
@@ -847,8 +854,8 @@
     }
     if(DEBUG || kVerbose > 0) {
-      std::cout << "ROI image min., max., scale : "
+      G4cout << "ROI image min., max., scale : "
 		<< minmax[0] << ", "
 		<< minmax[1] << ", "
-		<< scale << std::endl;
+		<< scale << G4endl;
     }
 
@@ -879,8 +886,8 @@
     }
     if(DEBUG || kVerbose > 0) {
-      std::cout << "ROI image relative location : ("
+      G4cout << "ROI image relative location : ("
 		<< iCenter[0] << ", "
 		<< iCenter[1] << ", "
-		<< iCenter[2] << ")" << std::endl;
+		<< iCenter[2] << ")" << G4endl;
     }
   }
@@ -898,6 +905,6 @@
     }
     if(DEBUG || kVerbose > 0) {
-      std::cout << "# of tracks : "
-		<< ntrk << std::endl;
+      G4cout << "# of tracks : "
+		<< ntrk << G4endl;
     }
 
@@ -913,5 +920,5 @@
       }
       if(DEBUG || kVerbose > 0) {
-	std::cout << "# of steps : " << nsteps << std::endl;
+	G4cout << "# of steps : " << nsteps << G4endl;
       }
 
@@ -950,6 +957,6 @@
     }
     if(DEBUG || kVerbose > 0) {
-      std::cout << "# of detectors : "
-		<< ndet << std::endl;
+      G4cout << "# of detectors : "
+		<< ndet << G4endl;
     }
 
@@ -965,5 +972,5 @@
       }
       if(DEBUG || kVerbose > 0) {
-	std::cout << "# of edges in a detector : " << nedges << std::endl;
+	G4cout << "# of edges in a detector : " << nedges << G4endl;
       }
 
@@ -985,10 +992,10 @@
 	if(DEBUG || kVerbose > 0) {
 	  if(ne < 1) {
-	    std::cout << " edge : (" << edgePoints[0] << ", "
+	    G4cout << " edge : (" << edgePoints[0] << ", "
 		      << edgePoints[1] << ", "
 		      << edgePoints[2] << ") - ("
 		      << edgePoints[3] << ", "
 		      << edgePoints[4] << ", "
-		      << edgePoints[5] << ")" << std::endl;
+		      << edgePoints[5] << ")" << G4endl;
 	  }
 	}
@@ -1000,7 +1007,7 @@
       ofile.write((char *)dcolor, 3);
       if(DEBUG || kVerbose > 0) {
-	std::cout << " rgb : (" << (int)dcolor[0] << ", "
+	G4cout << " rgb : (" << (int)dcolor[0] << ", "
 		  << (int)dcolor[1] << ", "
-		  << (int)dcolor[2] << ")" << std::endl;
+		  << (int)dcolor[2] << ")" << G4endl;
       }
 
@@ -1010,5 +1017,5 @@
       ofile.write((char *)dname.c_str(), 80);
       if(DEBUG || kVerbose > 0) {
-	std::cout << " detector name : " << dname << std::endl;
+	G4cout << " detector name : " << dname << G4endl;
       
       }
@@ -1021,5 +1028,5 @@
   ofile.close();
   if(DEBUG || kVerbose > 0)
-    std::cout << ">>>> closed gdd file: " << kFileName << std::endl;
+    G4cout << ">>>> closed gdd file: " << kFileName << G4endl;
 
   return true;
@@ -1027,6 +1034,6 @@
 bool G4GMocrenIO::storeData3() {
 
-  if(kVerbose > 0) std::cout << ">>>>>>>  store data (ver.3) <<<<<<<" << std::endl;
-  if(kVerbose > 0) std::cout << "         " << kFileName << std::endl;
+  if(kVerbose > 0) G4cout << ">>>>>>>  store data (ver.3) <<<<<<<" << G4endl;
+  if(kVerbose > 0) G4cout << "         " << kFileName << G4endl;
 
   bool DEBUG = false;//
@@ -1055,6 +1062,6 @@
   ofile.write((char *)cmt, 1024);
   if(DEBUG || kVerbose > 0) {
-    std::cout << "Data comment : "
-	      << kComment << std::endl;
+    G4cout << "Data comment : "
+	      << kComment << G4endl;
   }
 
@@ -1062,9 +1069,9 @@
   ofile.write((char *)kVoxelSpacing, 12);
   if(DEBUG || kVerbose > 0) {
-    std::cout << "Voxel spacing : ("
+    G4cout << "Voxel spacing : ("
 	      << kVoxelSpacing[0] << ", "
 	      << kVoxelSpacing[1] << ", "
 	      << kVoxelSpacing[2]
-	      << ") mm " << std::endl;
+	      << ") mm " << G4endl;
   }
 
@@ -1090,11 +1097,11 @@
   ofile.write((char *)&kPointerToTrackData, 4);
   if(DEBUG || kVerbose > 0) {
-    std::cout << "Each pointer to data : "
+    G4cout << "Each pointer to data : "
 	      << kPointerToModalityData << ", ";
     for(int i = 0; i < nDoseDist; i++) {
-      std::cout << kPointerToDoseDistData[i] << ", ";
-    }
-    std::cout << kPointerToROIData << ", "
-	      << kPointerToTrackData << std::endl;
+      G4cout << kPointerToDoseDistData[i] << ", ";
+    }
+    G4cout << kPointerToROIData << ", "
+	      << kPointerToTrackData << G4endl;
   }
 
@@ -1110,9 +1117,9 @@
   ofile.write((char *)size, 3*sizeof(int));
   if(DEBUG || kVerbose > 0) {
-    std::cout << "Modality image size : ("
+    G4cout << "Modality image size : ("
 	      << size[0] << ", "
 	      << size[1] << ", "
 	      << size[2] << ")"
-	      << std::endl;
+	      << G4endl;
   }
 
@@ -1129,20 +1136,20 @@
   ofile.write((char *)&scale, 4);
   if(DEBUG || kVerbose > 0) {
-    std::cout << "Modality image min., max., scale : "
+    G4cout << "Modality image min., max., scale : "
 	      << minmax[0] << ", "
 	      << minmax[1] << ", "
-	      << scale << std::endl;
+	      << scale << G4endl;
   }
 
   // modality image
   int psize = size[0]*size[1];
-  if(DEBUG || kVerbose > 0) std::cout << "Modality image : ";
+  if(DEBUG || kVerbose > 0) G4cout << "Modality image : ";
   for(int i = 0; i < size[2]; i++) {
     short * image = kModality.getImage(i);
     ofile.write((char *)image, psize*sizeof(short));
 
-    if(DEBUG || kVerbose > 0) std::cout << "[" << i << "]" << image[(size_t)(psize*0.55)] << ", ";
-  }
-  if(DEBUG || kVerbose > 0) std::cout << std::endl;
+    if(DEBUG || kVerbose > 0) G4cout << "[" << i << "]" << image[(size_t)(psize*0.55)] << ", ";
+  }
+  if(DEBUG || kVerbose > 0) G4cout << G4endl;
 
   // modality desity map for CT value
@@ -1152,8 +1159,8 @@
   ofile.write((char *)pdmap, msize*sizeof(float));
   if(DEBUG || kVerbose > 0) {
-    std::cout << "density map : " << std::ends;
+    G4cout << "density map : " << std::ends;
     for(int i = 0; i < (int)msize; i+=50)
-      std::cout <<kModalityImageDensityMap[i] << ", ";
-    std::cout << std::endl;
+      G4cout <<kModalityImageDensityMap[i] << ", ";
+    G4cout << G4endl;
   }
   delete [] pdmap;
@@ -1171,9 +1178,9 @@
       ofile.write((char *)size, 3*sizeof(int));
       if(DEBUG || kVerbose > 0) {
-	std::cout << "Dose dist. [" << ndose << "] image size : ("
+	G4cout << "Dose dist. [" << ndose << "] image size : ("
 		  << size[0] << ", "
 		  << size[1] << ", "
 		  << size[2] << ")"
-		  << std::endl;
+		  << G4endl;
       }
 
@@ -1185,5 +1192,5 @@
       ofile.write((char *)kDoseUnit.c_str(), 12);
       if(DEBUG || kVerbose > 0) {
-	std::cout << "Dose dist. unit : " << kDoseUnit << std::endl;
+	G4cout << "Dose dist. unit : " << kDoseUnit << G4endl;
       }
 
@@ -1194,9 +1201,9 @@
       ofile.write((char *)&scale, 4);
       if(DEBUG || kVerbose > 0) {
-	std::cout << "Dose dist. [" << ndose
+	G4cout << "Dose dist. [" << ndose
 		  << "] image min., max., scale : "
 		  << minmax[0] << ", "
 		  << minmax[1] << ", "
-		  << scale << std::endl;
+		  << scale << G4endl;
       }
 
@@ -1211,10 +1218,10 @@
 	  for(int j = 0; j < dsize; j++) {
 	    if(dimage[j] < 0)
-	      std::cout << "[" << j << "," << z << "]"
+	      G4cout << "[" << j << "," << z << "]"
 			<< dimage[j] << ", ";
 	  }
 	}
       }
-      if(DEBUG || kVerbose > 0) std::cout << std::endl;
+      if(DEBUG || kVerbose > 0) G4cout << G4endl;
       delete [] dimage;
 
@@ -1225,9 +1232,9 @@
       ofile.write((char *)iCenter, 3*4); // 3*sizeof(int)
       if(DEBUG || kVerbose > 0) {
-	std::cout << "Dose dist. [" << ndose
+	G4cout << "Dose dist. [" << ndose
 		  << "]image relative location : ("
 		  << iCenter[0] << ", "
 		  << iCenter[1] << ", "
-		  << iCenter[2] << ")" << std::endl;
+		  << iCenter[2] << ")" << G4endl;
       }
     }
@@ -1240,9 +1247,9 @@
     ofile.write((char *)size, 3*sizeof(int));
     if(DEBUG || kVerbose > 0) {
-      std::cout << "ROI image size : ("
+      G4cout << "ROI image size : ("
 		<< size[0] << ", "
 		<< size[1] << ", "
 		<< size[2] << ")"
-		<< std::endl;
+		<< G4endl;
     }
 
@@ -1255,8 +1262,8 @@
     ofile.write((char *)&scale, sizeof(float));
     if(DEBUG || kVerbose > 0) {
-      std::cout << "ROI image min., max., scale : "
+      G4cout << "ROI image min., max., scale : "
 		<< minmax[0] << ", "
 		<< minmax[1] << ", "
-		<< scale << std::endl;
+		<< scale << G4endl;
     }
 
@@ -1274,8 +1281,8 @@
     ofile.write((char *)iCenter, 3*sizeof(int));
     if(DEBUG || kVerbose > 0) {
-      std::cout << "ROI image relative location : ("
+      G4cout << "ROI image relative location : ("
 		<< iCenter[0] << ", "
 		<< iCenter[1] << ", "
-		<< iCenter[2] << ")" << std::endl;
+		<< iCenter[2] << ")" << G4endl;
     }
   }
@@ -1286,6 +1293,6 @@
   ofile.write((char *)&ntrk, sizeof(int));
   if(DEBUG || kVerbose > 0) {
-    std::cout << "# of tracks : "
-	      << ntrk << std::endl;
+    G4cout << "# of tracks : "
+	      << ntrk << G4endl;
   }
   // track position
@@ -1297,6 +1304,7 @@
   int ntcolor = int(kStepColors.size());
   if(ntrk != ntcolor) 
-    std::cerr << "# of track color information must be the same as # of tracks." 
-	      << std::endl;
+    if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
+      G4cout << "# of track color information must be the same as # of tracks." 
+	     << G4endl;
   unsigned char white[3] = {255,255,255}; // default color
   for(int i = 0; i < ntrk; i++) {
@@ -1325,6 +1333,6 @@
 bool G4GMocrenIO::storeData2() {
 
-  if(kVerbose > 0) std::cout << ">>>>>>>  store data (ver.2) <<<<<<<" << std::endl;
-  if(kVerbose > 0) std::cout << "         " << kFileName << std::endl;
+  if(kVerbose > 0) G4cout << ">>>>>>>  store data (ver.2) <<<<<<<" << G4endl;
+  if(kVerbose > 0) G4cout << "         " << kFileName << G4endl;
 
   bool DEBUG = false;//
@@ -1361,9 +1369,9 @@
   ofile.write((char *)kVoxelSpacing, 12);
   if(DEBUG || kVerbose > 0) {
-    std::cout << "Voxel spacing : ("
+    G4cout << "Voxel spacing : ("
 	      << kVoxelSpacing[0] << ", "
 	      << kVoxelSpacing[1] << ", "
 	      << kVoxelSpacing[2]
-	      << ") mm " << std::endl;
+	      << ") mm " << G4endl;
   }
 
@@ -1381,9 +1389,9 @@
   ofile.write((char *)&kPointerToTrackData, 4);
   if(DEBUG || kVerbose > 0) {
-    std::cout << "Each pointer to data : "
+    G4cout << "Each pointer to data : "
 	      << kPointerToModalityData << ", "
 	      << kPointerToDoseDistData[0] << ", "
 	      << kPointerToROIData << ", "
-	      << kPointerToTrackData << std::endl;
+	      << kPointerToTrackData << G4endl;
   }
 
@@ -1399,9 +1407,9 @@
   ofile.write((char *)size, 3*sizeof(int));
   if(DEBUG || kVerbose > 0) {
-    std::cout << "Modality image size : ("
+    G4cout << "Modality image size : ("
 	      << size[0] << ", "
 	      << size[1] << ", "
 	      << size[2] << ")"
-	      << std::endl;
+	      << G4endl;
   }
 
@@ -1418,20 +1426,20 @@
   ofile.write((char *)&scale, 4);
   if(DEBUG || kVerbose > 0) {
-    std::cout << "Modality image min., max., scale : "
+    G4cout << "Modality image min., max., scale : "
 	      << minmax[0] << ", "
 	      << minmax[1] << ", "
-	      << scale << std::endl;
+	      << scale << G4endl;
   }
 
   // modality image
   int psize = size[0]*size[1];
-  if(DEBUG || kVerbose > 0) std::cout << "Modality image : ";
+  if(DEBUG || kVerbose > 0) G4cout << "Modality image : ";
   for(int i = 0; i < size[2]; i++) {
     short * image =kModality.getImage(i);
     ofile.write((char *)image, psize*sizeof(short));
 
-    if(DEBUG || kVerbose > 0) std::cout << "[" << i << "]" << image[(size_t)(psize*0.55)] << ", ";
-  }
-  if(DEBUG || kVerbose > 0) std::cout << std::endl;
+    if(DEBUG || kVerbose > 0) G4cout << "[" << i << "]" << image[(size_t)(psize*0.55)] << ", ";
+  }
+  if(DEBUG || kVerbose > 0) G4cout << G4endl;
 
   // modality desity map for CT value
@@ -1441,8 +1449,8 @@
   ofile.write((char *)pdmap, msize*sizeof(float));
   if(DEBUG || kVerbose > 0) {
-    std::cout << "density map : " << std::ends;
+    G4cout << "density map : " << std::ends;
     for(int i = 0; i < (int)msize; i+=50)
-      std::cout <<kModalityImageDensityMap[i] << ", ";
-    std::cout << std::endl;
+      G4cout <<kModalityImageDensityMap[i] << ", ";
+    G4cout << G4endl;
   }
   delete [] pdmap;
@@ -1458,9 +1466,9 @@
     ofile.write((char *)size, 3*sizeof(int));
     if(DEBUG || kVerbose > 0) {
-      std::cout << "Dose dist. image size : ("
+      G4cout << "Dose dist. image size : ("
 		<< size[0] << ", "
 		<< size[1] << ", "
 		<< size[2] << ")"
-		<< std::endl;
+		<< G4endl;
     }
 
@@ -1473,8 +1481,8 @@
     ofile.write((char *)&scale, sizeof(float));
     if(DEBUG || kVerbose > 0) {
-      std::cout << "Dose dist. image min., max., scale : "
+      G4cout << "Dose dist. image min., max., scale : "
 		<< minmax[0] << ", "
 		<< minmax[1] << ", "
-		<< scale << std::endl;
+		<< scale << G4endl;
     }
 
@@ -1489,10 +1497,10 @@
 	for(int j = 0; j < dsize; j++) {
 	  if(dimage[j] < 0)
-	    std::cout << "[" << j << "," << z << "]"
+	    G4cout << "[" << j << "," << z << "]"
 		      << dimage[j] << ", ";
 	}
       }
     }
-    if(DEBUG || kVerbose > 0) std::cout << std::endl;
+    if(DEBUG || kVerbose > 0) G4cout << G4endl;
     delete [] dimage;
 
@@ -1503,8 +1511,8 @@
     ofile.write((char *)iCenter, 3*sizeof(int));
     if(DEBUG || kVerbose > 0) {
-      std::cout << "Dose dist. image relative location : ("
+      G4cout << "Dose dist. image relative location : ("
 		<< iCenter[0] << ", "
 		<< iCenter[1] << ", "
-		<< iCenter[2] << ")" << std::endl;
+		<< iCenter[2] << ")" << G4endl;
     }
 
@@ -1517,9 +1525,9 @@
     ofile.write((char *)size, 3*sizeof(int));
     if(DEBUG || kVerbose > 0) {
-      std::cout << "ROI image size : ("
+      G4cout << "ROI image size : ("
 		<< size[0] << ", "
 		<< size[1] << ", "
 		<< size[2] << ")"
-		<< std::endl;
+		<< G4endl;
     }
 
@@ -1532,8 +1540,8 @@
     ofile.write((char *)&scale, sizeof(float));
     if(DEBUG || kVerbose > 0) {
-      std::cout << "ROI image min., max., scale : "
+      G4cout << "ROI image min., max., scale : "
 		<< minmax[0] << ", "
 		<< minmax[1] << ", "
-		<< scale << std::endl;
+		<< scale << G4endl;
     }
 
@@ -1551,8 +1559,8 @@
     ofile.write((char *)iCenter, 3*sizeof(int));
     if(DEBUG || kVerbose > 0) {
-      std::cout << "ROI image relative location : ("
+      G4cout << "ROI image relative location : ("
 		<< iCenter[0] << ", "
 		<< iCenter[1] << ", "
-		<< iCenter[2] << ")" << std::endl;
+		<< iCenter[2] << ")" << G4endl;
     }
   }
@@ -1564,6 +1572,6 @@
   ofile.write((char *)&ntrk, sizeof(int));
   if(DEBUG || kVerbose > 0) {
-    std::cout << "# of tracks : "
-	      << ntrk << std::endl;
+    G4cout << "# of tracks : "
+	      << ntrk << G4endl;
   }
   for(int i = 0; i < ntrk; i++) {
@@ -1591,6 +1599,7 @@
   std::ifstream ifile(kFileName.c_str(), std::ios_base::in|std::ios_base::binary);
   if(!ifile) {
-    std::cerr << "Cannot open file: " << kFileName
-	      << " in G4GMocrenIO::retrieveData()." << std::endl;
+    if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
+      G4cout << "Cannot open file: " << kFileName
+	     << " in G4GMocrenIO::retrieveData()." << G4endl;
     return false;
   }
@@ -1606,23 +1615,26 @@
   if(std::strncmp(verid, "gMocren", 7) == 0) {
     if(ver == 0x03) {
-      std::cout << ">>>>>>>  retrieve data (ver.3) <<<<<<<" << std::endl;
-      std::cout << "         " << kFileName << std::endl;
+      G4cout << ">>>>>>>  retrieve data (ver.3) <<<<<<<" << G4endl;
+      G4cout << "         " << kFileName << G4endl;
       retrieveData3();
     } else if (ver == 0x04) {
-      std::cout << ">>>>>>>  retrieve data (ver.4) <<<<<<<" << std::endl;
-      std::cout << "         " << kFileName << std::endl;
+      G4cout << ">>>>>>>  retrieve data (ver.4) <<<<<<<" << G4endl;
+      G4cout << "         " << kFileName << G4endl;
       retrieveData4();
     } else {
-      std::cerr << "Error -- invalid file version : " << (int)ver
-		<< std::endl;
-      std::cerr << "         " << kFileName << std::endl;
+      if (G4VisManager::GetVerbosity() >= G4VisManager::errors) {
+	G4cout << "Error -- invalid file version : " << (int)ver
+		  << G4endl;
+	G4cout << "         " << kFileName << G4endl;
+      }
       std::exit(-1);
     }
   } else if(std::strncmp(verid, "GRAPE", 5) == 0) {
-    std::cout << ">>>>>>>  retrieve data (ver.2) <<<<<<<" << std::endl;
-    std::cout << "         " << kFileName << std::endl;
+    G4cout << ">>>>>>>  retrieve data (ver.2) <<<<<<<" << G4endl;
+    G4cout << "         " << kFileName << G4endl;
     retrieveData2();
   } else {
-    std::cerr << kFileName << " was not gdd file." << std::endl;
+    if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
+      G4cout << kFileName << " was not gdd file." << G4endl;
     return false;
   }
@@ -1644,6 +1656,7 @@
   std::ifstream ifile(kFileName.c_str(), std::ios_base::in|std::ios_base::binary);
   if(!ifile) {
-    std::cerr << "Cannot open file: " << kFileName
-	      << " in G4GMocrenIO::retrieveData3()." << std::endl;
+    if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
+      G4cout << "Cannot open file: " << kFileName
+		<< " in G4GMocrenIO::retrieveData3()." << G4endl;
     return false;
   }
@@ -1662,14 +1675,14 @@
   ss << (int)ver;
   kVersion = ss.str();
-  if(DEBUG || kVerbose > 0) std::cout << "File version : " << kVersion << std::endl;
+  if(DEBUG || kVerbose > 0) G4cout << "File version : " << kVersion << G4endl;
 
   // endian
   ifile.read((char *)&kLittleEndianInput, sizeof(char));
   if(DEBUG || kVerbose > 0) {
-    std::cout << "Endian : ";
+    G4cout << "Endian : ";
     if(kLittleEndianInput == 1) 
-      std::cout << " little" << std::endl;
+      G4cout << " little" << G4endl;
     else {
-      std::cout << " big" << std::endl;
+      G4cout << " big" << G4endl;
     }
   }
@@ -1686,6 +1699,6 @@
   setComment(scmt);
   if(DEBUG || kVerbose > 0) {
-    std::cout << "Data comment : "
-	      << kComment << std::endl;
+    G4cout << "Data comment : "
+	      << kComment << G4endl;
   }
 
@@ -1696,9 +1709,9 @@
   convertEndian(ctmp+8, kVoxelSpacing[2]);
   if(DEBUG || kVerbose > 0) {
-    std::cout << "Voxel spacing : ("
+    G4cout << "Voxel spacing : ("
 	      << kVoxelSpacing[0] << ", "
 	      << kVoxelSpacing[1] << ", "
 	      << kVoxelSpacing[2]
-	      << ") mm " << std::endl;
+	      << ") mm " << G4endl;
   }
 
@@ -1734,12 +1747,12 @@
 
   if(DEBUG || kVerbose > 0) {
-    std::cout << "Each pointer to data : "
+    G4cout << "Each pointer to data : "
 	      << kPointerToModalityData << ", ";
     for(int i = 0; i < nDoseDist; i++)
-      std::cout << kPointerToDoseDistData[i] << ", ";
-    std::cout << kPointerToROIData << ", "
+      G4cout << kPointerToDoseDistData[i] << ", ";
+    G4cout << kPointerToROIData << ", "
 	      << kPointerToTrackData << ", "
 	      << kPointerToDetectorData
-	      << std::endl;
+	      << G4endl;
   }
 
@@ -1749,5 +1762,5 @@
      kPointerToROIData == 0 && kPointerToTrackData == 0) {
     if(DEBUG || kVerbose > 0) {
-      std::cout << "No data." << std::endl;
+      G4cout << "No data." << G4endl;
     }
     return false;
@@ -1774,9 +1787,9 @@
   convertEndian(ctmp+2*sizeof(int), size[2]);
   if(DEBUG || kVerbose > 0) {
-    std::cout << "Modality image size : ("
+    G4cout << "Modality image size : ("
 	      << size[0] << ", "
 	      << size[1] << ", "
 	      << size[2] << ")"
-	      << std::endl;
+	      << G4endl;
   }
   kModality.setSize(size);
@@ -1810,13 +1823,13 @@
     kModality.setScale(dscale = scale);
     if(DEBUG || kVerbose > 0) {
-      std::cout << "Modality image min., max., scale : "
+      G4cout << "Modality image min., max., scale : "
 		<< minmax[0] << ", "
 		<< minmax[1] << ", "
-		<< scale << std::endl;
+		<< scale << G4endl;
     }
 
     // modality density
     int psize = size[0]*size[1];
-    if(DEBUG || kVerbose > 0) std::cout << "Modality image (" << psize << "): ";
+    if(DEBUG || kVerbose > 0) G4cout << "Modality image (" << psize << "): ";
     char * cimage = new char[psize*sizeof(short)];
     for(int i = 0; i < size[2]; i++) {
@@ -1828,12 +1841,12 @@
       kModality.addImage(mimage);
 
-      if(DEBUG || kVerbose > 0) std::cout << "[" << i << "]" << mimage[(size_t)(psize*0.55)] << ", ";
-    }
-    if(DEBUG || kVerbose > 0) std::cout << std::endl;
+      if(DEBUG || kVerbose > 0) G4cout << "[" << i << "]" << mimage[(size_t)(psize*0.55)] << ", ";
+    }
+    if(DEBUG || kVerbose > 0) G4cout << G4endl;
     delete [] cimage;
 
     // modality desity map for CT value
     size_t msize = minmax[1]-minmax[0]+1;
-    if(DEBUG || kVerbose > 0) std::cout << "msize: " << msize << std::endl;
+    if(DEBUG || kVerbose > 0) G4cout << "msize: " << msize << G4endl;
     char * pdmap = new char[msize*sizeof(float)];
     ifile.read((char *)pdmap, msize*sizeof(float));
@@ -1844,13 +1857,13 @@
     }
     if(DEBUG || kVerbose > 0) {
-      std::cout << "density map : " << std::ends;
+      G4cout << "density map : " << std::ends;
       for(int i = 0; i < 10; i++)
-	std::cout <<kModalityImageDensityMap[i] << ", ";
-      std::cout << std::endl;
-      for(int i = 0; i < 10; i++) std::cout << "..";
-      std::cout << std::endl;
+	G4cout <<kModalityImageDensityMap[i] << ", ";
+      G4cout << G4endl;
+      for(int i = 0; i < 10; i++) G4cout << "..";
+      G4cout << G4endl;
       for(size_t i =kModalityImageDensityMap.size() - 10; i <kModalityImageDensityMap.size(); i++)
-	std::cout <<kModalityImageDensityMap[i] << ", ";
-      std::cout << std::endl;
+	G4cout <<kModalityImageDensityMap[i] << ", ";
+      G4cout << G4endl;
     }
 
@@ -1869,9 +1882,9 @@
     convertEndian(ctmp+2*sizeof(int), size[2]);
     if(DEBUG || kVerbose > 0) {
-      std::cout << "Dose dist. image size : ("
+      G4cout << "Dose dist. image size : ("
 		<< size[0] << ", "
 		<< size[1] << ", "
 		<< size[2] << ")"
-		<< std::endl;
+		<< G4endl;
     }
     kDose[ndose].setSize(size);
@@ -1889,5 +1902,5 @@
     setDoseDistUnit(sdunit, ndose);
     if(DEBUG || kVerbose > 0) {
-      std::cout << "Dose dist. unit : " << kDoseUnit << std::endl;
+      G4cout << "Dose dist. unit : " << kDoseUnit << G4endl;
     }
 
@@ -1902,13 +1915,13 @@
 
     if(DEBUG || kVerbose > 0) {
-      std::cout << "Dose dist. image min., max., scale : "
+      G4cout << "Dose dist. image min., max., scale : "
 		<< dminmax[0] << ", "
 		<< dminmax[1] << ", "
-		<< scale << std::endl;
+		<< scale << G4endl;
     }
 
     // dose distribution image
     int dsize = size[0]*size[1];
-    if(DEBUG || kVerbose > 0) std::cout << "Dose dist. (" << dsize << "): ";
+    if(DEBUG || kVerbose > 0) G4cout << "Dose dist. (" << dsize << "): ";
     char * di = new char[dsize*sizeof(short)];
     short * shimage = new short[dsize];
@@ -1922,10 +1935,10 @@
       kDose[ndose].addImage(dimage);
 
-      if(DEBUG || kVerbose > 0) std::cout << "[" << z << "]" << dimage[(size_t)(dsize*0.55)] << ", ";
+      if(DEBUG || kVerbose > 0) G4cout << "[" << z << "]" << dimage[(size_t)(dsize*0.55)] << ", ";
 
       if(DEBUG || kVerbose > 0) {
 	for(int j = 0; j < dsize; j++) {
 	  if(dimage[j] < 0)
-	    std::cout << "[" << j << "," << z << "]"
+	    G4cout << "[" << j << "," << z << "]"
 		      << dimage[j] << ", ";
 	}
@@ -1934,5 +1947,5 @@
     delete [] shimage;
     delete [] di;
-    if(DEBUG || kVerbose > 0) std::cout << std::endl;
+    if(DEBUG || kVerbose > 0) G4cout << G4endl;
 
     ifile.read((char *)ctmp, 3*4); // 3*sizeof(int)
@@ -1944,8 +1957,8 @@
 
     if(DEBUG || kVerbose > 0) {
-      std::cout << "Dose dist. image relative location : ("
+      G4cout << "Dose dist. image relative location : ("
 		<< fCenter[0] << ", "
 		<< fCenter[1] << ", "
-		<< fCenter[2] << ")" << std::endl;
+		<< fCenter[2] << ")" << G4endl;
     }
 
@@ -1957,5 +1970,5 @@
     setDoseDistName(dosename, ndose);
     if(DEBUG || kVerbose > 0) {
-      std::cout << "Dose dist. name : " << dosename << std::endl;
+      G4cout << "Dose dist. name : " << dosename << G4endl;
     }
 
@@ -1974,9 +1987,9 @@
     kRoi[0].setSize(size);
     if(DEBUG || kVerbose > 0) {
-      std::cout << "ROI image size : ("
+      G4cout << "ROI image size : ("
 		<< size[0] << ", "
 		<< size[1] << ", "
 		<< size[2] << ")"
-		<< std::endl;
+		<< G4endl;
     }
 
@@ -1992,8 +2005,8 @@
     kRoi[0].setScale(dscale = scale);
     if(DEBUG || kVerbose > 0) {
-      std::cout << "ROI image min., max., scale : "
+      G4cout << "ROI image min., max., scale : "
 		<< minmax[0] << ", "
 		<< minmax[1] << ", "
-		<< scale << std::endl;
+		<< scale << G4endl;
     }
 
@@ -2020,8 +2033,8 @@
     kRoi[0].setCenterPosition(fCenter);
     if(DEBUG || kVerbose > 0) {
-      std::cout << "ROI image relative location : ("
+      G4cout << "ROI image relative location : ("
 		<< fCenter[0] << ", "
 		<< fCenter[1] << ", "
-		<< fCenter[2] << ")" << std::endl;
+		<< fCenter[2] << ")" << G4endl;
     }
 
@@ -2036,5 +2049,5 @@
     convertEndian(ctmp, ntrk);
     if(DEBUG || kVerbose > 0) {
-      std::cout << "# of tracks: " << ntrk << std::endl;
+      G4cout << "# of tracks: " << ntrk << G4endl;
     }
 
@@ -2071,12 +2084,12 @@
       if(DEBUG || kVerbose > 0) {
 	if(i < 5) {
-	  std::cout << i << ": " ;
-	  for(int j = 0; j < 3; j++) std::cout << steps[0][j] << " ";
+	  G4cout << i << ": " ;
+	  for(int j = 0; j < 3; j++) G4cout << steps[0][j] << " ";
 	  int nstp = steps.size();
-	  std::cout << "<-> ";
-	  for(int j = 3; j < 6; j++) std::cout << steps[nstp-1][j] << " ";
-	  std::cout << "    rgb( ";
-	  for(int j = 0; j < 3; j++) std::cout << (int)rgb[j] << " ";
-	  std::cout << ")" << std::endl;
+	  G4cout << "<-> ";
+	  for(int j = 3; j < 6; j++) G4cout << steps[nstp-1][j] << " ";
+	  G4cout << "    rgb( ";
+	  for(int j = 0; j < 3; j++) G4cout << (int)rgb[j] << " ";
+	  G4cout << ")" << G4endl;
 	}
       }
@@ -2096,6 +2109,6 @@
 
     if(DEBUG || kVerbose > 0) {
-      std::cout << "# of detectors : "
-		<< ndet << std::endl;
+      G4cout << "# of detectors : "
+		<< ndet << G4endl;
     }
 
@@ -2107,5 +2120,5 @@
       convertEndian(ctmp, nedges);
       if(DEBUG || kVerbose > 0) {
-	std::cout << "# of edges in a detector : " << nedges << std::endl;
+	G4cout << "# of edges in a detector : " << nedges << G4endl;
       }
 
@@ -2123,10 +2136,10 @@
 
       if(DEBUG || kVerbose > 0) {
-	std::cout << " first edge : (" << detector[0][0] << ", "
+	G4cout << " first edge : (" << detector[0][0] << ", "
 		  << detector[0][1] << ", "
 		  << detector[0][2] << ") - ("
 		  << detector[0][3] << ", "
 		  << detector[0][4] << ", "
-		  << detector[0][5] << ")" << std::endl;
+		  << detector[0][5] << ")" << G4endl;
       }
 
@@ -2135,8 +2148,8 @@
       ifile.read((char *)dcolor, 3);
       if(DEBUG || kVerbose > 0) {
-	std::cout << " detector color : rgb("
+	G4cout << " detector color : rgb("
 		  << (int)dcolor[0] << ", "
 		  << (int)dcolor[1] << ", "
-		  << (int)dcolor[2] << std::endl;
+		  << (int)dcolor[2] << G4endl;
       }
 
@@ -2147,5 +2160,5 @@
       std::string dname = cname;
       if(DEBUG || kVerbose > 0) {
-	std::cout << " detector name : " << dname << std::endl;
+	G4cout << " detector name : " << dname << G4endl;
       }
 
@@ -2174,6 +2187,7 @@
   std::ifstream ifile(kFileName.c_str(), std::ios_base::in|std::ios_base::binary);
   if(!ifile) {
-    std::cerr << "Cannot open file: " << kFileName
-	      << " in G4GMocrenIO::retrieveData3()." << std::endl;
+    if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
+      G4cout << "Cannot open file: " << kFileName
+		<< " in G4GMocrenIO::retrieveData3()." << G4endl;
     return false;
   }
@@ -2192,14 +2206,14 @@
   ss << (int)ver;
   kVersion = ss.str();
-  if(DEBUG || kVerbose > 0) std::cout << "File version : " << kVersion << std::endl;
+  if(DEBUG || kVerbose > 0) G4cout << "File version : " << kVersion << G4endl;
 
   // endian
   ifile.read((char *)&kLittleEndianInput, sizeof(char));
   if(DEBUG || kVerbose > 0) {
-    std::cout << "Endian : ";
+    G4cout << "Endian : ";
     if(kLittleEndianInput == 1) 
-      std::cout << " little" << std::endl;
+      G4cout << " little" << G4endl;
     else {
-      std::cout << " big" << std::endl;
+      G4cout << " big" << G4endl;
     }
   }
@@ -2215,6 +2229,6 @@
   setComment(scmt);
   if(DEBUG || kVerbose > 0) {
-    std::cout << "Data comment : "
-	      << kComment << std::endl;
+    G4cout << "Data comment : "
+	      << kComment << G4endl;
   }
 
@@ -2225,9 +2239,9 @@
   convertEndian(ctmp+8, kVoxelSpacing[2]);
   if(DEBUG || kVerbose > 0) {
-    std::cout << "Voxel spacing : ("
+    G4cout << "Voxel spacing : ("
 	      << kVoxelSpacing[0] << ", "
 	      << kVoxelSpacing[1] << ", "
 	      << kVoxelSpacing[2]
-	      << ") mm " << std::endl;
+	      << ") mm " << G4endl;
   }
 
@@ -2258,10 +2272,10 @@
   convertEndian(ctmp, kPointerToTrackData);
   if(DEBUG || kVerbose > 0) {
-    std::cout << "Each pointer to data : "
+    G4cout << "Each pointer to data : "
 	      << kPointerToModalityData << ", ";
     for(int i = 0; i < nDoseDist; i++)
-      std::cout << kPointerToDoseDistData[0] << ", ";
-    std::cout << kPointerToROIData << ", "
-	      << kPointerToTrackData << std::endl;
+      G4cout << kPointerToDoseDistData[0] << ", ";
+    G4cout << kPointerToROIData << ", "
+	      << kPointerToTrackData << G4endl;
   }
 
@@ -2269,5 +2283,5 @@
      kPointerToROIData == 0 && kPointerToTrackData == 0) {
     if(DEBUG || kVerbose > 0) {
-      std::cout << "No data." << std::endl;
+      G4cout << "No data." << G4endl;
     }
     return false;
@@ -2294,9 +2308,9 @@
   convertEndian(ctmp+2*sizeof(int), size[2]);
   if(DEBUG || kVerbose > 0) {
-    std::cout << "Modality image size : ("
+    G4cout << "Modality image size : ("
 	      << size[0] << ", "
 	      << size[1] << ", "
 	      << size[2] << ")"
-	      << std::endl;
+	      << G4endl;
   }
   kModality.setSize(size);
@@ -2329,13 +2343,13 @@
     kModality.setScale(dscale = scale);
     if(DEBUG || kVerbose > 0) {
-      std::cout << "Modality image min., max., scale : "
+      G4cout << "Modality image min., max., scale : "
 		<< minmax[0] << ", "
 		<< minmax[1] << ", "
-		<< scale << std::endl;
+		<< scale << G4endl;
     }
 
     // modality density
     int psize = size[0]*size[1];
-    if(DEBUG || kVerbose > 0) std::cout << "Modality image (" << psize << "): ";
+    if(DEBUG || kVerbose > 0) G4cout << "Modality image (" << psize << "): ";
     char * cimage = new char[psize*sizeof(short)];
     for(int i = 0; i < size[2]; i++) {
@@ -2347,12 +2361,12 @@
       kModality.addImage(mimage);
 
-      if(DEBUG || kVerbose > 0) std::cout << "[" << i << "]" << mimage[(size_t)(psize*0.55)] << ", ";
-    }
-    if(DEBUG || kVerbose > 0) std::cout << std::endl;
+      if(DEBUG || kVerbose > 0) G4cout << "[" << i << "]" << mimage[(size_t)(psize*0.55)] << ", ";
+    }
+    if(DEBUG || kVerbose > 0) G4cout << G4endl;
     delete [] cimage;
 
     // modality desity map for CT value
     size_t msize = minmax[1]-minmax[0]+1;
-    if(DEBUG || kVerbose > 0) std::cout << "msize: " << msize << std::endl;
+    if(DEBUG || kVerbose > 0) G4cout << "msize: " << msize << G4endl;
     char * pdmap = new char[msize*sizeof(float)];
     ifile.read((char *)pdmap, msize*sizeof(float));
@@ -2363,13 +2377,13 @@
     }
     if(DEBUG || kVerbose > 0) {
-      std::cout << "density map : " << std::ends;
+      G4cout << "density map : " << std::ends;
       for(int i = 0; i < 10; i++)
-	std::cout <<kModalityImageDensityMap[i] << ", ";
-      std::cout << std::endl;
-      for(int i = 0; i < 10; i++) std::cout << "..";
-      std::cout << std::endl;
+	G4cout <<kModalityImageDensityMap[i] << ", ";
+      G4cout << G4endl;
+      for(int i = 0; i < 10; i++) G4cout << "..";
+      G4cout << G4endl;
       for(size_t i =kModalityImageDensityMap.size() - 10; i <kModalityImageDensityMap.size(); i++)
-	std::cout <<kModalityImageDensityMap[i] << ", ";
-      std::cout << std::endl;
+	G4cout <<kModalityImageDensityMap[i] << ", ";
+      G4cout << G4endl;
     }
 
@@ -2388,9 +2402,9 @@
     convertEndian(ctmp+2*sizeof(int), size[2]);
     if(DEBUG || kVerbose > 0) {
-      std::cout << "Dose dist. image size : ("
+      G4cout << "Dose dist. image size : ("
 		<< size[0] << ", "
 		<< size[1] << ", "
 		<< size[2] << ")"
-		<< std::endl;
+		<< G4endl;
     }
     kDose[ndose].setSize(size);
@@ -2407,5 +2421,5 @@
     setDoseDistUnit(sdunit, ndose);
     if(DEBUG || kVerbose > 0) {
-      std::cout << "Dose dist. unit : " << kDoseUnit << std::endl;
+      G4cout << "Dose dist. unit : " << kDoseUnit << G4endl;
     }
 
@@ -2420,13 +2434,13 @@
 
     if(DEBUG || kVerbose > 0) {
-      std::cout << "Dose dist. image min., max., scale : "
+      G4cout << "Dose dist. image min., max., scale : "
 		<< dminmax[0] << ", "
 		<< dminmax[1] << ", "
-		<< scale << std::endl;
+		<< scale << G4endl;
     }
 
     // dose distribution image
     int dsize = size[0]*size[1];
-    if(DEBUG || kVerbose > 0) std::cout << "Dose dist. (" << dsize << "): ";
+    if(DEBUG || kVerbose > 0) G4cout << "Dose dist. (" << dsize << "): ";
     char * di = new char[dsize*sizeof(short)];
     short * shimage = new short[dsize];
@@ -2440,10 +2454,10 @@
       kDose[ndose].addImage(dimage);
 
-      if(DEBUG || kVerbose > 0) std::cout << "[" << z << "]" << dimage[(size_t)(dsize*0.55)] << ", ";
+      if(DEBUG || kVerbose > 0) G4cout << "[" << z << "]" << dimage[(size_t)(dsize*0.55)] << ", ";
 
       if(DEBUG || kVerbose > 0) {
 	for(int j = 0; j < dsize; j++) {
 	  if(dimage[j] < 0)
-	    std::cout << "[" << j << "," << z << "]"
+	    G4cout << "[" << j << "," << z << "]"
 		      << dimage[j] << ", ";
 	}
@@ -2452,5 +2466,5 @@
     delete [] shimage;
     delete [] di;
-    if(DEBUG || kVerbose > 0) std::cout << std::endl;
+    if(DEBUG || kVerbose > 0) G4cout << G4endl;
 
     ifile.read((char *)ctmp, 3*4); // 3*sizeof(int)
@@ -2462,8 +2476,8 @@
 
     if(DEBUG || kVerbose > 0) {
-      std::cout << "Dose dist. image relative location : ("
+      G4cout << "Dose dist. image relative location : ("
 		<< fCenter[0] << ", "
 		<< fCenter[1] << ", "
-		<< fCenter[2] << ")" << std::endl;
+		<< fCenter[2] << ")" << G4endl;
     }
 
@@ -2483,9 +2497,9 @@
     kRoi[0].setSize(size);
     if(DEBUG || kVerbose > 0) {
-      std::cout << "ROI image size : ("
+      G4cout << "ROI image size : ("
 		<< size[0] << ", "
 		<< size[1] << ", "
 		<< size[2] << ")"
-		<< std::endl;
+		<< G4endl;
     }
 
@@ -2501,8 +2515,8 @@
     kRoi[0].setScale(dscale = scale);
     if(DEBUG || kVerbose > 0) {
-      std::cout << "ROI image min., max., scale : "
+      G4cout << "ROI image min., max., scale : "
 		<< minmax[0] << ", "
 		<< minmax[1] << ", "
-		<< scale << std::endl;
+		<< scale << G4endl;
     }
 
@@ -2529,8 +2543,8 @@
     kRoi[0].setCenterPosition(fCenter);
     if(DEBUG || kVerbose > 0) {
-      std::cout << "ROI image relative location : ("
+      G4cout << "ROI image relative location : ("
 		<< fCenter[0] << ", "
 		<< fCenter[1] << ", "
-		<< fCenter[2] << ")" << std::endl;
+		<< fCenter[2] << ")" << G4endl;
     }
 
@@ -2545,5 +2559,5 @@
     convertEndian(ctmp, ntrk);
     if(DEBUG || kVerbose > 0) {
-      std::cout << "# of tracks: " << ntrk << std::endl;
+      G4cout << "# of tracks: " << ntrk << G4endl;
     }
 
@@ -2556,8 +2570,8 @@
 
       ifile.read((char *)ctmp, sizeof(float)*3);
-      if(DEBUG || kVerbose > 0) if(i < 10) std::cout << i << ": " ;
+      if(DEBUG || kVerbose > 0) if(i < 10) G4cout << i << ": " ;
       for(int j = 0; j < 3; j++) {
 	convertEndian(ctmp+j*sizeof(float), tp[j]);
-	if(DEBUG || kVerbose > 0) if(i < 10) std::cout << tp[j] << ", ";
+	if(DEBUG || kVerbose > 0) if(i < 10) G4cout << tp[j] << ", ";
       }
 
@@ -2565,8 +2579,8 @@
       for(int j = 0; j < 3; j++) {
 	convertEndian(ctmp+j*sizeof(float), tp[j+3]);
-	if(DEBUG || kVerbose > 0) if(i < 10) std::cout << tp[j+3] << ", ";
+	if(DEBUG || kVerbose > 0) if(i < 10) G4cout << tp[j+3] << ", ";
       }
       addTrack(tp);
-      if(DEBUG || kVerbose > 0) if(i < 10) std::cout << std::endl;
+      if(DEBUG || kVerbose > 0) if(i < 10) G4cout << G4endl;
 
       // v4
@@ -2610,6 +2624,7 @@
   std::ifstream ifile(kFileName.c_str(), std::ios_base::in|std::ios_base::binary);
   if(!ifile) {
-    std::cerr << "Cannot open file: " << kFileName
-	      << " in G4GMocrenIO::retrieveData2()." << std::endl;
+    if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
+      G4cout << "Cannot open file: " << kFileName
+		<< " in G4GMocrenIO::retrieveData2()." << G4endl;
     return false;
   }
@@ -2628,5 +2643,5 @@
   ss << (int)ver;
   kVersion = ss.str();
-  if(DEBUG || kVerbose > 0) std::cout << "File version : " << kVersion << std::endl;
+  if(DEBUG || kVerbose > 0) G4cout << "File version : " << kVersion << G4endl;
 
   // id of version 1
@@ -2641,9 +2656,9 @@
   ifile.read((char *)&kLittleEndianInput, sizeof(char));
   if(DEBUG || kVerbose > 0) {
-    std::cout << "Endian : ";
+    G4cout << "Endian : ";
     if(kLittleEndianInput == 1) 
-      std::cout << " little" << std::endl;
+      G4cout << " little" << G4endl;
     else {
-      std::cout << " big" << std::endl;
+      G4cout << " big" << G4endl;
     }
   }
@@ -2655,9 +2670,9 @@
   convertEndian(ctmp+8, kVoxelSpacing[2]);
   if(DEBUG || kVerbose > 0) {
-    std::cout << "Voxel spacing : ("
+    G4cout << "Voxel spacing : ("
 	      << kVoxelSpacing[0] << ", "
 	      << kVoxelSpacing[1] << ", "
 	      << kVoxelSpacing[2]
-	      << ") mm " << std::endl;
+	      << ") mm " << G4endl;
   }
 
@@ -2681,9 +2696,9 @@
   convertEndian(ctmp, kPointerToTrackData);
   if(DEBUG || kVerbose > 0) {
-    std::cout << "Each pointer to data : "
+    G4cout << "Each pointer to data : "
 	      << kPointerToModalityData << ", "
 	      << kPointerToDoseDistData[0] << ", "
 	      << kPointerToROIData << ", "
-	      << kPointerToTrackData << std::endl;
+	      << kPointerToTrackData << G4endl;
   }
 
@@ -2691,5 +2706,5 @@
      kPointerToROIData == 0 && kPointerToTrackData == 0) {
     if(DEBUG || kVerbose > 0) {
-      std::cout << "No data." << std::endl;
+      G4cout << "No data." << G4endl;
     }
     return false;
@@ -2716,9 +2731,9 @@
   convertEndian(ctmp+2*sizeof(int), size[2]);
   if(DEBUG || kVerbose > 0) {
-    std::cout << "Modality image size : ("
+    G4cout << "Modality image size : ("
 	      << size[0] << ", "
 	      << size[1] << ", "
 	      << size[2] << ")"
-	      << std::endl;
+	      << G4endl;
   }
   kModality.setSize(size);
@@ -2745,13 +2760,13 @@
     kModality.setScale(dscale = scale);
     if(DEBUG || kVerbose > 0) {
-      std::cout << "Modality image min., max., scale : "
+      G4cout << "Modality image min., max., scale : "
 		<< minmax[0] << ", "
 		<< minmax[1] << ", "
-		<< scale << std::endl;
+		<< scale << G4endl;
     }
 
     // modality density
     int psize = size[0]*size[1];
-    if(DEBUG || kVerbose > 0) std::cout << "Modality image (" << psize << "): ";
+    if(DEBUG || kVerbose > 0) G4cout << "Modality image (" << psize << "): ";
     char * cimage = new char[psize*sizeof(short)];
     for(int i = 0; i < size[2]; i++) {
@@ -2763,12 +2778,12 @@
       kModality.addImage(mimage);
 
-      if(DEBUG || kVerbose > 0) std::cout << "[" << i << "]" << mimage[(size_t)(psize*0.55)] << ", ";
-    }
-    if(DEBUG || kVerbose > 0) std::cout << std::endl;
+      if(DEBUG || kVerbose > 0) G4cout << "[" << i << "]" << mimage[(size_t)(psize*0.55)] << ", ";
+    }
+    if(DEBUG || kVerbose > 0) G4cout << G4endl;
     delete [] cimage;
 
     // modality desity map for CT value
     size_t msize = minmax[1]-minmax[0]+1;
-    if(DEBUG || kVerbose > 0) std::cout << "msize: " << msize << std::endl;
+    if(DEBUG || kVerbose > 0) G4cout << "msize: " << msize << G4endl;
     char * pdmap = new char[msize*sizeof(float)];
     ifile.read((char *)pdmap, msize*sizeof(float));
@@ -2779,13 +2794,13 @@
     }
     if(DEBUG || kVerbose > 0) {
-      std::cout << "density map : " << std::ends;
+      G4cout << "density map : " << std::ends;
       for(int i = 0; i < 10; i++)
-	std::cout <<kModalityImageDensityMap[i] << ", ";
-      std::cout << std::endl;
-      for(int i = 0; i < 10; i++) std::cout << "..";
-      std::cout << std::endl;
+	G4cout <<kModalityImageDensityMap[i] << ", ";
+      G4cout << G4endl;
+      for(int i = 0; i < 10; i++) G4cout << "..";
+      G4cout << G4endl;
       for(size_t i =kModalityImageDensityMap.size() - 10; i <kModalityImageDensityMap.size(); i++)
-	std::cout <<kModalityImageDensityMap[i] << ", ";
-      std::cout << std::endl;
+	G4cout <<kModalityImageDensityMap[i] << ", ";
+      G4cout << G4endl;
     }
 
@@ -2804,9 +2819,9 @@
     convertEndian(ctmp+2*sizeof(int), size[2]);
     if(DEBUG || kVerbose > 0) {
-      std::cout << "Dose dist. image size : ("
+      G4cout << "Dose dist. image size : ("
 		<< size[0] << ", "
 		<< size[1] << ", "
 		<< size[2] << ")"
-		<< std::endl;
+		<< G4endl;
     }
     kDose[0].setSize(size);
@@ -2826,13 +2841,13 @@
 
     if(DEBUG || kVerbose > 0) {
-      std::cout << "Dose dist. image min., max., scale : "
+      G4cout << "Dose dist. image min., max., scale : "
 		<< dminmax[0] << ", "
 		<< dminmax[1] << ", "
-		<< scale << std::endl;
+		<< scale << G4endl;
     }
 
     // dose distribution image
     int dsize = size[0]*size[1];
-    if(DEBUG || kVerbose > 0) std::cout << "Dose dist. (" << dsize << "): ";
+    if(DEBUG || kVerbose > 0) G4cout << "Dose dist. (" << dsize << "): ";
     char * di = new char[dsize*sizeof(short)];
     short * shimage = new short[dsize];
@@ -2846,10 +2861,10 @@
       kDose[0].addImage(dimage);
 
-      if(DEBUG || kVerbose > 0) std::cout << "[" << z << "]" << dimage[(size_t)(dsize*0.55)] << ", ";
+      if(DEBUG || kVerbose > 0) G4cout << "[" << z << "]" << dimage[(size_t)(dsize*0.55)] << ", ";
 
       if(DEBUG || kVerbose > 0) {
 	for(int j = 0; j < dsize; j++) {
 	  if(dimage[j] < 0)
-	    std::cout << "[" << j << "," << z << "]"
+	    G4cout << "[" << j << "," << z << "]"
 		      << dimage[j] << ", ";
 	}
@@ -2858,5 +2873,5 @@
     delete [] shimage;
     delete [] di;
-    if(DEBUG || kVerbose > 0) std::cout << std::endl;
+    if(DEBUG || kVerbose > 0) G4cout << G4endl;
 
     /* ver 1
@@ -2902,8 +2917,8 @@
 
     if(DEBUG || kVerbose > 0) {
-      std::cout << "Dose dist. image relative location : ("
+      G4cout << "Dose dist. image relative location : ("
 		<< fCenter[0] << ", "
 		<< fCenter[1] << ", "
-		<< fCenter[2] << ")" << std::endl;
+		<< fCenter[2] << ")" << G4endl;
     }
 
@@ -2923,9 +2938,9 @@
     kRoi[0].setSize(size);
     if(DEBUG || kVerbose > 0) {
-      std::cout << "ROI image size : ("
+      G4cout << "ROI image size : ("
 		<< size[0] << ", "
 		<< size[1] << ", "
 		<< size[2] << ")"
-		<< std::endl;
+		<< G4endl;
     }
 
@@ -2941,8 +2956,8 @@
     kRoi[0].setScale(dscale = scale);
     if(DEBUG || kVerbose > 0) {
-      std::cout << "ROI image min., max., scale : "
+      G4cout << "ROI image min., max., scale : "
 		<< minmax[0] << ", "
 		<< minmax[1] << ", "
-		<< scale << std::endl;
+		<< scale << G4endl;
     }
 
@@ -2969,8 +2984,8 @@
     kRoi[0].setCenterPosition(fCenter);
     if(DEBUG || kVerbose > 0) {
-      std::cout << "ROI image relative location : ("
+      G4cout << "ROI image relative location : ("
 		<< fCenter[0] << ", "
 		<< fCenter[1] << ", "
-		<< fCenter[2] << ")" << std::endl;
+		<< fCenter[2] << ")" << G4endl;
     }
 
@@ -2985,5 +3000,5 @@
     convertEndian(ctmp, ntrk);
     if(DEBUG || kVerbose > 0) {
-      std::cout << "# of tracks: " << ntrk << std::endl;
+      G4cout << "# of tracks: " << ntrk << G4endl;
     }
 
@@ -2997,8 +3012,8 @@
 
       ifile.read((char *)ctmp, sizeof(float)*3);
-      if(DEBUG || kVerbose > 0) if(i < 10) std::cout << i << ": " ;
+      if(DEBUG || kVerbose > 0) if(i < 10) G4cout << i << ": " ;
       for(int j = 0; j < 3; j++) {
 	convertEndian(ctmp+j*sizeof(float), tp[j]);
-	if(DEBUG || kVerbose > 0) if(i < 10) std::cout << tp[j] << ", ";
+	if(DEBUG || kVerbose > 0) if(i < 10) G4cout << tp[j] << ", ";
       }
 
@@ -3006,5 +3021,5 @@
       for(int j = 0; j < 3; j++) {
 	convertEndian(ctmp+j*sizeof(float), tp[j+3]);
-	if(DEBUG || kVerbose > 0) if(i < 10) std::cout << tp[j+3] << ", ";
+	if(DEBUG || kVerbose > 0) if(i < 10) G4cout << tp[j+3] << ", ";
       }
 
@@ -3014,5 +3029,5 @@
       addTrack(trkv4, trkcolorv4);
       
-      if(DEBUG || kVerbose > 0) if(i < 10) std::cout << std::endl;
+      if(DEBUG || kVerbose > 0) if(i < 10) G4cout << G4endl;
     }
 
@@ -3217,6 +3232,6 @@
     setPointerToTrackData(pointer0);
   }
-  if(kVerbose > 0) std::cout << " pointer to the track data :"
-			     << kPointerToTrackData << std::endl;
+  if(kVerbose > 0) G4cout << " pointer to the track data :"
+			     << kPointerToTrackData << G4endl;
 
   // pointer to detector data
@@ -3227,6 +3242,6 @@
     kPointerToDetectorData = 0;
   }
-  if(kVerbose > 0) std::cout << " pointer to the detector data :"
-			     << kPointerToDetectorData << std::endl;
+  if(kVerbose > 0) G4cout << " pointer to the detector data :"
+			     << kPointerToDetectorData << G4endl;
 
 }
@@ -3431,5 +3446,5 @@
     rval = minmax[1];
     for(int i = 0; i < nmap; i++) {
-      //std::cout << kModalityImageDensityMap[i] << std::endl;
+      //G4cout << kModalityImageDensityMap[i] << G4endl;
       if(_dens <= kModalityImageDensityMap[i]) {
 	rval = i + minmax[0];
@@ -3558,8 +3573,9 @@
 
   if(_data == NULL) {
-    std::cerr << "In G4GMocrenIO::getShortDoseDist(), "
-	      << "first argument is NULL pointer. "
-	      << "The argument must be allocated array."
-	      << std::endl;
+    if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
+      G4cout << "In G4GMocrenIO::getShortDoseDist(), "
+		<< "first argument is NULL pointer. "
+		<< "The argument must be allocated array."
+		<< G4endl;
     std::exit(-1);
   }
@@ -3599,11 +3615,11 @@
   void G4GMocrenIO::getDoseDist(double * & _image, int _z, int _num) {
 
-  std::cout << " <" << (void*)_image << "> ";
+  G4cout << " <" << (void*)_image << "> ";
   if(isDoseEmpty()) {
   _image = 0;
   } else {
   _image = kDose[_num].getImage(_z);
-  std::cout << " <" << (void*)_image << "> ";
-  std::cout << _image[100] << " ";
+  G4cout << " <" << (void*)_image << "> ";
+  G4cout << _image[100] << " ";
   }
   }
@@ -3660,7 +3676,9 @@
 bool G4GMocrenIO::mergeDoseDist(std::vector<class GMocrenDataPrimitive<double> > & _dose) {
   if(kDose.size() != _dose.size()) {
-    std::cerr << "G4GMocrenIO::mergeDoseDist() : Error" << std::endl; 
-    std::cerr << "   Unable to merge the dose distributions,"<< std::endl;
-    std::cerr << "   because of different size of dose maps."<< std::endl;
+    if (G4VisManager::GetVerbosity() >= G4VisManager::errors) {
+      G4cout << "G4GMocrenIO::mergeDoseDist() : Error" << G4endl; 
+      G4cout << "   Unable to merge the dose distributions,"<< G4endl;
+      G4cout << "   because of different size of dose maps."<< G4endl;
+    }
     return false;
   }
@@ -3670,5 +3688,7 @@
   std::vector<class GMocrenDataPrimitive<double> >::iterator itr2 = _dose.begin();
   for(int i = 0; i < num; i++, itr1++, itr2++) {
-    if(kVerbose > 0) std::cerr << "merged dose distribution [" << i << "]" << std::endl;
+    if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
+      if(kVerbose > 0)
+	G4cout << "merged dose distribution [" << i << "]" << G4endl;
     *itr1 += *itr2;
   }
@@ -3689,5 +3709,6 @@
 bool G4GMocrenIO::isDoseEmpty() {
   if(kDose.empty()) {
-    //std::cerr << "!!! dose distribution data is empty." << std::endl;
+    //if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
+    //  G4cout << "!!! dose distribution data is empty." << G4endl;
     return true;
   } else {
@@ -3794,5 +3815,6 @@
 bool G4GMocrenIO::isROIEmpty() {
   if(kRoi.empty()) {
-    //std::cerr << "!!! ROI data is empty." << std::endl;
+    //if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
+    //  G4cout << "!!! ROI data is empty." << G4endl;
     return true;
   } else {
@@ -3883,5 +3905,6 @@
 
   if(_num > (int)kTracks.size()) {
-    std::cerr << "ERROR in getTrack() : " << std::endl;
+    if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
+      G4cout << "ERROR in getTrack() : " << G4endl;
     std::exit(-1);
   }
@@ -3942,5 +3965,6 @@
 
   if(_num > (int)kDetectors.size()) {
-    std::cerr << "ERROR in getDetector() : " << std::endl;
+    if (G4VisManager::GetVerbosity() >= G4VisManager::errors)
+      G4cout << "ERROR in getDetector() : " << G4endl;
     std::exit(-1);
   }
Index: trunk/source/visualization/gMocren/src/G4GMocrenMessenger.cc
===================================================================
--- trunk/source/visualization/gMocren/src/G4GMocrenMessenger.cc	(revision 1346)
+++ trunk/source/visualization/gMocren/src/G4GMocrenMessenger.cc	(revision 1347)
@@ -26,5 +26,5 @@
 //
 // $Id: G4GMocrenMessenger.cc,v 1.2 2009/10/12 10:04:35 akimura Exp $
-// GEANT4 tag $Name: geant4-09-04-beta-01 $
+// GEANT4 tag $Name: geant4-09-04-ref-00 $
 //
 //
Index: trunk/source/visualization/management/CVS/Entries
===================================================================
--- trunk/source/visualization/management/CVS/Entries	(revision 1346)
+++ trunk/source/visualization/management/CVS/Entries	(revision 1347)
@@ -4,2 +4,3 @@
 /History/1.160.2.1/Wed Dec 22 10:23:43 2010//Tgeant4-09-04-ref-00
 /sources.cmake/1.1/Wed Sep 29 19:15:02 2010//Tgeant4-09-04-ref-00
+/Doxyfile/1.2/Fri May 12 13:10:34 2006//Tgeant4-09-04-ref-00
Index: trunk/source/visualization/management/include/CVS/Entries
===================================================================
--- trunk/source/visualization/management/include/CVS/Entries	(revision 1346)
+++ trunk/source/visualization/management/include/CVS/Entries	(revision 1347)
@@ -1,3 +1,2 @@
-/G4VisManager.icc/1.22/Tue Jun  1 16:08:15 2010//
 /G4GraphicsSystemList.hh/1.9/Thu Jun 29 21:27:54 2006//Tgeant4-09-04-ref-00
 /G4Scene.hh/1.19/Wed Nov  4 12:49:16 2009//Tgeant4-09-04-ref-00
@@ -39,3 +38,4 @@
 /G4VisModelManager.hh/1.4/Thu Jun 29 21:29:10 2006//Tgeant4-09-04-ref-00
 /G4VisStateDependent.hh/1.5/Thu Jun 29 21:29:12 2006//Tgeant4-09-04-ref-00
+/G4VisManager.icc/1.23/Wed Dec 22 14:32:23 2010//Tgeant4-09-04-ref-00
 D
Index: trunk/source/visualization/management/include/G4VisManager.icc
===================================================================
--- trunk/source/visualization/management/include/G4VisManager.icc	(revision 1346)
+++ trunk/source/visualization/management/include/G4VisManager.icc	(revision 1347)
@@ -25,6 +25,6 @@
 //
 //
-// $Id: G4VisManager.icc,v 1.22 2010/06/01 16:08:15 allison Exp $
-// GEANT4 tag $Name:  $
+// $Id: G4VisManager.icc,v 1.23 2010/12/14 15:53:28 gcosmo Exp $
+// GEANT4 tag $Name: geant4-09-04-ref-00 $
 //
 // 
@@ -67,8 +67,4 @@
 G4VisManager::GetCurrentGraphicsSystem () const {
   return fpGraphicsSystem;
-}
-
-inline G4VisManager::Verbosity G4VisManager::GetVerbosity () {
-  return fVerbosity;
 }
 
Index: trunk/source/visualization/management/src/CVS/Entries
===================================================================
--- trunk/source/visualization/management/src/CVS/Entries	(revision 1346)
+++ trunk/source/visualization/management/src/CVS/Entries	(revision 1347)
@@ -22,5 +22,5 @@
 /G4VisFeaturesOfOpenGL.cc/1.6/Wed Oct  3 14:21:55 2007//Tgeant4-09-04-ref-00
 /G4VisFeaturesOfOpenInventor.cc/1.5/Thu Jun 29 21:29:58 2006//Tgeant4-09-04-ref-00
-/G4VisManager.cc/1.131/Result of merge//Tgeant4-09-04-ref-00
 /G4VisStateDependent.cc/1.6/Thu Jun 29 21:30:02 2006//Tgeant4-09-04-ref-00
+/G4VisManager.cc/1.131/Wed Dec 22 14:26:53 2010//Tgeant4-09-04-ref-00
 D
Index: trunk/source/visualization/management/src/G4VisManager.cc
===================================================================
--- trunk/source/visualization/management/src/G4VisManager.cc	(revision 1346)
+++ trunk/source/visualization/management/src/G4VisManager.cc	(revision 1347)
@@ -25,5 +25,5 @@
 //
 // $Id: G4VisManager.cc,v 1.131 2010/12/14 15:53:28 gcosmo Exp $
-// GEANT4 tag $Name:  $
+// GEANT4 tag $Name: geant4-09-04-ref-00 $
 //
 // 
@@ -466,7 +466,4 @@
 			 const G4Transform3D& objectTransform) {
   if (IsValidView ()) {
-#ifdef G4DEBUG_VIS_MANAGEMENT
-    printf("G4VisManager::Draw circle\n");
-#endif
     ClearTransientStoreIfMarked();
     fpSceneHandler -> BeginPrimitives (objectTransform);
@@ -479,7 +476,4 @@
 			 const G4Transform3D& objectTransform) {
   if (IsValidView ()) {
-#ifdef G4DEBUG_VIS_MANAGEMENT
-    printf("G4VisManager::Draw nurbs\n");
-#endif
     ClearTransientStoreIfMarked();
     fpSceneHandler -> BeginPrimitives (objectTransform);
@@ -492,7 +486,4 @@
 			 const G4Transform3D& objectTransform) {
   if (IsValidView ()) {
-#ifdef G4DEBUG_VIS_MANAGEMENT
-    printf("G4VisManager::Draw polyhedron\n");
-#endif
     ClearTransientStoreIfMarked();
     fpSceneHandler -> BeginPrimitives (objectTransform);
@@ -505,7 +496,4 @@
 			 const G4Transform3D& objectTransform) {
   if (IsValidView ()) {
-#ifdef G4DEBUG_VIS_MANAGEMENT
-    printf("G4VisManager::Draw line\n");
-#endif
     ClearTransientStoreIfMarked();
     fpSceneHandler -> BeginPrimitives (objectTransform);
@@ -518,7 +506,4 @@
 			 const G4Transform3D& objectTransform) {
   if (IsValidView ()) {
-#ifdef G4DEBUG_VIS_MANAGEMENT
-    printf("G4VisManager::Draw polymarker\n");
-#endif
     ClearTransientStoreIfMarked();
     fpSceneHandler -> BeginPrimitives (objectTransform);
@@ -531,7 +516,4 @@
 			 const G4Transform3D& objectTransform) {
   if (IsValidView ()) {
-#ifdef G4DEBUG_VIS_MANAGEMENT
-    printf("G4VisManager::Draw scale\n");
-#endif
     ClearTransientStoreIfMarked();
     fpSceneHandler -> BeginPrimitives (objectTransform);
@@ -544,7 +526,4 @@
 			 const G4Transform3D& objectTransform) {
   if (IsValidView ()) {
-#ifdef G4DEBUG_VIS_MANAGEMENT
-    printf("G4VisManager::Draw square\n");
-#endif
     ClearTransientStoreIfMarked();
     fpSceneHandler -> BeginPrimitives (objectTransform);
@@ -557,7 +536,4 @@
 			 const G4Transform3D& objectTransform) {
   if (IsValidView ()) {
-#ifdef G4DEBUG_VIS_MANAGEMENT
-    printf("G4VisManager::Draw text ______________________________\n");
-#endif
     ClearTransientStoreIfMarked();
     fpSceneHandler -> BeginPrimitives (objectTransform);
@@ -571,7 +547,4 @@
 {
   if (IsValidView()) {
-#ifdef G4DEBUG_VIS_MANAGEMENT
-    printf("G4VisManager::Draw2d circle\n");
-#endif
     ClearTransientStoreIfMarked();
     fpSceneHandler -> BeginPrimitives2D(objectTransform);
@@ -585,7 +558,4 @@
 {
   if (IsValidView()) {
-#ifdef G4DEBUG_VIS_MANAGEMENT
-    printf("G4VisManager::Draw2d nurbs\n");
-#endif
     ClearTransientStoreIfMarked();
     fpSceneHandler -> BeginPrimitives2D(objectTransform);
@@ -599,7 +569,4 @@
 {
   if (IsValidView()) {
-#ifdef G4DEBUG_VIS_MANAGEMENT
-    printf("G4VisManager::Draw2d polyhedron\n");
-#endif
     ClearTransientStoreIfMarked();
     fpSceneHandler -> BeginPrimitives2D(objectTransform);
@@ -613,7 +580,4 @@
 {
   if (IsValidView()) {
-#ifdef G4DEBUG_VIS_MANAGEMENT
-    printf("G4VisManager::Draw2d line\n");
-#endif
     ClearTransientStoreIfMarked();
     fpSceneHandler -> BeginPrimitives2D(objectTransform);
@@ -627,7 +591,4 @@
 {
   if (IsValidView()) {
-#ifdef G4DEBUG_VIS_MANAGEMENT
-    printf("G4VisManager::Draw2d polymarker\n");
-#endif
     ClearTransientStoreIfMarked();
     fpSceneHandler -> BeginPrimitives2D(objectTransform);
@@ -641,7 +602,4 @@
 {
   if (IsValidView()) {
-#ifdef G4DEBUG_VIS_MANAGEMENT
-    printf("G4VisManager::Draw2d square\n");
-#endif
     ClearTransientStoreIfMarked();
     fpSceneHandler -> BeginPrimitives2D(objectTransform);
@@ -655,7 +613,4 @@
 {
   if (IsValidView()) {
-#ifdef G4DEBUG_VIS_MANAGEMENT
-    printf("G4VisManager::Draw2d text _____________________________\n");
-#endif
     ClearTransientStoreIfMarked();
     fpSceneHandler -> BeginPrimitives2D(objectTransform);
@@ -667,7 +622,4 @@
 void G4VisManager::Draw (const G4VHit& hit) {
   if (IsValidView ()) {
-#ifdef G4DEBUG_VIS_MANAGEMENT
-    printf("G4VisManager::Draw hit\n");
-#endif
     ClearTransientStoreIfMarked();
     fpSceneHandler -> AddCompound (hit);
@@ -677,7 +629,4 @@
 void G4VisManager::Draw (const G4VDigi& digi) {
   if (IsValidView ()) {
-#ifdef G4DEBUG_VIS_MANAGEMENT
-    printf("G4VisManager::Draw digi\n");
-#endif
     ClearTransientStoreIfMarked();
     fpSceneHandler -> AddCompound (digi);
@@ -688,7 +637,4 @@
 			 G4int i_mode) {
   if (IsValidView ()) {
-#ifdef G4DEBUG_VIS_MANAGEMENT
-    printf("G4VisManager::Draw traj\n");
-#endif
     ClearTransientStoreIfMarked();
     fpSceneHandler -> SetModel (&dummyTrajectoriesModel);
@@ -703,7 +649,4 @@
   // Find corresponding solid.
   G4VSolid* pSol = logicalVol.GetSolid ();
-#ifdef G4DEBUG_VIS_MANAGEMENT
-    printf("G4VisManager::Draw logicalVol\n");
-#endif
   Draw (*pSol, attribs, objectTransform);
 }
@@ -713,7 +656,4 @@
 			 const G4Transform3D& objectTransform) {
   if (IsValidView ()) {
-#ifdef G4DEBUG_VIS_MANAGEMENT
-    printf("G4VisManager::Draw2d solid\n");
-#endif
     ClearTransientStoreIfMarked();
     fpSceneHandler -> PreAddSolid (objectTransform, attribs);
@@ -1417,7 +1357,4 @@
 
   ClearTransientStoreIfMarked();
-#ifdef G4DEBUG_VIS_MANAGEMENT
-    printf("G4VisManager::EndOfEvent DrawEvent ---------------------\n");
-#endif
   fpSceneHandler->DrawEvent(currentEvent);
 
Index: trunk/source/visualization/test/include/BuildCalorimeter.hh
===================================================================
--- trunk/source/visualization/test/include/BuildCalorimeter.hh	(revision 1346)
+++ trunk/source/visualization/test/include/BuildCalorimeter.hh	(revision 1347)
@@ -26,5 +26,5 @@
 //
 // $Id: BuildCalorimeter.hh,v 1.4 2006/06/29 21:33:34 gunter Exp $
-// GEANT4 tag $Name:  $
+// GEANT4 tag $Name: geant4-09-04-ref-00 $
 //
 // 
Index: trunk/source/visualization/test/include/BuildGeom_Example1.hh
===================================================================
--- trunk/source/visualization/test/include/BuildGeom_Example1.hh	(revision 1346)
+++ trunk/source/visualization/test/include/BuildGeom_Example1.hh	(revision 1347)
@@ -26,5 +26,5 @@
 //
 // $Id: BuildGeom_Example1.hh,v 1.4 2006/06/29 21:33:36 gunter Exp $
-// GEANT4 tag $Name:  $
+// GEANT4 tag $Name: geant4-09-04-ref-00 $
 //
 // 
Index: trunk/source/visualization/test/include/BuildGeom_Example2.hh
===================================================================
--- trunk/source/visualization/test/include/BuildGeom_Example2.hh	(revision 1346)
+++ trunk/source/visualization/test/include/BuildGeom_Example2.hh	(revision 1347)
@@ -26,5 +26,5 @@
 //
 // $Id: BuildGeom_Example2.hh,v 1.4 2006/06/29 21:33:38 gunter Exp $
-// GEANT4 tag $Name:  $
+// GEANT4 tag $Name: geant4-09-04-ref-00 $
 //
 // 
Index: trunk/source/visualization/test/include/BuildHouse.hh
===================================================================
--- trunk/source/visualization/test/include/BuildHouse.hh	(revision 1346)
+++ trunk/source/visualization/test/include/BuildHouse.hh	(revision 1347)
@@ -26,5 +26,5 @@
 //
 // $Id: BuildHouse.hh,v 1.2 2006/06/29 21:33:40 gunter Exp $
-// GEANT4 tag $Name:  $
+// GEANT4 tag $Name: geant4-09-04-ref-00 $
 //
 // 
Index: trunk/source/visualization/test/include/BuildParametrised.hh
===================================================================
--- trunk/source/visualization/test/include/BuildParametrised.hh	(revision 1346)
+++ trunk/source/visualization/test/include/BuildParametrised.hh	(revision 1347)
@@ -26,5 +26,5 @@
 //
 // $Id: BuildParametrised.hh,v 1.4 2006/06/29 21:33:42 gunter Exp $
-// GEANT4 tag $Name:  $
+// GEANT4 tag $Name: geant4-09-04-ref-00 $
 //
 // 
Index: trunk/source/visualization/test/include/BuildShapes.hh
===================================================================
--- trunk/source/visualization/test/include/BuildShapes.hh	(revision 1346)
+++ trunk/source/visualization/test/include/BuildShapes.hh	(revision 1347)
@@ -26,5 +26,5 @@
 //
 // $Id: BuildShapes.hh,v 1.4 2006/06/29 21:33:44 gunter Exp $
-// GEANT4 tag $Name:  $
+// GEANT4 tag $Name: geant4-09-04-ref-00 $
 //
 // 
Index: trunk/source/visualization/test/include/G4ParametrizedBox.hh
===================================================================
--- trunk/source/visualization/test/include/G4ParametrizedBox.hh	(revision 1346)
+++ trunk/source/visualization/test/include/G4ParametrizedBox.hh	(revision 1347)
@@ -26,5 +26,5 @@
 //
 // $Id: G4ParametrizedBox.hh,v 1.4 2006/06/29 21:33:46 gunter Exp $
-// GEANT4 tag $Name:  $
+// GEANT4 tag $Name: geant4-09-04-ref-00 $
 //
 // 
Index: trunk/source/visualization/test/include/MyDetectorConstruction.hh
===================================================================
--- trunk/source/visualization/test/include/MyDetectorConstruction.hh	(revision 1346)
+++ trunk/source/visualization/test/include/MyDetectorConstruction.hh	(revision 1347)
@@ -26,5 +26,5 @@
 //
 // $Id: MyDetectorConstruction.hh,v 1.6 2006/06/29 21:33:48 gunter Exp $
-// GEANT4 tag $Name:  $
+// GEANT4 tag $Name: geant4-09-04-ref-00 $
 //
 
Index: trunk/source/visualization/test/include/MyDetectorMessenger.hh
===================================================================
--- trunk/source/visualization/test/include/MyDetectorMessenger.hh	(revision 1346)
+++ trunk/source/visualization/test/include/MyDetectorMessenger.hh	(revision 1347)
@@ -26,5 +26,5 @@
 //
 // $Id: MyDetectorMessenger.hh,v 1.4 2006/06/29 21:33:50 gunter Exp $
-// GEANT4 tag $Name:  $
+// GEANT4 tag $Name: geant4-09-04-ref-00 $
 //
 
Index: trunk/source/visualization/test/include/MyEventAction.hh
===================================================================
--- trunk/source/visualization/test/include/MyEventAction.hh	(revision 1346)
+++ trunk/source/visualization/test/include/MyEventAction.hh	(revision 1347)
@@ -26,5 +26,5 @@
 //
 // $Id: MyEventAction.hh,v 1.6 2006/11/01 11:16:23 allison Exp $
-// GEANT4 tag $Name:  $
+// GEANT4 tag $Name: geant4-09-04-ref-00 $
 //
 
Index: trunk/source/visualization/test/include/MyPrimaryGeneratorAction.hh
===================================================================
--- trunk/source/visualization/test/include/MyPrimaryGeneratorAction.hh	(revision 1346)
+++ trunk/source/visualization/test/include/MyPrimaryGeneratorAction.hh	(revision 1347)
@@ -26,5 +26,5 @@
 //
 // $Id: MyPrimaryGeneratorAction.hh,v 1.6 2006/06/29 21:33:56 gunter Exp $
-// GEANT4 tag $Name:  $
+// GEANT4 tag $Name: geant4-09-04-ref-00 $
 //
 
Index: trunk/source/visualization/test/include/MyRunAction.hh
===================================================================
--- trunk/source/visualization/test/include/MyRunAction.hh	(revision 1346)
+++ trunk/source/visualization/test/include/MyRunAction.hh	(revision 1347)
@@ -26,5 +26,5 @@
 //
 // $Id: MyRunAction.hh,v 1.6 2006/06/29 21:33:58 gunter Exp $
-// GEANT4 tag $Name:  $
+// GEANT4 tag $Name: geant4-09-04-ref-00 $
 //
 
Index: trunk/source/visualization/test/include/MySteppingAction.hh
===================================================================
--- trunk/source/visualization/test/include/MySteppingAction.hh	(revision 1346)
+++ trunk/source/visualization/test/include/MySteppingAction.hh	(revision 1347)
@@ -26,5 +26,5 @@
 //
 // $Id: MySteppingAction.hh,v 1.6 2006/06/29 21:34:00 gunter Exp $
-// GEANT4 tag $Name:  $
+// GEANT4 tag $Name: geant4-09-04-ref-00 $
 //
 // 
Index: trunk/source/visualization/test/include/ParametrisedBox.hh
===================================================================
--- trunk/source/visualization/test/include/ParametrisedBox.hh	(revision 1346)
+++ trunk/source/visualization/test/include/ParametrisedBox.hh	(revision 1347)
@@ -26,5 +26,5 @@
 //
 // $Id: ParametrisedBox.hh,v 1.5 2006/06/29 21:34:02 gunter Exp $
-// GEANT4 tag $Name:  $
+// GEANT4 tag $Name: geant4-09-04-ref-00 $
 //
 // 
Index: trunk/source/visualization/test/include/test19DetectorConstruction.hh
===================================================================
--- trunk/source/visualization/test/include/test19DetectorConstruction.hh	(revision 1346)
+++ trunk/source/visualization/test/include/test19DetectorConstruction.hh	(revision 1347)
@@ -26,5 +26,5 @@
 //
 // $Id: test19DetectorConstruction.hh,v 1.4 2006/06/29 21:34:06 gunter Exp $
-// GEANT4 tag $Name:  $
+// GEANT4 tag $Name: geant4-09-04-ref-00 $
 //
 // 
Index: trunk/source/visualization/test/include/test19DetectorMessenger.hh
===================================================================
--- trunk/source/visualization/test/include/test19DetectorMessenger.hh	(revision 1346)
+++ trunk/source/visualization/test/include/test19DetectorMessenger.hh	(revision 1347)
@@ -26,5 +26,5 @@
 //
 // $Id: test19DetectorMessenger.hh,v 1.4 2006/06/29 21:34:08 gunter Exp $
-// GEANT4 tag $Name:  $
+// GEANT4 tag $Name: geant4-09-04-ref-00 $
 //
 // 
Index: trunk/source/visualization/test/src/BuildCalorimeter.cc
===================================================================
--- trunk/source/visualization/test/src/BuildCalorimeter.cc	(revision 1346)
+++ trunk/source/visualization/test/src/BuildCalorimeter.cc	(revision 1347)
@@ -26,5 +26,5 @@
 //
 // $Id: BuildCalorimeter.cc,v 1.5 2006/06/29 21:34:10 gunter Exp $
-// GEANT4 tag $Name:  $
+// GEANT4 tag $Name: geant4-09-04-ref-00 $
 //
 // 
Index: trunk/source/visualization/test/src/BuildGeom_Example1.cc
===================================================================
--- trunk/source/visualization/test/src/BuildGeom_Example1.cc	(revision 1346)
+++ trunk/source/visualization/test/src/BuildGeom_Example1.cc	(revision 1347)
@@ -26,5 +26,5 @@
 //
 // $Id: BuildGeom_Example1.cc,v 1.6 2006/06/29 21:34:12 gunter Exp $
-// GEANT4 tag $Name:  $
+// GEANT4 tag $Name: geant4-09-04-ref-00 $
 //
 // 
Index: trunk/source/visualization/test/src/BuildGeom_Example2.cc
===================================================================
--- trunk/source/visualization/test/src/BuildGeom_Example2.cc	(revision 1346)
+++ trunk/source/visualization/test/src/BuildGeom_Example2.cc	(revision 1347)
@@ -26,5 +26,5 @@
 //
 // $Id: BuildGeom_Example2.cc,v 1.6 2006/06/29 21:34:14 gunter Exp $
-// GEANT4 tag $Name:  $
+// GEANT4 tag $Name: geant4-09-04-ref-00 $
 //
 // 
Index: trunk/source/visualization/test/src/BuildHouse.cc
===================================================================
--- trunk/source/visualization/test/src/BuildHouse.cc	(revision 1346)
+++ trunk/source/visualization/test/src/BuildHouse.cc	(revision 1347)
@@ -26,5 +26,5 @@
 //
 // $Id: BuildHouse.cc,v 1.3 2006/06/29 21:34:16 gunter Exp $
-// GEANT4 tag $Name:  $
+// GEANT4 tag $Name: geant4-09-04-ref-00 $
 //
 // 
Index: trunk/source/visualization/test/src/BuildParametrised.cc
===================================================================
--- trunk/source/visualization/test/src/BuildParametrised.cc	(revision 1346)
+++ trunk/source/visualization/test/src/BuildParametrised.cc	(revision 1347)
@@ -26,5 +26,5 @@
 //
 // $Id: BuildParametrised.cc,v 1.7 2006/06/29 21:34:18 gunter Exp $
-// GEANT4 tag $Name:  $
+// GEANT4 tag $Name: geant4-09-04-ref-00 $
 //
 // 
Index: trunk/source/visualization/test/src/BuildShapes.cc
===================================================================
--- trunk/source/visualization/test/src/BuildShapes.cc	(revision 1346)
+++ trunk/source/visualization/test/src/BuildShapes.cc	(revision 1347)
@@ -26,5 +26,5 @@
 //
 // $Id: BuildShapes.cc,v 1.6 2006/06/29 21:34:20 gunter Exp $
-// GEANT4 tag $Name:  $
+// GEANT4 tag $Name: geant4-09-04-ref-00 $
 //
 // 
Index: trunk/source/visualization/test/src/MyDetectorConstruction.cc
===================================================================
--- trunk/source/visualization/test/src/MyDetectorConstruction.cc	(revision 1346)
+++ trunk/source/visualization/test/src/MyDetectorConstruction.cc	(revision 1347)
@@ -26,5 +26,5 @@
 //
 // $Id: MyDetectorConstruction.cc,v 1.39 2006/11/14 16:03:55 allison Exp $
-// GEANT4 tag $Name:  $
+// GEANT4 tag $Name: geant4-09-04-ref-00 $
 //
 // 
Index: trunk/source/visualization/test/src/MyDetectorMessenger.cc
===================================================================
--- trunk/source/visualization/test/src/MyDetectorMessenger.cc	(revision 1346)
+++ trunk/source/visualization/test/src/MyDetectorMessenger.cc	(revision 1347)
@@ -26,5 +26,5 @@
 //
 // $Id: MyDetectorMessenger.cc,v 1.4 2006/06/29 21:34:24 gunter Exp $
-// GEANT4 tag $Name:  $
+// GEANT4 tag $Name: geant4-09-04-ref-00 $
 //
 
Index: trunk/source/visualization/test/src/MyEventAction.cc
===================================================================
--- trunk/source/visualization/test/src/MyEventAction.cc	(revision 1346)
+++ trunk/source/visualization/test/src/MyEventAction.cc	(revision 1347)
@@ -26,5 +26,5 @@
 //
 // $Id: MyEventAction.cc,v 1.18 2008/04/04 14:01:14 allison Exp $
-// GEANT4 tag $Name:  $
+// GEANT4 tag $Name: geant4-09-04-ref-00 $
 //
 
Index: trunk/source/visualization/test/src/MyPrimaryGeneratorAction.cc
===================================================================
--- trunk/source/visualization/test/src/MyPrimaryGeneratorAction.cc	(revision 1346)
+++ trunk/source/visualization/test/src/MyPrimaryGeneratorAction.cc	(revision 1347)
@@ -26,5 +26,5 @@
 //
 // $Id: MyPrimaryGeneratorAction.cc,v 1.6 2006/06/29 21:34:30 gunter Exp $
-// GEANT4 tag $Name:  $
+// GEANT4 tag $Name: geant4-09-04-ref-00 $
 //
 
Index: trunk/source/visualization/test/src/MyRunAction.cc
===================================================================
--- trunk/source/visualization/test/src/MyRunAction.cc	(revision 1346)
+++ trunk/source/visualization/test/src/MyRunAction.cc	(revision 1347)
@@ -26,5 +26,5 @@
 //
 // $Id: MyRunAction.cc,v 1.8 2006/06/29 21:34:32 gunter Exp $
-// GEANT4 tag $Name:  $
+// GEANT4 tag $Name: geant4-09-04-ref-00 $
 //
 
Index: trunk/source/visualization/test/src/MySteppingAction.cc
===================================================================
--- trunk/source/visualization/test/src/MySteppingAction.cc	(revision 1346)
+++ trunk/source/visualization/test/src/MySteppingAction.cc	(revision 1347)
@@ -26,5 +26,5 @@
 //
 // $Id: MySteppingAction.cc,v 1.16 2006/06/29 21:34:34 gunter Exp $
-// GEANT4 tag $Name:  $
+// GEANT4 tag $Name: geant4-09-04-ref-00 $
 //
 // 
Index: trunk/source/visualization/test/src/ParametrisedBox.cc
===================================================================
--- trunk/source/visualization/test/src/ParametrisedBox.cc	(revision 1346)
+++ trunk/source/visualization/test/src/ParametrisedBox.cc	(revision 1347)
@@ -26,5 +26,5 @@
 //
 // $Id: ParametrisedBox.cc,v 1.6 2006/06/29 21:34:36 gunter Exp $
-// GEANT4 tag $Name:  $
+// GEANT4 tag $Name: geant4-09-04-ref-00 $
 //
 // 
Index: trunk/source/visualization/test/src/test19DetectorConstruction.cc
===================================================================
--- trunk/source/visualization/test/src/test19DetectorConstruction.cc	(revision 1346)
+++ trunk/source/visualization/test/src/test19DetectorConstruction.cc	(revision 1347)
@@ -26,5 +26,5 @@
 //
 // $Id: test19DetectorConstruction.cc,v 1.4 2006/06/29 21:34:40 gunter Exp $
-// GEANT4 tag $Name:  $
+// GEANT4 tag $Name: geant4-09-04-ref-00 $
 //
 // 
Index: trunk/source/visualization/test/src/test19DetectorMessenger.cc
===================================================================
--- trunk/source/visualization/test/src/test19DetectorMessenger.cc	(revision 1346)
+++ trunk/source/visualization/test/src/test19DetectorMessenger.cc	(revision 1347)
@@ -26,5 +26,5 @@
 //
 // $Id: test19DetectorMessenger.cc,v 1.8 2006/06/29 21:34:42 gunter Exp $
-// GEANT4 tag $Name:  $
+// GEANT4 tag $Name: geant4-09-04-ref-00 $
 //
 // 
Index: trunk/source/visualization/test/test19.cc
===================================================================
--- trunk/source/visualization/test/test19.cc	(revision 1346)
+++ trunk/source/visualization/test/test19.cc	(revision 1347)
@@ -26,5 +26,5 @@
 //
 // $Id: test19.cc,v 1.34 2010/10/26 16:17:44 allison Exp $
-// GEANT4 tag $Name:  $
+// GEANT4 tag $Name: geant4-09-04-ref-00 $
 //
 // 
Index: trunk/source/visualization/test/test19.g4m
===================================================================
--- trunk/source/visualization/test/test19.g4m	(revision 1346)
+++ trunk/source/visualization/test/test19.g4m	(revision 1347)
@@ -6,8 +6,455 @@
 /control/saveHistory
 /vis/verbose confirmations
-
-#/control/execute test19-OGLSX.g4m
-#/control/execute test19-OGLIX.g4m
-/control/execute test19-OGLIQt.g4m
-#/control/execute test19-OGLSQt.g4m
+#
+# See list of detector possibilities.
+/test19det/detector
+# Select detector.
+#/test19det/detector 1
+#/test19det/detector 4
+#
+# Initialise run, i.e., create geometry, set cuts, etc.
+/run/initialize
+#
+# Set gun for demo (detector 1)
+#/gun/particle e+
+#/gun/position 0 -100 0 cm
+#/gun/direction 0 1 0
+#
+# for drawing the tracks
+/tracking/storeTrajectory 1
+# if too many tracks cause core dump =storeTrajectory 0
+#
+# Create empty scene.
+/vis/scene/create
+#
+# Add volume to scene - "world" is default.
+/vis/scene/add/volume
+#
+# See list of graphics systems possibilities.
+# help /vis/sceneHandler/create
+#
+# Create a scene handler for a specific graphics system.
+# Edit the next line(s) to choose another graphic system
+#/vis/sceneHandler/create DAWNFILE
+#/vis/sceneHandler/create DAWN
+#/vis/sceneHandler/create OGLIXm
+#/vis/sceneHandler/create OGLSXm
+#/vis/sceneHandler/create OGLIX
+/vis/sceneHandler/create OGLSX
+#/vis/sceneHandler/create OGLSXm
+#/vis/sceneHandler/create VRML1
+#/vis/sceneHandler/create VRML1FILE
+#
+# Add world volume.
+/vis/scene/add/volume
+/vis/scene/add/axes 0 0 0 2 m
+/vis/scene/add/text 0 0 0 mm 50 -120 -200 test19 example text
+#
+# Add logo
+/vis/scene/add/logo
+#
+# Add scale
+/vis/scene/add/scale
+#
+# Add event id
+/vis/scene/add/eventID
+#
+# Create a viewer.
+/vis/viewer/create
+#
+# John's personal preferences
+/vis/viewer/set/lightsMove camera
+/vis/viewer/set/hiddenMarker true
+#
+/vis/viewer/set/lineSegmentsPerCircle 100
+# flush not necessary for auto-refresh drivers like OGL abd OI, but leave
+# (all that happens is an extra refresh).
+/vis/viewer/flush
+/vis/ogl/set/printMode vectored
+/vis/ogl/set/printSize 800 600
+/vis/ogl/set/printFilename output-test19-1
+/vis/ogl/printEPS
+#
+# Create another viewer.
+/vis/viewer/create
+#
+/vis/viewer/set/viewpointThetaPhi 35 35
+/vis/viewer/set/style surface
+/vis/viewer/set/projection perspective 30
+#
+/vis/viewer/flush
+/vis/ogl/set/printMode vectored
+/vis/ogl/set/printSize 800 600
+/vis/ogl/set/printFilename output-test19-2
+/vis/ogl/printEPS
+#
+# Now hidden line removal.
+/vis/viewer/create
+#
+/vis/viewer/set/viewpointThetaPhi 35 35
+/vis/viewer/set/style wireframe
+/vis/viewer/set/hiddenEdge
+/vis/viewer/set/projection perspective 30
+#
+/vis/viewer/flush
+/vis/ogl/set/printMode vectored
+/vis/ogl/set/printSize 800 600
+/vis/ogl/set/printFilename output-test19-3
+/vis/ogl/printEPS
+#
+# Now hidden line *and* hidden surface removal.
+/vis/viewer/create
+#
+/vis/viewer/set/viewpointThetaPhi 35 35
+/vis/viewer/set/style surface
+/vis/viewer/set/hiddenEdge
+/vis/viewer/set/projection perspective 30
+#
+/vis/viewer/flush
+/vis/ogl/set/printMode vectored
+/vis/ogl/set/printSize 800 600
+/vis/ogl/set/printFilename output-test19-4
+/vis/ogl/printEPS
+#
+# Start a run to initialise/optimise geometry and draw user-drawn transients.
+/run/beamOn
+#
+# Test logical volume model...
+/vis/scene/create
+/vis/scene/add/logicalVolume expHall_L
+/vis/sceneHandler/create OGLIQt
+/vis/viewer/create
+/vis/viewer/set/viewpointThetaPhi 35 35
+/vis/scene/notifyHandlers
+/vis/viewer/flush
+/vis/ogl/set/printMode vectored
+/vis/ogl/set/printSize 800 600
+/vis/ogl/set/printFilename output-test19-5
+/vis/ogl/printEPS
+#
+# Logical volume of Boolean solids...
+/vis/scene/create
+/vis/scene/add/logicalVolume intersection_L
+/vis/sceneHandler/create OGLIQt
+/vis/viewer/create
+/vis/viewer/reset
+/vis/viewer/set/viewpointThetaPhi 35 35
+/vis/scene/notifyHandlers
+/vis/viewer/flush
+/vis/ogl/set/printMode vectored
+/vis/ogl/set/printSize 800 600
+/vis/ogl/set/printFilename output-test19-6
+/vis/ogl/printEPS
+#
+/vis/scene/create
+/vis/scene/add/logicalVolume subtraction_L
+/vis/sceneHandler/attach
+/vis/viewer/reset
+/vis/viewer/set/viewpointThetaPhi 35 35
+/vis/viewer/flush
+/vis/ogl/set/printMode vectored
+/vis/ogl/set/printSize 800 600
+/vis/ogl/set/printFilename output-test19-7
+/vis/ogl/printEPS
+#
+/vis/scene/create
+/vis/scene/add/logicalVolume union_L
+/vis/sceneHandler/attach
+/vis/viewer/reset
+/vis/viewer/set/viewpointThetaPhi 35 35
+/vis/viewer/flush
+/vis/ogl/set/printMode vectored
+/vis/ogl/set/printSize 800 600
+/vis/ogl/set/printFilename output-test19-8
+/vis/ogl/printEPS
+#
+# Send geantino through...
+/vis/scene/create
+/vis/scene/endOfEventAction accumulate
+/vis/scene/endOfRunAction accumulate
+/vis/scene/add/volume
+/vis/scene/add/trajectories 5000
+#/vis/sceneHandler/create OGLSX
+/vis/sceneHandler/create OGLIQt
+/vis/viewer/create
+/vis/viewer/reset
+/vis/viewer/set/viewpointThetaPhi 35 35
+/vis/scene/notifyHandlers
+/tracking/verbose 2
+/run/beamOn 1
+/tracking/verbose 0
+/vis/viewer/flush
+/vis/ogl/set/printMode vectored
+/vis/ogl/set/printSize 800 600
+/vis/ogl/set/printFilename output-test19-9
+/vis/ogl/printEPS
+#
+# Rotated tracker tube
+/vis/viewer/reset
+#/vis/viewer/panTo 0 -200 cm
+/vis/viewer/set/upVector 1 0 0
+/vis/viewer/set/viewpointVector 0 1 0
+#/vis/viewer/zoom 5
+/vis/viewer/set/auxiliaryEdge true
+/vis/viewer/refresh
+/gun/direction 1 0 0
+/gun/position -200 -200 150 cm
+/run/beamOn
+/gun/position -200 -200 200 cm
+/run/beamOn
+/gun/position -200 -200 250 cm
+/run/beamOn
+/gun/position -200 -200 300 cm
+/run/beamOn
+/vis/viewer/flush
+/vis/ogl/set/printMode vectored
+/vis/ogl/set/printSize 800 600
+/vis/ogl/set/printFilename output-test19-10
+/vis/ogl/printEPS
+#
+# G4Trap1
+/vis/viewer/reset
+#/vis/viewer/panTo -200 200 cm  # Originally intended to be absolute coords.
+/vis/viewer/pan -275 75 cm
+/vis/viewer/zoom 5
+/vis/viewer/refresh
+/gun/direction -1 0 0
+/gun/position -20 120 -200 cm
+/run/beamOn
+/gun/position -20 130 -200 cm
+/run/beamOn
+/gun/position -20 140 -200 cm
+/run/beamOn
+/gun/position -20 150 -200 cm
+/run/beamOn
+/gun/position -20 160 -200 cm
+/run/beamOn
+/gun/position -20 170 -200 cm
+/run/beamOn
+/gun/position -20 180 -200 cm
+/run/beamOn
+/gun/position -20 190 -200 cm
+/run/beamOn
+/gun/position -20 200 -200 cm
+/run/beamOn
+/gun/position -20 210 -200 cm
+/run/beamOn
+/gun/position -20 220 -200 cm
+/run/beamOn
+/gun/position -20 230 -200 cm
+/run/beamOn
+/gun/position -20 240 -200 cm
+/run/beamOn
+/gun/position -20 250 -200 cm
+/run/beamOn
+/gun/position -20 260 -200 cm
+/run/beamOn
+/gun/position -20 270 -200 cm
+/run/beamOn
+/gun/position -20 280 -200 cm
+/run/beamOn
+/vis/viewer/flush
+/vis/ogl/set/printMode vectored
+/vis/ogl/set/printSize 800 600
+/vis/ogl/set/printFilename output-test19-11
+/vis/ogl/printEPS
+#
+# G4Trap2
+/vis/viewer/reset
+#/vis/viewer/panTo -200 400 cm
+/vis/viewer/pan -275 275 cm
+/vis/viewer/set/viewpointThetaPhi 90 180
+#/vis/viewer/panTo -200 0 cm
+/vis/viewer/pan -200 0 cm
+/vis/viewer/zoom 5
+/vis/viewer/refresh
+/gun/direction 0 0 -1
+/gun/position -200 400 -20 cm
+/run/beamOn
+/gun/position -200 380 -20 cm
+/run/beamOn
+/gun/position -200 420 -20 cm
+/run/beamOn
+/gun/position -200 360 -20 cm
+/run/beamOn
+/gun/position -200 440 -20 cm
+/run/beamOn
+/gun/position -200 340 -20 cm
+/run/beamOn
+/gun/position -200 460 -20 cm
+/run/beamOn
+/vis/viewer/flush
+/vis/ogl/set/printMode vectored
+/vis/ogl/set/printSize 800 600
+/vis/ogl/set/printFilename output-test19-12
+/vis/ogl/printEPS
+#
+# Displaced solid.
+/vis/viewer/reset
+#/vis/viewer/panTo 200 -200 cm
+/vis/viewer/pan 125 -325 cm
+/vis/viewer/zoom 5
+/vis/viewer/refresh
+/gun/position 100 -180 0 cm
+/gun/direction 1 0 0
+/run/beamOn
+/vis/viewer/flush
+/vis/ogl/set/printMode vectored
+/vis/ogl/set/printSize 800 600
+/vis/ogl/set/printFilename output-test19-13
+/vis/ogl/printEPS
+#
+# Boolean solid.
+/vis/viewer/reset
+#/vis/viewer/panTo 250 -50 cm
+/vis/viewer/pan 175 -175 cm
+/vis/viewer/zoom 3
+/vis/viewer/refresh
+/gun/direction 1 0 0
+/gun/position 50 -105 0 cm
+/run/beamOn
+/gun/position 50 -100 0 cm
+/run/beamOn
+/gun/position 50 -95 0 cm
+/run/beamOn
+/gun/position 50 -90 0 cm
+/run/beamOn
+/gun/position 50 -85 0 cm
+/run/beamOn
+/gun/position 50 -80 0 cm
+/run/beamOn
+/gun/position 50 -75 0 cm
+/run/beamOn
+/gun/position 50 -70 0 cm
+/run/beamOn
+/gun/position 50 -65 0 cm
+/run/beamOn
+/gun/position 50 -60 0 cm
+/run/beamOn
+/gun/position 50 -55 0 cm
+/run/beamOn
+/gun/position 50 -50 0 cm
+/run/beamOn
+/gun/position 50 -45 0 cm
+/run/beamOn
+/gun/position 50 -40 0 cm
+/run/beamOn
+/gun/position 50 -35 0 cm
+/run/beamOn
+/gun/position 50 -30 0 cm
+/run/beamOn
+/gun/position 50 -25 0 cm
+/run/beamOn
+/gun/position 50 -20 0 cm
+/run/beamOn
+/gun/position 50 -15 0 cm
+/run/beamOn
+/gun/position 50 -10 0 cm
+/run/beamOn
+/gun/position 50 -5 0 cm
+/run/beamOn
+/gun/position 50 0 0 cm
+/run/beamOn
+/gun/position 50 5 0 cm
+/run/beamOn
+/gun/position 50 10 0 cm
+/run/beamOn
+/gun/position 50 15 0 cm
+/run/beamOn
+/gun/position 50 20 0 cm
+/run/beamOn
+/vis/viewer/flush
+/vis/ogl/set/printMode vectored
+/vis/ogl/set/printSize 800 600
+/vis/ogl/set/printFilename output-test19-14
+/vis/ogl/printEPS
+#
+# To view replicas...
+# Investigating BaBar problem...
+# G4SmartVoxelHeader::BuildNodes - PANIC! Daughter physical volume
+# name = EB20 is entirely outside mother logical volume name = EBMX
+/vis/viewer/reset
+#/vis/viewer/panTo -200 0 cm
+/vis/viewer/pan -275 -125 cm
+/vis/viewer/zoom 7
+/vis/viewer/refresh
+/gun/direction 0 1 0
+# The following just crash with replicas...
+/gun/position -200 -100 0 cm
+/run/beamOn
+/gun/position -195 -100 0 cm
+/run/beamOn
+/gun/position -190 -100 0 cm
+/run/beamOn
+/gun/position -185 -100 0 cm
+/run/beamOn
+/gun/position -180 -100 0 cm
+/run/beamOn
+/gun/position -160 -100 0 cm
+/run/beamOn
+#...end
+/gun/position -200 0 0 cm
+# The following just crash with replicas...
+/gun/direction 1 1 0
+/run/beamOn
+/gun/direction 0 1 0
+/run/beamOn
+/gun/direction 1 .2 0
+/run/beamOn
+/gun/direction -1 1 0
+/run/beamOn
+/gun/direction -1 -1 0
+/run/beamOn
+/gun/direction 0 -1 0
+/run/beamOn
+/gun/direction 1 -1 0
+/run/beamOn
+/vis/viewer/flush
+/vis/ogl/set/printMode vectored
+/vis/ogl/set/printSize 800 600
+/vis/ogl/set/printFilename output-test19-15
+/vis/ogl/printEPS
+#...end
+#
+/vis/viewer/set/viewpointThetaPhi 30 30
+/vis/viewer/set/projection perspective 30
+/vis/viewer/flush
+/vis/ogl/set/printMode vectored
+/vis/ogl/set/printSize 800 600
+/vis/ogl/set/printFilename output-test19-16
+/vis/ogl/printEPS
+#
+#/vis/sceneHandler/create OIX
+/vis/sceneHandler/create OGLIQt
+#/vis/viewer/create
+/vis/viewer/create ! ! 200
+/vis/viewer/set/viewpointThetaPhi 30 30
+/vis/viewer/flush
+/vis/ogl/set/printMode vectored
+/vis/ogl/set/printSize 800 600
+/vis/ogl/set/printFilename output-test19-17
+/vis/ogl/printEPS
+#
+# You can use /vis/rayTracer/... commands
+/vis/rayTracer/column 150
+/vis/rayTracer/row 100
+/vis/rayTracer/backgroundColour .3 .2 .1
+/vis/rayTracer/trace
+#
+/vis/viewer/create ! ! 200x300
+/vis/viewer/set/projection perspective  30
+/vis/viewer/set/viewpointThetaPhi 45 45
+/vis/viewer/flush
+/vis/ogl/set/printMode vectored
+/vis/ogl/set/printSize 800 600
+/vis/ogl/set/printFilename output-test19-18
+/vis/ogl/printEPS
+#
+# Odd!!?  JPEG image seems upside down for default view direction...
+/vis/viewer/create ! ! 200
+/vis/viewer/flush
+/vis/ogl/set/printMode vectored
+/vis/ogl/set/printSize 800 600
+/vis/ogl/set/printFilename output-test19-19
+/vis/ogl/printEPS
 exit
Index: trunk/source/visualization/test/testshapes.cc
===================================================================
--- trunk/source/visualization/test/testshapes.cc	(revision 1346)
+++ trunk/source/visualization/test/testshapes.cc	(revision 1347)
@@ -26,5 +26,5 @@
 //
 // $Id: testshapes.cc,v 1.4 2006/06/29 21:33:32 gunter Exp $
-// GEANT4 tag $Name:  $
+// GEANT4 tag $Name: geant4-09-04-ref-00 $
 //
 // 
