QGIS API Documentation
3.26.3-Buenos Aires (65e4edfdad)
|
Go to the documentation of this file.
17 #ifndef QGSRASTERLAYERPROFILEGENERATOR_H
18 #define QGSRASTERLAYERPROFILEGENERATOR_H
20 #include "qgis_core.h"
50 QString
type()
const override;
55 QPointer< QgsRasterLayer > mLayer;
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();
113 #endif // QGSRASTERLAYERPROFILEGENERATOR_H
Encapsulates the context of identifying profile results.
Abstract base class for curved geometry type.
Contains information about the context in which a coordinate transform is executed.
Encapsulates the context of snapping a profile point.
Encapsulates a point on a distance-elevation profile.
Encapsulates the context in which an elevation profile is to be generated.
Implementation of QgsAbstractProfileGenerator for raster layers.
Abstract base class for storage of elevation profiles which represent a continuous surface (e....
Base class for feedback objects to be used for cancellation of something running in a worker thread.
virtual QgsFeedback * feedback() const =0
Access to feedback object of the generator (may be nullptr)
A line symbol type, for rendering LineString and MultiLineString geometries.
Encapsulates properties and constraints relating to fetching elevation profiles from different source...
QVector< QgsProfileIdentifyResults > identify(const QgsProfilePoint &point, const QgsProfileIdentifyContext &context) override
Identify results visible at the specified profile point.
Represents a raster layer.
This class represents a coordinate reference system (CRS).
Abstract base class for objects which generate elevation profiles which represent a continuous surfac...
Feedback object tailored for raster block reading.
Implementation of QgsAbstractProfileResults for raster layers.
virtual Qgis::ProfileGeneratorFlags flags() const
Returns flags which reflect how the profile generator operates.
virtual QString type() const =0
Returns the unique string identifier for the results type.
Abstract base class for storage of elevation profiles.
virtual QgsAbstractProfileResults * takeResults()=0
Takes results from the generator.
virtual QString sourceId() const =0
Returns a unique identifier representing the source of the profile.
Base class for raster data providers.
virtual bool generateProfile(const QgsProfileGenerationContext &context=QgsProfileGenerationContext())=0
Generate the profile (based on data stored in the class).