Import Geant4 5.2.0 source tree
This commit is contained in:
@@ -21,13 +21,13 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4RayTracerViewer.cc,v 1.10 2002/04/22 14:14:38 johna Exp $
|
||||
// GEANT4 tag $Name: geant4-05-01 $
|
||||
// $Id: G4RayTracerViewer.cc,v 1.11 2003/06/16 17:13:44 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-05-02 $
|
||||
|
||||
#include "G4RayTracerViewer.hh"
|
||||
|
||||
#include "G4ios.hh"
|
||||
#include "g4std/strstream"
|
||||
#include <strstream>
|
||||
|
||||
#include "G4VSceneHandler.hh"
|
||||
#include "G4Scene.hh"
|
||||
@@ -94,8 +94,8 @@ void G4RayTracerViewer::DrawView() {
|
||||
G4RayTracer* theTracer =
|
||||
(G4RayTracer*) fSceneHandler.GetGraphicsSystem();
|
||||
char fileName [100];
|
||||
G4std::ostrstream ost(fileName, 100);
|
||||
std::ostrstream ost(fileName, 100);
|
||||
ost << "g4RayTracer." << fShortName << '_' << fFileCount++ << ".jpeg"
|
||||
<< G4std::ends;
|
||||
<< std::ends;
|
||||
theTracer->Trace(fileName);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user