setIO(anIO);
vtkUnstructuredGrid* aGrid = getUnstructuredGrid();
vtkDataSetMapper* aMapper = vtkDataSetMapper::New();
- aMapper->SetInput(aGrid);
+ aMapper->SetInputData(aGrid);
aGrid->Delete();
SetVisibility( true );//VisibilityOff();
vtkUnstructuredGrid* aGrid = getUnstructuredGrid();
vtkDataSetMapper* aMapper = vtkDataSetMapper::New();
- aMapper->SetInput(aGrid);
+ aMapper->SetInputData(aGrid);
aGrid->Delete();
SetVisibility( true );//VisibilityOff();
// // Create and display actor
//
// vtkDataSetMapper* myMapper = vtkDataSetMapper::New();
-// myMapper->SetInput(myGrid);
+// myMapper->SetInputData(myGrid);
//
// // if ( myPreviewActor ){
// // myVTKViewWindow->RemoveActor(myPreviewActor);