QGIS API Documentation  3.6.0-Noosa (5873452)
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)=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 34 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 
)
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: