MeshModifier that subdivides mesh faces into smaller faces until all faces have less than the specified maximum area.
#include <face_subdivision_modifier.h>
|
|
| FaceSubdivisionByAreaMeshModifier (float max_area) |
| |
| std::vector< pcl::PolygonMesh > | modify (const pcl::PolygonMesh &mesh) const override |
| |
|
| bool | requiresSubdivision (const pcl::PolygonMesh &mesh, const std::vector< pcl::index_t > &face) const override |
| | Returns true if the area of the face has a greater area than the specified maximum face area.
|
| |
|
|
float | max_area_ |
| | Maximum allowable face area (m^2)
|
| |
◆ requiresSubdivision()
| bool noether::FaceSubdivisionByAreaMeshModifier::requiresSubdivision |
( |
const pcl::PolygonMesh & |
mesh, |
|
|
const std::vector< pcl::index_t > & |
face |
|
) |
| const |
|
overrideprotectedvirtual |