[vtkusers] Select a area of a image 2D with the mouse.
oliwe
mail at oliwe.com
Tue Sep 9 07:00:57 EDT 2008
Hello carmencr,
that's the way i do that in a 3D Volume - i'm not sure if there is an easier
way ...
1. Picking Points with vtkPicker
2. Creating a Polygon with vtkPolygon
3. Running through the bounding-box of the Polygon and collecting all points
inside the polygon
hope this helps
regards
Oliver
carmencr wrote:
>
> Hi user of vtk,
>
> I would like to ask if someone can help me. I want to know how can I
> select a area of a image with the mouse. After that I want to be able to
> access to the pixels that are in the selected area.
>
> I hope that someone can help me.
>
> thanks
>
--
View this message in context: http://www.nabble.com/Select-a-area-of-a-image-2D-with-the-mouse.-tp19382869p19390000.html
Sent from the VTK - Users mailing list archive at Nabble.com.
More information about the vtkusers
mailing list