[vtk-developers] [vtkusers] VTK 4 compatibility removal - update

Berk Geveci berk.geveci at kitware.com
Thu May 12 13:50:39 EDT 2011


This is a meaningless experiment. I am not removing GetOutput(). A
meaningful experiment would be to look for SetInput() (but not for
SetInputConnection). Then see how many of those instances mean to
establish a pipeline connection as opposed to directly setting a data
object as input. Note that I am not removing SetInput() either, only
changing it such that it does not setup pipeline connection. I would
also discount all instances of:

foo->SetInput(bar->GetOutput());

because they can be fixed with a simple script.

-berk

On Thu, May 12, 2011 at 1:46 PM, Bill Lorensen <bill.lorensen at gmail.com> wrote:
> Berk and Steve,
>
> One last Slicer4 experiment. In Slicer4 I grepped for GetOutput() (excluding
> any ITK files). I got 2281 hits.
>
> Bill
>
>



More information about the vtk-developers mailing list