<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
Hi
<p>I am using vtk4.0 (cvs) with Java.&nbsp; I got the vtkPanel to work
with buttons etc as part of JPanel.
<br>I am trying to update my scence, at the click of a mouse button.&nbsp;&nbsp;
My scene is a Cone, so the idea is each time I click on a button, it gives
me a new cone ( very interesting, hmmmmm)
<p>well, everything works apart from the removeActor bit.&nbsp; Here is
how i am doing it
<p>&nbsp;&nbsp;&nbsp; <font color="#FF0000">renWin.GetRenderer().RemoveActor(coneActor);</font>
<br><font color="#FF0000">&nbsp;&nbsp;&nbsp; renWin.GetRenderer().AddActor(coneActor);</font><font color="#3366FF"></font>
<p><font color="#3366FF">I am hoping here that line number one removes
the old actor, and line number two, adds the new one !!!</font>
<br><font color="#000000">but this does not however remove the previous
object from the scene, it seems to draw over the previous scene, and hence
i get interestingly looking objects, but unfournately not the one i want
!!</font><font color="#000000"></font>
<p><font color="#000000">has any one had similar probelms ???, or offer
me some hints on how i can overcome this !!!</font><font color="#000000"></font>
<p><font color="#000000">thanks in advance</font><font color="#000000"></font>
<p><font color="#000000">satheesh</font></html>