<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 5.50.4611.1300" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT size=2>Hi All,</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>I am trying to create hardcopy's of scenes shown on my
vtkRenderer (.bmp),</FONT></DIV>
<DIV><FONT size=2>and use the vtkRenderLargeImage because we need higher than
screen resolution.</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>When I click a button which invokes the function shown below,
my renderer shown on</FONT></DIV>
<DIV><FONT size=2>the screen messes up. Is there a way to make the screen remain
in the initial state until</FONT></DIV>
<DIV><FONT size=2>the print function has finished??</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>Thanks for any help.</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>Simon</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT
size=2>====================================================</FONT></DIV>
<DIV><FONT size=2> void PolyPost_Canvas::Print (void) const<BR>
{<BR> vtkRenderLargeImage* largeImage =
vtkRenderLargeImage::New();<BR>
largeImage->SetInput(_renderer);<BR>
largeImage->SetMagnification(4);</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=2> vtkBMPWriter* writer =
vtkBMPWriter::New();<BR>
writer->SetInput(viewer->GetOutput());<BR>
writer->SetFileName("D:\\users\\cgbulman\\test.bmp");<BR>
writer->Write();</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=2>
largeImage->Delete();<BR> writer->Delete();<BR>
}</FONT></DIV>
<DIV><FONT
size=2>====================================================<BR></DIV></FONT>
<DIV><FONT size=2>================================<BR>S.D.Bulman.<BR>Senior
Research Officer.<BR>University of Wales Swansea.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=2><A
href="mailto:S.D.Bulman@swansea.ac.uk">S.D.Bulman@swansea.ac.uk</A></FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=2>(W) +44 (0)1792 513179<BR>(H) +44 (0)1792
511144<BR>================================<BR></FONT></DIV></BODY></HTML>