63 void G4XXXFileSceneHandler::PrintThings() {
65 " with transformation "
66 << (
void*)fpObjectTransformation;
72 G4cout <<
"(not from a model)";
78 "\n current physical volume: "
80 "\n current logical volume: "
83 "\n current depth of geometry tree: "
101 "G4XXXFileSceneHandler::AddSolid(const G4Box& box) called for "
106 std::ostringstream oss;
112 "Length")).strip() <<
')';
114 GetFileWriter().WriteItem(oss.str());
118 #ifdef G4XXXFileDEBUG
120 "G4XXXFileSceneHandler::AddPrimitive(const G4Polyline& polyline) called.\n"
128 std::ostringstream oss;
131 GetFileWriter().WriteItem(oss.str());
135 #ifdef G4XXXFileDEBUG
137 "G4XXXFileSceneHandler::AddPrimitive(const G4Text& text) called.\n"
147 std::ostringstream oss;
150 GetFileWriter().WriteItem(oss.str());
154 #ifdef G4XXXFileDEBUG
156 "G4XXXFileSceneHandler::AddPrimitive(const G4Circle& circle) called.\n "
178 std::ostringstream oss;
181 GetFileWriter().WriteItem(oss.str());
185 #ifdef G4XXXFileDEBUG
187 "G4XXXFileSceneHandler::AddPrimitive(const G4Square& square) called.\n"
209 std::ostringstream oss;
212 GetFileWriter().WriteItem(oss.str());
216 #ifdef G4XXXFileDEBUG
218 "G4XXXFileSceneHandler::AddPrimitive(const G4Polyhedron& polyhedron) called.\n"
223 std::ostringstream oss;
226 GetFileWriter().WriteItem(oss.str());
233 if (polyhedron.GetNoFacets() == 0)
return;
237 fpViewer -> GetApplicableVisAttributes (polyhedron.GetVisAttributes ());
248 switch (drawing_style) {
275 #ifdef G4XXXFileDEBUG
277 "G4XXXFileSceneHandler::AddPrimitive(const G4NURBS& nurbs) called."