<html><div style='background-color:'><DIV><FONT size=2>How about vtkPointLocator FindClosestPoint evaluated either for each point in one of the two surfaces, or for some set of reference points? This would be some measure of the minimum distance between the surfaces.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV></DIV>
<DIV></DIV><FONT size=2>&gt;From: "John Biddiscombe" <JBIDDISCOMBE@SKIPPINGMOUSE.CO.UK></FONT>
<DIV></DIV><FONT size=2>&gt;Reply-To: "John Biddiscombe" <JBIDDISCOMBE@SKIPPINGMOUSE.CO.UK></FONT>
<DIV></DIV><FONT size=2>&gt;To: "jon n" <ELWO73@HOTMAIL.COM></FONT>
<DIV></DIV><FONT size=2>&gt;CC: <VTKUSERS@PUBLIC.KITWARE.COM></FONT>
<DIV></DIV><FONT size=2>&gt;Subject: Re: [vtkusers] smoothing / decimation / isocontours / distance between surfaces </FONT>
<DIV></DIV><FONT size=2>&gt;Date: Fri, 5 Apr 2002 01:06:09 +0100 </FONT>
<DIV></DIV><FONT size=2>&gt; </FONT>
<DIV></DIV><FONT size=2>&gt; </FONT>
<DIV></DIV><FONT size=2>&gt; &gt; also, i was thinking maybe raycasting from the top and then the bottom </FONT>
<DIV></DIV><FONT size=2>&gt;might </FONT>
<DIV></DIV><FONT size=2>&gt; &gt; work? like by marking the first point it hits at a certain level... but it </FONT>
<DIV></DIV><FONT size=2>&gt; &gt; seems that all the ray casting functionality is now Volume specific. maybe </FONT>
<DIV></DIV><FONT size=2>&gt; &gt; vtkVolumeRayCastIsosurfaceFunction might be useful somehow? </FONT>
<DIV></DIV><FONT size=2>&gt; </FONT>
<DIV></DIV><FONT size=2>&gt;Usually with raycasting in this type of problem, the question is "in which </FONT>
<DIV></DIV><FONT size=2>&gt;direction do I fire the ray", if the surface is not flat, the opposite side </FONT>
<DIV></DIV><FONT size=2>&gt;may not be obvious. Since the cloud base and top "ought" to be at least </FONT>
<DIV></DIV><FONT size=2>&gt;vaguely horizontally aligned, you may get away with vertical rays to get an </FONT>
<DIV></DIV><FONT size=2>&gt;estimate rather than rays along the surface normal. </FONT>
<DIV></DIV><FONT size=2>&gt; </FONT>
<DIV></DIV><FONT size=2>&gt;JB </FONT>
<DIV></DIV><FONT size=2>&gt; </FONT>
<DIV></DIV><FONT size=2>&gt;_______________________________________________ </FONT>
<DIV></DIV><FONT size=2>&gt;This is the private VTK discussion list. </FONT>
<DIV></DIV><FONT size=2>&gt;Please keep messages on-topic. Check the FAQ at: </FONT>
<DIV></DIV><FONT size=2>&gt;Follow this link to subscribe/unsubscribe: </FONT>
<DIV></DIV><FONT size=2>&gt;http://public.kitware.com/mailman/listinfo/vtkusers </FONT>
<DIV></DIV></div><br clear=all><hr>MSN Photos is the easiest way to share and print your photos: <a href='http://g.msn.com/1HM504201/12'>Click Here</a><br></html>