[vtkusers] vtkXRenderWindow Problem(Update2)
Dai Chong
ascdai at yahoo.com
Thu Sep 14 08:59:14 EDT 2000
Hi,
I just found the solution a moment ago.
Below is the method:
#include "X11/X.h"
XDestroyWindow((Display
*)renWindow->GetGenericDisplayId(),renWindow->GetWindowId());
renWindow->Delete();
here, renWindow is created by:
vtkXRenderWindow *renWindow= vtkXRenderWindow::New();
BTW,the "abnormal quit problem" stated in my second
email is still not solved. Does anyone have some
ideas?
Have a nice day!
Dai Chong
--- Dai Chong <ascdai at yahoo.com> wrote:
> Hi,
>
> I am running vtk on SGI UNIX. The problem is that
> when
> I want to close a render window that was created
> previously using vtkXRenderWindow. The window seems
> still there. Currently I use the Delete() method.Is
> this method enough for delete the window. If
> not,what
> shoud I do to close the window?
>
> Thanks,
> Dai Chong
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Mail - Free email you can access from
> anywhere!
> http://mail.yahoo.com/
>
__________________________________________________
Do You Yahoo!?
Yahoo! Mail - Free email you can access from anywhere!
http://mail.yahoo.com/
More information about the vtkusers
mailing list