Yes there was a discussion. You can find the full thing if you search in the archives. Below is what I wrote in answer to a similar question. We are open to suggestions on how to make this better.<div><br></div><div>Best,</div>
<div>-berk<br><div><br></div><div><span class="Apple-style-span" style="border-collapse:collapse;color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px">I don't think it is as simple as renaming GetInput() to GetInputData(). There is indeed an asymmetry to the way these classes behave:<div>
<br></div><div>SetInputData() - sets a data object as input without creating a pipeline a connection to whatever might have produced the data object</div><div>SetInputConnection() - sets up a pipeline connection to an algorithm</div>
<div>GetInput() - returns the input data object that may result from either of the above functions</div><div><br></div><div>So GetInput() does not simply pair with SetInputData(). It's not like SetInputData() sets a data member and GetInput() returns it. This is why I left GetInput() alone.</div>
</span><br><div class="gmail_quote">On Mon, Apr 2, 2012 at 11:39 AM, Bryn Lloyd <span dir="ltr"><<a href="mailto:lloyd@itis.ethz.ch">lloyd@itis.ethz.ch</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi<br>
<br>
Maybe this has been discussed, but I find there is an inconsistency in the function naming.<br>
<br>
In the new API SetInput is replaced by SetInputData. But the GetInput function remains in the old style, at least here:<br>
<a href="http://www.vtk.org/doc/nightly/html/classvtkImageActor.html" target="_blank">http://www.vtk.org/doc/<u></u>nightly/html/<u></u>classvtkImageActor.html</a><br>
<br>
Is this intentional?<br>
<br>
Bryn<br>
______________________________<u></u>_________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/<u></u>opensource/opensource.html</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtk-developers" target="_blank">http://www.vtk.org/mailman/<u></u>listinfo/vtk-developers</a><br>
<br>
</blockquote></div><br></div></div>