That example will create an executable that can be run from the command line.<br><br><div class="gmail_quote">On Wed, Jan 5, 2011 at 9:35 AM, Rob Nugen <span dir="ltr">&lt;<a href="http://users-paraview.org">users-paraview.org</a>@<a href="http://robnugen.com">robnugen.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">HI David<br>
<br>
Thanks for the links!!  Do you know if the code at<br>
<a href="http://www.vtk.org/Wiki/VTK/Examples/Cxx/Utilities/Screenshot" target="_blank">http://www.vtk.org/Wiki/VTK/Examples/Cxx/Utilities/Screenshot</a> is<br>
designed to be compiled and run from command line?  If so, then I<br>
think it can do the trick if I feed it filenames with a bash script...<br>
<br>
   cheers<br>
<font color="#888888">   - Rob<br>
</font><div><div></div><div class="h5"><br>
On Wed, Jan 5, 2011 at 21:37, David Doria &lt;<a href="mailto:daviddoria@gmail.com">daviddoria@gmail.com</a>&gt; wrote:<br>
<br>
&gt; This should do the trick:<br>
&gt; <a href="http://paraview.org/Wiki/Take_a_Screenshot_of_a_VTP_File" target="_blank">http://paraview.org/Wiki/Take_a_Screenshot_of_a_VTP_File</a><br>
&gt; (linked to from here: <a href="http://paraview.org/Wiki/Python_recipes" target="_blank">http://paraview.org/Wiki/Python_recipes</a> (this<br>
&gt; could use some organizing) ).<br>
&gt;<br>
&gt; Or you probably don&#39;t need Paraview at all for this - why not use VTK directly?<br>
&gt;<br>
&gt; <a href="http://www.vtk.org/Wiki/VTK/Examples/Cxx/Utilities/Screenshot" target="_blank">http://www.vtk.org/Wiki/VTK/Examples/Cxx/Utilities/Screenshot</a><br>
&gt;<br>
&gt; David<br>
<br>
&gt; On Wed, Jan 5, 2011 at 4:49 AM, Rob Nugen<br>
&gt; &lt;<a href="http://users-paraview.org" target="_blank">users-paraview.org</a>@<a href="http://robnugen.com" target="_blank">robnugen.com</a>&gt; wrote:<br>
&gt;&gt; When in the course of human events it becomes necessary for one person<br>
&gt;&gt; to visualize the .vtk files which have been collected from another,<br>
&gt;&gt; and to assume among the powers of the server that the separate and<br>
&gt;&gt; manual loading of each would cause undue stress upon the user, a<br>
&gt;&gt; decent respect to the opinions of the list requires that they should<br>
&gt;&gt; declare a script which impels the computer to do the visualization.<br>
&gt;&gt;<br>
&gt;&gt; That&#39;s my creative way of asking if anyone has written a script to go<br>
&gt;&gt; through thousands of .vtk files and create a screenshot of each.<br>
&gt;&gt; During this project, we&#39;ve created and collected a great number of<br>
&gt;&gt; .vtk files, and want to essentially be able to make thumbnails of them<br>
&gt;&gt; all so we know which should be saved and which can be discarded.<br>
&gt;&gt;<br>
&gt;&gt; The optimal solution would allow specifying the camera angle to be run<br>
&gt;&gt; for each screenshot.<br>
&gt;&gt;<br>
&gt;&gt; Searching for &quot;paraview &#39;save state&#39;&quot; (no outer quotes) seems to be in<br>
&gt;&gt; the right direction.  I found<br>
&gt;&gt; <a href="http://www.itk.org/Wiki/ParaView/Python_Scripting" target="_blank">http://www.itk.org/Wiki/ParaView/Python_Scripting</a> but I don&#39;t see that<br>
&gt;&gt; the same filters can be saved and applied to a different data set.<br>
&gt;&gt;<br>
&gt;&gt;  Thanks!<br>
&gt;&gt;  - Rob<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 ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Robert Maynard<br>