16 #ifndef QGSCAMERAPOSE_H
17 #define QGSCAMERAPOSE_H
71 void updateCamera( Qt3DRender::QCamera *camera )
SIP_SKIP;
74 QDomElement writeXml( QDomDocument &doc )
const;
76 void readXml(
const QDomElement &elem );
80 return mCenterPoint == other.mCenterPoint &&
81 mDistanceFromCenterPoint == other.mDistanceFromCenterPoint &&
82 mPitchAngle == other.mPitchAngle &&
83 mHeadingAngle == other.mHeadingAngle;
94 float mDistanceFromCenterPoint = 1000;
96 float mPitchAngle = 0;
98 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 setPitchAngle(float pitch)
Sets pitch angle in degrees.
void setCenterPoint(const QgsVector3D &point)
Sets center point (towards which point the camera is looking)
void setHeadingAngle(float heading)
Sets heading (yaw) angle in degrees.
void setDistanceFromCenterPoint(float distance)
Sets distance of the camera from the center point.
bool operator==(const QgsFeatureIterator &fi1, const QgsFeatureIterator &fi2)