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"><<a href="http://users-paraview.org">users-paraview.org</a>@<a href="http://robnugen.com">robnugen.com</a>></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 <<a href="mailto:daviddoria@gmail.com">daviddoria@gmail.com</a>> wrote:<br>
<br>
> This should do the trick:<br>
> <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>
> (linked to from here: <a href="http://paraview.org/Wiki/Python_recipes" target="_blank">http://paraview.org/Wiki/Python_recipes</a> (this<br>
> could use some organizing) ).<br>
><br>
> Or you probably don't need Paraview at all for this - why not use VTK directly?<br>
><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><br>
><br>
> David<br>
<br>
> On Wed, Jan 5, 2011 at 4:49 AM, Rob Nugen<br>
> <<a href="http://users-paraview.org" target="_blank">users-paraview.org</a>@<a href="http://robnugen.com" target="_blank">robnugen.com</a>> wrote:<br>
>> When in the course of human events it becomes necessary for one person<br>
>> to visualize the .vtk files which have been collected from another,<br>
>> and to assume among the powers of the server that the separate and<br>
>> manual loading of each would cause undue stress upon the user, a<br>
>> decent respect to the opinions of the list requires that they should<br>
>> declare a script which impels the computer to do the visualization.<br>
>><br>
>> That's my creative way of asking if anyone has written a script to go<br>
>> through thousands of .vtk files and create a screenshot of each.<br>
>> During this project, we've created and collected a great number of<br>
>> .vtk files, and want to essentially be able to make thumbnails of them<br>
>> all so we know which should be saved and which can be discarded.<br>
>><br>
>> The optimal solution would allow specifying the camera angle to be run<br>
>> for each screenshot.<br>
>><br>
>> Searching for "paraview 'save state'" (no outer quotes) seems to be in<br>
>> the right direction. I found<br>
>> <a href="http://www.itk.org/Wiki/ParaView/Python_Scripting" target="_blank">http://www.itk.org/Wiki/ParaView/Python_Scripting</a> but I don't see that<br>
>> the same filters can be saved and applied to a different data set.<br>
>><br>
>> Thanks!<br>
>> - 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>