63 #ifdef G4XXXStoredDEBUG
65 void G4XXXStoredSceneHandler::PrintThings() {
67 " with transformation "
68 << (
void*)fpObjectTransformation;
74 G4cout <<
"(not from a model)";
80 "\n current physical volume: "
82 "\n current logical volume: "
85 "\n current depth of geometry tree: "
99 const std::map<G4String,G4AttDef>* userAttDefs = visAttribs.
GetAttDefs();
101 #ifdef G4XXXStoredDEBUG
102 const std::vector<G4AttValue>* userAttValues =
104 G4cout <<
"\nProvided G4Atts:\n"
107 G4AttCheck attCheck(userAttValues, userAttDefs);
110 std::vector<G4AttValue> standardValues;
111 std::map<G4String,G4AttDef> standardDefinitions;
112 attCheck.
Standard(&standardValues, &standardDefinitions);
113 G4cout <<
"\nStandard G4Atts:\n"
114 << G4AttCheck(&standardValues, &standardDefinitions);
117 delete userAttValues;
125 const std::map<G4String,G4AttDef>* solidAttDefs = pPVModel->
GetAttDefs();
127 #ifdef G4XXXStoredDEBUG
128 std::vector<G4AttValue>* solidAttValues =
130 G4cout <<
"\nProvided G4Atts:\n"
133 G4AttCheck attCheck(solidAttValues,solidAttDefs);
136 std::vector<G4AttValue> standardValues;
137 std::map<G4String,G4AttDef> standardDefinitions;
138 attCheck.
Standard(&standardValues, &standardDefinitions);
139 G4cout <<
"\nStandard G4Atts:\n"
140 << G4AttCheck(&standardValues, &standardDefinitions);
143 delete solidAttValues;
149 fCurrentItem = fStore.insert(fStore.end(),
G4String(
"\nPreAddSolid:\n"));
150 if (fReadyForTransients) {
151 fTransients.push_back(fCurrentItem);
153 fPermanents.push_back(fCurrentItem);
170 if (!fProcessingSolid) {
172 fCurrentItem = fStore.insert(fStore.end(),
174 if (fReadyForTransients) {
175 fTransients.push_back(fCurrentItem);
177 fPermanents.push_back(fCurrentItem);
200 #ifdef G4XXXStoredDEBUG
202 "G4XXXStoredSceneHandler::AddSolid(const G4Box& box) called for "
207 std::ostringstream oss;
213 "Length")).strip() <<
')';
218 #ifdef G4XXXStoredDEBUG
220 "G4XXXStoredSceneHandler::AddPrimitive(const G4Polyline& polyline) called.\n"
228 std::ostringstream oss;
234 #ifdef G4XXXStoredDEBUG
236 "G4XXXStoredSceneHandler::AddPrimitive(const G4Text& text) called.|n"
246 std::ostringstream oss;
252 #ifdef G4XXXStoredDEBUG
254 "G4XXXStoredSceneHandler::AddPrimitive(const G4Circle& circle) called.\n"
276 std::ostringstream oss;
282 #ifdef G4XXXStoredDEBUG
284 "G4XXXStoredSceneHandler::AddPrimitive(const G4Square& square) called.\n"
306 std::ostringstream oss;
312 #ifdef G4XXXStoredDEBUG
314 "G4XXXStoredSceneHandler::AddPrimitive(const G4Polyhedron&) called.\n"
319 std::ostringstream oss;
328 if (polyhedron.GetNoFacets() == 0)
return;
332 fpViewer -> GetApplicableVisAttributes (polyhedron.GetVisAttributes ());
343 switch (drawing_style) {
378 typedef std::vector<StoreIterator>::iterator StoreIteratorIterator;
379 for (StoreIteratorIterator i =
fTransients.begin();