Sven,<br>Could you please give me instruction on how to use of your patch in order to export vector images?<br><br>Thanks,<br>Nima<br><br><div class="gmail_quote">On Wed, Apr 13, 2011 at 5:57 PM, Nima Emadi <span dir="ltr">&lt;<a href="mailto:deeepsky@gmail.com">deeepsky@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Apparently Paraview does not generate vectorial images at the moment.<br>
<br>
Would it be possible to generate such an image by first exporting to a<br>
3D format (like POV or X3D) and then converting the scene to a<br>
vectorial format using another application? any suggestion ...?<br>
<br>
Best,<br>
<font color="#888888">Nima<br>
</font><div><div></div><div class="h5"><br>
On Thu, Mar 31, 2011 at 3:51 PM, David E DeMarle<br>
&lt;<a href="mailto:dave.demarle@kitware.com">dave.demarle@kitware.com</a>&gt; wrote:<br>
&gt; Sven,<br>
&gt;<br>
&gt; Despite the limitations, would you please push that patch to github?<br>
&gt; Once there distribution, upkeep and maintenance will be easier.<br>
&gt;<br>
&gt; thanks,<br>
&gt;<br>
&gt; David E DeMarle<br>
&gt; Kitware, Inc.<br>
&gt; R&amp;D Engineer<br>
&gt; 28 Corporate Drive<br>
&gt; Clifton Park, NY 12065-8662<br>
&gt; Phone: <a href="tel:518-371-3971" value="+15183713971">518-371-3971</a> x109<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; On Thu, Mar 31, 2011 at 8:23 AM, Sven Buijssen<br>
&gt; &lt;<a href="mailto:sven.buijssen@tu-dortmund.de">sven.buijssen@tu-dortmund.de</a>&gt; wrote:<br>
&gt;&gt; Hi,<br>
&gt;&gt;<br>
&gt;&gt; I happen to have a small patch for the git master branch that adds vector<br>
&gt;&gt; graphics output (EPS, PS and SVG) to the Save Screenshot dialog and uses<br>
&gt;&gt; vtkGL2PSExporter as a backend, too. Actually, it&#39;s just an updated version of<br>
&gt;&gt; the patch for this matter I posted on this list back in 2007. But as holds for<br>
&gt;&gt; the Python approach it has a few drawbacks:<br>
&gt;&gt;<br>
&gt;&gt; * Only 3D View support<br>
&gt;&gt; * Builtin mode and client/server mode support (but using merely 1 server<br>
&gt;&gt; process, empty file when using more)<br>
&gt;&gt; * No support for Manta/EyeDom/other views<br>
&gt;&gt; * No multi-view support<br>
&gt;&gt; * No support for mandelbrot source<br>
&gt;&gt; * No support for text/annotate time source (a rectangular box is drawn instead),<br>
&gt;&gt; one can resort to a 3D Text source, though<br>
&gt;&gt; * No support for Volume rendering<br>
&gt;&gt; * No support for Slice representation (try Surface representation of a slice<br>
&gt;&gt; filter output)<br>
&gt;&gt; * No support for PointSprite representation<br>
&gt;&gt; * No support for SurfaceLIC representation, even crashes ParaView on export<br>
&gt;&gt; * In display tab of object inspector, &quot;Interpolate scalars&quot; needs to be ticked<br>
&gt;&gt; off for every visible object; otherwise object is rendered gray<br>
&gt;&gt; (see <a href="http://www.vtk.org/Bug/view.php?id=1630" target="_blank">http://www.vtk.org/Bug/view.php?id=1630</a>)<br>
&gt;&gt; * Requires an old version of the colorbar implementation or colorbar will be<br>
&gt;&gt; rendered gray<br>
&gt;&gt;<br>
&gt;&gt; So, don&#39;t get your hopes up too much about vtkGL2PSExporter.<br>
&gt;&gt;<br>
&gt;&gt; Sven<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; Hom Nath Gharti wrote, On 03/31/11 14:05:<br>
&gt;&gt;&gt; You might try to run the script below to see if your image quality is good<br>
&gt;&gt;&gt; enough to use vtkGL2PSExporter<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; rw=GetActiveView().GetRenderWindow()<br>
&gt;&gt;&gt; exp=paraview.vtk.vtkInstantiator.CreateInstance(&#39;vtkGL2PSExporter&#39;)<br>
&gt;&gt;&gt; exp.SetRenderWindow(rw)<br>
&gt;&gt;&gt; exp.SetDrawBackground(0)<br>
&gt;&gt;&gt; exp.SetSortToSimple()<br>
&gt;&gt;&gt; exp.SetFileFormatToEPS()<br>
&gt;&gt;&gt; exp.SetFilePrefix(&quot;test&quot;)<br>
&gt;&gt;&gt; #exp.Write3DPropsAsRasterImageOn()<br>
&gt;&gt;&gt; exp.Write()<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; On Wed, Mar 30, 2011 at 6:41 PM, David E DeMarle &lt;<a href="mailto:dave.demarle@kitware.com">dave.demarle@kitware.com</a><br>
&gt;&gt;&gt; &lt;mailto:<a href="mailto:dave.demarle@kitware.com">dave.demarle@kitware.com</a>&gt;&gt; wrote:<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;     Sorry, ParaView doesn&#39;t have true vector graphics output. Please add<br>
&gt;&gt;&gt;     your vote to the existing user voice request for it.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;     (<a href="http://paraview.uservoice.com/forums/11350-general/suggestions/313565-add-vector-graphics-output-i-e-postscript-?ref=title" target="_blank">http://paraview.uservoice.com/forums/11350-general/suggestions/313565-add-vector-graphics-output-i-e-postscript-?ref=title</a>)<br>

&gt;&gt;&gt;<br>
&gt;&gt;&gt;     The pdf writer in ParaView uses Qt to write a raster image. VTK&#39;s<br>
&gt;&gt;&gt;     vtkGL2PSExporter is not exercised by ParaView at all and it is likely<br>
&gt;&gt;&gt;     not to support many of our rendering techniques if it was added as an<br>
&gt;&gt;&gt;     new exporter option. 2D views are more likely to be supported, but we<br>
&gt;&gt;&gt;     haven&#39;t yet had the time to do so.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;     David E DeMarle<br>
&gt;&gt;&gt;     Kitware, Inc.<br>
&gt;&gt;&gt;     R&amp;D Engineer<br>
&gt;&gt;&gt;     28 Corporate Drive<br>
&gt;&gt;&gt;     Clifton Park, NY 12065-8662<br>
&gt;&gt;&gt;     Phone: <a href="tel:518-371-3971" value="+15183713971">518-371-3971</a> &lt;tel:<a href="tel:518-371-3971" value="+15183713971">518-371-3971</a>&gt; x109<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;     On Fri, Mar 25, 2011 at 10:00 AM, Nima Emadi &lt;<a href="mailto:deeepsky@gmail.com">deeepsky@gmail.com</a><br>
&gt;&gt;&gt;     &lt;mailto:<a href="mailto:deeepsky@gmail.com">deeepsky@gmail.com</a>&gt;&gt; wrote:<br>
&gt;&gt;&gt;     &gt; Dear all,<br>
&gt;&gt;&gt;     &gt; I&#39;d like to export a paraview vector field plot into a vectorial image<br>
&gt;&gt;&gt;     &gt; format (e.g. eps) to generate high quality images which are not huge<br>
&gt;&gt;&gt;     &gt; in size for publication purposes.<br>
&gt;&gt;&gt;     &gt; I already compiled paraview 3.10 with gl2ps=on. So according to old<br>
&gt;&gt;&gt;     &gt; messages in the email list I should be able to save vectorial images.<br>
&gt;&gt;&gt;     &gt; Could anybody give me instructions how to do that?<br>
&gt;&gt;&gt;     &gt;<br>
&gt;&gt;&gt;     &gt; Thanks,<br>
&gt;&gt;&gt;     &gt; Nima.<br>
&gt;&gt;<br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
&gt;&gt;<br>
&gt;&gt; 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>
&gt;&gt;<br>
&gt;&gt; Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
&gt;&gt;<br>
&gt;&gt; Follow this link to subscribe/unsubscribe:<br>
&gt;&gt; <a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>
&gt;&gt;<br>
&gt; _______________________________________________<br>
&gt; Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
&gt;<br>
&gt; 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>
&gt;<br>
&gt; Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
&gt;<br>
&gt; Follow this link to subscribe/unsubscribe:<br>
&gt; <a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>
&gt;<br>
</div></div></blockquote></div><br>