auto spline = ws->GetFilter( "spline" );
auto seeds = ws->GetFilter( "seeds" );
auto axis = ws->GetFilter( "axis" );
+ auto writer = ws->GetFilter( "writer" );
+ auto raster = ws->GetFilter( "raster" );
// Execute reader
try
reader->GetOutputData< vtkImageData >( "Output" ), 2, "image"
);
spline->AddInteractor( view.GetInteractor( ) );
- spline->Update( );
seeds->AddInteractor( view.GetInteractor( ) );
+ spline->Update( );
seeds->Update( );
// Start application and show data
app.exec( );
spline->Modified( );
spline->Update( );
+ raster->Update( );
+ writer->Update( );
wnd.show( );
app.exec( );