[vtk-developers] GetInputData() versus GetInput()

Marcus D. Hanwell marcus.hanwell at kitware.com
Fri Mar 9 15:04:55 EST 2012


Hi David,

On Fri, Mar 9, 2012 at 2:18 PM, David Gobbi <david.gobbi at gmail.com> wrote:
> Hi Marcus,
>
> There is an asymmetry in the naming of the new SetInputData() method:
>
> void SetInputData(vtkDataObject *);
> vtkDataObject *GetInput();
>
> Why is it SetInputData(), but just GetInput()?  The reason that I'm
> concerned is that some of my wrapping tools require symmetry in the
> naming of Get/Set methods in order to infer class properties.
>
That is a good point, and wrapping or no I think it would be good to
restore the symmetry. Berk made the changes, it seems like something
that we could change.

Thanks,

Marcus



More information about the vtk-developers mailing list