diff --git a/CMakeLists.txt b/CMakeLists.txt index b259f06..5413eec 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -12,7 +12,6 @@ set(VTK_COMPONENTS VTK::IOGeometry VTK::IOXML VTK::FiltersModeling - VTK::FiltersPoints VTK::vtksys) set(ENABLE_VIEWER OFF CACHE BOOL "Enable the 3D viewer, depends on Qt.") if(ENABLE_VIEWER) diff --git a/src/main.cc b/src/main.cc index 0a59ba3..6d54bcb 100644 --- a/src/main.cc +++ b/src/main.cc @@ -15,7 +15,6 @@ #include #include #include -#include #ifdef USE_VIEWER #include @@ -83,11 +82,8 @@ int main(int argc, char **argv) { vtkNew dihedralAnglesFilter; dihedralAnglesFilter->SetInputConnection(project->GetOutputPort()); - vtkNew pointSmoothingFilter; - pointSmoothingFilter->SetInputConnection(dihedralAnglesFilter->GetOutputPort()); - vtkNew writer; - writer->SetInputConnection(pointSmoothingFilter->GetOutputPort()); + writer->SetInputConnection(dihedralAnglesFilter->GetOutputPort()); writer->SetDataModeToAscii(); writer->SetFileName("out.vtu"); writer->Write();