15 #define VISIT(CLASS) \
16 void ScenePrettyPrinter::visit##CLASS(CLASS &) \
18 _ofs << _space << #CLASS << endl; \
25 VISIT(NodeDrawingStyle)
75 const float *vertices = ifs.
vertices();
76 unsigned vsize = ifs.
vsize();
78 _ofs << _space <<
"IndexedFaceSet" << endl;
79 const float *p = vertices;
80 for (
unsigned int i = 0; i < vsize / 3; i++) {
81 _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.
SIMD_FORCE_INLINE btVector3 transform(const btVector3 &point) const
virtual const unsigned 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 &)
SyclQueue void void size_t num_bytes void