From 057ae8100c4d74c9a67d26d4fdb45a02da5d28f0 Mon Sep 17 00:00:00 2001 From: papush! Date: Mon, 14 Mar 2022 14:34:07 +0100 Subject: [PATCH] :( --- CMakeLists.txt | 1 - src/main.cc | 6 +----- 2 files changed, 1 insertion(+), 6 deletions(-) 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();