[vtkusers] vtkVertexGlyphFilter

David Doria daviddoria at gmail.com
Tue Apr 30 07:41:50 EDT 2013


On Tue, Apr 30, 2013 at 6:34 AM, shirani kannangara
<mangalika673 at gmail.com>wrote:

> Thanks for your kind reply. VTK/Examples/Cxx/PolyData/PointInsideObject.example
> works well for a sphere.I could be able to check three points manually (one
> is in,the other one is on the surface,and the last one is outside the
> surface) correctly.But I want to use an array to feed data( as an array to
> be used in my actual liver program) to check enclosed points.What I want to
>  know is"  Do I have to convert  array values  to polydata points" .Can you
> please give me a small hint Codes are attached herewith.
> regards
> Shirani
>

Please keep the discussion on the mailing list.

I believe you can use this to test if a single point is inside a PolyData:

http://www.vtk.org/Wiki/VTK/Examples/Cxx/PolyData/CellTreeLocator

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


More information about the vtkusers mailing list