mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
VizFwk: Added method to set the ManipulatorTrackball sensitivity
This commit is contained in:
parent
78a705f05c
commit
87d673b672
@ -163,6 +163,14 @@ void ManipulatorTrackball::endNavigation()
|
||||
}
|
||||
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void ManipulatorTrackball::setRotationSensitivity(double scaleFactor)
|
||||
{
|
||||
m_rotateSensitivity = scaleFactor;
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
/// Pan the camera up/down and left/right
|
||||
///
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user