<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"><<a href="mailto:david.gobbi@gmail.com">david.gobbi@gmail.com</a>></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'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>
"on" or "off" 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>
<<a href="mailto:prathameshmkulkarni@gmail.com">prathameshmkulkarni@gmail.com</a>> wrote:<br>
><br>
> Hello all,<br>
><br>
> I would like to know the internal methods used by vtkImageStencil to<br>
> interpolate. For example, then I create a stencil using<br>
> vtkImplicitFunctionToImageStencil and apply it to vtkImageStencil, how will<br>
> vtkImageStencil get the intermediate points? Is there a way to change this<br>
> default behavior?<br>
><br>
> Thanks,<br>
> Prathamesh<br>
><br>
</div></div>> _______________________________________________<br>
> Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
><br>
> Visit other Kitware open-source projects at<br>
> <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
><br>
> Please keep messages on-topic and check the VTK FAQ at:<br>
> <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
><br>
> Follow this link to subscribe/unsubscribe:<br>
> <a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
><br>
><br>
</blockquote></div><br></div>