ALBA
albaAvatar3DCone.h
Go to the documentation of this file.
1/*=========================================================================
2
3 Program: ALBA (Agile Library for Biomedical Applications)
4 Module: albaAvatar3DCone
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 __albaAvatar3DCone_h
18#define __albaAvatar3DCone_h
19
20#include "albaAvatar3D.h"
21
22class albaMatrix;
23class vtkConeSource;
24class vtkAxes;
25class vtkPolyDataMapper;
26class vtkActor;
27class vtkAssembly;
28
29
34class ALBA_EXPORT albaAvatar3DCone : public albaAvatar3D
35{
36public:
38
40 virtual int Pick(albaMatrix &tracker_pose);
41
42protected:
45
46 vtkConeSource *m_ConeCursor;
47 vtkAxes *m_CursorAxes;
48 vtkPolyDataMapper *m_CursorMapper;
49 vtkActor *m_CursorActor;
50 vtkPolyDataMapper *m_CursorAxesMapper;
52
53private:
54 albaAvatar3DCone(const albaAvatar3DCone&); // Not implemented.
55 void operator=(const albaAvatar3DCone&); // Not implemented.
56};
57
58#endif
Create an avatar with a 3D Cone Simple implementation of avatar being represented in the scene as a C...
albaTypeMacro(albaAvatar3DCone, albaAvatar3D)
vtkActor * m_CursorAxesActor
vtkConeSource * m_ConeCursor
vtkPolyDataMapper * m_CursorMapper
vtkAxes * m_CursorAxes
vtkActor * m_CursorActor
vtkPolyDataMapper * m_CursorAxesMapper
virtual int Pick(albaMatrix &tracker_pose)
pick in the scene with this avatar, give the avatar pose
virtual ~albaAvatar3DCone()
Avatars are entities moving in the virtual world according to user's movements, and thus representing...
Definition: albaAvatar3D.h:57
albaMatrix - Time stamped 4x4 Matrix.
Definition: albaMatrix.h:44