VizFwk: Added method to set the ManipulatorTrackball sensitivity

This commit is contained in:
Jacob Støren 2019-06-25 16:56:43 +02:00
parent 78a705f05c
commit 87d673b672
2 changed files with 9 additions and 0 deletions

View File

@ -163,6 +163,14 @@ void ManipulatorTrackball::endNavigation()
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
void ManipulatorTrackball::setRotationSensitivity(double scaleFactor)
{
m_rotateSensitivity = scaleFactor;
}
//--------------------------------------------------------------------------------------------------
/// Pan the camera up/down and left/right
///

View File

@ -75,6 +75,7 @@ public:
void startNavigation(NavigationType navigationType, int x, int y);
bool updateNavigation(int x, int y);
void endNavigation();
void setRotationSensitivity(double scaleFactor);
private:
bool pan(int posX, int posY);