[vtk-developers] Update only one renderer, (multiple renderers in a render window)

Jinhyeok Choi andreas.choi at gmail.com
Mon Oct 20 23:56:21 EDT 2014


Great! David.

Thank you

It works good

m_pvtkRenderWindow->EraseOff();
m_pvtkRenderer1->DrawOff();
m_pvtkRenderWindow->Render();
m_pvtkRenderer1->DrawOn();
m_pvtkRenderWindow->EraseOn();



2014-10-21 11:50 GMT+09:00 David Gobbi <david.gobbi at gmail.com>:

> Hi Jinhyeok,
>
> It should be possible to do this by calling the methods EraseOff()
> and DrawOff() on all the renders that you don't want to re-render.
>
>  - David
>
> On Mon, Oct 20, 2014 at 6:54 AM, Jinhyeok Choi <andreas.choi at gmail.com>
> wrote:
> > Hi,
> >
> > I have a question for redrawing a render window.
> > I only know the method to redraw is
> > vtkRenderWindow::render();
> > but it redraw all renderers at once.
> > I want to redraw only one renderer or only one actor.
> > Is it possible?
> > I divide viewport in the render window for each renderer.
> > One for volume rendering, and the other is something working space.
> > I want to redraw only working space, because volume rendering is heavy.
> >
> > I looking forward your helps.
> >
> > Best regards,
> > Jinhyeok Choi
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20141021/159f9a38/attachment-0002.html>


More information about the vtk-developers mailing list