54 std::ostringstream oss;
58 oss <<
"g4_" << i <<
".XXXFile";
59 ifs.open(oss.str().c_str());
64 fFileName = oss.str();
66 fFile.open(fFileName.c_str());
69 if (fFile.good()) fFile << item << std::endl;
70 else G4cout <<
"G4XXXFileViewer::FileWriter::WriteItem: ERROR" <<
G4endl;
75 G4VViewer(sceneHandler, sceneHandler.IncrementViewCount(), name)
85 G4cout <<
"G4XXXFileViewer::SetView() called." <<
G4endl;
91 G4cout <<
"G4XXXFileViewer::ClearView() called." <<
G4endl;
98 G4cout <<
"G4XXXFileViewer::DrawView() called." <<
G4endl;
122 G4cout <<
"G4XXXFileViewer::ShowView() called." <<
G4endl;
G4DLLIMPORT std::ostream G4cout
virtual void FinishView()
void WriteItem(const G4String &item)
virtual ~G4XXXFileViewer()
G4XXXFileViewer(G4VSceneHandler &, const G4String &name)