QGIS API Documentation
2.12.0-Lyon
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
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
30
bool
symbolVisible(
QgsSymbolV2
* symbol,
QgsVectorLayer
* layer )
const
;
31
32
protected
:
33
34
typedef
QSet<QString>
SymbolV2Set
;
35
typedef
QMap<QgsVectorLayer*, SymbolV2Set>
HitTest
;
36
43
void
runHitTestLayer(
QgsVectorLayer
* vl, SymbolV2Set& usedSymbols,
QgsRenderContext
& context );
44
45
QgsMapSettings
mSettings
;
46
HitTest
mHitTest
;
47
48
};
49
50
#endif // QGSMAPHITTEST_H
QgsMapHitTest::mHitTest
HitTest mHitTest
Definition:
qgsmaphittest.h:46
QgsMapHitTest::HitTest
QMap< QgsVectorLayer *, SymbolV2Set > HitTest
Definition:
qgsmaphittest.h:35
QMap< QgsVectorLayer *, SymbolV2Set >
qgsmapsettings.h
QgsMapSettings
The QgsMapSettings class contains configuration for rendering of the map.
Definition:
qgsmapsettings.h:53
QgsMapHitTest::SymbolV2Set
QSet< QString > SymbolV2Set
Definition:
qgsmaphittest.h:34
QSet< QString >
QgsMapHitTest
Class that runs a hit test with given map settings.
Definition:
qgsmaphittest.h:18
QgsSymbolV2
Definition:
qgssymbolv2.h:48
QgsRenderContext
Contains information about the context of a rendering operation.
Definition:
qgsrendercontext.h:42
QgsVectorLayer
Represents a vector layer which manages a vector based data sets.
Definition:
qgsvectorlayer.h:628
QgsMapHitTest::mSettings
QgsMapSettings mSettings
Definition:
qgsmaphittest.h:45
Generated on Sat Oct 24 2015 04:11:23 for QGIS API Documentation by
1.8.9.1