#include <vtkImageData.h>
#include <vtkMarchingCubes.h>
#include <vtkSTLWriter.h>
{
}
{
std::cout << "7";
{
surfaceCreator->SetValue(0, 1);
surfaceCreator->Update();
surface->SetVtkPolyData(surfaceCreator->GetOutput());
surfaceNode->SetData(surface);
std::cout << "8";
surfaceCreator->Delete();
}
std::cout << "9";
}