[vtkusers] Debug Assertion with vtkGarbageCollector

Jothybasu Selvaraj jothybasu at gmail.com
Fri Feb 24 07:48:55 EST 2012


Are you calling Render() on vtkRenderer or vtkRenderWindow.

Quoting what others said:

You are not supposed to call Render on vtkRenderer. You shoud use
RenderWindow->Render().

Jothy

On Fri, Feb 24, 2012 at 12:37 PM, Gishara Indeewarie <gish.777 at gmail.com>wrote:

> 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.
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
>


-- 
Jothy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20120224/2180724a/attachment.htm>


More information about the vtkusers mailing list