KOSMIndoorMap
hitdetector.cpp
19const SceneGraphItem* HitDetector::itemAt(QPointF pos, const SceneGraph& sg, const View* view) const
46std::vector<const SceneGraphItem*> HitDetector::itemsAt(QPointF pos, const SceneGraph &sg, const View *view) const
50 if (item.payload->renderPhases() == SceneGraphItemPayload::NoPhase || !item.payload->boundingRect(view).contains(view->mapScreenToScene(pos))) {
62bool HitDetector::itemContainsPoint(const SceneGraphItem &item, QPointF screenPos, const View *view) const
90bool HitDetector::itemContainsPoint(const PolylineItem *item, QPointF scenePos, const View *view) const
109bool HitDetector::itemContainsPoint(const LabelItem *item, QPointF screenPos, const View *view) const
std::vector< const SceneGraphItem * > itemsAt(QPointF pos, const SceneGraph &sg, const View *view) const
All items (in z-order) at the given screen position.
Definition hitdetector.cpp:46
const SceneGraphItem * itemAt(QPointF pos, const SceneGraph &sg, const View *view) const
Highest (in z-order) item at the given screen position.
Definition hitdetector.cpp:19
Multi-polygon item, used for polygons with "holes" in them.
Definition scenegraphitem.h:135
Scene graph item description and handle for its content.
Definition scenegraphitem.h:45
Q_INVOKABLE QPointF mapScreenToScene(QPointF screenPos) const
Converts a point in screen coordinates to scene coordinates.
Definition view.cpp:185
OSM-based multi-floor indoor maps for buildings.
Definition locationqueryoverlayproxymodel.h:20
iterator begin()
iterator end()
qsizetype size() const const
bool contains(const QPainterPath &p) const const
qreal widthF() const const
bool containsPoint(const QPointF &point, Qt::FillRule fillRule) const const
bool contains(const QPointF &point) const const
OddEvenFill
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:17:55 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:17:55 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.