Go to the documentation of this file.
11 #ifndef CAMERAPATH_HPP
12 #define CAMERAPATH_HPP
46 Action(
float t, QObject* parent = 0) : QObject(parent),
time(t) {}
56 const mgx::Point3f& d,
float z,
float t, QObject* parent = 0)
void addRotation(const mgx::Point3f &axis, double angle, float time=2.0)
qglviewer::Quaternion pq2
virtual bool interpolateFrame(MGXCamera *camera, float t)
virtual bool interpolateFrame(MGXCamera *camera, float t)=0
qglviewer::Quaternion oq1
virtual bool interpolateFrame(MGXCamera *, float)
ToPosition(const mgx::Point3f &c, const mgx::Point3f &p, const mgx::Point3f &d, float z, float t, QObject *parent=0)
Action(float t, QObject *parent=0)
virtual bool startInterpolation(MGXCamera *camera)
CameraPath(QObject *parent)
virtual bool startInterpolation(MGXCamera *camera)=0
Rotation(const mgx::Point3f &c, const mgx::Point3f &ax, float an, float t, QObject *parent=0)
qglviewer::Quaternion pq1
QList< QPointer< Action > > frames
qglviewer::Quaternion oq2
void animatePath(MGXCamera *camera, float dt)
virtual bool startInterpolation(MGXCamera *)
void addFrame(MGXCamera *camera, float time=1.0)