<!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 6.00.2800.1141" name=GENERATOR></HEAD>
<BODY style="COLOR: #000000; FONT-FAMILY: Arial">
<DIV><FONT size=2><FONT size=2>
<P>you can use following codes:</P>
<P> </P>
<P>vtkWindowToImageFilter *pMyFilter = vtkWindowToImageFilter::New();</P>
<P>vtkTIFFWriter *pTiffWriter = vtkTIFFWriter::New();// or jpg file</P>
<P>pMyFilter->SetInput(m_pRenderWnd);</P>
<P>pTiffWriter->SetInput(pMyFilter->GetOutput());</P>
<P>pTiffWriter->SetFileName("test.ttf");</P>
<P>pTiffWriter->Write();</P>
<P> </P></FONT></FONT></DIV>
<P><B><I><FONT face="Monotype Corsiva"
color=#800080>*******************************</FONT></I></B> <BR><B><I><FONT
face="Monotype Corsiva" color=#800080>Farshid
Dehmeshki</FONT></I></B><I></I> <BR><FONT face=Arial size=2>Software
Engineer<BR>Medicsight Plc<BR>46 Berkeley Square<BR>London<BR>W1J 5AT<BR>Tel :
020 7598 4074<BR>Fax: 020 7598 4071<BR>Email :
farshid.dehmeshki@medicsight.com<BR>Web Site : www.medicsight.com</FONT>
<BR><B><I><FONT face="Monotype Corsiva"
color=#800080>*******************************</FONT></I></B> <BR><FONT
face=Arial> </FONT> <BR><FONT face=Arial size=1>The contents of this e-mail
are intended for the named addressee only. It contains information which may be
confidential and which may also be privileged. Unless you are the named
addressee (or authorised to receive for the addressee) you may not copy or use
it, or disclose it to anyone<BR>else. If you received it in error please notify
us immediately and then destroy it. Further, we make every effort to keep our
network free from viruses. However, you do need to verify that this email and
any attachments are free of viruses as we can take no responsibility for any
computer virus which might be transferred by way of this e-mail.</FONT></P>
<DIV> </DIV></BODY></HTML>