[vtkusers] vtkDAtaset & pipeline architecture

Robert Maynard robert.maynard at kitware.com
Tue Jul 3 13:44:26 EDT 2012


Have you tried to use vtkTrivialProducer? You should be able to use
SetOutput(vtkDataSet) to set the output dataset.

On Tue, Jul 3, 2012 at 11:08 AM, Randall Hand <randall.hand at gmail.com>wrote:

> I have several functions in code libraries based on older stuff (primarily
> custom file format readers) that return vtkDataSet stuff, but I've recently
> started building code on the new GetOutputPort/SetInputConnection methods.
>  I had kinda hoped I could use a vtkPassThroughFilter and
> SetInput(vtkDataSet), GetOutputPort(), but that results in errors.
>
> Is there a simple way to make this work? Or am I stuck rebuilding all my
> file readers?
> --
> Randall Hand
> http://www.vizworld.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
>
>


-- 
Robert Maynard
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20120703/a3b1464d/attachment.htm>


More information about the vtkusers mailing list