Commit ab768403 authored by George Zagaris's avatar George Zagaris
Browse files

COMP: Rename SetInput to SetInputData for VTK6

Change-Id: Ibba7dc52fccdd364d3e8da3871e556748b3fc6d8
parent 8404cccd
......@@ -189,7 +189,7 @@ int vtkAMRCutPlane::RequestData(
if( grid != NULL )
{
vtkCutter *myCutter = vtkCutter::New();
myCutter->SetInput( grid );
myCutter->SetInputData( grid );
myCutter->SetCutFunction( this->Plane );
myCutter->Update();
mbds->SetBlock( blockIdx, myCutter->GetOutput( ) );
......
......@@ -1188,7 +1188,7 @@ void vtkAMRResampleFilter::GetRegion( double h[3] )
}
vtkUniformGridPartitioner *gridPartitioner = vtkUniformGridPartitioner::New();
gridPartitioner->SetInput( grd );
gridPartitioner->SetInputData( grd );
grd->Delete();
gridPartitioner->SetNumberOfPartitions( this->NumberOfPartitions );
......@@ -1341,7 +1341,7 @@ void vtkAMRResampleFilter::WriteUniformGrid(
std::ostringstream oss;
oss << prefix << "." << imgWriter->GetDefaultFileExtension();
imgWriter->SetFileName( oss.str().c_str() );
imgWriter->SetInput( g );
imgWriter->SetInputData( g );
imgWriter->Write();
imgWriter->Delete();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment