18 #ifndef QGSMESHLAYERINTERPOLATOR_H 19 #define QGSMESHLAYERINTERPOLATOR_H 59 const QVector<double> &datasetValues,
61 bool dataIsOnVertices,
64 ~QgsMeshLayerInterpolator()
override;
73 const QVector<double> &mDatasetValues;
76 bool mDataOnVertices =
true;
107 double mapUnitsPerPixel,
113 #endif // QGSMESHLAYERINTERPOLATOR_H virtual int bandCount() const =0
Gets number of bands.
A rectangle specified with double values.
Triangular/Derived Mesh is mesh with vertices in map coordinates.
Abstract base class for all rendered symbols.
QgsMeshDataBlock is a block of integers/doubles that can be used to retrieve: active flags (e...
DataType
Raster data types.
virtual Qgis::DataType dataType(int bandNo) const =0
Returns data type for the band specified by number.
CORE_EXPORT QgsRasterBlock * exportRasterBlock(const QgsMeshLayer &layer, const QgsMeshDatasetIndex &datasetIndex, const QgsCoordinateReferenceSystem &destinationCrs, const QgsCoordinateTransformContext &transformContext, double mapUnitsPerPixel, const QgsRectangle &extent, QgsRasterBlockFeedback *feedback=nullptr)
Exports mesh layer's dataset values as raster block.
virtual QgsRasterBlock * block(int bandNo, const QgsRectangle &extent, int width, int height, QgsRasterBlockFeedback *feedback=nullptr)=0
Read block of data using given extent and size.
Contains information about the context in which a coordinate transform is executed.
Base class for processing filters like renderers, reprojector, resampler etc.
Contains information about the context of a rendering operation.
virtual QgsRasterInterface * clone() const =0
Clone itself, create deep copy.
This class represents a coordinate reference system (CRS).
QgsMeshDatasetIndex is index that identifies the dataset group (e.g.
Represents a mesh layer supporting display of data on structured or unstructured meshes.
Feedback object tailored for raster block reading.