Debian Codegraph @

include/BALL/VIEW/KERNEL/MODES/rotateMode.h

raw symbols SCIP
1 #ifndef BALL_VIEW_KERNEL_MODES_ROTATEMODE_H
2 #define BALL_VIEW_KERNEL_MODES_ROTATEMODE_H
3
4 #include <BALL/VIEW/KERNEL/MODES/interactionMode.h>
5
6 namespace BALL
7 {
8 namespace VIEW
9 {
10
11 class RotateMode : public InteractionMode
12 {
13 public:
14 RotateMode(Scene* scene);
15
16 virtual void mouseDoubleClickEvent(QMouseEvent* evt);
17
18 virtual Qt::Key getKey() const;
19 virtual QString getName() const { return "RotateMode"; }
20
21 virtual void activate();
22
23 protected:
24 virtual void mouseMoveEventImpl_(QMouseEvent* evt);
25 virtual void mouseReleaseEventImpl_(QMouseEvent* evt);
26
27 void rotateSystemClockwise_();
28 void processRotateModeMouseEvents_(QMouseEvent* evt);
29 void rotateSystem_();
30 void translateSystem_();
31 };
32
33 }
34 }
35
36 #endif //BALL_VIEW_KERNEL_MODES_ROTATEMODE_H