<div dir="ltr">Oh okay. <br><br>Then I guess my question should have been: how does vtkImplicitSelectionLoop interpolate, if at all? and whether the default behavior can be changed?<br><br><div class="gmail_quote">On Mon, Jul 26, 2010 at 2:00 PM, David Gobbi <span dir="ltr">&lt;<a href="mailto:david.gobbi@gmail.com">david.gobbi@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">There isn&#39;t any interpolation, really.  For each pixel (or voxel) in<br>
the stencil, vtkImplicitFunctionToImageStencil evaluates the implicit<br>
function at the (x,y,z) coordinate that corresponds to the center of<br>
the pixel.  Depending on whether the implicit function is greater than<br>
zero or less than zero at that point, the stencil stores either an<br>
&quot;on&quot; or &quot;off&quot; value for that pixel.<br>
<br>
   David<br>
<div><div></div><div class="h5"><br>
<br>
On Mon, Jul 26, 2010 at 12:48 PM, Prathamesh Kulkarni<br>
&lt;<a href="mailto:prathameshmkulkarni@gmail.com">prathameshmkulkarni@gmail.com</a>&gt; wrote:<br>
&gt;<br>
&gt; Hello all,<br>
&gt;<br>
&gt; I would like to know the internal methods used by vtkImageStencil to<br>
&gt; interpolate. For example, then I create a stencil using<br>
&gt; vtkImplicitFunctionToImageStencil and apply it to vtkImageStencil, how will<br>
&gt; vtkImageStencil get the intermediate points? Is there a way to change this<br>
&gt; default behavior?<br>
&gt;<br>
&gt; Thanks,<br>
&gt; Prathamesh<br>
&gt;<br>
</div></div>&gt; _______________________________________________<br>
&gt; Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
&gt;<br>
&gt; Visit other Kitware open-source projects at<br>
&gt; <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
&gt;<br>
&gt; Please keep messages on-topic and check the VTK FAQ at:<br>
&gt; <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
&gt;<br>
&gt; Follow this link to subscribe/unsubscribe:<br>
&gt; <a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
&gt;<br>
&gt;<br>
</blockquote></div><br></div>