[vtkusers] RenderWindow question...

N Smethurst nick.smethurst at free.fr
Thu Feb 27 15:47:01 EST 2003


Hi Tuhin

I am a total novice when it comes to x-windows programming, but I wanted to
ask if you could expand on the implications of this, specifically could this
have anything to do with the memory leaks that we have been experiencing
when opening and closing muliple render windows?

Nick

Le Jeudi 27 Février 2003 21:06, Tuhin a écrit :
>   I'm having a vtkXOpenGLRenderWindow problem.  It seems that when a user
> deletes the window the link between the window and VTK isn't cut.
> Specifically, vtkXOpenGLRenderWindow::Mapped is not reset and
> vtkXOpenGLRenderWindow::WindowId is not set to 0x0.  Thus, when a
> Render() call is made to the window (after the user has deleted the
> window) I get a SIGPIPE.  I have done a little X programming in the past
> and have used WM events (i.e. WM_DELETE_WINDOW) to tell me when my window
> was being destroyed. I looked through the VTK nightly source and I
> couldn't find any classes that used WM_DELETE_WINDOW or the call
> 'XSetWMProtocols' function that one uses to set WM event notifications.




More information about the vtkusers mailing list