[vtkusers] How to close an open vtk-Window by program-code

David Doria daviddoria+vtk at gmail.com
Wed Jul 21 12:13:32 EDT 2010


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