[vtk-developers] Started on VTK 4 compatibility removal
Berk Geveci
berk.geveci at kitware.com
Thu May 5 12:37:12 EDT 2011
Unfortunately, it is not possible to flag it at runtime. SetInput()
has no way of knowing the intent of the call - whether it is to setup
a pipeline connection or simply set the input. I really tried to find
a way of doing this but could not come up with anything.
On Thu, May 5, 2011 at 11:27 AM, Sean McBride <sean at rogue-research.com> wrote:
> On Thu, 5 May 2011 10:45:14 -0400, Berk Geveci said:
>
>>We (ARB) discussed the possibility of getting rid of SetInput() and
>>creating a new function called SetInputData() to flag such issues at
>>compile time rather than runtime.
>
> 2¢: Flagging at runtime, say with an assert(), sounds fine to me.
>
> --
> ____________________________________________________________
> Sean McBride, B. Eng sean at rogue-research.com
> Rogue Research www.rogue-research.com
> Mac Software Developer Montréal, Québec, Canada
>
>
>
More information about the vtk-developers
mailing list