1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-24 13:50:49 +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

@@ -68,18 +68,18 @@ void Graphic3d_Aspects::SetTextureMap (const Handle(Graphic3d_TextureMap)& theTe
//=======================================================================
void Graphic3d_Aspects::DumpJson (Standard_OStream& theOStream, const Standard_Integer theDepth) const
{
DUMP_CLASS_BEGIN (theOStream, Graphic3d_Aspects);
OCCT_DUMP_CLASS_BEGIN (theOStream, Graphic3d_Aspects);
DUMP_FIELD_VALUES_DUMPED (theOStream, theDepth, &myInteriorColor);
DUMP_FIELD_VALUES_DUMPED (theOStream, theDepth, &myBackInteriorColor);
DUMP_FIELD_VALUES_DUMPED (theOStream, theDepth, &myEdgeColor);
DUMP_FIELD_VALUES_DUMPED (theOStream, theDepth, &myPolygonOffset);
OCCT_DUMP_FIELD_VALUES_DUMPED (theOStream, theDepth, &myInteriorColor);
OCCT_DUMP_FIELD_VALUES_DUMPED (theOStream, theDepth, &myBackInteriorColor);
OCCT_DUMP_FIELD_VALUES_DUMPED (theOStream, theDepth, &myEdgeColor);
OCCT_DUMP_FIELD_VALUES_DUMPED (theOStream, theDepth, &myPolygonOffset);
DUMP_FIELD_VALUE_NUMERICAL (theOStream, myToSkipFirstEdge);
DUMP_FIELD_VALUE_NUMERICAL (theOStream, myToDistinguishMaterials);
DUMP_FIELD_VALUE_NUMERICAL (theOStream, myToDrawEdges);
DUMP_FIELD_VALUE_NUMERICAL (theOStream, myToDrawSilhouette);
DUMP_FIELD_VALUE_NUMERICAL (theOStream, myToSuppressBackFaces);
DUMP_FIELD_VALUE_NUMERICAL (theOStream, myToMapTexture);
DUMP_FIELD_VALUE_NUMERICAL (theOStream, myIsTextZoomable);
OCCT_DUMP_FIELD_VALUE_NUMERICAL (theOStream, myToSkipFirstEdge);
OCCT_DUMP_FIELD_VALUE_NUMERICAL (theOStream, myToDistinguishMaterials);
OCCT_DUMP_FIELD_VALUE_NUMERICAL (theOStream, myToDrawEdges);
OCCT_DUMP_FIELD_VALUE_NUMERICAL (theOStream, myToDrawSilhouette);
OCCT_DUMP_FIELD_VALUE_NUMERICAL (theOStream, myToSuppressBackFaces);
OCCT_DUMP_FIELD_VALUE_NUMERICAL (theOStream, myToMapTexture);
OCCT_DUMP_FIELD_VALUE_NUMERICAL (theOStream, myIsTextZoomable);
}

View File

@@ -454,8 +454,8 @@ void Graphic3d_Group::AddText (const Handle(Graphic3d_Text)& theTextParams,
// =======================================================================
void Graphic3d_Group::DumpJson (Standard_OStream& theOStream, const Standard_Integer) const
{
DUMP_CLASS_BEGIN (theOStream, Graphic3d_Group);
OCCT_DUMP_CLASS_BEGIN (theOStream, Graphic3d_Group);
DUMP_FIELD_VALUE_NUMERICAL (theOStream, myIsClosed);
DUMP_FIELD_VALUE_NUMERICAL (theOStream, myContainsFacet);
OCCT_DUMP_FIELD_VALUE_NUMERICAL (theOStream, myIsClosed);
OCCT_DUMP_FIELD_VALUE_NUMERICAL (theOStream, myContainsFacet);
}

View File

@@ -21,9 +21,9 @@
//=======================================================================
void Graphic3d_PolygonOffset::DumpJson (Standard_OStream& theOStream, const Standard_Integer) const
{
DUMP_CLASS_BEGIN (theOStream, Graphic3d_PolygonOffset);
OCCT_DUMP_CLASS_BEGIN (theOStream, Graphic3d_PolygonOffset);
DUMP_FIELD_VALUE_NUMERICAL (theOStream, Mode);
DUMP_FIELD_VALUE_NUMERICAL (theOStream, Factor);
DUMP_FIELD_VALUE_NUMERICAL (theOStream, Units);
OCCT_DUMP_FIELD_VALUE_NUMERICAL (theOStream, Mode);
OCCT_DUMP_FIELD_VALUE_NUMERICAL (theOStream, Factor);
OCCT_DUMP_FIELD_VALUE_NUMERICAL (theOStream, Units);
}