16 #ifndef QGSVECTORLAYERCHUNKLOADER_P_H 
   17 #define QGSVECTORLAYERCHUNKLOADER_P_H 
   41 class QgsFeature3DHandler;
 
   48 #include <QFutureWatcher> 
   58 class QgsVectorLayerChunkLoaderFactory : 
public QgsQuadtreeChunkLoaderFactory
 
   65     virtual QgsChunkLoader *createChunkLoader( QgsChunkNode *node ) 
const override;
 
   69     std::unique_ptr<QgsAbstract3DSymbol> mSymbol;
 
   82 class QgsVectorLayerChunkLoader : 
public QgsChunkLoader
 
   86     QgsVectorLayerChunkLoader( 
const QgsVectorLayerChunkLoaderFactory *factory, QgsChunkNode *node );
 
   87     ~QgsVectorLayerChunkLoader() 
override;
 
   89     virtual void cancel() 
override;
 
   90     virtual Qt3DCore::QEntity *createEntity( Qt3DCore::QEntity *parent ) 
override;
 
   93     const QgsVectorLayerChunkLoaderFactory *mFactory;
 
   94     std::unique_ptr<QgsFeature3DHandler> mHandler;
 
   95     Qgs3DRenderContext mContext;
 
   96     std::unique_ptr<QgsVectorLayerFeatureSource> mSource;
 
   97     bool mCanceled = 
false;
 
   98     QFutureWatcher<void> *mFutureWatcher = 
nullptr;
 
  112 class QgsVectorLayerChunkedEntity : 
public QgsChunkedEntity
 
  119     ~QgsVectorLayerChunkedEntity();
 
  121     void onTerrainElevationOffsetChanged( 
float newOffset );
 
  124     Qt3DCore::QTransform *mTransform = 
nullptr;
 
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.