7#include "GeoDataPhotoOverlay.h"
8#include "GeoDataPhotoOverlay_p.h"
12GeoDataPhotoOverlay::GeoDataPhotoOverlay()
13 : GeoDataOverlay(new GeoDataPhotoOverlayPrivate)
18GeoDataPhotoOverlay::GeoDataPhotoOverlay(
const GeoDataPhotoOverlay &other)
19 : GeoDataOverlay(other, new GeoDataPhotoOverlayPrivate(*other.d_func()))
24GeoDataPhotoOverlay::~GeoDataPhotoOverlay()
28GeoDataPhotoOverlay &GeoDataPhotoOverlay::operator=(
const GeoDataPhotoOverlay &other )
31 Q_D(GeoDataPhotoOverlay);
38bool GeoDataPhotoOverlay::operator==(
const GeoDataPhotoOverlay& other)
const
40 Q_D(
const GeoDataPhotoOverlay);
41 const GeoDataPhotoOverlayPrivate*
const other_d = other.d_func();
44 d->m_rotation == other_d->m_rotation &&
45 d->m_shape == other_d->m_shape &&
46 d->m_imagePyramid == other_d->m_imagePyramid &&
47 d->m_point == other_d->m_point &&
48 d->m_viewVolume == other_d->m_viewVolume;
51bool GeoDataPhotoOverlay::operator!=(
const GeoDataPhotoOverlay& other)
const
56GeoDataFeature * GeoDataPhotoOverlay::clone()
const
58 return new GeoDataPhotoOverlay(*
this);
61const char *GeoDataPhotoOverlay::nodeType()
const
63 Q_D(
const GeoDataPhotoOverlay);
64 return GeoDataTypes::GeoDataPhotoOverlayType;
67qreal GeoDataPhotoOverlay::rotation()
const
69 Q_D(
const GeoDataPhotoOverlay);
73void GeoDataPhotoOverlay::setRotation(
const qreal rotation )
75 Q_D(GeoDataPhotoOverlay);
76 d->m_rotation = rotation;
79GeoDataViewVolume& GeoDataPhotoOverlay::viewVolume()
81 Q_D(GeoDataPhotoOverlay);
82 return d->m_viewVolume;
85const GeoDataViewVolume& GeoDataPhotoOverlay::viewVolume()
const
87 Q_D(
const GeoDataPhotoOverlay);
88 return d->m_viewVolume;
91void GeoDataPhotoOverlay::setViewVolume(
const GeoDataViewVolume &viewVolume )
93 Q_D(GeoDataPhotoOverlay);
94 d->m_viewVolume = viewVolume;
97GeoDataImagePyramid& GeoDataPhotoOverlay::imagePyramid()
99 Q_D(GeoDataPhotoOverlay);
100 return d->m_imagePyramid;
103const GeoDataImagePyramid& GeoDataPhotoOverlay::imagePyramid()
const
105 Q_D(
const GeoDataPhotoOverlay);
106 return d->m_imagePyramid;
109void GeoDataPhotoOverlay::setImagePyramid(
const GeoDataImagePyramid &imagePyramid )
111 Q_D(GeoDataPhotoOverlay);
112 d->m_imagePyramid = imagePyramid;
115GeoDataPoint& GeoDataPhotoOverlay::point()
117 Q_D(GeoDataPhotoOverlay);
121const GeoDataPoint& GeoDataPhotoOverlay::point()
const
123 Q_D(
const GeoDataPhotoOverlay);
127void GeoDataPhotoOverlay::setPoint(
const GeoDataPoint &point )
129 Q_D(GeoDataPhotoOverlay);
133GeoDataPhotoOverlay::Shape GeoDataPhotoOverlay::shape()
const
135 Q_D(
const GeoDataPhotoOverlay);
139void GeoDataPhotoOverlay::setShape(
Shape shape )
141 Q_D(GeoDataPhotoOverlay);
bool equals(const QVariant &lhs, const QVariant &rhs)
Binds a QML item to a specific geodetic location in screen coordinates.
bool operator==(const QGraphicsApiFilter &reference, const QGraphicsApiFilter &sample)