[vtkusers] Information about autoRendering
Francesco Babboni
jimmigoo at gmail.com
Fri Jul 31 06:30:44 EDT 2009
Hi to all..
I've got 4 vtkActor made by vtkDataSetMapper (one coming from
vtkContourFilter, one from vtkCubeAxesActor2D), and 2 vtkScalarBarActor, in
a single Render Window Interactor.
I don't know why every time I see the render,
I've to press R key to show the whole render.
So, I would like to know which is the method, or the group of method, to
render directly the whole VTK item group.
I've noticed that this happens everytime, also when I don't add contourActor
or axesActor to Renderer.
I'm look forward your reply!
Cheers,
Francesco
---------------------------------------------------------------------------------------------
Renderer->AddActor(Actor1);
Renderer->AddActor(Actor2);
Renderer->AddActor(contourActor);
Renderer->AddActor(axesActor);
Renderer->AddActor2D(ColorBarActor1);
Renderer->AddActor2D(ColorBarActor2);
Renderer->SetBackground(0.4,0.4,0.4);
RenderWindow->AddRenderer(DemRen);
RenderWindow->SetSize(600, 600);
RenderWindowInteractor->SetRenderWindow(renWin);
RenderWindow->Render();
RenderWindowInteractor->Start();
RenderWindow->Render();
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20090731/1550fa1a/attachment.htm>
More information about the vtkusers
mailing list