occt: master e816dce3

Author Committer Branch Timestamp Parent
osa bugmaster master 2021-02-26 15:01:11 master 63879968
Affected Issues  0032086: Visualization - support deferred data loading
Changeset 0032086: Visualization - support deferred data loading

1) Extend Poly_Triangulation by mesh purpose, possibility to be cleared and late-load deferred data interfaces.
2) Update BRep_TFace to store list of triangulations istead of single one. And also active one. Update getter and setter of single triangulation and add new methods to interaction with whole triangulations list.
3) Update BRep_Tool to get single triangulation of face according to the input mesh purpose or whole triangulations list.
4) Update BRep_Builder to make face by not only single triangulation but whole triangulations list with specified active one.
5) Add new methods to BRepTools to interact with shape triangulations (Load/Unload/Activate/LoadAll/UnloadAllTriangulation(s))
6) Add new 'tlateload'command for shape to load/unload/activate triangulations.
7) Update 'trinfo' command by '-lods' options to print detailaed information about LODs of this shape
8) Support empty triangulations by selection. Use bounding box selection in this case.
9) Add new 'outdisplist' option to XDispaly command to print list of displayed objects to output variable but not to theDI
10) Add new '-noecho' option to vdisplay command to skip printing of displayed objects to theDI
11) Create new RWMesh_TriangulationSource as mesh data wrapper for delayed triangulation loading.
12) Create new RWMesh_TriangulationReader as base interface for reading primitive array from the buffer.
13) Cache nodes/triangles number defined in glTF file
14) Use RWMesh_TriangulationSource class as base of RWGltf_GltfLatePrimitiveArray one and RWMesh_TriangulationReader class as base of RWGltf_TriangulationReader one
15) Add possibilty to support of LODs by glTF reader. It is possible to skip data loading and load them later
16) Add new '-skiplateloading' (to skip triangulation loading), '-keeplate' (to keep information about deferred storage to load/unload triangulation later),
'-toprintdebuginfo' (to print additional debug information) options to ReadGltf command
17) Add new test of glTF late loading
mod - src/BRep/BRep_Builder.cxx Diff File
mod - src/BRep/BRep_Builder.hxx Diff File
mod - src/BRep/BRep_TFace.cxx Diff File
mod - src/BRep/BRep_TFace.hxx Diff File
rm - src/BRep/BRep_TFace.lxx Diff File
mod - src/BRep/BRep_Tool.cxx Diff File
mod - src/BRep/BRep_Tool.hxx Diff File
mod - src/BRep/FILES Diff File
mod - src/BRepTools/BRepTools.cxx Diff File
mod - src/BRepTools/BRepTools.hxx Diff File
mod - src/DrawResources/CheckCommands.tcl Diff File
mod - src/DrawResources/TestCommands.tcl Diff File
mod - src/MeshTest/MeshTest.cxx Diff File
mod - src/Poly/FILES Diff File
add - src/Poly/Poly_MeshPurpose.hxx Diff File
mod - src/Poly/Poly_Triangulation.cxx Diff File
mod - src/Poly/Poly_Triangulation.hxx Diff File
mod - src/Prs3d/Prs3d.cxx Diff File
mod - src/RWGltf/FILES Diff File
mod - src/RWGltf/RWGltf_CafReader.cxx Diff File
mod - src/RWGltf/RWGltf_CafReader.hxx Diff File
mod - src/RWGltf/RWGltf_GltfJsonParser.cxx Diff File
mod - src/RWGltf/RWGltf_GltfJsonParser.hxx Diff File
mod - src/RWGltf/RWGltf_GltfLatePrimitiveArray.cxx Diff File
mod - src/RWGltf/RWGltf_GltfLatePrimitiveArray.hxx Diff File
rm - src/RWGltf/RWGltf_PrimitiveArrayReader.cxx Diff File
rm - src/RWGltf/RWGltf_PrimitiveArrayReader.hxx Diff File
mod - src/RWGltf/RWGltf_TriangulationReader.cxx Diff File
mod - src/RWGltf/RWGltf_TriangulationReader.hxx Diff File
mod - src/RWMesh/FILES Diff File
add - src/RWMesh/RWMesh_TriangulationReader.cxx Diff File
add - src/RWMesh/RWMesh_TriangulationReader.hxx Diff File
add - src/RWMesh/RWMesh_TriangulationSource.cxx Diff File
add - src/RWMesh/RWMesh_TriangulationSource.hxx Diff File
mod - src/Select3D/Select3D_SensitiveTriangulation.cxx Diff File
mod - src/Select3D/Select3D_SensitiveTriangulation.hxx Diff File
mod - src/StdPrs/StdPrs_ShadedShape.cxx Diff File
mod - src/ViewerTest/ViewerTest.cxx Diff File
mod - src/XDEDRAW/XDEDRAW.cxx Diff File
mod - src/XSDRAWSTLVRML/XSDRAWSTLVRML.cxx Diff File
mod - tests/bugs/mesh/bug25612 Diff File
mod - tests/bugs/modalg_6/bug26897 Diff File
add - tests/de_mesh/gltf_lateload/begin Diff File
add - tests/de_mesh/gltf_lateload/boxwithoutindices Diff File
add - tests/de_mesh/gltf_lateload/engine Diff File
mod - tests/de_mesh/grids.list Diff File