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

0031354: Visualization - Dump improvement for V3d, Graphic3d, Aspect

- do not dump light in view as it's dumped in the viewer
This commit is contained in:
sshutina
2020-02-06 18:17:35 +03:00
committed by bugmaster
parent f0da497005
commit a516227511
72 changed files with 1396 additions and 11 deletions

View File

@@ -1041,8 +1041,22 @@ void Graphic3d_Structure::DumpJson (Standard_OStream& theOStream, Standard_Integ
{
OCCT_DUMP_TRANSIENT_CLASS_BEGIN (theOStream)
OCCT_DUMP_FIELD_VALUE_POINTER (theOStream, myStructureManager)
OCCT_DUMP_FIELD_VALUES_DUMPED (theOStream, theDepth, myCStructure.get())
for (NCollection_IndexedMap<Graphic3d_Structure*>::Iterator anIter (myAncestors); anIter.More(); anIter.Next())
{
Graphic3d_Structure* anAncestor = anIter.Value();
OCCT_DUMP_FIELD_VALUE_POINTER (theOStream, anAncestor)
}
for (NCollection_IndexedMap<Graphic3d_Structure*>::Iterator anIter (myDescendants); anIter.More(); anIter.Next())
{
Graphic3d_Structure* aDescendant = anIter.Value();
OCCT_DUMP_FIELD_VALUE_POINTER (theOStream, aDescendant)
}
OCCT_DUMP_FIELD_VALUE_POINTER (theOStream, myOwner)
OCCT_DUMP_FIELD_VALUE_NUMERICAL (theOStream, myVisual)
OCCT_DUMP_FIELD_VALUE_NUMERICAL (theOStream, myComputeVisual)
}