17#ifndef __albaInteractorCompositorMouse_h
18#define __albaInteractorCompositorMouse_h
153 int m_LastMousePose[2];
156 vtkCamera *m_CurrentCamera;
159 friend class albaInteractorCompositorMouseTest;
Implementation of the message object for the Subject/Observer design pattern.
Event class to transport a triggering button and a position from pointing devices.
Associates instances of albaInteractorGenericMouse to mouse buttons and ctrl/shift keys combinations.
mmuActivatorMap m_ActivatorMap
albaInteractorCompositorMouse()
virtual void OnButtonUp(albaEventInteraction *e)
void OnRightButtonDown(albaEventInteraction *e)
void OnRightButtonUp(albaEventInteraction *e)
albaInteractorGenericMouse * m_ActiveMMIGeneric
std::map< int, albaAutoPointer< albaInteractorGenericMouse > > mmuActivatorMap
virtual void OnButtonDown(albaEventInteraction *e)
virtual void OnEvent(albaEventBase *event)
Process events coming from the mouse.
void OnLeftButtonUp(albaEventInteraction *e)
virtual albaInteractorGenericMouse * CreateBehavior(MMI_ACTIVATOR activator)
Create a behavior given the activator.
void OnMiddleButtonUp(albaEventInteraction *e)
void InitInteraction(int buttonPressed, albaEventInteraction *e)
init the interactor for the corresponding pressed button.
void OnLeftButtonDown(albaEventInteraction *e)
mouse driven events
int MouseToActivator(int mouseButton, int shift, int ctrl)
conversion from mouse-keyboard combo to the corresponding activator value ie the value in the MMI_ACT...
void OnMiddleButtonDown(albaEventInteraction *e)
~albaInteractorCompositorMouse()
albaInteractorGenericMouse * GetBehavior(MMI_ACTIVATOR activator)
Get a behavior given the activator.
albaTypeMacro(albaInteractorCompositorMouse, albaInteractor)
virtual int StartInteraction(albaDeviceButtonsPadMouse *mouse)
Start the interaction with the selected object; set m_CurrentCamera and Renderer ivar.
Constrained interaction with mouse device.
Abstract class for ALBA interactors This class provides base interface and features of ALBA continuou...