Marble

GeoDataImagePyramid.h
1// SPDX-License-Identifier: LGPL-2.1-or-later
2//
3// SPDX-FileCopyrightText: 2013 Mohammed Nafees <nafees.technocool@gmail.com>
4//
5
6#ifndef GEODATAIMAGEPYRAMID_H
7#define GEODATAIMAGEPYRAMID_H
8
9#include "GeoDataObject.h"
10#include "geodata_export.h"
11
12namespace Marble
13{
14
15class GeoDataImagePyramidPrivate;
16
17/**
18 */
19class GEODATA_EXPORT GeoDataImagePyramid : public GeoDataObject
20{
21public:
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
52private:
53 GeoDataImagePyramidPrivate* const d;
54};
55
56}
57
58#endif
Binds a QML item to a specific geodetic location in screen coordinates.
bool operator==(const QGraphicsApiFilter &reference, const QGraphicsApiFilter &sample)
bool operator!=(const QGraphicsApiFilter &reference, const QGraphicsApiFilter &sample)
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri May 24 2024 11:50:52 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.