6#include "GeoDataImagePyramid.h"
8#include "GeoDataTypes.h"
13class GeoDataImagePyramidPrivate
16 GeoDataImagePyramidPrivate();
21 GeoDataImagePyramid::GridOrigin m_gridOrigin;
24GeoDataImagePyramidPrivate::GeoDataImagePyramidPrivate()
33GeoDataImagePyramid::GeoDataImagePyramid()
34 : d(new GeoDataImagePyramidPrivate)
39GeoDataImagePyramid::GeoDataImagePyramid(
const Marble::GeoDataImagePyramid &other)
41 , d(new GeoDataImagePyramidPrivate(*other.d))
46GeoDataImagePyramid &GeoDataImagePyramid::operator=(
const GeoDataImagePyramid &other)
48 GeoDataObject::operator=(other);
53bool GeoDataImagePyramid::operator==(
const GeoDataImagePyramid &other)
const
55 return equals(other) && d->m_tileSize == other.d->m_tileSize && d->m_maxWidth == other.d->m_maxWidth && d->m_maxHeight == other.d->m_maxHeight
56 && d->m_gridOrigin == other.d->m_gridOrigin;
59bool GeoDataImagePyramid::operator!=(
const GeoDataImagePyramid &other)
const
64GeoDataImagePyramid::~GeoDataImagePyramid()
69const char *GeoDataImagePyramid::nodeType()
const
71 return GeoDataTypes::GeoDataImagePyramidType;
74int GeoDataImagePyramid::tileSize()
const
79void GeoDataImagePyramid::setTileSize(
int tileSize)
81 d->m_tileSize = tileSize;
84int GeoDataImagePyramid::maxWidth()
const
89void GeoDataImagePyramid::setMaxWidth(
int maxWidth)
91 d->m_maxWidth = maxWidth;
94int GeoDataImagePyramid::maxHeight()
const
96 return d->m_maxHeight;
99void GeoDataImagePyramid::setMaxHeight(
int maxHeight)
101 d->m_maxHeight = maxHeight;
104GeoDataImagePyramid::GridOrigin GeoDataImagePyramid::gridOrigin()
const
106 return d->m_gridOrigin;
109void GeoDataImagePyramid::setGridOrigin(GridOrigin gridOrigin)
111 d->m_gridOrigin = gridOrigin;
bool equals(const QVariant &lhs, const QVariant &rhs)
bool operator==(const StyleDelim &l, const StyleDelim &r)
Binds a QML item to a specific geodetic location in screen coordinates.