39 #ifndef VTK_MESH_SMOOTHING_LAPLACIAN_H_
40 #define VTK_MESH_SMOOTHING_LAPLACIAN_H_
42 #include <pcl/surface/processing.h>
43 #include <pcl/surface/vtk_smoothing/vtk.h>
61 , relaxation_factor_ (0.01f)
62 , feature_edge_smoothing_ (false)
63 , feature_angle_ (45.f)
65 , boundary_smoothing_ (true)
72 setNumIter (
int num_iter)
88 setConvergence (
float convergence)
90 convergence_ = convergence;
107 setRelaxationFactor (
float relaxation_factor)
109 relaxation_factor_ = relaxation_factor;
114 getRelaxationFactor ()
116 return relaxation_factor_;
123 setFeatureEdgeSmoothing (
bool feature_edge_smoothing)
125 feature_edge_smoothing_ = feature_edge_smoothing;
130 getFeatureEdgeSmoothing ()
132 return feature_edge_smoothing_;
139 setFeatureAngle (
float feature_angle)
141 feature_angle_ = feature_angle;
148 return feature_angle_;
155 setEdgeAngle (
float edge_angle)
157 edge_angle_ = edge_angle;
171 setBoundarySmoothing (
bool boundary_smoothing)
173 boundary_smoothing_ = boundary_smoothing;
178 getBoundarySmoothing ()
180 return boundary_smoothing_;
193 float relaxation_factor_;
194 bool feature_edge_smoothing_;
195 float feature_angle_;
197 bool boundary_smoothing_;