ALBA
albaAvatar2D.h
Go to the documentation of this file.
1/*=========================================================================
2
3 Program: ALBA (Agile Library for Biomedical Applications)
4 Module: albaAvatar2D
5 Authors: Marco Petrone
6
7 Copyright (c) BIC
8 All rights reserved. See Copyright.txt or
9
10
11 This software is distributed WITHOUT ANY WARRANTY; without even
12 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
13 PURPOSE. See the above copyright notice for more information.
14
15=========================================================================*/
16
17#ifndef __albaAvatar2D_h
18#define __albaAvatar2D_h
19
20#include "albaInteractor.h"
21
22//----------------------------------------------------------------------------
23// forward declarations :
24//----------------------------------------------------------------------------
26
32class ALBA_EXPORT albaAvatar2D : public albaInteractor
33{
34public:
36
38 virtual void OnEvent(albaEventBase *event);
39
42
45
46protected:
48 virtual ~albaAvatar2D();
49
50private:
51 albaAvatar2D(const albaAvatar2D&) {} // Not implemented.
52 void operator=(const albaAvatar2D&) {} // Not implemented.
53
56 friend class albaAvatar2DTest;
57
58};
59
60#endif
Avatars are entities moving in the virtual world according to user's movements, and thus representing...
Definition: albaAvatar2D.h:33
virtual ~albaAvatar2D()
virtual void OnEvent(albaEventBase *event)
Process events coming from tracker.
void SetMouse(albaDeviceButtonsPadMouse *mouse)
set the mouse to be used for this avatar2D
albaDeviceButtonsPadMouse * GetMouse()
return the Mouse device associated to this avatar
albaTypeMacro(albaAvatar2D, albaInteractor)
Implementation of the message object for the Subject/Observer design pattern.
Definition: albaEventBase.h:49
Abstract class for ALBA interactors This class provides base interface and features of ALBA continuou...