53 std::ostringstream oss;
57 oss <<
"g4_" << i <<
".XXXFile";
58 ifs.open(oss.str().c_str());
63 fFileName = oss.str();
65 fFile.open(fFileName.c_str());
68 if (fFile.good()) fFile << item << std::endl;
69 else G4cout <<
"G4XXXFileViewer::FileWriter::WriteItem: ERROR" <<
G4endl;
74 G4VViewer(sceneHandler, sceneHandler.IncrementViewCount(), name)
84 G4cout <<
"G4XXXFileViewer::SetView() called." <<
G4endl;
90 G4cout <<
"G4XXXFileViewer::ClearView() called." <<
G4endl;
97 G4cout <<
"G4XXXFileViewer::DrawView() called." <<
G4endl;
121 G4cout <<
"G4XXXFileViewer::ShowView() called." <<
G4endl;
G4GLOB_DLL std::ostream G4cout
virtual void FinishView()
void WriteItem(const G4String &item)
virtual ~G4XXXFileViewer()
G4XXXFileViewer(G4VSceneHandler &, const G4String &name)