Thanks to everyone who helped with this, I think I&#39;ve got it (partially):<br><br>In my test app, I&#39;m creating a cone with radius = 0.5 and height = 1.&nbsp; I zoom out (it starts so close to the camera that it is partially clipped) and then click a button to change the position from [0.0, 0.0, 0.0] to [5.0, 5.0. 0.0].&nbsp; Nothing that I was trying worked, but I thought I&#39;d give Lu&#39;s advice another chance and just do this:<br>
<br>pConeActor-&gt;SetPosition(5.0,5.0,0.0);<br>m_pVTKWindow-&gt;Render();<br><br>It worked.&nbsp; I tried putting some of the other things back in there to figure out what was breaking it, and it seemed that any/all of them would make it not work.&nbsp; I went back to the simple solution above, and it also was no longer working.&nbsp; I thought I was loosing it, so I ran the app a bunch of times and oriented the cone several different ways before I clicked the button.&nbsp; It worked sometimes, but not always, and it seemed to have to do with how far I zoomed out.&nbsp; I changed the code to set the position to [1.0, 1.0, 0.0] and now it works every time.&nbsp; Is there some clipping plane stuff going on here?&nbsp; In all cases the actor appears as soon as I start to rotate/translate/zoom with the mouse.<br>
<br>Thanks,<br><br>Kerry<br><br><div class="gmail_quote">On Wed, May 21, 2008 at 9:41 PM, Yick Lu &lt;<a href="mailto:jati.lue@gmail.com">jati.lue@gmail.com</a>&gt; wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi, Kerry<br><br>Did you get it?<br><br>My method is: everytime when actor&#39;s position is set, call the render method of corresponding vtkRenderWindowInteractor right at once. In this case, I don&#39;t need any vtkevent. <br>

<br><br><br>Lu Yi <br><div><div></div><div class="Wj3C7c"><br><br><br><br><br><div class="gmail_quote">On Wed, May 21, 2008 at 8:47 PM, Kerry Loux &lt;<a href="mailto:louxkr@gmail.com" target="_blank">louxkr@gmail.com</a>&gt; wrote:<br>

<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Thanks for your response, Lu.<br><br>Yes, that&#39;s what I&#39;m doing, but my problem is only with re-rendering the image.&nbsp; After updating the actor&#39;s position and orientation, the image doesn&#39;t update until I click on the screen to rotate or zoom, etc.&nbsp; It seems as though I&#39;m missing the &quot;update the screen&quot; call.&nbsp; I have since found that if I call the Render() method of the renderWindowInteractor (actually a wxVTKRenderWindowInteractor) the actor disappears from the original position, but it still isn&#39;t redrawn until I click on the window.&nbsp; The only way I&#39;ve found that updates the screen without clicking on it is to invoke a clicking event with the InvokeEvent() method.&nbsp; This is undesirable because then my screen rotates until I click on it.&nbsp; I&#39;ve tried the following to get the screen to update:<br>



<br>pConeActor-&gt;SetPosition(5.0,5.0,0.0);// Set new position - for this sample, original position was [0.0, 0.0, 0.0]<br>m_pVTKWindow-&gt;Render();<br><br>This removes the actor from the original position, but doesn&#39;t draw it in it&#39;s new position until I click on the screen, as stated above.<br>



<br><br>pConeActor-&gt;SetPosition(5.0,5.0,0.0);<br>m_pVTKWindow-&gt;Render();<br>m_pVTKWindow-&gt;InvokeEvent(vtkCommand::ModifiedEvent, NULL);<br><br>The addition of the InvokeEvent call here makes no difference.<br><br>



<br>pConeActor-&gt;SetPosition(5.0,5.0,0.0);<br>
m_pVTKWindow-&gt;Render();<br>
m_pVTKWindow-&gt;Update();// I&#39;ve tried this with Update first, then Render as well<br><br>The Update() call here makes no difference.<br><br><br>pConeActor-&gt;SetPosition(5.0,5.0,0.0);<br>
m_pVTKWindow-&gt;Render();<br>
m_pVTKWindow-&gt;InvokeEvent(vtkCommand::LeftButtonPressEvent, NULL);<br><br>This does make the image redraw, but it also makes it spin (as though you were pressing the left mouse button...).&nbsp; That makes the obvious next step:<br>



<br>pConeActor-&gt;SetPosition(5.0,5.0,0.0);<br>

m_pVTKWindow-&gt;Render();<br>

m_pVTKWindow-&gt;InvokeEvent(vtkCommand::LeftButtonPressEvent, NULL);<br>

m_pVTKWindow-&gt;InvokeEvent(vtkCommand::LeftButtonReleaseEvent, NULL);<br><br>But this doesn&#39;t do anything different than the first few attempts.&nbsp; I&#39;ve been looking at the code that handles the LeftButtonPressEvent (vtkSubjectHelper::InvokeEvent in vtkObject.cxx) to try and figure out what part of that function makes the screen update, but so far I haven&#39;t been successful.&nbsp; Any help or advice is still appreciated!<br>



<br>Thanks,<br><font color="#888888"><br>Kerry</font><div><div></div><div><br><br><br><div class="gmail_quote">On Tue, May 20, 2008 at 8:14 PM, Yick Lu &lt;<a href="mailto:jati.lue@gmail.com" target="_blank">jati.lue@gmail.com</a>&gt; wrote:<br>


<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Maybe you can try &quot;events&quot;<br><br>The event handler function should be like this:<br><br>Typing Event Handler( eventArgs )<br>{<br>//check character at the beginning<br><br>pActor-&gt;Setpostion();//define new position<br>




pRenderer-&gt;Render();<br><br>}<br><br>The event is invoked as user type anything in the textbox. But make sure the inputed character is checked and valid.<br><font color="#888888"><br clear="all"><br>-- <br>Lu Yi<br>
</font></blockquote></div><br>
</div></div></blockquote></div><br><br clear="all"><br></div></div><font color="#888888">-- <br>Lu Yi<br>
</font></blockquote></div><br>