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;
 
   76    void updateCameraGlobe( Qt3DRender::QCamera *camera, 
double lat, 
double lon ) 
SIP_SKIP;
 
   79    QDomElement writeXml( QDomDocument &doc ) 
const;
 
   81    void readXml( 
const QDomElement &elem );
 
   86      return mCenterPoint == other.mCenterPoint && mDistanceFromCenterPoint == other.mDistanceFromCenterPoint && mPitchAngle == other.mPitchAngle && mHeadingAngle == other.mHeadingAngle;
 
 
   97    float mDistanceFromCenterPoint = 1000;
 
  103#if QT_VERSION < QT_VERSION_CHECK( 6, 0, 0 ) 
  104    float mPitchAngle = 0.2f;
 
  106    float mPitchAngle = 0.0f;
 
  110    float mHeadingAngle = 0;
 
 
Encapsulates camera pose in a 3D scene.
 
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.
 
A 3D vector (similar to QVector3D) with the difference that it uses double precision instead of singl...
 
bool operator==(const QgsFeatureIterator &fi1, const QgsFeatureIterator &fi2)