[vtkusers] orders of the renderers....
Francois Bertel
francois.bertel at kitware.com
Fri Mar 12 11:15:00 EST 2010
Hello,
first "renderer", then "renderer2".
the gut is in VTK/Rendering/vtkRendererCollection.cxx, in void
vtkRendererCollection::Render().
and this is called in vtkRenderWindow.cxx by lines like
"this->Renderers->Render();"
Regards.
On Fri, Mar 12, 2010 at 11:07 AM, Giancarlo Amati
<ilferraresebono at hotmail.it> wrote:
> Hello everybody,
>
> if I set up a renderwindow with 2 layers and 2 vtkRenderer objects. I call
>
> renderer->setLayer(0);
> renderer2->setLayer(1);
>
> window->AddRenderer(renderer);
> window->AddRenderer(renderer2);
>
> what's the order internally? I mean as I have a QVTKWidget which has
>
> vtkWidget->GetRenderWindow()->GetRenderers()->GetFirstRenderer();
>
> what's the first renderer? Renderer 0 o renderer 2?
>
> Grazie!
> Giancarlo
>
> ________________________________
> Vuoi scaricare gli allegati? Guardali in anteprima, su Hotmail!
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
>
--
François Bertel, PhD | Kitware Inc. Suite 204
1 (518) 371 3971 x113 | 28 Corporate Drive
| Clifton Park NY 12065, USA
More information about the vtkusers
mailing list