Noether  0.0.0
Loading...
Searching...
No Matches
noether::FaceSubdivisionByAreaMeshModifier Class Reference

MeshModifier that subdivides mesh faces into smaller faces until all faces have less than the specified maximum area.

#include <face_subdivision_modifier.h>

Inheritance diagram for noether::FaceSubdivisionByAreaMeshModifier:

Public Member Functions

 FaceSubdivisionByAreaMeshModifier (float max_area)
 
- Public Member Functions inherited from noether::FaceSubdivisionMeshModifier
std::vector< pcl::PolygonMesh > modify (const pcl::PolygonMesh &mesh) const override
 

Protected Member Functions

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.
 

Protected Attributes

float max_area_
 Maximum allowable face area (m^2)
 

Additional Inherited Members

- Public Types inherited from noether::MeshModifier
using Ptr = std::unique_ptr< MeshModifier >
 
using ConstPtr = std::unique_ptr< const MeshModifier >
 

Member Function Documentation

◆ requiresSubdivision()

bool noether::FaceSubdivisionByAreaMeshModifier::requiresSubdivision ( const pcl::PolygonMesh &  mesh,
const std::vector< pcl::index_t > &  face 
) const
overrideprotectedvirtual