[vtkusers] vtkPointPicker
Will Schroeder
will.schroeder at kitware.com
Mon May 6 07:54:35 EDT 2002
Hi Giancarlo -
>I have a question on how work the vtkPointPiker. I suppose that when I
>will pass the x y mouse coordinate to the Pick function, a ray start from
>where to where? I suppose from the camera position to the point specified
>by my mouse coordinate with z=0. Is it right?
>I suppose that the Pick fuction return the nearest point that the like
>intersect, is it right?
The point picker shots a ray in world space from the camera position
through the display coordinate (x,y,z) (z is usually 0.0). The point within
the pick tolerance and closest to the camera is the one selected.
Will
William J. Schroeder, Ph.D
Kitware, Inc.
469 Clifton Corporate Parkway
Clifton Park, NY 12065
will.schroeder at kitware.com
1-518-371-3971 x102
1-518-371-3971 (fax)
More information about the vtkusers
mailing list