[vtkusers] ResetCamera() via 'r' Key - disable or manipulate?
Alex Malyushytskyy
alexmalvtk at gmail.com
Wed Oct 17 21:15:35 EDT 2012
Subclass vtkInteractorStyle you are using and override
virtual void OnChar();
to do nothing when 'r' was selected.
You could try to watch for ResetCameraEvent and adjust zoom for
camera, but I am not sure it would not lead for flickering.
Alex
On Mon, Oct 15, 2012 at 5:32 AM, reppesis <reppesis at gmail.com> wrote:
> Hi!
>
> The automatic zoom, selected by ResetCamera() is too far away for my
> application.
> Is there any possibility of manipulation like disabling the 'r' key or
> defining an overall zoom factor > 1.0?
>
> Any hint is much appreciated (:
> _______________________________________________
> 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
More information about the vtkusers
mailing list