6#include "GeoDataViewVolume.h"
8#include "GeoDataTypes.h"
13class GeoDataViewVolumePrivate
16 GeoDataViewVolumePrivate();
25GeoDataViewVolumePrivate::GeoDataViewVolumePrivate() :
35GeoDataViewVolume::GeoDataViewVolume() : d( new GeoDataViewVolumePrivate )
40GeoDataViewVolume::GeoDataViewVolume(
const Marble::GeoDataViewVolume &other ) :
41 GeoDataObject(), d( new GeoDataViewVolumePrivate( *other.d ) )
46GeoDataViewVolume &GeoDataViewVolume::operator=(
const GeoDataViewVolume &other )
48 GeoDataObject::operator=( other );
53bool GeoDataViewVolume::operator==(
const GeoDataViewVolume& other)
const
56 && d->m_leftFov == other.d->m_leftFov
57 && d->m_rightFov == other.d->m_rightFov
58 && d->m_topFov == other.d->m_topFov
59 && d->m_bottomFov == other.d->m_bottomFov
60 && d->m_near == other.d->m_near;
63bool GeoDataViewVolume::operator!=(
const GeoDataViewVolume& other)
const
68GeoDataViewVolume::~GeoDataViewVolume()
73const char *GeoDataViewVolume::nodeType()
const
75 return GeoDataTypes::GeoDataViewVolumeType;
78qreal GeoDataViewVolume::leftFov()
const
83void GeoDataViewVolume::setLeftFov(qreal leftFov)
85 d->m_leftFov = leftFov;
88qreal GeoDataViewVolume::rightFov()
const
93void GeoDataViewVolume::setRightFov(qreal rightFov)
95 d->m_rightFov = rightFov;
98qreal GeoDataViewVolume::bottomFov()
const
100 return d->m_bottomFov;
103void GeoDataViewVolume::setBottomFov(qreal bottomFov)
105 d->m_bottomFov = bottomFov;
108qreal GeoDataViewVolume::topFov()
const
113void GeoDataViewVolume::setTopFov(qreal topFov)
115 d->m_topFov = topFov;
118qreal GeoDataViewVolume::near()
const
123void GeoDataViewVolume::setNear(qreal near)
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)