]> OCCT Git - occt.git/commit
0029325: Modeling Algorithms - add tool BRepLib_PointCloudShape for generation point...
authorgka <gka@opencascade.com>
Wed, 8 Nov 2017 14:13:53 +0000 (17:13 +0300)
committersmoskvin <smoskvin@opencascade.com>
Tue, 8 Feb 2022 19:15:24 +0000 (22:15 +0300)
commite2d60d0f7f11151d1712bbe769f9b84fafa759e7
tree2ec749d1165ca7cf08347f87acb596f2f80fdf24
parentae38730d3520fc8d0fbe4a3b9a97afd0cebe6df8
0029325: Modeling Algorithms - add tool BRepLib_PointCloudShape for generation point cloud for specified shape

Added PLY writing tools RWPly_CafWriter and RWPly_PlyWriterContext.

Added tool BRepLib_PointCloudShape generating point cloud from shape in two ways:
- random points on surface with specified density;
- points from triangulation nodes.

StdPrs_ToolTriangulatedShape::ComputeNormals() has been moved to
BRepLib_ToolTriangulatedShape for reusing outside of AIS.

Command vpointcloud has been extended to use new generation tool.
Command writeply has been added to write triangulation or point set into PLY format.
20 files changed:
adm/UDLIST
src/BRepLib/BRepLib_PointCloudShape.cxx [new file with mode: 0644]
src/BRepLib/BRepLib_PointCloudShape.hxx [new file with mode: 0644]
src/BRepLib/BRepLib_ToolTriangulatedShape.cxx [new file with mode: 0644]
src/BRepLib/BRepLib_ToolTriangulatedShape.hxx [new file with mode: 0644]
src/BRepLib/FILES
src/RWPly/FILES [new file with mode: 0644]
src/RWPly/RWPly_CafWriter.cxx [new file with mode: 0644]
src/RWPly/RWPly_CafWriter.hxx [new file with mode: 0644]
src/RWPly/RWPly_PlyWriterContext.cxx [new file with mode: 0644]
src/RWPly/RWPly_PlyWriterContext.hxx [new file with mode: 0644]
src/StdPrs/StdPrs_ToolTriangulatedShape.cxx
src/StdPrs/StdPrs_ToolTriangulatedShape.hxx
src/TKRWMesh/PACKAGES
src/ViewerTest/ViewerTest_ObjectCommands.cxx
src/XSDRAWSTLVRML/XSDRAWSTLVRML.cxx
tests/de_mesh/grids.list
tests/de_mesh/ply_write/equerre [new file with mode: 0644]
tests/de_mesh/ply_write/sangle [new file with mode: 0644]
tests/v3d/point_cloud/sphere