QGIS API Documentation
2.8.2-Wien
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
src
core
qgsmaphittest.h
Go to the documentation of this file.
1
#ifndef QGSMAPHITTEST_H
2
#define QGSMAPHITTEST_H
3
4
#include "
qgsmapsettings.h
"
5
6
#include <QSet>
7
8
class
QgsRenderContext
;
9
class
QgsSymbolV2
;
10
class
QgsVectorLayer
;
11
18
class
CORE_EXPORT
QgsMapHitTest
19
{
20
public
:
21
QgsMapHitTest
(
const
QgsMapSettings
& settings );
22
23
void
run();
24
25
QSet<QgsSymbolV2*>
symbolsForLayer
(
QgsVectorLayer
* layer )
const
{
return
mHitTest[layer]; }
26
27
protected
:
28
29
typedef
QSet<QgsSymbolV2*>
SymbolV2Set
;
30
typedef
QMap<QgsVectorLayer*, SymbolV2Set>
HitTest
;
31
32
void
runHitTestLayer(
QgsVectorLayer
* vl,
SymbolV2Set
& usedSymbols,
QgsRenderContext
& context );
33
34
QgsMapSettings
mSettings
;
35
HitTest
mHitTest
;
36
37
};
38
39
#endif // QGSMAPHITTEST_H
Generated on Sun May 10 2015 16:33:24 for QGIS API Documentation by
1.8.1.2