[vtkusers] Rendering problem

Lisa Avila lisa.avila at kitware.com
Thu Mar 25 17:47:24 EST 2004


Hello,

When you call Render() on a vtkRenderWindow, all props in all renderers are 
redrawn. If you want to move just a line (and it is an overlay line - not 
in 3D) then you can render the scene without the line, save the image and 
continually refresh the image and redraw just the line.

Lisa


At 05:09 AM 3/25/2004, S.Joung wrote:
>Hi,
>
>I added three actors to "vtkRenderer" and rendered "vtkRenderWindow".
>Two of them are volume data. Other one is just a line.
>I translate the position of line and re-rendererd a vtkRenderwindow.
>I think that it is speedy, but it takes long time.
>
>How can I render just one actor ?
>
>Thank you.
>
>------------------------------
>ex)
>
>vtkRenderer->addActor(actor1);
>vtkRenderer->addActor(actor2);
>vtkRenderer->addActor(actor3);
>
>vtkRenderWindow->Render();    ----> time1
>
>actor3->SetPosition(.........);
>
>vtkRenderWindow->Render();    ----> time2
>
>time1 == time2
>------------------------------
>_______________________________________________
>This is the private VTK discussion list.
>Please keep messages on-topic. Check the FAQ at: 
><http://public.kitware.com/cgi-bin/vtkfaq>
>Follow this link to subscribe/unsubscribe:
>http://www.vtk.org/mailman/listinfo/vtkusers





More information about the vtkusers mailing list