<!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>&nbsp;</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&nbsp;very common when 
registering two data sets. Also, it can be used in the Ray Casting method 
(although the current implementation&nbsp;will be faster since it uses a macro 
implementation).</FONT></DIV>
<DIV><FONT size=2></FONT>&nbsp;</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&nbsp;update 
my vtk libraries.</FONT></DIV>
<DIV><FONT size=2></FONT>&nbsp;</DIV>
<DIV><FONT size=2>Thanks,</FONT></DIV>
<DIV><FONT size=2>Asad Abu-Tarif</FONT></DIV>
<DIV><FONT size=2></FONT>&nbsp;</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>&nbsp;</DIV>
<DIV><FONT size=2></FONT>&nbsp;</DIV>
<DIV><FONT size=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
__________________________________________________<BR>&nbsp;&nbsp;&nbsp;&nbsp; 
/&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb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&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
|&nbsp;&nbsp; <BR>&nbsp;&nbsp;&nbsp;&nbsp; 
\___________________________________________________/ 
<BR></FONT></DIV></BODY></HTML>