16#ifndef QGSCAMERAPOSE_H
17#define QGSCAMERAPOSE_H
57 void setDistanceFromCenterPoint(
float distance );
62 void setPitchAngle(
float pitch );
70 void updateCamera( Qt3DRender::QCamera *camera )
SIP_SKIP;
73 QDomElement writeXml( QDomDocument &doc )
const;
75 void readXml(
const QDomElement &elem );
80 return mCenterPoint == other.mCenterPoint && mDistanceFromCenterPoint == other.mDistanceFromCenterPoint && mPitchAngle == other.mPitchAngle && mHeadingAngle == other.mHeadingAngle;
91 float mDistanceFromCenterPoint = 1000;
97#if QT_VERSION < QT_VERSION_CHECK( 6, 0, 0 )
98 float mPitchAngle = 0.2f;
100 float mPitchAngle = 0.0f;
104 float mHeadingAngle = 0;
float headingAngle() const
Returns heading (yaw) angle in degrees.
bool operator==(const QgsCameraPose &other) const
QgsVector3D centerPoint() const
Returns center point (towards which point the camera is looking)
float pitchAngle() const
Returns pitch angle in degrees.
bool operator!=(const QgsCameraPose &other) const
float distanceFromCenterPoint() const
Returns distance of the camera from the center point.
void setHeadingAngle(float heading)
Sets heading (yaw) angle in degrees.
Class for storage of 3D vectors similar to QVector3D, with the difference that it uses double precisi...
bool operator==(const QgsFeatureIterator &fi1, const QgsFeatureIterator &fi2)