Marble

GeoDataImagePyramid.h
1 // SPDX-License-Identifier: LGPL-2.1-or-later
2 //
3 // SPDX-FileCopyrightText: 2013 Mohammed Nafees <[email protected]>
4 //
5 
6 #ifndef GEODATAIMAGEPYRAMID_H
7 #define GEODATAIMAGEPYRAMID_H
8 
9 #include "GeoDataObject.h"
10 #include "geodata_export.h"
11 
12 namespace Marble
13 {
14 
15 class GeoDataImagePyramidPrivate;
16 
17 /**
18  */
19 class GEODATA_EXPORT GeoDataImagePyramid : public GeoDataObject
20 {
21 public:
22  GeoDataImagePyramid();
23 
24  GeoDataImagePyramid( const GeoDataImagePyramid &other );
25 
26  GeoDataImagePyramid& operator=( const GeoDataImagePyramid &other );
27  bool operator==( const GeoDataImagePyramid &other ) const;
28  bool operator!=( const GeoDataImagePyramid &other ) const;
29 
30  ~GeoDataImagePyramid() override;
31 
32  /** Provides type information for downcasting a GeoNode */
33  const char* nodeType() const override;
34 
35  enum GridOrigin {
36  LowerLeft,
37  UpperLeft
38  };
39 
40  int tileSize() const;
41  void setTileSize(int tileSize);
42 
43  int maxWidth() const;
44  void setMaxWidth(int maxWidth);
45 
46  int maxHeight() const;
47  void setMaxHeight(int maxHeight);
48 
49  GridOrigin gridOrigin() const;
50  void setGridOrigin(GridOrigin gridOrigin);
51 
52 private:
53  GeoDataImagePyramidPrivate* const d;
54 };
55 
56 }
57 
58 #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 Sep 25 2023 03:50:18 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.