mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-09-18 14:27:39 +03:00
0031350: Foundation Classes - Dump improvement for OCAF classes
- do not dump document in CDM_MetaData, just pointer text; - move ID dump in to TDF_Attribute; - extend TDF_Attribute with other important states(obtained by methods); - extend TDocStd_Document with other important states; - avoid dumping of shapes in TNaming_UsedShapes (it takes much time); - extend XCAFDoc, XCAFDimTolObjects dump to json; - correct XCAFDoc_ColorTool, XCAFDoc_MaterialTool, XCAFDoc_LayerTool to dump only connected to the object information; - correct XCAFDoc_Material to dump name and density value only if it exists; - add check on correct direction in gp_Ax3.
This commit is contained in:
@@ -560,4 +560,7 @@ void XCAFDoc_Datum::DumpJson (Standard_OStream& theOStream, Standard_Integer the
|
||||
OCCT_DUMP_FIELD_VALUE_STRING (theOStream, myName.get())
|
||||
OCCT_DUMP_FIELD_VALUE_STRING (theOStream, myDescription.get())
|
||||
OCCT_DUMP_FIELD_VALUE_STRING (theOStream, myIdentification.get())
|
||||
|
||||
Handle(XCAFDimTolObjects_DatumObject) anObject = GetObject();
|
||||
OCCT_DUMP_FIELD_VALUES_DUMPED (theOStream, theDepth, anObject.get())
|
||||
}
|
||||
|
Reference in New Issue
Block a user