Hi I&#39;m trying to build my own interactor style class, as it&#39;s shown in the documentation seems an easy  job but is not working for some reason this is part of the code:<div><br></div><div><div>----------------------------------------------------------------------------------------------------</div>
<div>vtkInteractorStylePointer interactor = new vtkInteractorStylePointer();       </div><div>interactor.SetInteractor(vtkPanel.getRenderWindowInteractor());</div><div>vtkPanel.setInteractorStyle(interactor);</div></div><div>
----------------------------------------------------------------------------------------------------</div><div><br></div><div>if I use one of the predefined styles vtkInteractorStyle* they work perfectly well , but when  I try to use mine vtkInteractorStylePointer() doesn&#39;t work at all.</div>
<div><div><br></div><div><br></div><div>vtkInteractorStylePointer should print out some text when left button is pressed, but it doesn&#39;t.</div><div><br></div><div>----------------------------------------------------------------------------------------------------</div>
<div>public class vtkInteractorStylePointer extends vtk.vtkInteractorStyle{</div><div>    </div><div>    @Override</div><div>    public void OnLeftButtonDown() {</div><div>        System.out.println(&quot;xxx&quot;);</div>
<div>        super.OnLeftButtonDown();</div><div>       </div><div>    }</div><div>    @Override</div><div>    public void OnLeftButtonUp() {</div><div>        System.out.println(&quot;yyy&quot;);</div><div>        super.OnLeftButtonUp();        </div>
<div>    }</div><div>    </div><div>}</div></div><div>------------------------------------------------------------------------------------------------------</div><div><br></div><div>do some body know what&#39;s going wrong ?</div>
<div><br></div><div>Thanks for your time!</div><div><br></div><div><br></div>