39 #ifndef VTK_MESH_SMOOTHING_WINDOWED_SINC_H_
40 #define VTK_MESH_SMOOTHING_WINDOWED_SINC_H_
42 #include <pcl/surface/processing.h>
43 #include <pcl/surface/vtk_smoothing/vtk.h>
60 feature_edge_smoothing_ (false),
61 feature_angle_ (45.f),
63 boundary_smoothing_ (true),
64 normalize_coordinates_ (false)
89 pass_band_ = pass_band;
108 normalize_coordinates_ = normalize_coordinates;
115 return normalize_coordinates_;
124 feature_edge_smoothing_ = feature_edge_smoothing;
131 return feature_edge_smoothing_;
140 feature_angle_ = feature_angle;
147 return feature_angle_;
156 edge_angle_ = edge_angle;
173 boundary_smoothing_ = boundary_smoothing;
180 return boundary_smoothing_;
192 bool feature_edge_smoothing_;
193 float feature_angle_;
195 bool boundary_smoothing_;
196 bool normalize_coordinates_;
float getEdgeAngle()
Get the edge angle to control smoothing along edges.
void setNormalizeCoordinates(bool normalize_coordinates)
Turn on/off coordinate normalization.
bool getFeatureEdgeSmoothing()
Get the status of the feature edge smoothing.
void setPassBand(float pass_band)
Set the pass band value for windowed sinc filtering.
bool getNormalizeCoordinates()
Get whether the coordinate normalization is active or not.
bool getBoundarySmoothing()
Get the status of the boundary smoothing.
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.
void setNumIter(int num_iter)
Set the number of iterations for the smoothing filter.
void setFeatureEdgeSmoothing(bool feature_edge_smoothing)
Turn on/off smoothing along sharp interior edges.
MeshSmoothingWindowedSincVTK()
Empty constructor that sets the values of the algorithm parameters to the VTK defaults.
int getNumIter()
Get the number of iterations.
MeshProcessing represents the base class for mesh processing algorithms.
float getPassBand()
Get the pass band value.
PCL mesh smoothing based on the vtkWindowedSincPolyDataFilter algorithm from the VTK library...
void setEdgeAngle(float edge_angle)
Specify the edge angle to control smoothing along edges (either interior or boundary).
void setFeatureAngle(float feature_angle)
Specify the feature angle for sharp edge identification.