<!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.4134.600" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hi all,<BR> I have a problem in getting
image data. I want to get the pixel data displayed by the vtkrenderwindow
in one application. to get image data from class vtkrenderwindow . I
use GetPixelData() of it which returns unsigned character data of image and
i get good pixel data. Now the problem is it returning all the pixels which are
in the window. If the window is covered( partially or fully) by other window or
application then that window or application is also retrived in the image data.
But i am not getting only the pixel data pertainingto the image displayed in the
renderwindow. How to get only pixel data??? Can we get image data using
vtkVolume or vtkRenderer??? I want the image data after it was rendered??? How
to use GetZBufferData() function of vtkRenderWindow class??? It is returning
float data type. How to use float type data in our application which needs
unsigned type data. I have converted the data to unsigned but it is not
working.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2> Please suggest me in this
regard.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2> Thanks in advance.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>-Regards,<BR>
Sateesh.</FONT></DIV></BODY></HTML>