Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

QCameraPathPlayer Class Reference

#include <QCameraPathPlayer.h>

Inheritance diagram for QCameraPathPlayer::

QDialog QWidget QObject QPaintDevice Qt List of all members.

Public Slots

void sltLoad ()
void sltStop ()
void sltPlayPause ()
void sltBegin ()
void sltBwd ()
void sltFwd ()
void sltEnd ()
void sltSliderChanged (int)
void sltFpsChanged (int)
void sltTimer ()
void sltEnableLooping (bool fFlag)
void sltSetCameraPath (const CList< CCamera > &cCameraPath)

Signals

void sigRedraw ()
void sigPositionChanged (const QString &qNewPosition)
void sigAnimationStopped ()
void sigAnimationStarted ()

Public Methods

 QCameraPathPlayer (QGLViewer *pViewer, QWidget *parent=NULL, const char *name=NULL, bool modal=FALSE, WFlags fl=0)
 ~QCameraPathPlayer ()
void setSlider (int i)
CList< CCamera > & getCameraPath ()

Protected Methods

void dragEnterEvent (QDragEnterEvent *)
void dragLeaveEvent (QDragLeaveEvent *)
void dropEvent (QDropEvent *)

Private Attributes

QPushButtonm_pLoopButton
QPushButtonm_pPlayPauseButton
QLabelm_pStatusLabel
QComboBoxm_pFpsCombo
QSliderm_pFrameSlider
QCameraPathDropSitem_pDropSite
QTimerm_pTimer
int m_nStatus
int m_nFps
QGLViewerm_pViewer
CList< CCameram_CameraList

Detailed Description

This class provides a GUI tool for playing camera paths just like using your DVD player.

Author:
Thomas Woerner, Michael Meissner, Markus Janich
[tw] 2001/04/29 initial version


Constructor & Destructor Documentation

QCameraPathPlayer::QCameraPathPlayer QGLViewer *   pViewer,
QWidget *   parent = NULL,
const char *   name = NULL,
bool   modal = FALSE,
WFlags   fl = 0
 

QCameraPathPlayer::~QCameraPathPlayer   [inline]
 


Member Function Documentation

void QCameraPathPlayer::dragEnterEvent QDragEnterEvent *   event [protected]
 

Method to handle drag 'n drop.

void QCameraPathPlayer::dragLeaveEvent QDragLeaveEvent *   [inline, protected]
 

Method to handle drag 'n drop.

void QCameraPathPlayer::dropEvent QDropEvent *   event [protected]
 

Method to handle drag 'n drop.

CList<CCamera>& QCameraPathPlayer::getCameraPath   [inline]
 

Returns the interpolated camera path.

NOTE: The list returned is a full duplicate.
So if you free the list make a *clear(1)-call first !

void QCameraPathPlayer::setSlider int   i [inline]
 

Set the slider value.

void QCameraPathPlayer::sigAnimationStarted   [signal]
 

This signal is emitted if the animation has been started.

void QCameraPathPlayer::sigAnimationStopped   [signal]
 

This signal is emitted if the animation has been stopped.

void QCameraPathPlayer::sigPositionChanged const QString &   qNewPosition [signal]
 

This signal is emitted whenever the current position has changed. The string with the current position and the number of all frames is passed with the parameter.

void QCameraPathPlayer::sigRedraw   [signal]
 

void QCameraPathPlayer::sltBegin   [slot]
 

void QCameraPathPlayer::sltBwd   [slot]
 

void QCameraPathPlayer::sltEnableLooping bool   fFlag [inline, slot]
 

Enables looping if 'fFlag' is true and disables it if 'fFlag' is false.

void QCameraPathPlayer::sltEnd   [slot]
 

void QCameraPathPlayer::sltFpsChanged int   i [slot]
 

void QCameraPathPlayer::sltFwd   [slot]
 

void QCameraPathPlayer::sltLoad   [slot]
 

void QCameraPathPlayer::sltPlayPause   [slot]
 

void QCameraPathPlayer::sltSetCameraPath const CList< CCamera > &   cCameraPath [slot]
 

Sets the Camerapath to play.

void QCameraPathPlayer::sltSliderChanged int   i [slot]
 

void QCameraPathPlayer::sltStop   [slot]
 

void QCameraPathPlayer::sltTimer   [slot]
 


Member Data Documentation

CList<CCamera> QCameraPathPlayer::m_CameraList [private]
 

int QCameraPathPlayer::m_nFps [private]
 

int QCameraPathPlayer::m_nStatus [private]
 

QCameraPathDropSite* QCameraPathPlayer::m_pDropSite [private]
 

QComboBox* QCameraPathPlayer::m_pFpsCombo [private]
 

QSlider* QCameraPathPlayer::m_pFrameSlider [private]
 

QPushButton* QCameraPathPlayer::m_pLoopButton [private]
 

QPushButton* QCameraPathPlayer::m_pPlayPauseButton [private]
 

QLabel* QCameraPathPlayer::m_pStatusLabel [private]
 

QTimer* QCameraPathPlayer::m_pTimer [private]
 

QGLViewer* QCameraPathPlayer::m_pViewer [private]
 


The documentation for this class was generated from the following files:
Generated at Thu Oct 4 17:17:31 2001 for QGLViewer by doxygen1.2.10 written by Dimitri van Heesch, © 1997-2001