QGIS API Documentation  3.10.0-A Coruña (6c816b4204)
Public Member Functions | List of all members
Qgs3DMapScenePickHandler Class Referenceabstract

3 Abstract base class for handlers that process pick events from a 3D map scene. More...

#include <qgs3dmapscenepickhandler.h>

Public Member Functions

virtual ~Qgs3DMapScenePickHandler ()=default
 
virtual void handlePickOnVectorLayer (QgsVectorLayer *vlayer, QgsFeatureId id, const QVector3D &worldIntersection, Qt3DRender::QPickEvent *event)=0
 Called when user clicked a 3D entity belonging to a feature of a vector layer. More...
 

Detailed Description

3 Abstract base class for handlers that process pick events from a 3D map scene.

3D entities in map scene get QObjectPicker components assigned and mouse press events trigger virtual methods or pick handlers.

This is used for identify tool to be able to identify entities coming from 3D renderers assigned to map layers.

Since
QGIS 3.4

Definition at line 35 of file qgs3dmapscenepickhandler.h.

Constructor & Destructor Documentation

◆ ~Qgs3DMapScenePickHandler()

virtual Qgs3DMapScenePickHandler::~Qgs3DMapScenePickHandler ( )
virtualdefault

Member Function Documentation

◆ handlePickOnVectorLayer()

virtual void Qgs3DMapScenePickHandler::handlePickOnVectorLayer ( QgsVectorLayer vlayer,
QgsFeatureId  id,
const QVector3D &  worldIntersection,
Qt3DRender::QPickEvent *  event 
)
pure virtual

Called when user clicked a 3D entity belonging to a feature of a vector layer.


The documentation for this class was generated from the following file: