QGIS API Documentation
3.26.3-Buenos Aires (65e4edfdad)
|
Go to the documentation of this file.
17 #ifndef QGSMESHLAYERPROFILEGENERATOR_H
18 #define QGSMESHLAYERPROFILEGENERATOR_H
20 #include "qgis_core.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;
116 #endif // QGSMESHLAYERPROFILEGENERATOR_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.
Implementation of QgsAbstractProfileResults for mesh layers.
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.
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)
Represents a mesh layer supporting display of data on structured or unstructured meshes.
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.
Implementation of QgsAbstractProfileGenerator for mesh layers.
This class represents a coordinate reference system (CRS).
Abstract base class for objects which generate elevation profiles which represent a continuous surfac...
virtual QString type() const =0
Returns the unique string identifier for the results type.
Abstract base class for storage of elevation profiles.
Triangular/Derived Mesh is mesh with vertices in map coordinates.
Abstract base class for terrain providers.
virtual QgsAbstractProfileResults * takeResults()=0
Takes results from the generator.
virtual QString sourceId() const =0
Returns a unique identifier representing the source of the profile.
virtual bool generateProfile(const QgsProfileGenerationContext &context=QgsProfileGenerationContext())=0
Generate the profile (based on data stored in the class).