[vtkusers] Reset Window Level / Pressing 'r' key
FrankWhite
frankwhite at live.nl
Fri Apr 20 05:42:21 EDT 2012
Hi
Does anyone know the code behind pressing the 'r' key or how to duplicate
its functionality?
I want the camera to reset such that all actors are in the center of the
window.
I tried:
- renderer->ResetCamera();
- renderer->Render();
- Invoking the ResetWindowLevel event
- ..
None seem to do the job right. Only when I press 'r' it is centered
correctly.
I hope someone can shed some light over this.
Thanks in advance.
Frank W.
--
View this message in context: http://vtk.1045678.n5.nabble.com/Reset-Window-Level-Pressing-r-key-tp5653790p5653790.html
Sent from the VTK - Users mailing list archive at Nabble.com.
More information about the vtkusers
mailing list