[vtkusers] Help about refreshing of vtk window
Rong Xu
xurong1981 at gmail.com
Sun Oct 2 22:28:02 EDT 2011
2011/10/3 David Doria <daviddoria at gmail.com>
> > I mean I use the following codes to initialize these variables again.
> >
> > m_ren = vtkSmartPointer<vtkRenderer>::New();
> > m_renWin = vtkSmartPointer<vtkRenderWindow>::New();
> > m_iren = vtkSmartPointer<vtkRenderWindowInteractor>::New();
>
> You should probably not be recreating the variables. Instead just
> change the content of the renderer and then call Render().
>
I see. That's useful. Thank you very much!
>
> David
>
--
---------------------
Best Regards!
===============================================
Rong Xu, Ph.D Student
Ohya Lab
Graduate School of Global Information and Telecommunication
Studies (GITS), Waseda University
1-6-1 Nishi Waseda, Shinjuku-ku, Tokyo, Japan (¨169-8050)
Tel: +81-80-4208-1207
E-mail: xurong1981 at gmail.com
xurong at fuji.waseda.jp
===============================================
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20111003/d95fd2d5/attachment.htm>
More information about the vtkusers
mailing list