Loading...
Searching...
No Matches
pickingMode.h
Go to the documentation of this file.
#ifndef BALL_VIEW_KERNEL_MODES_PICKINGMODE_H
#define BALL_VIEW_KERNEL_MODES_PICKINGMODE_H
#include <BALL/VIEW/KERNEL/MODES/interactionMode.h>
namespace BALL
{
namespace VIEW
{
class PickingMode : public InteractionMode
{
public:
PickingMode(Scene* scene);
virtual void mouseDoubleClickEvent(QMouseEvent* evt);
virtual Qt::Key getKey() const;
virtual QString getName() const { return "PickingMode"; }
virtual void activate();
virtual void deactivate();
protected:
bool pick_select_;
bool ignore_pick_;
QPoint mouse_pos_pick_;
void pickParent_(const QPoint& p);
void selectionPressedMoved_();
void selectObjects_();
virtual void mouseMoveEventImpl_(QMouseEvent* evt);
virtual void mousePressEventImpl_(QMouseEvent* evt);
virtual void mouseReleaseEventImpl_(QMouseEvent* evt);
};
}
}
#endif //BALL_VIEW_KERNEL_MODES_PICKINGMODE_H
BALL::VIEW::InteractionMode::InteractionMode
InteractionMode(Scene *scene)
BALL::VIEW::PickingMode::pick_select_
bool pick_select_
Definition pickingMode.h:25
BALL::VIEW::PickingMode::getName
virtual QString getName() const
Definition pickingMode.h:19
BALL::VIEW::PickingMode::mouse_pos_pick_
QPoint mouse_pos_pick_
Definition pickingMode.h:27
BALL::VIEW::PickingMode::activate
virtual void activate()
BALL::VIEW::PickingMode::ignore_pick_
bool ignore_pick_
Definition pickingMode.h:26
BALL::VIEW::PickingMode::mouseDoubleClickEvent
virtual void mouseDoubleClickEvent(QMouseEvent *evt)
BALL::VIEW::PickingMode::pickParent_
void pickParent_(const QPoint &p)
BALL::VIEW::PickingMode::mousePressEventImpl_
virtual void mousePressEventImpl_(QMouseEvent *evt)
BALL::VIEW::PickingMode::mouseReleaseEventImpl_
virtual void mouseReleaseEventImpl_(QMouseEvent *evt)
BALL::VIEW::PickingMode::getKey
virtual Qt::Key getKey() const
BALL::VIEW::PickingMode::selectionPressedMoved_
void selectionPressedMoved_()
BALL::VIEW::PickingMode::mouseMoveEventImpl_
virtual void mouseMoveEventImpl_(QMouseEvent *evt)
BALL::VIEW::PickingMode::deactivate
virtual void deactivate()
BALL::VIEW::PickingMode::PickingMode
PickingMode(Scene *scene)
BALL::VIEW::PickingMode::selectObjects_
void selectObjects_()
BALL::VIEW::Scene
Definition scene.h:141
QMouseEvent
interactionMode.h
BALL::VIEW
Definition constraints.h:35
BALL
Definition constants.h:13