16 #ifndef QGSVECTORLAYERCHUNKLOADER_P_H
17 #define QGSVECTORLAYERCHUNKLOADER_P_H
41 class QgsFeature3DHandler;
43 #include <QFutureWatcher>
53 class QgsVectorLayerChunkLoaderFactory :
public QgsChunkLoaderFactory
60 virtual QgsChunkLoader *createChunkLoader( QgsChunkNode *node )
const override;
64 std::unique_ptr<QgsAbstract3DSymbol> mSymbol;
77 class QgsVectorLayerChunkLoader :
public QgsChunkLoader
81 QgsVectorLayerChunkLoader(
const QgsVectorLayerChunkLoaderFactory *factory, QgsChunkNode *node );
82 ~QgsVectorLayerChunkLoader()
override;
84 virtual void cancel()
override;
85 virtual Qt3DCore::QEntity *createEntity( Qt3DCore::QEntity *parent )
override;
88 const QgsVectorLayerChunkLoaderFactory *mFactory;
89 std::unique_ptr<QgsFeature3DHandler> mHandler;
90 Qgs3DRenderContext mContext;
91 std::unique_ptr<QgsVectorLayerFeatureSource> mSource;
92 bool mCanceled =
false;
93 QFutureWatcher<void> *mFutureWatcher =
nullptr;
107 class QgsVectorLayerChunkedEntity :
public QgsChunkedEntity
114 ~QgsVectorLayerChunkedEntity();
119 #endif // QGSVECTORLAYERCHUNKLOADER_P_H