<div dir="ltr">Are you calling Render() on vtkRenderer or vtkRenderWindow. <br><br>Quoting what others said: <br><br>You are not supposed to call Render on vtkRenderer. You shoud use RenderWindow->Render().<br><br>Jothy<br>
<br><div class="gmail_quote">On Fri, Feb 24, 2012 at 12:37 PM, Gishara Indeewarie <span dir="ltr"><<a href="mailto:gish.777@gmail.com">gish.777@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi all,
<div><br></div><div>I have a vtk window where I change the data of it whenever user selects an option (from a set of radio buttons in another MFC dialog). </div><div>I use render->render() each time when the data is changing.</div>
<div>My problem is that when I try to delete the Intearctor, I get a debug assertion as " Expression: e->Component != 0", in vtkGarbageCollectror.cxx , line 781.</div><div>Is there a way to delete all the vtk objects in vetk inteteractor at once?</div>
<div>I am deleting all the vtk objects one by one here, but finally it gives me this error.</div><div>Please help me.</div><div>Thanks.</div>
<br>_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br><div dir="ltr">Jothy<br></div><br>
</div>