[vtkusers] Problem when closing vtk render window

David Doria daviddoria at gmail.com
Wed Feb 15 07:30:46 EST 2012


On Wed, Feb 15, 2012 at 7:22 AM, Gishara Indeewarie <gish.777 at gmail.com>wrote:

> Hi all,
>
> I  have created a vtk render window and I want to change the data in the
> window each time user select an option from a set of radio buttons in a MFC
> window.
> To do this I called vtkrender window each time an option is selected.
> This is working fine, but when I tried to close the vtk window. I get a
> debug assertion from vtkgarbagecollector saying that
> object->getreferencecount == 1.
>
> Below is the code I am using to render vtk window.
>

Please simplify this demo code. I'd expect that in about 10 lines you
should be able to create the same situation.

David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20120215/207421e2/attachment.htm>


More information about the vtkusers mailing list