mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-16 10:22:15 -05:00
VizFwk: Added method to set the ManipulatorTrackball sensitivity
This commit is contained in:
1 parent
78a705f05c
commit
87d673b672
2 files changed
+9
No files matched your search
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user