Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Toggle main menu visibility
Loading...
Searching...
No Matches
qgeocameratiles_p.h
Go to the documentation of this file.
1
// Copyright (C) 2015 The Qt Company Ltd.
2
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3
// Qt-Security score:significant reason:default
4
#
ifndef
QGEOCAMERATILES_P_H
5
#
define
QGEOCAMERATILES_P_H
6
7
//
8
// W A R N I N G
9
// -------------
10
//
11
// This file is not part of the Qt API. It exists purely as an
12
// implementation detail. This header file may change from version to
13
// version without notice, or even be removed.
14
//
15
// We mean it.
16
//
17
18
#
include
<
QtLocation
/
private
/
qlocationglobal_p
.
h
>
19
#
include
<
QtCore
/
QScopedPointer
>
20
21
#
include
<
memory
>
22
23
QT_BEGIN_NAMESPACE
24
25
class
QGeoCameraData;
26
class
QGeoTileSpec;
27
class
QGeoMapType;
28
class
QGeoCameraTilesPrivate;
29
class
QSize;
30
class
QRectF;
31
32
class
Q_LOCATION_EXPORT
QGeoCameraTiles
{
33
public
:
34
QGeoCameraTiles();
35
~QGeoCameraTiles();
36
37
void
setCameraData(
const
QGeoCameraData &camera);
38
QGeoCameraData cameraData()
const
;
39
void
setVisibleArea(
const
QRectF &visibleArea);
40
void
setScreenSize(
const
QSize &size);
41
void
setTileSize(
int
tileSize);
42
int
tileSize()
const
;
43
void
setViewExpansion(
double
viewExpansion);
44
void
setPluginString(
const
QString &pluginString);
45
void
setMapType(
const
QGeoMapType &mapType);
46
QGeoMapType activeMapType()
const
;
47
void
setMapVersion(
int
mapVersion);
48
const
QSet<QGeoTileSpec>& createTiles();
49
50
protected
:
51
std::unique_ptr<QGeoCameraTilesPrivate> d_ptr;
52
53
friend
class
QGeoCameraTilesPrivate;
54
Q_DISABLE_COPY(QGeoCameraTiles)
55
};
56
57
QT_END_NAMESPACE
58
59
#
endif
// QGEOCAMERATILES_P_H
QGeoCameraTiles
Definition
qgeocameratiles_p.h:32
toDoubleVector3D
static QDoubleVector3D toDoubleVector3D(const QVector3D &in)
Definition
qgeocameratiles.cpp:30
appendZIntersects
static bool appendZIntersects(const QDoubleVector3D &start, const QDoubleVector3D &end, double z, QList< QDoubleVector3D > &results)
Definition
qgeocameratiles.cpp:307
toVector3D
static QVector3D toVector3D(const QDoubleVector3D &in)
Definition
qgeocameratiles.cpp:25
addXOffset
static void addXOffset(PolygonVector &footprint, double xoff)
Definition
qgeocameratiles.cpp:437
PolygonVector
QList< QDoubleVector3D > PolygonVector
Definition
qgeocameratiles_p_p.h:45
qtlocation
src
location
maps
qgeocameratiles_p.h
Generated on
for Qt by
1.18.0