[vtkusers] vtkPolyDatawriter set input vtk 6.0

Bill Lorensen bill.lorensen at gmail.com
Tue Jul 30 18:30:33 EDT 2013


SetInput is gone in VTK6. Use SetInputData.


On Tue, Jul 30, 2013 at 5:44 PM, Rr108 <adityargupta at gmail.com> wrote:

> Hello all,
>
> I am trying to write a polydata to a vtk file using class
> vtkPolyDataWriter.
> I know in vtk 5.6 there was a member function SetInput and I could directly
> say:
> polydatawriter->SetInput(polydata);
> Now when I am trying to compile with vtk 6.0 it complains with the error:
> class vtkPolyDataWriter has no member named SetInput. I tried using
> SetInputConnection but is there a way I can directly connect to polydata?
>
> Thank you.
>
> - RR
>
>
>
> --
> View this message in context:
> http://vtk.1045678.n5.nabble.com/vtkPolyDatawriter-set-input-vtk-6-0-tp5722337.html
> Sent from the VTK - Users mailing list archive at Nabble.com.
> _______________________________________________
> 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://www.vtk.org/mailman/listinfo/vtkusers
>



-- 
Unpaid intern in BillsBasement at noware dot com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20130730/c6317ce8/attachment.htm>


More information about the vtkusers mailing list