QGIS API Documentation 3.99.0-Master (357b655ed83)
Loading...
Searching...
No Matches
Qgs3DHighlightFeatureHandler Class Reference

Handles the creation of 3D entities used for highlighting identified features. More...

#include <qgs3dhighlightfeaturehandler.h>

Inheritance diagram for Qgs3DHighlightFeatureHandler:

Public Slots

void clearHighlights ()
 Clears all highlights.
void highlightFeature (QgsFeature feature, QgsMapLayer *layer)
 Highlights feature of layer in the 3d scene When multiple features are identified, this slot is called multiple times.

Public Member Functions

 Qgs3DHighlightFeatureHandler (Qgs3DMapScene *scene)
 Constructor.
 ~Qgs3DHighlightFeatureHandler () override

Detailed Description

Handles the creation of 3D entities used for highlighting identified features.

Note
Not available in Python bindings
Since
QGIS 4.0

Definition at line 43 of file qgs3dhighlightfeaturehandler.h.

Constructor & Destructor Documentation

◆ Qgs3DHighlightFeatureHandler()

Qgs3DHighlightFeatureHandler::Qgs3DHighlightFeatureHandler ( Qgs3DMapScene * scene)
explicit

Constructor.

Definition at line 39 of file qgs3dhighlightfeaturehandler.cpp.

◆ ~Qgs3DHighlightFeatureHandler()

Qgs3DHighlightFeatureHandler::~Qgs3DHighlightFeatureHandler ( )
override

Definition at line 44 of file qgs3dhighlightfeaturehandler.cpp.

Member Function Documentation

◆ clearHighlights

void Qgs3DHighlightFeatureHandler::clearHighlights ( )
slot

Clears all highlights.

Definition at line 240 of file qgs3dhighlightfeaturehandler.cpp.

◆ highlightFeature

void Qgs3DHighlightFeatureHandler::highlightFeature ( QgsFeature feature,
QgsMapLayer * layer )
slot

Highlights feature of layer in the 3d scene When multiple features are identified, this slot is called multiple times.

The features are aggregated, and eventually a single highlight entity is added to the 3d scene for each layer.

Definition at line 53 of file qgs3dhighlightfeaturehandler.cpp.


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