how to use SetLeftButtonPressMethod

Sylvain Jaume jaume at tele.ucl.ac.be
Wed Dec 1 05:05:53 EST 1999


Hello,

I need to re-define the methods associated with mouse events in C++.
As a beginning I want to set the method 'exit(0)' to the left button
press. I've seen SetLeftButtonPressMethod from class 
vtkRenderWindowInteractor.

Did anybody use this method before and could show me an example?

Thanks a lot in advance!
Sylvain



-----------------------------------------------------------------------------
This is the private VTK discussion list.  Please keep messages on-topic.
Check the FAQ at: <http://www.automatrix.com/cgi-bin/vtkfaq>
To UNSUBSCRIBE, send message body containing "unsubscribe vtkusers" to
<majordomo at gsao.med.ge.com>.  For help, send message body containing
"info vtkusers" to the same address.     Live long and prosper.
-----------------------------------------------------------------------------




More information about the vtkusers mailing list