iCub-main
Public Slots | Signals | Public Member Functions | Protected Slots | Protected Member Functions | Protected Attributes | List of all members
AnimationView Class Reference

#include <animationview.h>

+ Inheritance diagram for AnimationView:

Public Slots

void resetCamera ()
 
void timerTimeout ()
 

Signals

void backgroundClicked ()
 

Public Member Functions

 AnimationView (QWidget *parent)
 
 ~AnimationView ()
 
void clear ()
 
void init (yarp::os::ResourceFinder &config)
 
void startTimer (int msec)
 
void stopTimer ()
 
QStringList & partNames ()
 

Protected Slots

void draw ()
 

Protected Member Functions

virtual void paintGL ()
 
virtual void paintOverlayGL ()
 
virtual void initializeGL ()
 
virtual void mouseMoveEvent (QMouseEvent *event)
 
virtual void mousePressEvent (QMouseEvent *event)
 
virtual void mouseReleaseEvent (QMouseEvent *event)
 
virtual void mouseDoubleClickEvent (QMouseEvent *event)
 
virtual void wheelEvent (QWheelEvent *event)
 
virtual void keyPressEvent (QKeyEvent *event)
 
virtual void keyReleaseEvent (QKeyEvent *event)
 
virtual void resizeEvent (QResizeEvent *newSize)
 
void drawFloor ()
 
void setProjection ()
 
void setModelView ()
 
void clearSelected ()
 
void drawCircle (int axis, float radius, int width)
 

Protected Attributes

bool leftMouseButton
 
char modifier
 
bool m_bInitialized
 
QTimer mTimer
 
BVHpBVH
 
ObjectsManagermObjectsManager
 
SubtitlesManagermSubtitlesManager
 
QPoint clickPos
 
QPoint returnPos
 
Camera camera
 
double changeX
 
double changeY
 
double changeZ
 
int dragX
 
int dragY
 
int oldDragX
 
int oldDragY
 
int drawMode
 
bool xSelect
 
bool ySelect
 
bool zSelect
 

Detailed Description

Definition at line 52 of file animationview.h.

Constructor & Destructor Documentation

◆ AnimationView()

AnimationView::AnimationView ( QWidget *  parent)

Definition at line 43 of file animationview.cpp.

◆ ~AnimationView()

AnimationView::~AnimationView ( )

Definition at line 101 of file animationview.cpp.

Member Function Documentation

◆ backgroundClicked

void AnimationView::backgroundClicked ( )
signal

◆ clear()

void AnimationView::clear ( )

◆ clearSelected()

void AnimationView::clearSelected ( )
protected

◆ draw

void AnimationView::draw ( )
protectedslot

Definition at line 198 of file animationview.cpp.

◆ drawCircle()

void AnimationView::drawCircle ( int  axis,
float  radius,
int  width 
)
protected

◆ drawFloor()

void AnimationView::drawFloor ( )
protected

Definition at line 116 of file animationview.cpp.

◆ init()

void AnimationView::init ( yarp::os::ResourceFinder &  config)

Definition at line 74 of file animationview.cpp.

◆ initializeGL()

void AnimationView::initializeGL ( )
protectedvirtual

Definition at line 159 of file animationview.cpp.

◆ keyPressEvent()

void AnimationView::keyPressEvent ( QKeyEvent *  event)
protectedvirtual

Definition at line 326 of file animationview.cpp.

◆ keyReleaseEvent()

void AnimationView::keyReleaseEvent ( QKeyEvent *  event)
protectedvirtual

Definition at line 357 of file animationview.cpp.

◆ mouseDoubleClickEvent()

void AnimationView::mouseDoubleClickEvent ( QMouseEvent *  event)
protectedvirtual

Definition at line 316 of file animationview.cpp.

◆ mouseMoveEvent()

void AnimationView::mouseMoveEvent ( QMouseEvent *  event)
protectedvirtual

Definition at line 242 of file animationview.cpp.

◆ mousePressEvent()

