17#ifndef __mmiSelectPoint_h
18#define __mmiSelectPoint_h
78 void SetCtrlModifier(
bool useCtrlModifier) {m_UseCtrlModifier = useCtrlModifier;};
This abstract class manages function calls coming from devices and issue specific events to interacto...
Implementation of the message object for the Subject/Observer design pattern.
Event class to transport a triggering button and a position from pointing devices.
implements mouse move of camera in the scene.
virtual void OnEvent(albaEventBase *event)
Process events coming from tracker.
Perform continuous cell picking with or without the CTRL modifier or move the camera in the scene (wh...
virtual ~mmiSelectPoint()
void SetCtrlModifierOff()
Set the CTRL modifier to Off => pick performed on Left button down.
bool GetCtrlModifier()
Get the CTRL modifier.
virtual void OnMouseMove()
redefined not to move the camera if something has been picked
void SetCtrlModifier(bool useCtrlModifier)
Set the CTRL modifier: true => pick on Ctrl + LeftButtonDown false => pick on LeftButtonDown only.
virtual void OnButtonUp(albaEventInteraction *e)
redefined to end pick modality
virtual void OnLeftButtonDown(albaEventInteraction *e)
redefined to pick cell if CTRL modifier is pressed
void PickCell(albaDevice *device)
send the picking informations to the listener
albaTypeMacro(mmiSelectPoint, albaInteractorCameraMove)
void SetCtrlModifierOn()
Set the CTRL modifier to On => picking performed on LeftButtonDown + CTRL.