<!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.4207.2601" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT size=2>Hi,</FONT></DIV>
<DIV>I was writing registration classes and I found it useful to include getting
scalar values in vtkStructuredPoints data sets using a certain type of
interpolation. So, I added that functionality to the vtkImageData class.</DIV>
<DIV> </DIV>
<DIV><FONT size=2>If any one is interested, the new files are attached. The new
function (called 'GetScalarAtPoint') proves useful for things like calculating
the Mutual Information between two data sets which is very common when
registering two data sets. Also, it can be used in the Ray Casting method
(although the current implementation will be faster since it uses a macro
implementation).</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>Finally, adding these member functions to the official release
(if possible) will save me the trouble of inserting them each time I update
my vtk libraries.</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>Thanks,</FONT></DIV>
<DIV><FONT size=2>Asad Abu-Tarif</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>The added lines are:</FONT></DIV>
<DIV><FONT size=2>vtkImageData.cxx (Lines 100-101, Lines
1714-1764).</FONT></DIV>
<DIV><FONT size=2>vtkImageData.h (Lines 60-62, Lines 326-337,
370-371).</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>
__________________________________________________<BR>
/
Asad A.
Abu-Tarif
\<BR> | Computer
Engineering.
| <BR> | PhD
Candidate, Rensselaer Polytechnic Institute
(RPI). |<BR>
| <A
href="mailto:tarifa@rpi.edu">tarifa@rpi.edu</A>
| <BR>
\___________________________________________________/
<BR></FONT></DIV></BODY></HTML>