Marble

GeoDataViewVolume.h
1 // SPDX-License-Identifier: LGPL-2.1-or-later
2 //
3 // SPDX-FileCopyrightText: 2013 Mohammed Nafees <[email protected]>
4 //
5 
6 #ifndef GEODATAVIEWVOLUME_H
7 #define GEODATAVIEWVOLUME_H
8 
9 #include "GeoDataObject.h"
10 #include "geodata_export.h"
11 
12 namespace Marble
13 {
14 
15 class GeoDataViewVolumePrivate;
16 
17 /**
18  */
19 class GEODATA_EXPORT GeoDataViewVolume : public GeoDataObject
20 {
21 public:
22  GeoDataViewVolume();
23 
24  GeoDataViewVolume( const GeoDataViewVolume &other );
25 
26  GeoDataViewVolume& operator=( const GeoDataViewVolume &other );
27  bool operator==( const GeoDataViewVolume &other ) const;
28  bool operator!=( const GeoDataViewVolume &other ) const;
29 
30  ~GeoDataViewVolume() override;
31 
32  /** Provides type information for downcasting a GeoNode */
33  const char* nodeType() const override;
34 
35  qreal leftFov() const;
36  void setLeftFov(qreal leftFov);
37 
38  qreal rightFov() const;
39  void setRightFov(qreal rightFov);
40 
41  qreal bottomFov() const;
42  void setBottomFov(qreal bottomFov);
43 
44  qreal topFov() const;
45  void setTopFov(qreal topFov);
46 
47  qreal near() const;
48  void setNear(qreal near);
49 
50 private:
51  GeoDataViewVolumePrivate* const d;
52 };
53 
54 }
55 
56 #endif
bool operator==(const Qt3DRender::QGraphicsApiFilter &reference, const Qt3DRender::QGraphicsApiFilter &sample)
bool operator!=(const Qt3DRender::QGraphicsApiFilter &reference, const Qt3DRender::QGraphicsApiFilter &sample)
Binds a QML item to a specific geodetic location in screen coordinates.
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Oct 2 2023 03:52:08 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.