KOSMIndoorMap
7 #ifndef KOSMINDOORMAP_EQUIPMENTMODEL_H
8 #define KOSMINDOORMAP_EQUIPMENTMODEL_H
10 #include "kosmindoormap_export.h"
12 #include <KOSMIndoorMap/MapData>
13 #include <KOSMIndoorMap/OverlaySource>
21 enum Type { Elevator, Escalator };
22 std::vector<OSM::Element> sourceElements;
23 std::vector<int> levels;
27 float distanceTo(
const OSM::DataSet &dataSet,
float lat,
float lon)
const;
40 void setMapData(
const MapData &data);
42 void forEach(
int floorLevel,
const std::function<
void(
OSM::Element,
int)> &func)
const override;
43 void hiddenElements(std::vector<OSM::Element> &elems)
const override;
46 void mapDataChanged();
49 void createSyntheticElement(
Equipment &eq)
const;
52 std::vector<Equipment> m_equipment;
75 #endif // KOSMINDOORMAP_EQUIPMENTMODEL_H
A source for overlay elements, drawn on top of the static map data.
A set of nodes, ways and relations.
Overlay source for elevators and escalators.
A std::unique_ptr-like object for OSM element types.
Elevator or escalator element.
Raw OSM map data, separated by levels.
OSM-based multi-floor indoor maps for buildings.
A reference to any of OSM::Node/OSM::Way/OSM::Relation.
This file is part of the KDE documentation.
Documentation copyright © 1996-2022 The KDE developers.
Generated on Wed Aug 17 2022 04:18:57 by
doxygen 1.8.17 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.