[vtkusers] check whether a point inside a surface or not

shirani kannangara mangalika673 at gmail.com
Wed Apr 24 06:14:37 EDT 2013


Hi vtk users

I need to check whether  a point is inside a closed surface or not.I
created a sphere  and used the codes given under vtk examples

*VTK/Examples/Cxx/PolyData/PointInsideObject. *I have to input data as an
array as my program (based on vhp abdomen data set) needs to feed  large
range of data.( eg. x= 675 , y= 401,  z=450 ). The program was built with
zero errors.But it does not check inside correctly.(is
inside=1,outside=0).I spent a long time to make it correct but failed.Can
any body help me to get it corrected or propose a suitable way to do this
task.My codes are attached herewith  for you reference.

Many thanks
Shirani
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20130424/f2a0f384/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PointInsideObject.sln
Type: application/octet-stream
Size: 4211 bytes
Desc: not available
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20130424/f2a0f384/attachment.obj>


More information about the vtkusers mailing list