[vtkusers] In vtkPropPicker, what are selectionX and selectionY parameters?

Rashed Karim rashed.karim at gmail.com
Thu Aug 10 22:00:10 EDT 2006


Hi everyone,

In vtkPropPicker's PickProp function:
PickProp <http://www.vtk.org/doc/release/5.0/html/a01925.html#z4227_0>(double
selectionX, double selectionY,
vtkRenderer <http://www.vtk.org/doc/release/5.0/html/a01966.html> *renderer)

What do the selectionX and selectionY coordinates refer to?? Are these the
x,y screen coordinates of the mouse where the picking button 'p' got hit,
i.e.:
is X = iren->GetEventPosition[0] , and
Y = iren->GetEventPosition[1]

where iren is a window interactor.

I am pretty sure that's not the case, since selectionX and selectionY are
doubles, and GetEventPosition returns an int. So what are these coordinates
exactly??

Any help will be appreciated!

-- 
Rashed Karim
PhD student
Imperial College London
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20060811/6cdcd7ba/attachment.htm>


More information about the vtkusers mailing list