18#ifndef QGSINTERPOLATOR_H 
   19#define QGSINTERPOLATOR_H 
   25#include "qgis_analysis.h" 
  111      int interpolationAttribute = -1;
 
  151    Result cacheBaseData( 
QgsFeedback *feedback = 
nullptr );
 
  157    bool mDataIsCached = 
false;
 
Contains information about the context in which a coordinate transform is executed.
 
An interface for objects which provide features via a getFeatures method.
 
Base class for feedback objects to be used for cancellation of something running in a worker thread.
 
A geometry is the spatial representation of a feature.
 
Interface class for interpolations.
 
QVector< QgsInterpolatorVertexData > mCachedBaseData
Cached vertex data for input sources.
 
virtual int interpolatePoint(double x, double y, double &result, QgsFeedback *feedback=nullptr)=0
Calculates interpolation value for map coordinates x, y.
 
ValueSource
Source for interpolated values from features.
 
@ ValueM
Use feature's geometry M values for interpolation.
 
@ ValueAttribute
Take value from feature's attribute.
 
@ ValueZ
Use feature's geometry Z values for interpolation.
 
Result
Result of an interpolation operation.
 
@ Canceled
Operation was manually canceled.
 
@ InvalidSource
Operation failed due to invalid source.
 
@ FeatureGeometryError
Operation failed due to invalid feature geometry.
 
SourceType
Describes the type of input data.
 
@ SourcePoints
Point source.
 
@ SourceStructureLines
Structure lines.
 
@ SourceBreakLines
Break lines.
 
QList< LayerData > layerData() const
 
QList< LayerData > mLayerData
Information about the input vector layers and the attributes (or z-values) that are used for interpol...
 
virtual ~QgsInterpolator()=default
 
Interpolation data for an individual source vertex.
 
QgsInterpolatorVertexData()=default
Constructor for QgsInterpolatorVertexData.
 
QgsInterpolatorVertexData(double x, double y, double z)
Constructor for QgsInterpolatorVertexData with the specified x, y, and z coordinate.
 
A source together with the information about interpolation attribute / z-coordinate interpolation and...
 
QgsCoordinateTransformContext transformContext
Coordinate transform context.