All Classes Namespaces Functions Variables Enumerations Properties Pages
Public Member Functions | Private Attributes | List of all members
Camera Class Reference
+ Inheritance diagram for Camera:

Public Member Functions

 Camera (QPointF translation, qreal rotation, qreal scaling)
 Camera (QPointF translation, qreal rotation, qreal scaling, CameraEasingType type)
 Camera (const Camera &)
Cameraclone () const override
QTransform getView ()
void resetTransform ()
void updateViewTransform ()
void assign (const Camera &rhs)
void translate (qreal dx, qreal dy)
void translate (const QPointF)
QPointF translation () const
void rotate (qreal degree)
qreal rotation () const
void scale (qreal scaleValue)
qreal scaling () const
bool compare (const Camera &rhs) const
void setEasingType (CameraEasingType type)
CameraEasingType getEasingType () const
void setPathControlPoint (QPointF point)
QPointF getPathControlPoint () const
void setPathControlPointMoved (bool pathMoved)
bool pathControlPointMoved () const
- Public Member Functions inherited from KeyFrame
 KeyFrame (const KeyFrame &k2)
KeyFrameoperator= (const KeyFrame &k2)
int pos () const
void setPos (int position)
int length () const
void setLength (int len)
void modification ()
void setModified (bool b)
bool isModified () const
void setSelected (bool b)
bool isSelected () const
QString fileName () const
void setFileName (QString strFileName)
void addEventListener (KeyFrameEventListener *)
void removeEventListner (KeyFrameEventListener *)
virtual void loadFile ()
virtual void unloadFile ()
virtual bool isLoaded () const
virtual quint64 memoryUsage ()

Private Attributes

QTransform mView
QPointF mTranslate
qreal mRotate = 0.
qreal mScale = 1.
bool mNeedUpdateView = true
CameraEasingType mEasingType = CameraEasingType::LINEAR
QPointF mPathControlPoint = QPointF()
bool mPathControlPointMoved = false

Detailed Description

Definition at line 24 of file camera.h.

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