[vtkusers] SetInputData migration VTK 6

Sam Raby rabysam28 at gmail.com
Tue Jul 22 19:02:11 EDT 2014


Hi Laurent,

After feeding the vtkPolyData into the vtkSplineFilter by SetInputData and
setting the parameters of the filter, did you try to manually update the
vtkSplineFilter?




On Tue, Jul 22, 2014 at 4:55 PM, Laurent Chauvin <lchauvin at bwh.harvard.edu>
wrote:

> Hello,
>
> I created a pipeline with a vtkSplineFilter, with a polydata as input.
> However, now that I try to make it compatible with VTK 6, it's not working
> anymore.
>
> I replaced SetInput by SetInputData, and I read that SetInputData doesn't
> create the pipeline. That's probably why now, when I update my polydata,
> it's not updating the spline.
> But I was wondering then how should I do to keep creating the pipeline
> then ?
>
> I read to use SetInputConnection, but I think SetInputConnection take as
> argument the OutputPort of another filter, but the spline is the 'entry
> point' of my pipeline, taking a polydata as input, and applying some
> filters on it.
>
> How could I do to update the pipeline when modifying the polydata ?
>
> Thank you.
> -Laurent
>
> --
> Laurent Chauvin, MS
> Surgical Navigation and Robotics Laboratory, Radiology Department
> Brigham And Women's Hospital, Harvard Medical School
> http://wiki.ncigt.org/index.php/User:Lchauvin
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtkusers
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20140722/e721e24b/attachment.html>


More information about the vtkusers mailing list