20 void ScenePrettyPrinter::visit##CLASS(CLASS &) \
22 _ofs << _space << #CLASS << endl; \
29VISIT(NodeDrawingStyle)
79 const float *vertices = ifs.
vertices();
82 _ofs << _space <<
"IndexedFaceSet" << endl;
83 const float *p = vertices;
84 for (
uint i = 0; i < vsize / 3; i++) {
85 _ofs << _space <<
" " << setw(3) << setfill(
'0') << i <<
": " << p[0] <<
", " << p[1] <<
", "
A Set of indexed faces to represent a surface object.
Class to display textual information about a scene graph.
virtual const uint vsize() const
virtual const float * vertices() const
virtual void visitNodeGroupBefore(NodeGroup &)
virtual void visitNodeDrawingStyleBefore(NodeDrawingStyle &)
virtual void visitNodeDrawingStyleAfter(NodeDrawingStyle &)
virtual void visitNodeShapeAfter(NodeShape &)
virtual void visitNodeGroupAfter(NodeGroup &)
virtual void visitNodeTransformBefore(NodeTransform &)
virtual void visitNodeTransformAfter(NodeTransform &)