You can also call "->Modified()" on the sphere object once you've modified it.. that *should* force a pipeline update, I think.<br><br><div><span class="gmail_quote">On 5/27/06, <b class="gmail_sendername">Geoff Smith
</b> <<a href="mailto:exine@gmx.net">exine@gmx.net</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi!<br><br>I'm having some very confusing problems. I'm trying to move a sphere around with a haptic feedback device and am getting the 3D coordinates into my program no problem. I then update the sphere centre with these cordinates. Now this is where it gets weird, if i don't attempt to call render() on the renderwindow nothing changes in the window until i move the scene around a little with the mouse. Then the scene is update and the sphere is moved as expected. Now I want to see the movement in real time, so i have a callback which goes back to the class with the renderwindow and render etc. This callback calls render() on the render window. After this the sphere dissapears from the scene. I've checked the sphere centre and it is normal - so it hasn't actually left the scene. Nothing else is being touched,
i.e. the actor, mapper, etc. The other objects in the scene are still shown as normal. I can't seem to find out why it's disappearing...<br><br>Is this the best way to force the window to render or is there a better way? Does anyone have any suggestions?
<br><br>Cheers,<br><br>Geoff<br>--<br><br><br>Bis zu 70% Ihrer Onlinekosten sparen: GMX SmartSurfer!<br> Kostenlos downloaden: <a href="http://www.gmx.net/de/go/smartsurfer">http://www.gmx.net/de/go/smartsurfer</a><br>
<br>_______________________________________________<br>This is the private VTK discussion list.<br>Please keep messages on-topic. Check the FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ">http://www.vtk.org/Wiki/VTK_FAQ
</a><br>Follow this link to subscribe/unsubscribe:<br><a href="http://www.vtk.org/mailman/listinfo/vtkusers">http://www.vtk.org/mailman/listinfo/vtkusers</a><br></blockquote></div><br>