[vtkusers] Picking in Java
ahmed Tokalak
tokalak at web.de
Wed Mar 13 17:29:57 EST 2002
(I repost this mail, because still did not solve the problem)
I have a drawn a shape at every point of a grid. I want to make it possible to select a shape. But if i click an a shape i don't get the clicked object, i get the neigbour object. The actors of the objects are displaced i think. Maybe i call the pick method with wrong arguments. For example i must click an object which is in second row to get an object in the first(at the bottom). Any ideas ?
vtkPointPicker picker = new vtkPointPicker();
picker.Pick((double)e.getX(), (double) this.getSize().getHeight() - e.getY(), 0.0, this.ren);
Thanks in advance
________________________________________________________________
Keine verlorenen Lotto-Quittungen, keine vergessenen Gewinne mehr!
Beim WEB.DE Lottoservice: http://tippen2.web.de/?x=13
More information about the vtkusers
mailing list