KOSMIndoorMap::HitDetector

Search for usage in LXR

KOSMIndoorMap::HitDetector Class Reference

#include <hitdetector.h>

Public Member Functions

const SceneGraphItemitemAt (QPointF pos, const SceneGraph &sg, const View *view) const
 
std::vector< const SceneGraphItem * > itemsAt (QPointF pos, const SceneGraph &sg, const View *view) const
 

Detailed Description

Picking hit detector.

Ie. find scene graph items at a given screen position.

Definition at line 29 of file hitdetector.h.

Member Function Documentation

◆ itemAt()

const SceneGraphItem * HitDetector::itemAt ( QPointF pos,
const SceneGraph & sg,
const View * view ) const

Highest (in z-order) item at the given screen position.

Definition at line 19 of file hitdetector.cpp.

◆ itemsAt()

std::vector< const SceneGraphItem * > HitDetector::itemsAt ( QPointF pos,
const SceneGraph & sg,
const View * view ) const

All items (in z-order) at the given screen position.

Definition at line 46 of file hitdetector.cpp.


The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 29 2024 11:55:43 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.