void AnimationView::mousePressEvent ( QMouseEvent *  event)
protectedvirtual

Definition at line 283 of file animationview.cpp.

◆ mouseReleaseEvent()

void AnimationView::mouseReleaseEvent ( QMouseEvent *  event)
protectedvirtual

Definition at line 295 of file animationview.cpp.

◆ paintGL()

void AnimationView::paintGL ( )
protectedvirtual

Definition at line 149 of file animationview.cpp.

◆ paintOverlayGL()

void AnimationView::paintOverlayGL ( )
protectedvirtual

Definition at line 154 of file animationview.cpp.

◆ partNames()

QStringList& AnimationView::partNames ( )
inline

Definition at line 73 of file animationview.h.

◆ resetCamera

void AnimationView::resetCamera ( )
slot

Definition at line 417 of file animationview.cpp.

◆ resizeEvent()

void AnimationView::resizeEvent ( QResizeEvent *  newSize)
protectedvirtual

Definition at line 424 of file animationview.cpp.

◆ setModelView()

void AnimationView::setModelView ( )
protected

◆ setProjection()

void AnimationView::setProjection ( )
protected

Definition at line 144 of file animationview.cpp.

◆ startTimer()

void AnimationView::startTimer ( int  msec)
inline

Definition at line 64 of file animationview.h.

◆ stopTimer()

void AnimationView::stopTimer ( )
inline

Definition at line 68 of file animationview.h.

◆ timerTimeout

void AnimationView::timerTimeout ( )
inlineslot

Definition at line 80 of file animationview.h.

◆ wheelEvent()

void AnimationView::wheelEvent ( QWheelEvent *  event)
protectedvirtual

Definition at line 320 of file animationview.cpp.

Member Data Documentation

◆ camera

Camera AnimationView::camera
protected

Definition at line 115 of file animationview.h.

◆ changeX

double AnimationView::changeX
protected

Definition at line 116 of file animationview.h.

◆ changeY

double AnimationView::changeY
protected

Definition at line 116 of file animationview.h.

◆ changeZ

double AnimationView::changeZ
protected

Definition at line 116 of file animationview.h.

◆ clickPos

QPoint AnimationView::clickPos
protected

Definition at line 112 of file animationview.h.

◆ dragX

int AnimationView::dragX
protected

Definition at line 118 of file animationview.h.

◆ dragY

int AnimationView::dragY
protected

Definition at line 118 of file animationview.h.

◆ drawMode

int AnimationView::drawMode
protected

Definition at line 121 of file animationview.h.

◆ leftMouseButton

bool AnimationView::leftMouseButton
protected

Definition at line 102 of file animationview.h.

◆ m_bInitialized

bool AnimationView::m_bInitialized
protected

Definition at line 105 of file animationview.h.

◆ mObjectsManager

ObjectsManager* AnimationView::mObjectsManager
protected

Definition at line 109 of file animationview.h.

◆ modifier

char AnimationView::modifier
protected

Definition at line 103 of file animationview.h.

◆ mSubtitlesManager

SubtitlesManager* AnimationView::mSubtitlesManager
protected

Definition at line 110 of file animationview.h.

◆ mTimer

QTimer AnimationView::mTimer
protected

Definition at line 107 of file animationview.h.

◆ oldDragX

int AnimationView::oldDragX
protected

Definition at line 119 of file animationview.h.

◆ oldDragY

int AnimationView::oldDragY
protected

Definition at line 119 of file animationview.h.

◆ pBVH

BVH* AnimationView::pBVH
protected

Definition at line 108 of file animationview.h.

◆ returnPos

QPoint AnimationView::returnPos
protected

Definition at line 113 of file animationview.h.

◆ xSelect

bool AnimationView::xSelect
protected

Definition at line 122 of file animationview.h.

◆ ySelect

bool AnimationView::ySelect
protected

Definition at line 122 of file animationview.h.

◆ zSelect

bool AnimationView::zSelect
protected

Definition at line 122 of file animationview.h.


The documentation for this class was generated from the following files: