[vtkusers] SetInputData migration VTK 6
Laurent Chauvin
lchauvin at bwh.harvard.edu
Tue Jul 22 17:55:06 EDT 2014
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20140722/8bcd233b/attachment.html>
More information about the vtkusers
mailing list