X-Git-Url: http://git.dev.opencascade.org/gitweb/?p=occt.git;a=blobdiff_plain;f=src%2FGraphic3d%2FGraphic3d_BoundBuffer.hxx;h=b941f032acf111e3d533a63deaa0104704b99955;hb=bc73b00672a218a1301520a3562ece96f72a679c;hpb=00ea7f2676893c9dd9b31cf1f0a8bcad61416a6a diff --git a/src/Graphic3d/Graphic3d_BoundBuffer.hxx b/src/Graphic3d/Graphic3d_BoundBuffer.hxx index 5aafd1cf14..b941f032ac 100644 --- a/src/Graphic3d/Graphic3d_BoundBuffer.hxx +++ b/src/Graphic3d/Graphic3d_BoundBuffer.hxx @@ -61,6 +61,19 @@ public: return true; } + //! Dumps the content of me into the stream + virtual void DumpJson (Standard_OStream& theOStream, Standard_Integer theDepth = -1) const Standard_OVERRIDE + { + OCCT_DUMP_TRANSIENT_CLASS_BEGIN (theOStream) + OCCT_DUMP_BASE_CLASS (theOStream, theDepth, NCollection_Buffer) + + OCCT_DUMP_FIELD_VALUE_POINTER (theOStream, Colors) + OCCT_DUMP_FIELD_VALUE_POINTER (theOStream, Bounds) + + OCCT_DUMP_FIELD_VALUE_NUMERICAL (theOStream, NbBounds) + OCCT_DUMP_FIELD_VALUE_NUMERICAL (theOStream, NbMaxBounds) + } + public: Graphic3d_Vec4* Colors; //!< pointer to facet color values