[Insight-users] point into cone

Gonzalo Amadio gonzaloamadio at gmail.com
Tue Jun 12 14:53:14 EDT 2012


Hello ITK users. I write for one question.

I have :

typedef itk::Point<ScalarType,3> Point3D
Point3D Origin;
vtkPolyData* Surface;
std::vector< Point3D > obstaclePoints;

Imagine a camera looking for the *Origin* point to a cell in the *Surface*.
I want to know If one point belonging to *obstaclePoints* is between this
two things (the *Origin* and the cell).
My idea was to generate a pyramid between the *Origin *and the three points
of the cell. And then look if any point of the vector is inside this
pyramid.

Someone know anything to make this?
Or any ideas?

Thank you in advance!

-- 
--------
Gonzalo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20120612/0aa7a32c/attachment.htm>


More information about the Insight-users mailing list