[vtkusers] similar than vtkExtractVOI but with sphere ?

David Doria daviddoria+vtk at gmail.com
Wed Mar 3 07:49:32 EST 2010


On Wed, Mar 3, 2010 at 7:25 AM, steve harris <steve.harris18 at hotmail.com>wrote:

>  Hello everybody,
>
>
> 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 ?
>
>
> (I would like to get all the cells inside my sphere...)
>
>
> Regards,
> Steve
>

This will extract cells that are completely inside of an object:
http://www.vtk.org/Wiki/VTK/Examples/ImplicitDataSet

If you wanted to check for partial overlap, you could check every point of
every cell using:
http://www.vtk.org/Wiki/VTK/Examples/PointInsideObject

Thanks,

David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20100303/a1a9eaea/attachment.htm>


More information about the vtkusers mailing list