0

Enable/disable Camera transformation

Anonymous 6 years ago updated by Michael Powell 5 years ago 1
This discussion was imported from CodePlex

JoJo1 wrote at 2013-12-10 06:26:

Hi,
I need to enable or disable the camera transformations (pan, rotate, zoom). In case of disabling the camera transformation I set the HelixViewport3D properties 'IsPanEnabled', 'IsRotationEnabled' and 'IsZoomEnabled' to false. This will disable the transformations for mouse input.
Unfortunately the camera can still be transformed by keyboard input:
Ctrl+F, Ctrl+B, Ctrl+L, Ctrl+R, Ctrl+U, Ctrl+D: change view to front, back, left, right, up or down
A,D,W,S,Q,Z: moving along x,y and z axis

Is there any other property to be set?
Is this the intended behavior or is it maybe a bug?

objo wrote at 2013-12-12 21:42:

This sounds like a bug, I have added issue
https://helixtoolkit.codeplex.com/workitem/10011

objo wrote at 2013-12-13 14:46:

This should be corrected now: the view cube is disabled when IsRotationEnabled = false, and ADSWQZ is disabled when IsMoveEnabled = false

That's perfect. Just what I needed for a couple of use cases of mine.