16#ifndef __albaInteractor6DOF_h
17#define __albaInteractor6DOF_h
Avatars are entities moving in the virtual world according to user's movements, and thus representing...
Event class to transport a triggering button and a position from pointing devices.
base class for 3D interaction modalities with 6DOF
albaTransform * m_DeltaTransform
virtual int StartInteraction(albaDeviceButtonsPadTracker *tracker, albaMatrix *pose=NULL)
Start the interaction with the selected object.
albaMatrix * m_TrackerPoseMatrix
virtual ~albaInteractor6DOF()
void ShowAvatar()
Used to show back default tracker's avatar.
void SetTracker(albaDeviceButtonsPadTracker *tracker)
albaDeviceButtonsPadTracker * GetTracker()
Return pointer to the current input tracker.
void SetIgnoreTriggerEvents(int flag)
Enable/Disable trigger events processing.
void IgnoreTriggerEventsOff()
virtual void SetTrackerPoseMatrix(albaMatrix *pose)
Set/Get the current pose matrix.
albaTransform * m_TmpTransform
virtual int OnStartInteraction(albaEventInteraction *event)
reimplemented to manage interaction events from trackers
void TrackerSnapshot(albaMatrix *pose)
Stores the current m_TrackerPoseMatrix.
void HideAvatar()
Used to hide default tracker's avatar.
albaMatrix * m_StartTrackerPoseMatrix
albaAbstractTypeMacro(albaInteractor6DOF, albaInteractorGenericInterface)
albaMatrix * m_InverseTrackerPoseMatrix
virtual int StopInteraction(albaDeviceButtonsPadTracker *tracker, albaMatrix *pose=NULL)
Stop the interaction.
int GetIgnoreTriggerEvents()
void IgnoreTriggerEventsOn()
albaMatrix * GetTrackerPoseMatrix()
void UpdateDeltaTransform()
Update the delta transform, i.e.
albaMatrix * m_InversePoseMatrix
virtual int OnStopInteraction(albaEventInteraction *event)
reimplemented to manage interaction events from trackers
Abstract class for general purpose interactor.
void SetIgnoreTriggerEvents(bool flag)
Enable/Disable trigger events processing.
albaDevice * m_Device
Find the pocked VME at button down.
int m_IgnoreTriggerEvents
flag to ignore start/stop interaction
albaMatrix - Time stamped 4x4 Matrix.
This class simply stores a Box boundary (i.e.