16#ifndef QGSFEATURE3DHANDLER_P_H
17#define QGSFEATURE3DHANDLER_P_H
30#include <Qt3DCore/QEntity>
43class QgsFeature3DHandler
46 virtual ~QgsFeature3DHandler() =
default;
52 virtual bool prepare(
const Qgs3DRenderContext &context, QSet<QString> &attributeNames ) = 0;
64 virtual void finalize( Qt3DCore::QEntity *parent,
const Qgs3DRenderContext &context ) = 0;
70 float zMinimum()
const {
return mZMin; }
76 float zMaximum()
const {
return mZMax; }
81 int featureCount()
const {
return mFeatureCount; }
85 void updateZRangeFromPositions(
const QVector<QVector3D> &positions );
88 float mZMin = std::numeric_limits<float>::max();
89 float mZMax = std::numeric_limits<float>::lowest();
90 int mFeatureCount = 0;
The feature class encapsulates a single feature including its unique ID, geometry and a list of field...