<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2963" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=732105613-15102006><FONT face=Arial color=#0000ff
size=2>Confirmed it... it works even for me in C++ but not in Java. So,
it's a Java specific problem then!</FONT></SPAN></DIV>
<BLOCKQUOTE>
<DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma
size=2>-----Original Message-----<BR><B>From:</B>
vtkusers-bounces+pingnikhil=yahoo.com@vtk.org
[mailto:vtkusers-bounces+pingnikhil=yahoo.com@vtk.org]<B>On Behalf Of
</B>Nikhil Sharma<BR><B>Sent:</B> Saturday, October 14, 2006 9:49
a<BR><B>To:</B> vtkusers<BR><B>Subject:</B> RE: [vtkusers] Still can't get
vtkInteractorStyle to work!<BR><BR></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=311480404-14102006>Hi
Anja,</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=311480404-14102006></SPAN></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=311480404-14102006><SPAN class=311480404-14102006>Thanks for taking the
time to reply. </SPAN></SPAN></FONT><FONT face=Arial color=#0000ff
size=2><SPAN class=311480404-14102006>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.</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=311480404-14102006><SPAN
class=311480404-14102006></SPAN></SPAN></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=311480404-14102006><SPAN class=311480404-14102006>Are any Java users
listening? </SPAN></SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=311480404-14102006><SPAN class=311480404-14102006>VTK Development
Team? Could this be a bug in the Java binding of
VTK?</SPAN></SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=311480404-14102006><SPAN class=311480404-14102006>Or, is this
problem to trivial to rouse anybody's interest?</SPAN></SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=311480404-14102006><SPAN
class=311480404-14102006></SPAN></SPAN></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=311480404-14102006><SPAN
class=311480404-14102006>:-(</SPAN></SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=311480404-14102006><SPAN
class=311480404-14102006>-Nikhil.</SPAN></SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=311480404-14102006></SPAN></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=311480404-14102006></SPAN></FONT> </DIV>
<BLOCKQUOTE>
<DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma
size=2>-----Original Message-----<BR><B>From:</B>
vtkusers-bounces+pingnikhil=yahoo.com@vtk.org
[mailto:vtkusers-bounces+pingnikhil=yahoo.com@vtk.org]<B>On Behalf Of
</B>Anja Ende<BR><B>Sent:</B> Friday, October 13, 2006 8:07 p<BR><B>To:</B>
vtkusers<BR><B>Subject:</B> Re: [vtkusers] Still can't get
vtkInteractorStyle to work!<BR><BR></FONT></DIV>Hi there,<BR><BR>To get
complete control, you will need to at least override all these methods and
replace it with your handlers:<BR><BR>virtual void OnMouseMove();<BR>virtual
void OnLeftButtonDown();<BR>virtual void OnLeftButtonUp(); <BR>virtual void
OnRightButtonDown();<BR>virtual void OnRightButtonUp();<BR>virtual void
OnChar();<BR><BR>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. <BR><BR>I have
unfortunately not used VTK with Java, but it should not be anything more
complicated.<BR><BR>Cheers and good luck,<BR><BR>Anja </BLOCKQUOTE>
<P>
<HR SIZE=1>
Do you Yahoo!?<BR>Everyone is raving about the <A
href="http://us.rd.yahoo.com/evt=42297/*http://advision.webevents.yahoo.com/mailbeta">all-new
Yahoo! Mail.</A></BLOCKQUOTE></BODY></HTML>
<p> 
        
                <hr size=1>Get your own <a href=" http://us.rd.yahoo.com/evt=43290/*http://smallbusiness.yahoo.com/domains"
>web address for just $1.99/1st yr</a>. We'll help. <a href="http://us.rd.yahoo.com/evt=41244/*http://smallbusiness.yahoo.com/"
>Yahoo! Small Business</a>.