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) {
G4double GetXHalfLength() const
virtual ~G4XXXFileSceneHandler()
G4int GetCurrentDepth() const
G4double GetZHalfLength() const
G4GLOB_DLL std::ostream G4cout
const G4String & GetName() const
G4XXXFileSceneHandler(G4VGraphicsSystem &system, const G4String &name)
void AddPrimitive(const G4Polyline &)
G4double GetYHalfLength() const
virtual G4String GetCurrentTag() const
G4ViewParameters::DrawingStyle GetDrawingStyle(const G4VisAttributes *)
G4double GetMarkerSize(const G4VMarker &, MarkerSizeType &)
void AddSolid(const G4Box &)
virtual G4String GetCurrentDescription() const
const G4String & GetName() const
G4LogicalVolume * GetCurrentLV() const
G4VPhysicalVolume * GetCurrentPV() const
static G4int fSceneIdCount