<div dir="ltr"><div>I don't think the exporters are going away soon. What specific method was that message from?<br></div><div><br></div><div>Exporters are for scenes. The intent is to take everything you can see in the a vtkRenderWindow's vtkRenderer and export it so that some other rendering system (renderman, etc) can reproduce the picture in a different way.</div><div><br></div><div>For individual objects in the scene, like a polydata mesh, use one of the writer classes. They take one thing in the pipeline and export it to some file format so that you can process it later with vtk or some other project. Exporters sometimes use writers.</div><div><br></div><div>Try <a href="https://github.com/daviddoria/vtkOBJWriter" target="_blank">https://github.com/daviddoria/vtkOBJWriter</a> in this case.<br></div><div><br></div><div>cheers</div><div><br></div><div><br></div><div class="gmail_extra"><br clear="all"><div><div>David E DeMarle<br>Kitware, Inc.<br>R&D Engineer<br>21 Corporate Drive<br>Clifton Park, NY 12065-8662<br>Phone: <a href="tel:518-881-4909" value="+15188814909" target="_blank">518-881-4909</a></div></div>
<br><div class="gmail_quote">On Wed, Jul 29, 2015 at 1:24 PM, Alexandre Dufour <span dir="ltr"><<a href="mailto:adufour@pasteur.fr" target="_blank">adufour@pasteur.fr</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">Hi,<div><br></div><div>A collaborator of mine would like to load surface mesh (VTK) files produced by our software (<a href="http://icy.bioimageanalysis.org" target="_blank">Icy</a>) into MeshLab, but it seems VTK files aren’t supported by MeshLab. As a backup solution, I am trying to export the VTK polydata files into other formats (OBJ or X3D) using the various exporter classes, but I’m not sure how to do this the “proper” way.</div><div><br></div><div>The vtkExporter class seems to only work with SetInput(vtkRenderWindow), which seems a bit weird if the meshes are not being displayed in a window. The documentation seems to agree with me by stating that "These methods are provided for backward compatibility. Will disappear soon.”</div><div><br></div><div>Any ideas?</div><div><br></div><div>Cheers</div><div>Alexandre @ VTK 6.1 via Java 6</div></div><br>_______________________________________________<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" 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" rel="noreferrer" 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" rel="noreferrer" 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" rel="noreferrer" target="_blank">http://public.kitware.com/mailman/listinfo/vtkusers</a><br>
<br></blockquote></div><br></div></div>