[vtkusers] Using vtkXMLPolyDataWriter from Java

Sebastien Jourdain sebastien.jourdain at kitware.com
Thu May 7 23:03:02 EDT 2015


Try what you where doing with the writer and reader that I mentioned to see
if you get some success.

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.)

Other than that, I don't have much advice.

Good luck,

Seb

On Thu, May 7, 2015 at 8:18 PM, kent myers via vtkusers <vtkusers at vtk.org>
wrote:

> Hi Sebastien,
>
> I am attempting to export the vtkPolyData referenced by the mapping
> contained in the actor.  If there is a better way, I am open to it. My end
> goal is to export a complete representation of what is in my rendering
> object.  It contains multiple actors, filters, and look up tables.  Once I
> can export the content of one actor, I would like to add the content of
> other actors to the same file if possible. so if you know something about
> that, it would be helpful.
>
> Regarding the SetInputConnection vs SetInputData, I am presently trying to
> use SetInputData.  The other method is commented out because it did not
> work, but I wanted to keep a record of what I had tried. I was trying to
> follow examples that were written for C++ and it seems that not all methods
> are supported in the Java API.
>
> Thanks for your help.  I hope you have some advice.
>
> Kent
>
>
>
> --
> View this message in context:
> http://vtk.1045678.n5.nabble.com/Using-vtkXMLPolyDataWriter-from-Java-tp5731801p5731819.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
>
> Search the list archives at: http://markmail.org/search/?q=vtkusers
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtkusers
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20150507/b15a2c08/attachment.html>


More information about the vtkusers mailing list