occt: master 714fb6b5

Author Committer Branch Timestamp Parent
snn afokin master 2022-05-13 12:53:03 master bf8b7e08
Affected Issues  0032954: Data Exchange - Tool for applying transformation to XCAF document
Changeset 0032954: Tool for applying transformation to OCAF document

New XCAFDoc classes:
- XCAFDoc_AssemblyIterator: iterator in depth along the assembly tree
- XCAFDoc_AssemblyGraph: assembly graph with iterator
- XCAFDoc_AssemblyTool: provides generic methods for traversing assembly tree and graph

A method for re-scaling (sub-)assembly geometry is added to XCAFDoc_Editor.

New DRAW commands:
- XDumpAssemblyTree: iterates through the assembly tree in depth up to the specified level, if any
- XDumpAssemblyGraph: prints assembly graph structure
- XDumpNomenclature: prints number of (sub-)assembly/part instances
- XRescaleGeometry: applies geometrical scale to (sub-)assembly
mod - src/XCAFDoc/FILES Diff File
add - src/XCAFDoc/XCAFDoc_AssemblyGraph.cxx Diff File
add - src/XCAFDoc/XCAFDoc_AssemblyGraph.hxx Diff File
add - src/XCAFDoc/XCAFDoc_AssemblyIterator.cxx Diff File
add - src/XCAFDoc/XCAFDoc_AssemblyIterator.hxx Diff File
add - src/XCAFDoc/XCAFDoc_AssemblyTool.hxx Diff File
mod - src/XCAFDoc/XCAFDoc_Editor.cxx Diff File
mod - src/XCAFDoc/XCAFDoc_Editor.hxx Diff File
mod - src/XDEDRAW/XDEDRAW.cxx Diff File
mod - tests/xcaf/end Diff File
mod - tests/xcaf/grids.list Diff File
add - tests/xcaf/rescale/A1 Diff File
add - tests/xcaf/rescale/A2 Diff File
add - tests/xcaf/rescale/B1 Diff File
add - tests/xcaf/rescale/C1 Diff File
add - tests/xcaf/traverse/A1 Diff File
add - tests/xcaf/traverse/A2 Diff File
add - tests/xcaf/traverse/A3 Diff File
add - tests/xcaf/traverse/B1 Diff File