occt: master e2d60d0f

Author Committer Branch Timestamp Parent
gka smoskvin master 2017-11-08 17:13:53 master ae38730d
Affected Issues  0029325: Modeling Algorithms - add tool BRepLib_PointCloudShape for generation point cloud for specified shape
Changeset 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.
mod - adm/UDLIST Diff File
add - src/BRepLib/BRepLib_PointCloudShape.cxx Diff File
add - src/BRepLib/BRepLib_PointCloudShape.hxx Diff File
add - src/BRepLib/BRepLib_ToolTriangulatedShape.cxx Diff File
add - src/BRepLib/BRepLib_ToolTriangulatedShape.hxx Diff File
mod - src/BRepLib/FILES Diff File
add - src/RWPly/FILES Diff File
add - src/RWPly/RWPly_CafWriter.cxx Diff File
add - src/RWPly/RWPly_CafWriter.hxx Diff File
add - src/RWPly/RWPly_PlyWriterContext.cxx Diff File
add - src/RWPly/RWPly_PlyWriterContext.hxx Diff File
mod - src/StdPrs/StdPrs_ToolTriangulatedShape.cxx Diff File
mod - src/StdPrs/StdPrs_ToolTriangulatedShape.hxx Diff File
mod - src/TKRWMesh/PACKAGES Diff File
mod - src/ViewerTest/ViewerTest_ObjectCommands.cxx Diff File
mod - src/XSDRAWSTLVRML/XSDRAWSTLVRML.cxx Diff File
mod - tests/de_mesh/grids.list Diff File
add - tests/de_mesh/ply_write/equerre Diff File
add - tests/de_mesh/ply_write/sangle Diff File
mod - tests/v3d/point_cloud/sphere Diff File