QGIS API Documentation
3.8.0-Zanzibar (11aff65)
src
3d
qgs3dmapscenepickhandler.h
Go to the documentation of this file.
1
/***************************************************************************
2
qgs3dmapscenepickhandler.h
3
--------------------------------------
4
Date : Sep 2018
5
Copyright : (C) 2018 by Martin Dobias
6
Email : wonder dot sk at gmail dot com
7
***************************************************************************
8
* *
9
* This program is free software; you can redistribute it and/or modify *
10
* it under the terms of the GNU General Public License as published by *
11
* the Free Software Foundation; either version 2 of the License, or *
12
* (at your option) any later version. *
13
* *
14
***************************************************************************/
15
16
#ifndef QGS3DMAPSCENEPICKHANDLER_H
17
#define QGS3DMAPSCENEPICKHANDLER_H
18
19
#include "
qgsfeatureid.h
"
20
21
class
QVector3D;
22
class
QgsVectorLayer
;
23
34
class
Qgs3DMapScenePickHandler
35
{
36
public
:
37
virtual
~Qgs3DMapScenePickHandler
() =
default
;
38
40
virtual
void
handlePickOnVectorLayer
(
QgsVectorLayer
*vlayer,
QgsFeatureId
id
,
const
QVector3D &worldIntersection ) = 0;
41
};
42
43
#endif // QGS3DMAPSCENEPICKHANDLER_H
Qgs3DMapScenePickHandler
3 Abstract base class for handlers that process pick events from a 3D map scene.
Definition:
qgs3dmapscenepickhandler.h:34
Qgs3DMapScenePickHandler::~Qgs3DMapScenePickHandler
virtual ~Qgs3DMapScenePickHandler()=default
QgsFeatureId
qint64 QgsFeatureId
Definition:
qgsfeatureid.h:25
qgsfeatureid.h
QgsVectorLayer
Represents a vector layer which manages a vector based data sets.
Definition:
qgsvectorlayer.h:362
Qgs3DMapScenePickHandler::handlePickOnVectorLayer
virtual void handlePickOnVectorLayer(QgsVectorLayer *vlayer, QgsFeatureId id, const QVector3D &worldIntersection)=0
Called when user clicked a 3D entity belonging to a feature of a vector layer.
Generated on Sat Jun 22 2019 09:24:07 for QGIS API Documentation by
1.8.13