<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7653.38">
<TITLE>java interactorstyle question</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->
<BR>

<P><FONT SIZE=2>Hi Folks,<BR>
<BR>
I would like to change the scaling behavior on the right mouse button,<BR>
to be uniform on y and z and variable on x. I would like to do this<BR>
from java as well.<BR>
<BR>
I thought I would be able to do something like this:<BR>
<BR>
public class ResizeXInteractorStyle extends vtkInteractorStyleTrackballActor {<BR>
&nbsp;&nbsp;&nbsp; public void UniformScale() {<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; // do my code instead<BR>
&nbsp;&nbsp;&nbsp; }<BR>
}<BR>
<BR>
and then set this interactor style to the Interactive renderer.<BR>
<BR>
But this doesn't seem to do anything. Do I have to subclass vtkInteractorStyle from<BR>
c++ and include it in vtk somehow?<BR>
<BR>
I think what I want do is something like this example:<BR>
<A HREF="http://www.vtk.org/Wiki/Handle_keypress_events">http://www.vtk.org/Wiki/Handle_keypress_events</A><BR>
<BR>
but in Java.<BR>
<BR>
thanks,<BR>
Henrik</FONT>
</P>

</BODY>
</HTML>