0000772: Navigation style suggestion - do not change cursor location when you are controling view
This commit is contained in:
@@ -113,6 +113,9 @@ public:
|
||||
void setSensitivity(float);
|
||||
float getSensitivity() const;
|
||||
|
||||
void setResetCursorPosition(SbBool);
|
||||
SbBool isResetCursorPosition() const;
|
||||
|
||||
void setZoomInverted(SbBool);
|
||||
SbBool isZoomInverted() const;
|
||||
void setZoomStep(float);
|
||||
@@ -175,6 +178,8 @@ protected:
|
||||
void doZoom(SoCamera * camera, SbBool forward, const SbVec2f& pos);
|
||||
void spin(const SbVec2f & pointerpos);
|
||||
SbBool doSpin();
|
||||
void moveCursorPosition();
|
||||
void saveCursorPosition(const SoEvent * const ev);
|
||||
|
||||
SbBool handleEventInForeground(const SoEvent* const e);
|
||||
virtual SbBool processSoEvent(const SoEvent * const ev);
|
||||
@@ -195,6 +200,8 @@ protected:
|
||||
View3DInventorViewer* viewer;
|
||||
ViewerMode currentmode;
|
||||
SbVec2f lastmouseposition;
|
||||
SbVec2s globalPos;
|
||||
SbVec2s localPos;
|
||||
SbPlane panningplane;
|
||||
SbTime prevRedrawTime;
|
||||
SbTime centerTime;
|
||||
|
||||
Reference in New Issue
Block a user