BALL  1.5.0
rotateMode.h
Go to the documentation of this file.
1 #ifndef BALL_VIEW_KERNEL_MODES_ROTATEMODE_H
2 #define BALL_VIEW_KERNEL_MODES_ROTATEMODE_H
3 
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 
29  void rotateSystem_();
30  void translateSystem_();
31  };
32 
33  }
34 }
35 
36 #endif //BALL_VIEW_KERNEL_MODES_ROTATEMODE_H
BALL::VIEW::InteractionMode
Definition: interactionMode.h:24
BALL::VIEW::RotateMode::RotateMode
RotateMode(Scene *scene)
BALL::VIEW::RotateMode::getName
virtual QString getName() const
Definition: rotateMode.h:19
BALL::VIEW::RotateMode::processRotateModeMouseEvents_
void processRotateModeMouseEvents_(QMouseEvent *evt)
BALL::VIEW::RotateMode
Definition: rotateMode.h:11
BALL::VIEW::RotateMode::rotateSystem_
void rotateSystem_()
BALL::VIEW::RotateMode::activate
virtual void activate()
BALL::VIEW::Scene
Definition: scene.h:138
BALL
Definition: constants.h:12
BALL::VIEW::RotateMode::mouseMoveEventImpl_
virtual void mouseMoveEventImpl_(QMouseEvent *evt)
interactionMode.h
BALL::VIEW::RotateMode::rotateSystemClockwise_
void rotateSystemClockwise_()
BALL::VIEW::RotateMode::getKey
virtual Qt::Key getKey() const
BALL::VIEW::RotateMode::mouseReleaseEventImpl_
virtual void mouseReleaseEventImpl_(QMouseEvent *evt)
BALL::VIEW::RotateMode::translateSystem_
void translateSystem_()
QMouseEvent
BALL::VIEW::RotateMode::mouseDoubleClickEvent
virtual void mouseDoubleClickEvent(QMouseEvent *evt)