<HTML dir=ltr><HEAD>
<META content="text/html; charset=unicode" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.18812"></HEAD>
<BODY>
<DIV dir=ltr id=idOWAReplyText96749>
<DIV dir=ltr><FONT color=#000000 size=3 face=Arial>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><FONT face="Times New Roman">Dear all</FONT></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p><FONT face="Times New Roman">&nbsp;</FONT></o:p></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="mso-ansi-language: EN-GB" lang=EN-GB><FONT face="Times New Roman">I would like to probe a vtkPolyData (e.g. a sphere) with a vtkImageData:</FONT></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="mso-ansi-language: EN-GB" lang=EN-GB><FONT face="Times New Roman">Source = vtkPolyData</FONT></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="mso-ansi-language: EN-GB" lang=EN-GB><FONT face="Times New Roman">Input =&nbsp;vtkImageData</FONT></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="mso-ansi-language: EN-GB" lang=EN-GB></SPAN><SPAN style="mso-ansi-language: EN-GB" lang=EN-GB><o:p><FONT face="Times New Roman">&nbsp;</FONT></o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="mso-ansi-language: EN-GB" lang=EN-GB><FONT face="Times New Roman">Unfortunately vtkProbeFilter always returns -1 when calling FindCell(x,NULL,-1,tol2,subId,pcoords,weights) and therefore the image is passed through vtkProbeFilter remaining unchanged as no interpolation of scalars is performed at any point of the vtkImageData. Both data overlaps each other completely. Therefore, probing should give valuable results!</FONT></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="mso-ansi-language: EN-GB" lang=EN-GB><o:p><FONT face="Times New Roman">&nbsp;</FONT></o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="mso-ansi-language: EN-GB" lang=EN-GB><FONT face="Times New Roman">I think it has something to do with tol2. Any suggestions?<o:p></o:p></FONT></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="mso-ansi-language: EN-GB" lang=EN-GB><o:p><FONT face="Times New Roman">&nbsp;</FONT></o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="mso-ansi-language: EN-GB" lang=EN-GB><FONT face="Times New Roman">Thanks &#8211; Peter.</FONT></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="mso-ansi-language: EN-GB" lang=EN-GB><FONT face="Times New Roman"></FONT></SPAN>&nbsp;</P>
<P style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><SPAN style="mso-ansi-language: EN-GB" lang=EN-GB><FONT face="Times New Roman">Using vtkGaussianSplatter works well. However no scalars are splatted into the vtkImageData.</FONT></SPAN></P></FONT></DIV>
<DIV dir=ltr><FONT color=#000000 size=3 face=Arial></FONT>&nbsp;</DIV></DIV>
<DIV dir=ltr id=idSignature89639>
<DIV><FONT face=Arial></FONT>&nbsp;</DIV></DIV></BODY></HTML>