[vtkusers] Getting the content of render window
Farshid Dehmeshki
farshid.dehmeshki at medicsight.com
Fri Jan 10 04:23:31 EST 2003
one solution is that you use SaveImageAsPPM to writing *.ppm file then you can convert it to bmp.
*******************************
Farshid Dehmeshki
Software Engineer
Medicsight Plc
46 Berkeley Square
London
W1J 5AT
Tel : 020 7598 4074
Fax: 020 7598 4071
Email : farshid.dehmeshki at medicsight.com
Web Site : www.medicsight.com
*******************************
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
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.
-----Original Message-----
From: Shashidhar Kamath [mailto:skamath at xradia.com]
Sent: Thursday, January 09, 2003 11:37 PM
To: vtkusers at public.kitware.com
Subject: [vtkusers] Getting the content of render window
Hi
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??
Any help is greately appreciated. <http://skins.hotbar.com/skins/mailskins/em/080402/080402help_prv.gif>
<http://skins.hotbar.com/skins/mailskins/em/033102/033102thanx_1_prv.gif>
<http://hotbar.com/scripts/utils/bcLogo.asp>
Shashidhar Kamath
System Software Engineer
XRadia Inc
4075A Sprig Drive
Concord CA 94520 USA
925-288-1228 ext 15 (off)
925-768-0249 (cell)
925-288-0310 (fax)
skamath at xradia.com www.xradia.com
<http://hotbar.com/images/null.gif>
<http://hotbar.com/images/null.gif> <http://hotbar.com/images/null.gif>
<http://hotbar.com/accounts/services/bcards/GetLatestCard.asp?card_Data=288375,608974196,3>
<http://hotbar.com/accounts/services/bcards/Contact.Vcf?card_Data=288375,608974196,3> Add this card to your address book
_____
<http://promos.hotbar.com/promos/promodll.dll?RunPromo&El=bc%3bem%3b&SG=&RAND=89868> Upgrade Your Email - Click here!
_____________________________________________________________________
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20030110/43b8d05c/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/jpeg
Size: 8331 bytes
Desc: logo.jpg
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20030110/43b8d05c/attachment.jpeg>
More information about the vtkusers
mailing list