63 void G4XXXSGSceneHandler::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: "
97 if (pPVModel && !pLVModel) {
106 typedef std::vector<PVNodeID>
PVPath;
205 CreateCurrentItem(
G4String(
"\nPreAddSolid:\n"));
236 "G4XXXSGSceneHandler::AddSolid(const G4Box& box) called for "
241 std::ostringstream oss;
247 "Length")).strip() <<
')' << std::endl;
254 "G4XXXSGSceneHandler::AddPrimitive(const G4Polyline& polyline) called.\n"
262 std::ostringstream oss;
263 oss << polyline << std::endl;
270 "G4XXXSGSceneHandler::AddPrimitive(const G4Text& text) called.\n"
280 std::ostringstream oss;
281 oss << text << std::endl;
288 "G4XXXSGSceneHandler::AddPrimitive(const G4Circle& circle) called.\n"
310 std::ostringstream oss;
311 oss << circle << std::endl;
318 "G4XXXSGSceneHandler::AddPrimitive(const G4Square& square) called.\n"
340 std::ostringstream oss;
341 oss << square << std::endl;
348 "G4XXXSGSceneHandler::AddPrimitive(const G4Polyhedron& polyhedron) called.\n"
353 std::ostringstream oss;
362 if (polyhedron.GetNoFacets() == 0)
return;
366 fpViewer -> GetApplicableVisAttributes (polyhedron.GetVisAttributes ());
377 switch (drawing_style) {
406 "G4XXXSGSceneHandler::AddPrimitive(const G4NURBS& nurbs) called."
440 G4bool found =
false;
size_t foundPosition = 0;
441 for (
size_t i = 0; i < node->
fDaughters.size(); ++i) {
452 if (pathLength == 1) {
463 Insert(pvPath+1,--pathLength,index,
467 Insert(pvPath+1,--pathLength,index,
475 static G4int depth = -1;
479 const size_t& nDaughters = node->
fDaughters.size();
481 if (!thisPhysicalVolume) os <<
"Root" << std::endl;
483 for (
G4int i = 0; i < depth; ++i) os <<
"__";
486 << thisIndex <<
")" << std::endl;;
488 for (
size_t i = 0; i < nDaughters; ++i) {
496 const size_t& nDaughters = node->
fDaughters.size();
497 for (
size_t i = 0; i < nDaughters; ++i) {