[vtkusers] selecting points

David Doria daviddoria at gmail.com
Mon Dec 19 09:00:48 EST 2011


2011/12/19 Boehm, Lukas <Lukas.Boehm at cellent.de>:
> Correct, this is the case.
>
> Thank you!

Then yes, you can just have the user draw the polygon (you could store
the ordered corners here if you'd like :
http://www.vtk.org/Wiki/VTK/Examples/Cxx/GeometricObjects/Polygon).
Then you can use:
http://www.vtk.org/Wiki/VTK/Examples/Cxx/Utilities/PointInPolygon as
you suggested.

David



More information about the vtkusers mailing list