QGIS API Documentation 3.30.0-'s-Hertogenbosch (f186b8efe0)
|
Abstract base class for storage of elevation profiles. More...
#include <qgsabstractprofilegenerator.h>
Public Member Functions | |
virtual | ~QgsAbstractProfileResults () |
virtual QVector< QgsGeometry > | asGeometries () const =0 |
Returns a list of geometries representing the calculated elevation results. More... | |
virtual void | copyPropertiesFromGenerator (const QgsAbstractProfileGenerator *generator) |
Copies properties from specified generator to the results object. More... | |
virtual QMap< double, double > | distanceToHeightMap () const =0 |
Returns the map of distance (chainage) to height. More... | |
virtual QVector< QgsProfileIdentifyResults > | identify (const QgsDoubleRange &distanceRange, const QgsDoubleRange &elevationRange, const QgsProfileIdentifyContext &context) |
Identify results visible within the specified ranges. More... | |
virtual QVector< QgsProfileIdentifyResults > | identify (const QgsProfilePoint &point, const QgsProfileIdentifyContext &context) |
Identify results visible at the specified profile point. More... | |
virtual void | renderResults (QgsProfileRenderContext &context)=0 |
Renders the results to the specified context. More... | |
virtual QgsPointSequence | sampledPoints () const =0 |
Returns a list of sampled points, with their calculated elevation as the point z value. More... | |
virtual QgsProfileSnapResult | snapPoint (const QgsProfilePoint &point, const QgsProfileSnapContext &context) |
Snaps a point to the generated elevation profile. More... | |
virtual QString | type () const =0 |
Returns the unique string identifier for the results type. More... | |
virtual QgsDoubleRange | zRange () const =0 |
Returns the range of the retrieved elevation values. More... | |
Abstract base class for storage of elevation profiles.
Definition at line 192 of file qgsabstractprofilegenerator.h.
|
virtualdefault |
|
pure virtual |
Returns a list of geometries representing the calculated elevation results.
Implemented in QgsAbstractProfileSurfaceResults, QgsPointCloudLayerProfileResults, and QgsVectorLayerProfileResults.
|
virtual |
Copies properties from specified generator to the results object.
For instance, this method can be used to copy any properties relating to rendering the gathered results to reflect the generator's current properties.
The base class method does nothing.
Reimplemented in QgsAbstractProfileSurfaceResults, QgsPointCloudLayerProfileResults, and QgsVectorLayerProfileResults.
Definition at line 77 of file qgsabstractprofilegenerator.cpp.
|
pure virtual |
Returns the map of distance (chainage) to height.
Implemented in QgsAbstractProfileSurfaceResults, and QgsPointCloudLayerProfileResults.
|
virtual |
Identify results visible within the specified ranges.
Reimplemented in QgsPointCloudLayerProfileResults, and QgsVectorLayerProfileResults.
Definition at line 72 of file qgsabstractprofilegenerator.cpp.
|
virtual |
Identify results visible at the specified profile point.
Reimplemented in QgsAbstractProfileSurfaceResults, QgsMeshLayerProfileResults, QgsPointCloudLayerProfileResults, QgsRasterLayerProfileResults, and QgsVectorLayerProfileResults.
Definition at line 67 of file qgsabstractprofilegenerator.cpp.
|
pure virtual |
Renders the results to the specified context.
Implemented in QgsAbstractProfileSurfaceResults, QgsPointCloudLayerProfileResults, and QgsVectorLayerProfileResults.
|
pure virtual |
Returns a list of sampled points, with their calculated elevation as the point z value.
Implemented in QgsAbstractProfileSurfaceResults, and QgsPointCloudLayerProfileResults.
|
virtual |
Snaps a point to the generated elevation profile.
Reimplemented in QgsAbstractProfileSurfaceResults, QgsPointCloudLayerProfileResults, and QgsVectorLayerProfileResults.
Definition at line 62 of file qgsabstractprofilegenerator.cpp.
|
pure virtual |
Returns the unique string identifier for the results type.
Implemented in QgsMeshLayerProfileResults, QgsPointCloudLayerProfileResults, QgsRasterLayerProfileResults, and QgsVectorLayerProfileResults.
|
pure virtual |
Returns the range of the retrieved elevation values.
Implemented in QgsAbstractProfileSurfaceResults, and QgsPointCloudLayerProfileResults.