Have you tried to use vtkTrivialProducer? You should be able to use SetOutput(vtkDataSet) to set the output dataset.<br><br><div class="gmail_quote">On Tue, Jul 3, 2012 at 11:08 AM, Randall Hand <span dir="ltr">&lt;<a href="mailto:randall.hand@gmail.com" target="_blank">randall.hand@gmail.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I have several functions in code libraries based on older stuff (primarily custom file format readers) that return vtkDataSet stuff, but I&#39;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.<div>



<br></div><div>Is there a simple way to make this work? Or am I stuck rebuilding all my file readers?<br clear="all">--<br>Randall Hand<br><a href="http://www.vizworld.com" target="_blank">http://www.vizworld.com</a><br>


</div>
<br>_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br>Robert Maynard<br>