VTK/VTK 6 Migration/Removal of GetProducerPort
Removal of GetProducerPort() from vtkDataObject
VTK 6 introduces a number of backwards-incompatible changes. The reasons behind these changes are described in more detail here. One of these changes is the removal of all pipeline related methods from vtkDataObject. One of these methods is GetProducerPort(). This method was commonly used in the following way.
vtkPolyData* pd = vtkPolyData::New(); someAlgorithm->SetInputConnection(pd->GetProducerPort());
This can be replaced with:
vtkPolyData* pd = vtkPolyData::New(); someAlgorithm->SetInputData(pd);