From fa661a47e8fc3263a13202949abed47877b44857 Mon Sep 17 00:00:00 2001 From: Leonardo Florez-Valencia Date: Sun, 14 Feb 2016 21:40:40 -0500 Subject: [PATCH] ... --- lib/fpa/VTK/Image3DObserver.hxx | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/lib/fpa/VTK/Image3DObserver.hxx b/lib/fpa/VTK/Image3DObserver.hxx index b993928..d39fc0b 100644 --- a/lib/fpa/VTK/Image3DObserver.hxx +++ b/lib/fpa/VTK/Image3DObserver.hxx @@ -172,14 +172,15 @@ Execute( const itk::Object* c, const itk::EventObject& e ) this->m_PolyData->SetVerts( pd_verts ); // this->m_PolyData->GetPointData( )->SetScalars( pd_data ); - - vtkSmartPointer< vtkPolyDataWriter > w = + /* + vtkSmartPointer< vtkPolyDataWriter > w = vtkSmartPointer< vtkPolyDataWriter >::New( ); - w->SetInputData( this->m_PolyData ); - w->SetFileName( "fpa.vtk" ); - w->Update( ); + w->SetInputData( this->m_PolyData ); + w->SetFileName( "fpa.vtk" ); + w->Update( ); - std::exit( 1 ); + std::exit( 1 ); + */ -- 2.47.1