{
mySelectingVolumeMgr.AllowOverlapDetection (theIsToAllow);
}
+
+//=======================================================================
+//function : DumpJson
+//purpose :
+//=======================================================================
+void SelectMgr_ViewerSelector::DumpJson (Standard_OStream& theOStream, const Standard_Integer) const
+{
+ DUMP_CLASS_BEGIN (theOStream, SelectMgr_ViewerSelector);
+
+ DUMP_FIELD_VALUE_NUMERICAL (theOStream, preferclosest);
+ DUMP_FIELD_VALUE_NUMERICAL (theOStream, myToUpdateTolerance);
+ DUMP_FIELD_VALUE_NUMERICAL (theOStream, mystored.Extent());
+
+ Standard_Integer aNbOfSelected = 0;
+ for (SelectMgr_SelectableObjectSet::Iterator aSelectableIt (mySelectableObjects); aSelectableIt.More(); aSelectableIt.Next())
+ {
+ aNbOfSelected++;
+ }
+ DUMP_FIELD_VALUE_NUMERICAL (theOStream, aNbOfSelected);
+ DUMP_FIELD_VALUE_NUMERICAL (theOStream, myTolerances.Tolerance());
+ DUMP_FIELD_VALUE_NUMERICAL (theOStream, myTolerances.CustomTolerance());
+ DUMP_FIELD_VALUE_NUMERICAL (theOStream, myZLayerOrderMap.Size());
+}