41 #include <pcl/surface/processing.h>
42 #include <pcl/surface/vtk_smoothing/vtk.h>
63 target_reduction_factor_ = factor;
70 return target_reduction_factor_;
78 float target_reduction_factor_{0.5f};
MeshProcessing represents the base class for mesh processing algorithms.
PCL mesh decimation based on vtkQuadricDecimation from the VTK library.
MeshQuadricDecimationVTK()
Empty constructor.
void performProcessing(pcl::PolygonMesh &output) override
Abstract surface processing method.
void setTargetReductionFactor(float factor)
Set the percentage of faces that should be removed.
float getTargetReductionFactor() const
Get the target reduction factor.