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

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 18 of file hitdetector.cpp.

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 45 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-2021 The KDE developers.
Generated on Thu Jul 29 2021 23:03:59 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.