[vtkusers] Debug Assertion with vtkGarbageCollector

Gishara Indeewarie gish.777 at gmail.com
Fri Feb 24 07:37:19 EST 2012


Hi all,

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).
I use render->render() each time when the data is changing.
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.
Is there a way to delete all the vtk objects in vetk inteteractor at once?
I am deleting all the vtk objects one by one here, but finally it gives me
this error.
Please help me.
Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20120224/041c1696/attachment.htm>


More information about the vtkusers mailing list