16#ifndef QGSCAMERAPOSE_H 
   17#define QGSCAMERAPOSE_H 
   58    void setDistanceFromCenterPoint( 
float distance );
 
   63    void setPitchAngle( 
float pitch );
 
   71    void updateCamera( Qt3DRender::QCamera *camera ) 
SIP_SKIP;
 
   74    QDomElement writeXml( QDomDocument &doc ) 
const;
 
   76    void readXml( 
const QDomElement &elem );
 
   81      return mCenterPoint == other.mCenterPoint &&
 
   82             mDistanceFromCenterPoint == other.mDistanceFromCenterPoint &&
 
   83             mPitchAngle == other.mPitchAngle &&
 
   84             mHeadingAngle == other.mHeadingAngle;
 
   95    float mDistanceFromCenterPoint = 1000;
 
  101#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0) 
  102    float mPitchAngle = 0.2f;
 
  104    float mPitchAngle = 0.0f;
 
  108    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.
 
bool operator==(const QgsFeatureIterator &fi1, const QgsFeatureIterator &fi2)