|
QGIS API Documentation
2.8.2-Wien
|
Class that runs a hit test with given map settings. More...
#include <qgsmaphittest.h>
Public Member Functions | |
| QgsMapHitTest (const QgsMapSettings &settings) | |
| void | run () |
| QSet< QgsSymbolV2 * > | symbolsForLayer (QgsVectorLayer *layer) const |
Protected Types | |
| typedef QMap< QgsVectorLayer *, SymbolV2Set > | HitTest |
| typedef QSet< QgsSymbolV2 * > | SymbolV2Set |
Protected Member Functions | |
| void | runHitTestLayer (QgsVectorLayer *vl, SymbolV2Set &usedSymbols, QgsRenderContext &context) |
Protected Attributes | |
| HitTest | mHitTest |
| QgsMapSettings | mSettings |
Class that runs a hit test with given map settings.
Based on the hit test it returns which symbols will be visible on the map - this is useful for content based legend.
Definition at line 18 of file qgsmaphittest.h.
|
protected |
Definition at line 30 of file qgsmaphittest.h.
|
protected |
Definition at line 29 of file qgsmaphittest.h.
| QgsMapHitTest::QgsMapHitTest | ( | const QgsMapSettings & | settings | ) |
Definition at line 10 of file qgsmaphittest.cpp.
| void QgsMapHitTest::run | ( | ) |
Definition at line 16 of file qgsmaphittest.cpp.
|
protected |
Definition at line 53 of file qgsmaphittest.cpp.
|
inline |
Definition at line 25 of file qgsmaphittest.h.
|
protected |
Definition at line 35 of file qgsmaphittest.h.
|
protected |
Definition at line 34 of file qgsmaphittest.h.
1.8.1.2