[vtkusers] Still can't get vtkInteractorStyle to work! (BUG in Java binding.)
Nikhil Sharma
pingnikhil at yahoo.com
Sun Oct 15 09:57:38 EDT 2006
Confirmed it... it works even for me in C++ but not in Java. So, it's a Java specific problem then!
-----Original Message-----
From: vtkusers-bounces+pingnikhil=yahoo.com at vtk.org [mailto:vtkusers-bounces+pingnikhil=yahoo.com at vtk.org]On Behalf Of Nikhil Sharma
Sent: Saturday, October 14, 2006 9:49 a
To: vtkusers
Subject: RE: [vtkusers] Still can't get vtkInteractorStyle to work!
Hi Anja,
Thanks for taking the time to reply. I tried your suggestion, still no luck. As can be seen in the (fully functional) Java code in my earlier post, I'm already printing out messages from my overrides, including now the new ones which you suggested.
Are any Java users listening?
VTK Development Team? Could this be a bug in the Java binding of VTK?
Or, is this problem to trivial to rouse anybody's interest?
:-(
-Nikhil.
-----Original Message-----
From: vtkusers-bounces+pingnikhil=yahoo.com at vtk.org [mailto:vtkusers-bounces+pingnikhil=yahoo.com at vtk.org]On Behalf Of Anja Ende
Sent: Friday, October 13, 2006 8:07 p
To: vtkusers
Subject: Re: [vtkusers] Still can't get vtkInteractorStyle to work!
Hi there,
To get complete control, you will need to at least override all these methods and replace it with your handlers:
virtual void OnMouseMove();
virtual void OnLeftButtonDown();
virtual void OnLeftButtonUp();
virtual void OnRightButtonDown();
virtual void OnRightButtonUp();
virtual void OnChar();
So try overriding these values as well. Also, output something in your overrides so that you have an indication that the correct interactor style has registered with the interactor.
I have unfortunately not used VTK with Java, but it should not be anything more complicated.
Cheers and good luck,
Anja
---------------------------------
Do you Yahoo!?
Everyone is raving about the all-new Yahoo! Mail.
---------------------------------
Get your own web address for just $1.99/1st yr. We'll help. Yahoo! Small Business.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20061015/11815fba/attachment.htm>
More information about the vtkusers
mailing list