X-Git-Url: http://git.dev.opencascade.org/gitweb/?p=occt.git;a=blobdiff_plain;f=src%2FSelect3D%2FSelect3D_SensitiveSet.cxx;h=dfffbbea1f83bebc37e35ccaca6df4a2bc5a12a5;hb=bc73b00672a218a1301520a3562ece96f72a679c;hpb=00ea7f2676893c9dd9b31cf1f0a8bcad61416a6a diff --git a/src/Select3D/Select3D_SensitiveSet.cxx b/src/Select3D/Select3D_SensitiveSet.cxx index e5e40aacd0..dfffbbea1f 100644 --- a/src/Select3D/Select3D_SensitiveSet.cxx +++ b/src/Select3D/Select3D_SensitiveSet.cxx @@ -232,3 +232,20 @@ void Select3D_SensitiveSet::Clear() { // } + +//======================================================================= +//function : DumpJson +//purpose : +//======================================================================= +void Select3D_SensitiveSet::DumpJson (Standard_OStream& theOStream, Standard_Integer theDepth) const +{ + OCCT_DUMP_TRANSIENT_CLASS_BEGIN (theOStream) + OCCT_DUMP_BASE_CLASS (theOStream, theDepth, Select3D_SensitiveEntity) + + OCCT_DUMP_FIELD_VALUES_DUMPED (theOStream, theDepth, &myContent) + + OCCT_DUMP_FIELD_VALUE_NUMERICAL (theOStream, myDetectedIdx) + + Select3D_BndBox3d aBoundingBox = ((Select3D_SensitiveSet*)this)->BoundingBox(); + OCCT_DUMP_FIELD_VALUES_DUMPED (theOStream, theDepth, &aBoundingBox) +}