Point Cloud Library (PCL)
1.11.1-dev
|
41 #include <pcl/surface/processing.h>
42 #include <pcl/surface/vtk_smoothing/vtk.h>
58 feature_edge_smoothing_ (false),
59 feature_angle_ (45.f),
61 boundary_smoothing_ (true),
62 normalize_coordinates_ (false)
87 pass_band_ = pass_band;
106 normalize_coordinates_ = normalize_coordinates;
113 return normalize_coordinates_;
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;
171 boundary_smoothing_ = boundary_smoothing;
178 return boundary_smoothing_;
190 bool feature_edge_smoothing_;
191 float feature_angle_;
193 bool boundary_smoothing_;
194 bool normalize_coordinates_;
bool getNormalizeCoordinates() const
Get whether the coordinate normalization is active or not.
bool getBoundarySmoothing() const
Get the status of the boundary smoothing.
void setNumIter(int num_iter)
Set the number of iterations for the smoothing filter.
MeshSmoothingWindowedSincVTK()
Empty constructor that sets the values of the algorithm parameters to the VTK defaults.
void setEdgeAngle(float edge_angle)
Specify the edge angle to control smoothing along edges (either interior or boundary).
float getEdgeAngle() const
Get the edge angle to control smoothing along edges.
void setFeatureAngle(float feature_angle)
Specify the feature angle for sharp edge identification.
float getPassBand() const
Get the pass band value.
void setPassBand(float pass_band)
Set the pass band value for windowed sinc filtering.
bool getFeatureEdgeSmoothing() const
Get the status of the feature edge smoothing.
void setFeatureEdgeSmoothing(bool feature_edge_smoothing)
Turn on/off smoothing along sharp interior edges.
float getFeatureAngle() const
Get the angle threshold for considering an edge to be sharp.
PCL mesh smoothing based on the vtkWindowedSincPolyDataFilter algorithm from the VTK library.
void setNormalizeCoordinates(bool normalize_coordinates)
Turn on/off coordinate normalization.
int getNumIter() const
Get the number of iterations.
MeshProcessing represents the base class for mesh processing algorithms.
void setBoundarySmoothing(bool boundary_smoothing)
Turn on/off the smoothing of vertices on the boundary of the mesh.