[vtk-developers] rotate/zoom applied on one actor
toulgen
toulgen at gmail.com
Thu May 28 10:19:01 EDT 2009
Hi,
In vtkRenderer I have two actors: actor1 and actor2.
My code:
vtkRenderer *aRenderer = vtkRenderer::New();
vtkRenderWindow *renWin = vtkRenderWindow::New();
vtkRenderWindowInteractor *iren = vtkRenderWindowInteractor::New();
renWin->AddRenderer(aRenderer);
iren->SetRenderWindow(renWin);
.
aRenderer->AddActor(actor1);
aRenderer->AddActor(actor2);
.
iren->Initialize();
iren->Start();
It is possible to rotate/zoom only one actor with mouse?
For example, rotate/zoom the Actor1 and the Actor2 is visible but the
rotation/zoom applied with mouse is not applied on this actor.
Thx
ToulGen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20090528/809153a5/attachment.html>
More information about the vtk-developers
mailing list