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

QCameraInterpolationTool Class Reference

#include <QCameraInterpolationTool.h>

Inheritance diagram for QCameraInterpolationTool:

QSceneTreeDrawable QSceneTreeNode GLDrawable CTreeNode List of all members.

Public Slots

void sltKeyLoad ()
void sltKeySave ()
void sltSave ()
void sltShapeSave ()
void sltInterpolate ()
void sltUndo ()
void sltShowOptions ()
void sltArrowSize (double)
void sltFrustumSize (double)
void sltSetCameraPath (const CList< CCamera > &list)
void sltSetCameraKeyPath (const CList< CCameraKeyPathPoint > &path)

Signals

void sigRedraw ()
void sigCameraPathChanged (const CList< CCamera > &cCameraPath)

Public Member Functions

 QCameraInterpolationTool (QGLViewer *pQGLViewer, QWidget *parent=NULL, const char *name=NULL, bool modal=FALSE, WFlags fl=0)
 ~QCameraInterpolationTool ()
void updateBoundingBox ()
virtual void draw ()
CList< CCamera > & getCameraPath ()

Protected Member Functions

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

Private Attributes

QComboBox * m_pAlgoCombo
QComboBox * m_pPathCombo
QLineEdit * m_pKeysLine
QLineEdit * m_pFramesLine
QPushButton * m_pInterpolateButton
QPushButton * m_pUndoButton
QCameraKeyPathDropSitem_pKeyDropSite
QCameraPathDropSitem_pDropSite
QIconOptionsm_pOptions
float m_rfIconSize
float m_rfFrustumSize
GLuint m_glPathDispList
GLuint m_glArrowDispList
QGLViewerm_pQGLViewer
CList< CCameraKeyPathPointm_KeyPathList
CList< CCameraKeyPathPointm_ShapePathList
CList< CCameram_CameraList

Detailed Description

This class provides a GUI to create camera paths.

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


Constructor & Destructor Documentation

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

Constructs new tool (GUI).

QCameraInterpolationTool::~QCameraInterpolationTool   [inline]
 

Destructs (default).


Member Function Documentation

void QCameraInterpolationTool::dragEnterEvent QDragEnterEvent *    [protected]
 

Method to handle drag 'n drop.

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

Method to handle drag 'n drop.

void QCameraInterpolationTool::draw   [virtual]
 

Draws the camera path into the current OpenGL context.

Implements GLDrawable.

void QCameraInterpolationTool::dropEvent QDropEvent *    [protected]
 

Method to handle drag 'n drop.

CList<CCamera>& QCameraInterpolationTool::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 QCameraInterpolationTool::makeArrowDispList   [protected]
 

Creates a display list for a pointer.

void QCameraInterpolationTool::makePathDispList   [protected]
 

Creates a display list for the camera path.

void QCameraInterpolationTool::sigCameraPathChanged const CList< CCamera > &    cCameraPath [signal]
 

This signal is emitted whenever the CameraPath has changed. The new path is passed with the argument.

void QCameraInterpolationTool::sigRedraw   [signal]
 

Signal redraw.

void QCameraInterpolationTool::sltArrowSize double    [slot]
 

Slot for arrow size.

void QCameraInterpolationTool::sltFrustumSize double    [slot]
 

Slot for frustum size.

void QCameraInterpolationTool::sltInterpolate   [slot]
 

Slot for interpolate.

void QCameraInterpolationTool::sltKeyLoad   [slot]
 

Slot for load key path.

void QCameraInterpolationTool::sltKeySave   [slot]
 

Slot for save key path.

void QCameraInterpolationTool::sltSave   [slot]
 

Slot for save path.

void QCameraInterpolationTool::sltSetCameraKeyPath const CList< CCameraKeyPathPoint > &    path [slot]
 

Sets the camera key path.

void QCameraInterpolationTool::sltSetCameraPath const CList< CCamera > &    list [slot]
 

Sets the camera path.

void QCameraInterpolationTool::sltShapeSave   [slot]
 

Slot for save path as key path.

void QCameraInterpolationTool::sltShowOptions   [slot]
 

Slot for show option dialog.

void QCameraInterpolationTool::sltUndo   [slot]
 

Slot for undo.

void QCameraInterpolationTool::updateBoundingBox  
 

Updates the bounding box.


Member Data Documentation

CList<CCamera> QCameraInterpolationTool::m_CameraList [private]
 

GLuint QCameraInterpolationTool::m_glArrowDispList [private]
 

GLuint QCameraInterpolationTool::m_glPathDispList [private]
 

CList<CCameraKeyPathPoint> QCameraInterpolationTool::m_KeyPathList [private]
 

QComboBox* QCameraInterpolationTool::m_pAlgoCombo [private]
 

QCameraPathDropSite* QCameraInterpolationTool::m_pDropSite [private]
 

QLineEdit* QCameraInterpolationTool::m_pFramesLine [private]
 

QPushButton* QCameraInterpolationTool::m_pInterpolateButton [private]
 

QCameraKeyPathDropSite* QCameraInterpolationTool::m_pKeyDropSite [private]
 

QLineEdit* QCameraInterpolationTool::m_pKeysLine [private]
 

QIconOptions* QCameraInterpolationTool::m_pOptions [private]
 

QComboBox* QCameraInterpolationTool::m_pPathCombo [private]
 

QGLViewer* QCameraInterpolationTool::m_pQGLViewer [private]
 

QPushButton* QCameraInterpolationTool::m_pUndoButton [private]
 

float QCameraInterpolationTool::m_rfFrustumSize [private]
 

float QCameraInterpolationTool::m_rfIconSize [private]
 

CList<CCameraKeyPathPoint> QCameraInterpolationTool::m_ShapePathList [private]
 


The documentation for this class was generated from the following files:
Generated on Wed Mar 5 18:23:26 2003 for QGLViewer by doxygen1.3-rc3