64#ifdef G4XXXStoredDEBUG
66void G4XXXStoredSceneHandler::PrintThings() {
68 " with transformation "
69 << (
void*)fpObjectTransformation;
75 G4cout <<
"(not from a model)";
81 "\n current physical volume: "
83 "\n current logical volume: "
86 "\n current depth of geometry tree: "
100 const std::map<G4String,G4AttDef>* userAttDefs = visAttribs.
GetAttDefs();
102#ifdef G4XXXStoredDEBUG
103 const std::vector<G4AttValue>* userAttValues =
105 G4cout <<
"\nProvided G4Atts:\n"
108 G4AttCheck attCheck(userAttValues, userAttDefs);
111 std::vector<G4AttValue> standardValues;
112 std::map<G4String,G4AttDef> standardDefinitions;
113 attCheck.
Standard(&standardValues, &standardDefinitions);
114 G4cout <<
"\nStandard G4Atts:\n"
115 <<
G4AttCheck(&standardValues, &standardDefinitions);
118 delete userAttValues;
126 const std::map<G4String,G4AttDef>* solidAttDefs = pPVModel->
GetAttDefs();
128#ifdef G4XXXStoredDEBUG
129 std::vector<G4AttValue>* solidAttValues =
131 G4cout <<
"\nProvided G4Atts:\n"
134 G4AttCheck attCheck(solidAttValues,solidAttDefs);
137 std::vector<G4AttValue> standardValues;
138 std::map<G4String,G4AttDef> standardDefinitions;
139 attCheck.
Standard(&standardValues, &standardDefinitions);
140 G4cout <<
"\nStandard G4Atts:\n"
141 <<
G4AttCheck(&standardValues, &standardDefinitions);
144 delete solidAttValues;
201#ifdef G4XXXStoredDEBUG
203 "G4XXXStoredSceneHandler::AddSolid(const G4Box& box) called for "
208 std::ostringstream oss;
214 "Length")).
strip() <<
')';
219#ifdef G4XXXStoredDEBUG
221 "G4XXXStoredSceneHandler::AddPrimitive(const G4Polyline& polyline) called.\n"
229 std::ostringstream oss;
235#ifdef G4XXXStoredDEBUG
237 "G4XXXStoredSceneHandler::AddPrimitive(const G4Text& text) called.|n"
247 std::ostringstream oss;
253#ifdef G4XXXStoredDEBUG
255 "G4XXXStoredSceneHandler::AddPrimitive(const G4Circle& circle) called.\n"
277 std::ostringstream oss;
283#ifdef G4XXXStoredDEBUG
285 "G4XXXStoredSceneHandler::AddPrimitive(const G4Square& square) called.\n"
307 std::ostringstream oss;
313#ifdef G4XXXStoredDEBUG
315 "G4XXXStoredSceneHandler::AddPrimitive(const G4Polyhedron&) called.\n"
320 std::ostringstream oss;
344 switch (drawing_style) {
371#ifdef G4XXXStoredDEBUG
373 "G4XXXStoredSceneHandler::AddPrimitive(const G4NURBS& nurbs) called."
388 typedef std::vector<StoreIterator>::iterator StoreIteratorIterator;
389 for (StoreIteratorIterator i =
fTransients.begin();
G4DLLIMPORT std::ostream G4cout
G4bool Check(const G4String &leader="") const
G4bool Standard(std::vector< G4AttValue > *standardValues, std::map< G4String, G4AttDef > *standardDefinitions) const
G4double GetYHalfLength() const
G4double GetZHalfLength() const
G4double GetXHalfLength() const
G4VPhysicalVolume * GetCurrentPV() const
std::vector< G4AttValue > * CreateCurrentAttValues() const
G4LogicalVolume * GetCurrentLV() const
const std::map< G4String, G4AttDef > * GetAttDefs() const
G4int GetCurrentDepth() const
G4String strip(G4int strip_Type=trailing, char c=' ')
virtual G4String GetCurrentDescription() const
virtual G4String GetCurrentTag() const
const G4String & GetName() const
virtual void EndPrimitives()
G4double GetMarkerSize(const G4VMarker &, MarkerSizeType &)
virtual void PreAddSolid(const G4Transform3D &objectTransformation, const G4VisAttributes &)
virtual void PostAddSolid()
virtual void BeginPrimitives(const G4Transform3D &objectTransformation)
G4bool fReadyForTransients
G4ViewParameters::DrawingStyle GetDrawingStyle(const G4VisAttributes *)
const std::map< G4String, G4AttDef > * GetAttDefs() const
const std::vector< G4AttValue > * CreateAttValues() const
const G4VisAttributes * GetVisAttributes() const
virtual ~G4XXXStoredSceneHandler()
void BeginPrimitives(const G4Transform3D &objectTransformation)
std::vector< StoreIterator > fTransients
StoreIterator fCurrentItem
void ClearTransientStore()
std::vector< StoreIterator > fPermanents
static G4int fSceneIdCount
void PreAddSolid(const G4Transform3D &objectTransformation, const G4VisAttributes &)
void AddPrimitive(const G4Polyline &)
void AddSolid(const G4Box &)
G4XXXStoredSceneHandler(G4VGraphicsSystem &system, const G4String &name)
G4int GetNoFacets() const