<div dir="ltr">Try what you where doing with the writer and reader that I mentioned to see if you get some success.<div><br></div><div>If not, that must mean you don't get the proper geometry. You may want to look at any vtkXXXXExporter code in VTK. They should be doing similar things. (Meaning going from to actor to get the geometry.)</div><div><br></div><div>Other than that, I don't have much advice.</div><div><br></div><div>Good luck,</div><div><br></div><div>Seb</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, May 7, 2015 at 8:18 PM, kent myers via vtkusers <span dir="ltr"><<a href="mailto:vtkusers@vtk.org" target="_blank">vtkusers@vtk.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Sebastien,<br>
<br>
I am attempting to export the vtkPolyData referenced by the mapping<br>
contained in the actor.  If there is a better way, I am open to it. My end<br>
goal is to export a complete representation of what is in my rendering<br>
object.  It contains multiple actors, filters, and look up tables.  Once I<br>
can export the content of one actor, I would like to add the content of<br>
other actors to the same file if possible. so if you know something about<br>
that, it would be helpful.<br>
<br>
Regarding the SetInputConnection vs SetInputData, I am presently trying to<br>
use SetInputData.  The other method is commented out because it did not<br>
work, but I wanted to keep a record of what I had tried. I was trying to<br>
follow examples that were written for C++ and it seems that not all methods<br>
are supported in the Java API.<br>
<br>
Thanks for your help.  I hope you have some advice.<br>
<br>
Kent<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://vtk.1045678.n5.nabble.com/Using-vtkXMLPolyDataWriter-from-Java-tp5731801p5731819.html" target="_blank">http://vtk.1045678.n5.nabble.com/Using-vtkXMLPolyDataWriter-from-Java-tp5731801p5731819.html</a><br>
<div class="HOEnZb"><div class="h5">Sent from the VTK - Users mailing list archive at Nabble.com.<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>
Search the list archives at: <a href="http://markmail.org/search/?q=vtkusers" target="_blank">http://markmail.org/search/?q=vtkusers</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/vtkusers" target="_blank">http://public.kitware.com/mailman/listinfo/vtkusers</a><br>
</div></div></blockquote></div><br></div>