<!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.00.3315.2870" name=GENERATOR></HEAD>
<BODY style="COLOR: #000000; FONT-FAMILY: Arial" bmark="business_card">
<DIV><FONT size=2><SPAN class=368002209-10012003>one solution is that
you use </SPAN>SaveImageAsPPM<SPAN class=368002209-10012003> to
writing *.ppm file then you can convert it to bmp.</SPAN></FONT></DIV>
<P><B><I><FONT color=#800080
face="Monotype Corsiva">*******************************</FONT></I></B>
<BR><B><I><FONT color=#800080 face="Monotype Corsiva">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 color=#800080
face="Monotype Corsiva">*******************************</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>
<BLOCKQUOTE>
<DIV align=left class=OutlookMessageHeader dir=ltr><FONT face=Tahoma
size=2>-----Original Message-----<BR><B>From:</B> Shashidhar Kamath
[mailto:skamath@xradia.com]<BR><B>Sent:</B> Thursday, January 09, 2003 11:37
PM<BR><B>To:</B> vtkusers@public.kitware.com<BR><B>Subject:</B> [vtkusers]
Getting the content of render window<BR><BR></DIV></FONT>
<DIV><FONT size=2><SPAN class=313053023-09012003>Hi</SPAN></FONT></DIV>
<DIV><FONT size=2><SPAN class=313053023-09012003></SPAN></FONT> </DIV>
<DIV><FONT size=2><SPAN class=313053023-09012003>Im using vtk and MFC
combination. Im using vtkWin32OpenGLRenderWindow class for displaying
the image. I write some annotations on top of the image using MFC.
Finally i want to write the content of the render window as a BMP or JPG. If i
use vtkWindowToImageFilter i dont get the things that i write using MFC. Is
there any function or trick that i can use here?? is there any way i can read
the screen buffer??</SPAN></FONT></DIV>
<DIV><FONT size=2><SPAN class=313053023-09012003></SPAN></FONT> </DIV>
<DIV><FONT size=2><SPAN class=313053023-09012003>Any help is greately
appreciated.</SPAN></FONT> <IMG height=18 id=hb_new_animation
src="http://skins.hotbar.com/skins/mailskins/em/080402/080402help_prv.gif"
width=66 hbtype="em" NOSEND="1"></DIV>
<DIV><FONT size=2><SPAN class=313053023-09012003></SPAN></FONT> </DIV>
<DIV><FONT size=2><SPAN class=313053023-09012003><IMG height=20
id=hb_new_animation
src="http://skins.hotbar.com/skins/mailskins/em/033102/033102thanx_1_prv.gif"
width=47 hbtype="em" NOSEND="1"></DIV><BR><SPAN id=src_bcard_id
CONTENTEDITABLE="false"><!--&BC_Card_Id=288375&BC_Magic_Num=608974196&BC_Version=3& -->
<TABLE border=0 cellPadding=0 cellSpacing=0 hbtype="bc">
<TBODY>
<TR>
<TD id=mainBlock name="mainBlock">
<TABLE border=0 cellPadding=0 cellSpacing=0 id=PreviewBody
style="BACKGROUND-COLOR: #fffff6; BORDER-BOTTOM: black 1px solid; BORDER-LEFT: black 1px solid; BORDER-RIGHT: black 1px solid; BORDER-TOP: black 1px solid; FLOAT: left; FONT-FAMILY: verdana,arial,helvetica; HEIGHT: 168px; WIDTH: 294px">
<TBODY>
<TR style="BACKGROUND-COLOR: #fffff6">
<TD align=middle rowSpan=4 vAlign=center width=100><A
href="http://hotbar.com/scripts/utils/bcLogo.asp"><IMG border=0
id=preview_Logo src="cid:368002209@10012003-3157"></A></TD>
<TD style="BACKGROUND-COLOR: #efebc6; style: " LINE-HEIGHT: 5px;
FONT-HEIGHT: 5px?> </TD></TR>
<TR>
<TD height="100%" noWrap style="BACKGROUND-COLOR: #efebc6"
vAlign=top>
<DIV
style="MARGIN-LEFT: 10px; MARGIN-RIGHT: 10px; TEXT-ALIGN: left"><FONT
style="COLOR: #000000; FONT-FAMILY: verdana; FONT-SIZE: 14px; FONT-WEIGHT: bold"><LABEL
dir=ltr
id=preview_Name>Shashidhar Kamath</LABEL></FONT></DIV>
<DIV
style="MARGIN-LEFT: 10px; MARGIN-RIGHT: 10px; TEXT-ALIGN: left"><FONT
style="COLOR: #000000; FONT-FAMILY: verdana; FONT-SIZE: 14px; FONT-WEIGHT: bold"><LABEL
dir=ltr
id=preview_Title>System Software Engineer</LABEL></FONT></DIV>
<DIV
style="MARGIN-LEFT: 10px; MARGIN-RIGHT: 10px; TEXT-ALIGN: left"><FONT
style="COLOR: #000000; FONT-FAMILY: verdana; FONT-SIZE: 14px; FONT-WEIGHT: bold"><LABEL
dir=ltr
id=preview_Company>XRadia Inc</LABEL></FONT></DIV></TD></TR>
<TR>
<TD height=10 noWrap style="BACKGROUND-COLOR: #efebc6"
vAlign=bottom>
<DIV
style="MARGIN-LEFT: 10px; MARGIN-RIGHT: 10px; TEXT-ALIGN: left"><FONT
style="COLOR: #000000; FONT-FAMILY: verdana; FONT-SIZE: 10px"><LABEL
dir=ltr
id=preview_Address>4075A Sprig Drive</LABEL></FONT></DIV>
<DIV
style="MARGIN-LEFT: 10px; MARGIN-RIGHT: 10px; TEXT-ALIGN: left"><FONT
style="COLOR: #000000; FONT-FAMILY: verdana; FONT-SIZE: 10px"><LABEL
dir=ltr id=preview_City>Concord</LABEL></FONT><FONT size=0>
</FONT><FONT
style="COLOR: #000000; FONT-FAMILY: verdana; FONT-SIZE: 10px"><LABEL
dir=ltr id=preview_State>CA</LABEL></FONT><FONT size=0>
</FONT><FONT
style="COLOR: #000000; FONT-FAMILY: verdana; FONT-SIZE: 10px"><LABEL
dir=ltr id=preview_ZipCode>94520</LABEL></FONT><FONT size=0>
</FONT><FONT
style="COLOR: #000000; FONT-FAMILY: verdana; FONT-SIZE: 10px"><LABEL
dir=ltr id=preview_Country>USA</LABEL></FONT></DIV>
<DIV
style="MARGIN-LEFT: 10px; MARGIN-RIGHT: 10px; TEXT-ALIGN: left"><FONT
style="COLOR: #000000; FONT-FAMILY: verdana; FONT-SIZE: 10px"><LABEL
dir=ltr
id=preview_Tel1>925-288-1228 ext 15 (off)</LABEL></FONT></DIV>
<DIV
style="MARGIN-LEFT: 10px; MARGIN-RIGHT: 10px; TEXT-ALIGN: left"><FONT
style="COLOR: #000000; FONT-FAMILY: verdana; FONT-SIZE: 10px"><LABEL
dir=ltr
id=preview_Tel2>925-768-0249 (cell)</LABEL></FONT></DIV>
<DIV
style="MARGIN-LEFT: 10px; MARGIN-RIGHT: 10px; TEXT-ALIGN: left"><FONT
style="COLOR: #000000; FONT-FAMILY: verdana; FONT-SIZE: 10px"><LABEL
dir=ltr
id=preview_Tel3>925-288-0310 (fax)</LABEL></FONT></DIV>
<DIV
style="MARGIN-LEFT: 10px; MARGIN-RIGHT: 10px; TEXT-ALIGN: left"><FONT
style="COLOR: #000000; FONT-FAMILY: verdana; FONT-SIZE: 10px"><LABEL
dir=ltr id=preview_Email>skamath@xradia.com</LABEL></FONT><FONT
size=0> </FONT><FONT
style="COLOR: #000000; FONT-FAMILY: verdana; FONT-SIZE: 10px"><LABEL
dir=ltr id=preview_URL>www.xradia.com</LABEL></FONT></DIV></TD></TR>
<TR style="BACKGROUND-COLOR: #efebc6">
<TD
style="LINE-HEIGHT: 5px; FONT-HEIGHT: 5px"> </TD></TR></TBODY></TABLE></TD>
<TD
style="BACKGROUND-IMAGE: url(http://hotbar.com/accounts/services/bcards/images/shadows/shad_ver.gif)"><IMG
height=1 src="http://hotbar.com/images/null.gif" width=3
NOSEND="1"></TD></TR>
<TR>
<TD
style="BACKGROUND-IMAGE: url(http://hotbar.com/accounts/services/bcards/images/shadows/shad_hor.gif)"><IMG
height=3 src="http://hotbar.com/images/null.gif" width=1 NOSEND="1"></TD>
<TD
style="BACKGROUND-IMAGE: url(http://hotbar.com/accounts/services/bcards/images/shadows/shad_corner.gif)"><IMG
height=3 src="http://hotbar.com/images/null.gif" width=3
NOSEND="1"></TD></TR></TBODY></TABLE></SPAN><A
href="http://hotbar.com/accounts/services/bcards/GetLatestCard.asp?card_Data=288375,608974196,3"><IMG
alt="" border=0
src="http://bcards.hotbar.com/bcards/hotbar/4.0/BC_ver.dll?CardData=288375,608974196,3"
NOSEND="1"></A><BR><A
href="http://hotbar.com/accounts/services/bcards/Contact.Vcf?card_Data=288375,608974196,3"><FONT
face=verdana size=1>Add this card to your address
book</FONT></A><BR></SPAN></FONT>
<DIV id=hotbar_promo><BR>
<HR align=left color=gray noShade SIZE=1 width="100%">
<A
href="http://promos.hotbar.com/promos/promodll.dll?RunPromo&El=bc%3bem%3b&SG=&RAND=89868"><IMG
alt="Upgrade Your Email - Click here!" border=0
src='http://promos.hotbar.com/promos/promodll.dll?GetPromo&El=bc%3bem%3b&SG=&RAND=89868"'
title="" NOSEND="1"></A>
</DIV><BR>_____________________________________________________________________<BR>This
e-mail has been scanned for viruses by the WorldCom Internet Managed Scanning
Service - powered by MessageLabs. For further information visit
http://www.worldcom.com<BR></BLOCKQUOTE></BODY></HTML>