7#ifndef KOSMINDOORMAP_MAPDATA_H
8#define KOSMINDOORMAP_MAPDATA_H
10#include "kosmindoormap_export.h"
12#include <KOSM/Datatypes>
13#include <KOSM/Element>
33 bool operator<(
const MapLevel &other)
const;
34 bool operator==(
const MapLevel &other)
const;
38 void setName(
const QString &name);
40 bool isFullLevel()
const;
42 int fullLevelBelow()
const;
43 int fullLevelAbove()
const;
45 int numericLevel()
const;
67 Q_PROPERTY(
float radius READ radius)
69 Q_PROPERTY(
QString regionCode READ regionCode)
70 Q_PROPERTY(
QString timeZone READ timeZoneId)
81 bool operator==(const
MapData &other) const;
83 const
OSM::DataSet& dataSet() const;
84 OSM::DataSet& dataSet();
85 void setDataSet(
OSM::DataSet &&dataSet);
87 OSM::BoundingBox boundingBox() const;
88 void setBoundingBox(
OSM::BoundingBox bbox);
90 const std::map<
MapLevel, std::vector<
OSM::Element>>& levelMap() const;
97 void setRegionCode(const
QString ®ionCode);
104 void processElements();
105 void addElement(
int level,
OSM::Element e,
bool isDependentElement);
111 std::shared_ptr<MapDataPrivate> d;
Raw OSM map data, separated by levels.
OSM-based multi-floor indoor maps for buildings.
Low-level types and functions to work with raw OSM data as efficiently as possible.
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Dec 20 2024 11:55:21 by
doxygen 1.12.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.