You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
49 lines
1.0 KiB
49 lines
1.0 KiB
|
|
#ifndef T3D_MOUSE_PARAMS_H |
|
#define T3D_MOUSE_PARAMS_H |
|
|
|
#include "I3dMouseParams.h" |
|
|
|
|
|
class MouseParameters : public I3dMouseParam |
|
{ |
|
public: |
|
MouseParameters(); |
|
~MouseParameters(); |
|
|
|
// I3dmouseSensor interface |
|
bool IsPanZoom() const; |
|
bool IsRotate() const; |
|
ESpeed GetSpeed() const; |
|
|
|
void SetPanZoom(bool isPanZoom); |
|
void SetRotate(bool isRotate); |
|
void SetSpeed(ESpeed speed); |
|
|
|
// I3dmouseNavigation interface |
|
ENavigation GetNavigationMode() const; |
|
EPivot GetPivotMode() const; |
|
EPivotVisibility GetPivotVisibility() const; |
|
bool IsLockHorizon() const; |
|
|
|
void SetLockHorizon(bool bOn); |
|
void SetNavigationMode(ENavigation navigation); |
|
void SetPivotMode(EPivot pivot); |
|
void SetPivotVisibility(EPivotVisibility visibility); |
|
|
|
private: |
|
|
|
MouseParameters (const MouseParameters&); |
|
const MouseParameters& operator =(const MouseParameters&); |
|
|
|
ENavigation fNavigation; |
|
EPivot fPivot; |
|
EPivotVisibility fPivotVisibility; |
|
bool fIsLockHorizon; |
|
|
|
bool fIsPanZoom; |
|
bool fIsRotate; |
|
ESpeed fSpeed; |
|
}; |
|
|
|
#endif
|
|
|