[vtkusers] Mouse Event Problem

de Boer Ingo I.deBoer at polytec.de
Tue May 17 03:56:25 EDT 2005


Hi,

why don't you use a boolean in the left button down.
You could track this boolean in the mouse move and
disable it in the left button up.

greets
  Ingo

---
Dr.-Ing. Ingo H. de Boer

Polytec GmbH
Polytec-Platz 1-7, 76337 Waldbronn, Germany
phone: ++49 7243 604 106
fax  : ++49 7243 604 255
 

> -----Original Message-----
> 
> 
> Hello all,
> 
> I need some helps on the mouse event. How can I perform the 
> my derived 
> OnLeftButtonDown continually from 
> vtkInteractorStyleTrackballCamera until I 
> release the left mouse button? Currently, my problem is that it only 
> performs the method once when I hold the left button. I need 
> to release the 
> button and click again to call the OnLeftButtonDown method again.
> 
> Thank you so much in advance,
> Bear
> 
> _________________________________________________________________
> Get 10Mb extra storage for MSN Hotmail. Subscribe Now! 
> http://join.msn.com/?pgmarket=en-hk
> 
> _______________________________________________
> This is the private VTK discussion list. 
> Please keep messages on-topic. Check the FAQ at: 
http://www.vtk.org/Wiki/VTK_FAQ
Follow this link to subscribe/unsubscribe:
http://www.vtk.org/mailman/listinfo/vtkusers



More information about the vtkusers mailing list