6#include "GeoDataViewVolume.h"
8#include "GeoDataTypes.h"
13class GeoDataViewVolumePrivate
16 GeoDataViewVolumePrivate();
25GeoDataViewVolumePrivate::GeoDataViewVolumePrivate()
35GeoDataViewVolume::GeoDataViewVolume()
36 : d(new GeoDataViewVolumePrivate)
41GeoDataViewVolume::GeoDataViewVolume(
const Marble::GeoDataViewVolume &other)
43 , d(new GeoDataViewVolumePrivate(*other.d))
48GeoDataViewVolume &GeoDataViewVolume::operator=(
const GeoDataViewVolume &other)
50 GeoDataObject::operator=(other);
55bool GeoDataViewVolume::operator==(
const GeoDataViewVolume &other)
const
57 return equals(other) && d->m_leftFov == other.d->m_leftFov && d->m_rightFov == other.d->m_rightFov && d->m_topFov == other.d->m_topFov
58 && d->m_bottomFov == other.d->m_bottomFov && d->m_near == other.d->m_near;
61bool GeoDataViewVolume::operator!=(
const GeoDataViewVolume &other)
const
66GeoDataViewVolume::~GeoDataViewVolume()
71const char *GeoDataViewVolume::nodeType()
const
73 return GeoDataTypes::GeoDataViewVolumeType;
76qreal GeoDataViewVolume::leftFov()
const
81void GeoDataViewVolume::setLeftFov(qreal leftFov)
83 d->m_leftFov = leftFov;
86qreal GeoDataViewVolume::rightFov()
const
91void GeoDataViewVolume::setRightFov(qreal rightFov)
93 d->m_rightFov = rightFov;
96qreal GeoDataViewVolume::bottomFov()
const
98 return d->m_bottomFov;
101void GeoDataViewVolume::setBottomFov(qreal bottomFov)
103 d->m_bottomFov = bottomFov;
106qreal GeoDataViewVolume::topFov()
const
111void GeoDataViewVolume::setTopFov(qreal topFov)
113 d->m_topFov = topFov;
116qreal GeoDataViewVolume::near()
const
121void GeoDataViewVolume::setNear(qreal near)
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.