File indexing completed on 2024-05-12 03:50:19

0001 // SPDX-License-Identifier: LGPL-2.1-or-later
0002 //
0003 // SPDX-FileCopyrightText: 2013 Mohammed Nafees <nafees.technocool@gmail.com>
0004 //
0005 
0006 #ifndef GEODATAVIEWVOLUME_H
0007 #define GEODATAVIEWVOLUME_H
0008 
0009 #include "GeoDataObject.h"
0010 #include "geodata_export.h"
0011 
0012 namespace Marble
0013 {
0014 
0015 class GeoDataViewVolumePrivate;
0016 
0017 /**
0018  */
0019 class GEODATA_EXPORT GeoDataViewVolume : public GeoDataObject
0020 {
0021 public:
0022     GeoDataViewVolume();
0023 
0024     GeoDataViewVolume( const GeoDataViewVolume &other );
0025 
0026     GeoDataViewVolume& operator=( const GeoDataViewVolume &other );
0027     bool operator==( const GeoDataViewVolume &other ) const;
0028     bool operator!=( const GeoDataViewVolume &other ) const;
0029 
0030     ~GeoDataViewVolume() override;
0031 
0032     /** Provides type information for downcasting a GeoNode */
0033     const char* nodeType() const override;
0034 
0035     qreal leftFov() const;
0036     void setLeftFov(qreal leftFov);
0037 
0038     qreal rightFov() const;
0039     void setRightFov(qreal rightFov);
0040 
0041     qreal bottomFov() const;
0042     void setBottomFov(qreal bottomFov);
0043 
0044     qreal topFov() const;
0045     void setTopFov(qreal topFov);
0046 
0047     qreal near() const;
0048     void setNear(qreal near);
0049 
0050 private:
0051     GeoDataViewVolumePrivate* const d;
0052 };
0053 
0054 }
0055 
0056 #endif