1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-09-13 14:27:08 +03:00

0030997: Foundation Classes - name correction of dump macros

This commit is contained in:
nds
2019-09-25 09:12:41 +03:00
committed by bugmaster
parent 8aafd5f9e3
commit 3de0f78449
40 changed files with 244 additions and 257 deletions

View File

@@ -256,10 +256,10 @@ gp_Pnt SelectMgr_BaseFrustum::DetectedPoint (const Standard_Real /*theDepth*/) c
//=======================================================================
void SelectMgr_BaseFrustum::DumpJson (Standard_OStream& theOStream, const Standard_Integer) const
{
DUMP_CLASS_BEGIN (theOStream, SelectMgr_BaseFrustum);
OCCT_DUMP_CLASS_BEGIN (theOStream, SelectMgr_BaseFrustum);
DUMP_FIELD_VALUE_NUMERICAL (theOStream, myPixelTolerance);
DUMP_FIELD_VALUE_NUMERICAL (theOStream, myIsOrthographic);
DUMP_FIELD_VALUE_POINTER (theOStream, myBuilder);
DUMP_FIELD_VALUE_POINTER (theOStream, myCamera);
OCCT_DUMP_FIELD_VALUE_NUMERICAL (theOStream, myPixelTolerance);
OCCT_DUMP_FIELD_VALUE_NUMERICAL (theOStream, myIsOrthographic);
OCCT_DUMP_FIELD_VALUE_POINTER (theOStream, myBuilder);
OCCT_DUMP_FIELD_VALUE_POINTER (theOStream, myCamera);
}

View File

@@ -89,10 +89,10 @@ void SelectMgr_EntityOwner::HilightWithColor (const Handle(PrsMgr_PresentationMa
// =======================================================================
void SelectMgr_EntityOwner::DumpJson (Standard_OStream& theOStream, const Standard_Integer) const
{
DUMP_CLASS_BEGIN (theOStream, SelectMgr_EntityOwner);
OCCT_DUMP_CLASS_BEGIN (theOStream, SelectMgr_EntityOwner);
DUMP_FIELD_VALUE_POINTER (theOStream, mySelectable);
DUMP_FIELD_VALUE_NUMERICAL (theOStream, mypriority);
DUMP_FIELD_VALUE_NUMERICAL (theOStream, myIsSelected);
DUMP_FIELD_VALUE_NUMERICAL (theOStream, myFromDecomposition);
OCCT_DUMP_FIELD_VALUE_POINTER (theOStream, mySelectable);
OCCT_DUMP_FIELD_VALUE_NUMERICAL (theOStream, mypriority);
OCCT_DUMP_FIELD_VALUE_NUMERICAL (theOStream, myIsSelected);
OCCT_DUMP_FIELD_VALUE_NUMERICAL (theOStream, myFromDecomposition);
}

View File

@@ -555,9 +555,9 @@ const Handle(SelectMgr_EntityOwner)& SelectMgr_SelectableObject::GetAssemblyOwne
// =======================================================================
void SelectMgr_SelectableObject::DumpJson (Standard_OStream& theOStream, const Standard_Integer theDepth) const
{
DUMP_CLASS_BEGIN (theOStream, SelectMgr_SelectableObject);
OCCT_DUMP_CLASS_BEGIN (theOStream, SelectMgr_SelectableObject);
DUMP_FIELD_VALUES_BY_KIND (theOStream, theDepth, PrsMgr_PresentableObject);
DUMP_FIELD_VALUE_NUMERICAL (theOStream, myGlobalSelMode);
DUMP_FIELD_VALUE_NUMERICAL (theOStream, myAutoHilight);
OCCT_DUMP_BASE_CLASS (theOStream, theDepth, PrsMgr_PresentableObject);
OCCT_DUMP_FIELD_VALUE_NUMERICAL (theOStream, myGlobalSelMode);
OCCT_DUMP_FIELD_VALUE_NUMERICAL (theOStream, myAutoHilight);
}

View File

@@ -109,11 +109,11 @@ void SelectMgr_ViewClipRange::AddClippingPlanes (const Graphic3d_SequenceOfHClip
// =======================================================================
void SelectMgr_ViewClipRange::DumpJson (Standard_OStream& theOStream, const Standard_Integer theDepth) const
{
DUMP_CLASS_BEGIN (theOStream, SelectMgr_ViewClipRange);
OCCT_DUMP_CLASS_BEGIN (theOStream, SelectMgr_ViewClipRange);
DUMP_FIELD_VALUES_DUMPED (theOStream, theDepth, &myUnclipRange);
OCCT_DUMP_FIELD_VALUES_DUMPED (theOStream, theDepth, &myUnclipRange);
for (size_t aRangeIter = 0; aRangeIter < myClipRanges.size(); ++aRangeIter)
{
DUMP_FIELD_VALUES_DUMPED (theOStream, theDepth, &myClipRanges[aRangeIter]);
OCCT_DUMP_FIELD_VALUES_DUMPED (theOStream, theDepth, &myClipRanges[aRangeIter]);
}
}

View File

@@ -1053,19 +1053,19 @@ void SelectMgr_ViewerSelector::AllowOverlapDetection (const Standard_Boolean the
//=======================================================================
void SelectMgr_ViewerSelector::DumpJson (Standard_OStream& theOStream, const Standard_Integer) const
{
DUMP_CLASS_BEGIN (theOStream, SelectMgr_ViewerSelector);
OCCT_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());
OCCT_DUMP_FIELD_VALUE_NUMERICAL (theOStream, preferclosest);
OCCT_DUMP_FIELD_VALUE_NUMERICAL (theOStream, myToUpdateTolerance);
OCCT_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());
OCCT_DUMP_FIELD_VALUE_NUMERICAL (theOStream, aNbOfSelected);
OCCT_DUMP_FIELD_VALUE_NUMERICAL (theOStream, myTolerances.Tolerance());
OCCT_DUMP_FIELD_VALUE_NUMERICAL (theOStream, myTolerances.CustomTolerance());
OCCT_DUMP_FIELD_VALUE_NUMERICAL (theOStream, myZLayerOrderMap.Size());
}