16 #ifndef QGSVECTORLAYERCHUNKLOADER_P_H 17 #define QGSVECTORLAYERCHUNKLOADER_P_H 39 class QgsFeature3DHandler;
41 #include <QFutureWatcher> 51 class QgsVectorLayerChunkLoaderFactory :
public QgsChunkLoaderFactory
58 virtual QgsChunkLoader *createChunkLoader( QgsChunkNode *node )
const override;
62 std::unique_ptr<QgsAbstract3DSymbol> mSymbol;
75 class QgsVectorLayerChunkLoader :
public QgsChunkLoader
79 QgsVectorLayerChunkLoader(
const QgsVectorLayerChunkLoaderFactory *factory, QgsChunkNode *node );
80 ~QgsVectorLayerChunkLoader()
override;
82 virtual void cancel()
override;
83 virtual Qt3DCore::QEntity *createEntity( Qt3DCore::QEntity *parent )
override;
86 const QgsVectorLayerChunkLoaderFactory *mFactory;
87 std::unique_ptr<QgsFeature3DHandler> mHandler;
88 Qgs3DRenderContext mContext;
89 std::unique_ptr<QgsVectorLayerFeatureSource> mSource;
90 bool mCanceled =
false;
91 QFutureWatcher<void> *mFutureWatcher =
nullptr;
105 class QgsVectorLayerChunkedEntity :
public QgsChunkedEntity
112 ~QgsVectorLayerChunkedEntity();
117 #endif // QGSVECTORLAYERCHUNKLOADER_P_H 3 This class defines configuration of how a vector layer gets tiled for 3D rendering.
3 Definition of the world
3 Abstract base class for 3D symbols that are used by VectorLayer3DRenderer objects.
Partial snapshot of vector layer's state (only the members necessary for access to features) ...
Represents a vector layer which manages a vector based data sets.