17#ifndef QGSRASTERLAYERPROFILEGENERATOR_H
18#define QGSRASTERLAYERPROFILEGENERATOR_H
50 QString
type()
const override;
55 QPointer< QgsRasterLayer > mLayer;
79 QString sourceId()
const override;
80 Qgis::ProfileGeneratorFlags flags()
const override;
87 std::unique_ptr<QgsRasterBlockFeedback> mFeedback =
nullptr;
89 std::unique_ptr< QgsCurve > mProfileCurve;
98 QPointer< QgsRasterLayer > mLayer;
99 std::unique_ptr< QgsRasterDataProvider > mRasterProvider;
101 std::unique_ptr< QgsRasterLayerProfileResults > mResults;
104 double mRasterUnitsPerPixelX = 1;
105 double mRasterUnitsPerPixelY = 1;
107 double mStepDistance = std::numeric_limits<double>::quiet_NaN();
Abstract base class for storage of elevation profiles.
virtual QString type() const =0
Returns the unique string identifier for the results type.
Abstract base class for objects which generate elevation profiles which represent a continuous surfac...
Abstract base class for storage of elevation profiles which represent a continuous surface (e....
QVector< QgsProfileIdentifyResults > identify(const QgsProfilePoint &point, const QgsProfileIdentifyContext &context) override
Identify results visible at the specified profile point.
This class represents a coordinate reference system (CRS).
Contains information about the context in which a coordinate transform is executed.
Abstract base class for curved geometry type.
Base class for feedback objects to be used for cancellation of something running in a worker thread.
A line symbol type, for rendering LineString and MultiLineString geometries.
Encapsulates the context in which an elevation profile is to be generated.
Encapsulates the context of identifying profile results.
Encapsulates a point on a distance-elevation profile.
Encapsulates properties and constraints relating to fetching elevation profiles from different source...
Encapsulates the context of snapping a profile point.
Feedback object tailored for raster block reading.
Base class for raster data providers.
Implementation of QgsAbstractProfileGenerator for raster layers.
~QgsRasterLayerProfileGenerator() override
Implementation of QgsAbstractProfileResults for raster layers.
Represents a raster layer.