Point Cloud Library (PCL)
1.10.0
|
41 #include <pcl/surface/processing.h>
42 #include <pcl/surface/vtk_smoothing/vtk.h>
58 , relaxation_factor_ (0.01f)
59 , feature_edge_smoothing_ (false)
60 , feature_angle_ (45.f)
62 , boundary_smoothing_ (true)
87 convergence_ = convergence;
106 relaxation_factor_ = relaxation_factor;
113 return relaxation_factor_;
122 feature_edge_smoothing_ = feature_edge_smoothing;
129 return feature_edge_smoothing_;
138 feature_angle_ = feature_angle;
145 return feature_angle_;
154 edge_angle_ = edge_angle;
170 boundary_smoothing_ = boundary_smoothing;
177 return boundary_smoothing_;
190 float relaxation_factor_;
191 bool feature_edge_smoothing_;
192 float feature_angle_;
194 bool boundary_smoothing_;
This file defines compatibility wrappers for low level I/O functions.
bool getBoundarySmoothing()
Get the status of the boundary smoothing.
MeshSmoothingLaplacianVTK()
Empty constructor that sets the values of the algorithm parameters to the VTK defaults.
bool getFeatureEdgeSmoothing()
Get the status of the feature edge smoothing.
void setNumIter(int num_iter)
Set the number of iterations for the smoothing filter.
float getEdgeAngle()
Get the edge angle to control smoothing along edges.
void setFeatureAngle(float feature_angle)
Specify the feature angle for sharp edge identification.
void setRelaxationFactor(float relaxation_factor)
Specify the relaxation factor for Laplacian smoothing.
void setFeatureEdgeSmoothing(bool feature_edge_smoothing)
Turn on/off smoothing along sharp interior edges.
float getRelaxationFactor()
Get the relaxation factor of the Laplacian smoothing.
void setEdgeAngle(float edge_angle)
Specify the edge angle to control smoothing along edges (either interior or boundary).
float getFeatureAngle()
Get the angle threshold for considering an edge to be sharp.
void setBoundarySmoothing(bool boundary_smoothing)
Turn on/off the smoothing of vertices on the boundary of the mesh.
int getNumIter()
Get the number of iterations.
void setConvergence(float convergence)
Specify a convergence criterion for the iteration process.
PCL mesh smoothing based on the vtkSmoothPolyDataFilter algorithm from the VTK library.
float getConvergence()
Get the convergence criterion.
MeshProcessing represents the base class for mesh processing algorithms.