Skip to content

Commit ac63dc6

Browse files
committed
Update vtkWindowedSincPolyDataFilter basic options and parameters
1 parent f744b77 commit ac63dc6

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Libs/Mesh/Mesh.cpp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -298,6 +298,12 @@ Mesh& Mesh::smoothSinc(int iterations, double passband) {
298298
iterations = std::max<int>(iterations, 2);
299299
smoother->SetNumberOfIterations(iterations);
300300
smoother->SetPassBand(passband);
301+
302+
smoother->BoundarySmoothingOff();
303+
smoother->FeatureEdgeSmoothingOff();
304+
smoother->NonManifoldSmoothingOn();
305+
smoother->NormalizeCoordinatesOn();
306+
301307
smoother->Update();
302308
this->poly_data_ = smoother->GetOutput();
303309

0 commit comments

Comments
 (0)