#include <MouseOperations.h>
Public Attributes | |
sofa::gui::component::performer::InteractionPerformer * | performer |
Protected Attributes | |
PickHandler * | pickHandle |
sofa::component::setting::MouseButtonSetting::SPtr | mbsetting |
MOUSE_BUTTON | button |
Public Member Functions | |
Operation (sofa::component::setting::MouseButtonSetting::SPtr s=nullptr) | |
virtual | ~Operation () |
virtual void | configure (PickHandler *picker, MOUSE_BUTTON b) |
virtual void | configure (PickHandler *picker, sofa::component::setting::MouseButtonSetting *s) |
virtual void | start () |
virtual void | execution () |
This function is called each time the mouse is clicked. More... | |
virtual void | end () |
virtual void | endOperation () |
This function is called after each mouse click. More... | |
virtual void | wait () |
This function is called when shift key is released. More... | |
virtual void | setSetting (sofa::component::setting::MouseButtonSetting *s) |
virtual std::string | defaultPerformerType () |
virtual sofa::gui::component::performer::InteractionPerformer * | createPerformer () |
virtual void | configurePerformer (sofa::gui::component::performer::InteractionPerformer *p) |
MOUSE_BUTTON | getMouseButton () const |
std::string | getId () |
Static Public Member Functions | |
static MOUSE_BUTTON | GetMouseId (unsigned int i) |
Friends | |
class | OperationFactory |
|
protected |
|
protected |
sofa::gui::component::performer::InteractionPerformer* sofa::gui::common::Operation::performer |
|
protected |
|
inline |
|
inlinevirtual |
|
inlinevirtual |
Reimplemented in sofa::gui::qt::QAddSutureOperation, sofa::gui::qt::QTopologyOperation, and sofa::gui::qt::QInciseOperation.
|
inlinevirtual |
|
virtual |
|
virtual |
|
inlinevirtual |
Reimplemented in sofa::gui::common::AddSutureOperation, sofa::gui::common::StartNavigationOperation, sofa::gui::common::AddRecordedCameraOperation, sofa::gui::common::AddFrameOperation, sofa::gui::common::FixOperation, sofa::gui::common::AttachOperation, and sofa::gui::common::ConstraintAttachOperation.
|
virtual |
Reimplemented in sofa::gui::common::TopologyOperation, and sofa::gui::common::InciseOperation.
|
inlinevirtual |
This function is called after each mouse click.
Reimplemented in sofa::gui::common::TopologyOperation, and sofa::gui::common::InciseOperation.
|
inlinevirtual |
This function is called each time the mouse is clicked.
Reimplemented in sofa::gui::common::TopologyOperation, and sofa::gui::common::InciseOperation.
|
inline |
|
inline |
|
inlinestatic |
|
inlinevirtual |
Reimplemented in sofa::gui::common::AttachOperation.
|
virtual |
Reimplemented in sofa::gui::common::TopologyOperation, and sofa::gui::common::InciseOperation.
|
inlinevirtual |
This function is called when shift key is released.
|
friend |