42 #ifndef QGRAPHICSTRANSFORM_H 43 #define QGRAPHICSTRANSFORM_H 45 #include <QtCore/QObject> 46 #include <QtGui/QVector3D> 47 #include <QtGui/QTransform> 48 #include <QtGui/QMatrix4x4> 50 #ifndef QT_NO_GRAPHICSVIEW 67 virtual void applyTo(
QMatrix4x4 *matrix)
const = 0;
99 void setXScale(
qreal);
101 qreal yScale()
const;
102 void setYScale(
qreal);
104 qreal zScale()
const;
105 void setZScale(
qreal);
110 void originChanged();
111 void xScaleChanged();
112 void yScaleChanged();
113 void zScaleChanged();
137 void setAngle(
qreal);
146 void originChanged();
157 #endif //QT_NO_GRAPHICSVIEW 159 #endif // QFXTRANSFORM_H The QVector3D class represents a vector or vertex in 3D space.
#define QT_END_NAMESPACE
This macro expands to.
The QGraphicsItem class is the base class for all graphical items in a QGraphicsScene.
The QObject class is the base class of all Qt objects.
The QGraphicsScale class provides a scale transformation.
QVector3D axis
a rotation axis, specified by a vector in 3D space.
#define QT_BEGIN_NAMESPACE
This macro expands to.
The QMatrix4x4 class represents a 4x4 transformation matrix in 3D space.
qreal xScale
the horizontal scale factor.
qreal zScale
the depth scale factor.
qreal angle(const QPointF &p1, const QPointF &p2)
qreal yScale
the vertical scale factor.
qreal angle
the angle for clockwise rotation, in degrees.
QVector3D origin
the origin of the scale in 3D space.
The QGraphicsRotation class provides a rotation transformation around a given axis.
#define Q_DECLARE_PRIVATE(Class)
QVector3D origin
the origin of the rotation in 3D space.