<html>
Hi John-<br><br>
At 08:15 AM 12/20/2001 -0600, John Washbourne wrote:<br><br>
<blockquote type=cite class=cite cite>Are there any 3.x->4.0 migration
hints and I just didnt look<br>
hard enough? A couple quick pointers (like changing vtkScalars<br>
and vtkNormals to vtkDataArray) would be timesavers.</blockquote><br>
Look at the VTK FAQ section 6.7. Changes in VTK since 3.2. There is a
link to<br>
<font color="#0000FF"><u><a href="http://public.kitware.com/VTK/files/misc/Upgrading.zip" eudora="autourl">http://public.kitware.com/VTK/files/misc/Upgrading.zip</a><br>
</u></font>which describes the data attribute related changes. There is
also a Perl script that can do the conversion for you.<br><br>
<br>
<blockquote type=cite class=cite cite>On to my question: I recompiled
some code under 4.0 and<br>
discovered that the save image functionality in RenderWindow is<br>
gone. I tried a search on the archive, and the question has been<br>
asked before, but mostly gets 3.x answers<br>
(vtkRenderWindow->SaveImageAsPPM()). I see a method of several<br>
steps involving vtkWindowToImageFilter and vtkImageWriter. Is<br>
this the preferred method? Could someone please post a snippet<br>
of the new way to accomplish this? </blockquote><br>
Yes, grab the image from the render window, and then use something like
the vtkTIFFWriter to save the image.<br><br>
Will</html>