17#ifndef QGSMESHLAYERPROFILEGENERATOR_H
18#define QGSMESHLAYERPROFILEGENERATOR_H
51 QString
type()
const override;
56 QPointer< QgsMeshLayer > mLayer;
88 double heightAt(
double x,
double y );
91 std::unique_ptr<QgsFeedback> mFeedback =
nullptr;
93 std::unique_ptr< QgsCurve > mProfileCurve;
101 QPointer< QgsMeshLayer > mLayer;
103 double mStepDistance = std::numeric_limits<double>::quiet_NaN();
109 std::unique_ptr< QgsMeshLayerProfileResults > mResults;
Abstract base class for storage of elevation profiles.
virtual QString type() const =0
Returns the unique string identifier for the results type.
QgsAbstractProfileSurfaceGenerator(const QgsProfileRequest &request)
Constructor for QgsAbstractProfileSurfaceGenerator.
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.
Abstract base class for terrain providers.
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.
~QgsMeshLayerProfileGenerator() override
QgsFeedback * feedback() const override
Access to feedback object of the generator (may be nullptr).
QgsMeshLayerProfileGenerator(QgsMeshLayer *layer, const QgsProfileRequest &request)
Constructor for QgsMeshLayerProfileGenerator.
QgsAbstractProfileResults * takeResults() override
Takes results from the generator.
friend class QgsMeshLayerProfileResults
bool generateProfile(const QgsProfileGenerationContext &context=QgsProfileGenerationContext()) override
Generate the profile (based on data stored in the class).
QString sourceId() const override
Returns a unique identifier representing the source of the profile.
Implementation of QgsAbstractProfileResults for mesh layers.
friend class QgsMeshLayerProfileGenerator
Represents a mesh layer supporting display of data on structured or unstructured meshes.
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.
A triangular/derived mesh with vertices in map coordinates.