<div><div class="gmail_quote">On Wed, Mar 3, 2010 at 7:25 AM, steve harris <span dir="ltr">&lt;<a href="mailto:steve.harris18@hotmail.com">steve.harris18@hotmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">




<div>
Hello everybody,<br><br><br>I would like to know if there is a similar vtk filter than vtkExtractVOI but instead of defining a VOI setting the min max (like a 3d cube)  i would using a sphere ?<br><br><br>(I would like to get all the cells inside my sphere...)<br>
<br><br>Regards,<br><font color="#888888">Steve<br>                                               </font><div class="hm"></div></div></blockquote></div><br></div><div>This will extract cells that are completely inside of an object:</div><div><a href="http://www.vtk.org/Wiki/VTK/Examples/ImplicitDataSet">http://www.vtk.org/Wiki/VTK/Examples/ImplicitDataSet</a></div>
<div><br></div><div>If you wanted to check for partial overlap, you could check every point of every cell using:</div><div><a href="http://www.vtk.org/Wiki/VTK/Examples/PointInsideObject">http://www.vtk.org/Wiki/VTK/Examples/PointInsideObject</a><br>
<div><br clear="all">Thanks,<br><br>David</div></div>