[vtkusers] How to close an open vtk-Window by program-code
Bill Lorensen
bill.lorensen at gmail.com
Wed Jul 21 12:17:39 EDT 2010
SetRenderWindow(NULL) works for me.
On Wed, Jul 21, 2010 at 12:13 PM, David Doria <daviddoria+vtk at gmail.com> wrote:
> On Wed, Jul 21, 2010 at 12:08 PM, Bill Lorensen <bill.lorensen at gmail.com> wrote:
>> Try
>> iren->SetRenderWindow(NULL);
>> rather than
>> iren->GetRenderWindow()->Delete();
>
> Once SetRenderWindow(NULL) is performed, it crashes as soon as the
> window is attempted to be updated.
>
> Rainer - did you ever get this to work?
>
> Alex - was that just a thought that you recommended or have you done
> this using Delete()?
>
> David
>
More information about the vtkusers
mailing list