18#ifndef QGSMESHLAYERINTERPOLATOR_H 
   19#define QGSMESHLAYERINTERPOLATOR_H 
   59                              const QVector<double> &datasetValues,
 
   64    ~QgsMeshLayerInterpolator() 
override;
 
   71    void setSpatialIndexActive( 
bool active );
 
   73    void setElevationMapSettings( 
bool renderElevationMap, 
double elevationScale, 
double elevationOffset );
 
   77    const QVector<double> &mDatasetValues;
 
   82    bool mSpatialIndexActive = 
false;
 
   84    bool mRenderElevation = 
false;
 
   85    double mElevationScale = 1.0;
 
   86    double mElevationOffset = 0.0;
 
  116    double mapUnitsPerPixel,
 
  143    double mapUnitsPerPixel,
 
 
DataType
Raster data types.
 
This class represents a coordinate reference system (CRS).
 
Contains information about the context in which a coordinate transform is executed.
 
QgsMeshDataBlock is a block of integers/doubles that can be used to retrieve: active flags (e....
 
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.
 
Base class for processing filters like renderers, reprojector, resampler etc.
 
virtual QgsRasterInterface * clone() const =0
Clone itself, create deep copy.
 
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.
 
virtual Qgis::DataType dataType(int bandNo) const =0
Returns data type for the band specified by number.
 
virtual int bandCount() const =0
Gets number of bands.
 
A rectangle specified with double values.
 
Contains information about the context of a rendering operation.
 
Abstract base class for all rendered symbols.
 
Triangular/Derived Mesh is mesh with vertices in map coordinates.
 
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.