Loading...
Searching...
No Matches
rotateMode.h
Go to the documentation of this file.
#ifndef BALL_VIEW_KERNEL_MODES_ROTATEMODE_H
#define BALL_VIEW_KERNEL_MODES_ROTATEMODE_H
#include <BALL/VIEW/KERNEL/MODES/interactionMode.h>
namespace BALL
{
namespace VIEW
{
class RotateMode : public InteractionMode
{
public:
RotateMode(Scene* scene);
virtual void mouseDoubleClickEvent(QMouseEvent* evt);
virtual Qt::Key getKey() const;
virtual QString getName() const { return "RotateMode"; }
virtual void activate();
protected:
virtual void mouseMoveEventImpl_(QMouseEvent* evt);
virtual void mouseReleaseEventImpl_(QMouseEvent* evt);
void rotateSystemClockwise_();
void processRotateModeMouseEvents_(QMouseEvent* evt);
void rotateSystem_();
void translateSystem_();
};
}
}
#endif //BALL_VIEW_KERNEL_MODES_ROTATEMODE_H
BALL::VIEW::InteractionMode::InteractionMode
InteractionMode(Scene *scene)
BALL::VIEW::RotateMode::rotateSystem_
void rotateSystem_()
BALL::VIEW::RotateMode::mouseReleaseEventImpl_
virtual void mouseReleaseEventImpl_(QMouseEvent *evt)
BALL::VIEW::RotateMode::processRotateModeMouseEvents_
void processRotateModeMouseEvents_(QMouseEvent *evt)
BALL::VIEW::RotateMode::mouseDoubleClickEvent
virtual void mouseDoubleClickEvent(QMouseEvent *evt)
BALL::VIEW::RotateMode::getKey
virtual Qt::Key getKey() const
BALL::VIEW::RotateMode::mouseMoveEventImpl_
virtual void mouseMoveEventImpl_(QMouseEvent *evt)
BALL::VIEW::RotateMode::RotateMode
RotateMode(Scene *scene)
BALL::VIEW::RotateMode::activate
virtual void activate()
BALL::VIEW::RotateMode::translateSystem_
void translateSystem_()
BALL::VIEW::RotateMode::getName
virtual QString getName() const
Definition rotateMode.h:19
BALL::VIEW::RotateMode::rotateSystemClockwise_
void rotateSystemClockwise_()
BALL::VIEW::Scene
Definition scene.h:141
QMouseEvent
interactionMode.h
BALL::VIEW
Definition constraints.h:35
BALL
Definition constants.h:13