18 #ifndef ANIMATIONVIEW_H
19 #define ANIMATIONVIEW_H
21 #include <QtOpenGL/qgl.h>
35 #define ANIMATION_INCREMENT 100
37 #define OBJECT_START 8000
39 #define DRAG_HANDLE_START OBJECT_START+1000
40 #define DRAG_HANDLE_X DRAG_HANDLE_START
41 #define DRAG_HANDLE_Y DRAG_HANDLE_START+1
42 #define DRAG_HANDLE_Z DRAG_HANDLE_START+2
43 #define SCALE_HANDLE_X DRAG_HANDLE_START+3
44 #define SCALE_HANDLE_Y DRAG_HANDLE_START+4
45 #define SCALE_HANDLE_Z DRAG_HANDLE_START+5
46 #define ROTATE_HANDLE_X DRAG_HANDLE_START+6
47 #define ROTATE_HANDLE_Y DRAG_HANDLE_START+7
48 #define ROTATE_HANDLE_Z DRAG_HANDLE_START+8
62 void init(yarp::os::ResourceFinder& config);
virtual void keyReleaseEvent(QKeyEvent *event)
QStringList & partNames()
SubtitlesManager * mSubtitlesManager
virtual void keyPressEvent(QKeyEvent *event)
virtual void mouseDoubleClickEvent(QMouseEvent *event)
AnimationView(QWidget *parent)
virtual void wheelEvent(QWheelEvent *event)
virtual void mouseMoveEvent(QMouseEvent *event)
virtual void mousePressEvent(QMouseEvent *event)
void startTimer(int msec)
virtual void initializeGL()
void drawCircle(int axis, float radius, int width)
ObjectsManager * mObjectsManager
virtual void paintOverlayGL()
virtual void mouseReleaseEvent(QMouseEvent *event)
virtual void resizeEvent(QResizeEvent *newSize)
void init(yarp::os::ResourceFinder &config)