QGIS API Documentation
3.26.3-Buenos Aires (65e4edfdad)
|
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 193 of file qgsabstractprofilegenerator.h.
|
virtualdefault |
|
pure virtual |
Returns a list of geometries representing the calculated elevation results.
Implemented in QgsPointCloudLayerProfileResults, QgsVectorLayerProfileResults, and QgsAbstractProfileSurfaceResults.
|
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 QgsPointCloudLayerProfileResults, QgsVectorLayerProfileResults, and QgsAbstractProfileSurfaceResults.
Definition at line 77 of file qgsabstractprofilegenerator.cpp.
|
pure virtual |
Returns the map of distance (chainage) to height.
Implemented in QgsPointCloudLayerProfileResults, and QgsAbstractProfileSurfaceResults.
|
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 QgsPointCloudLayerProfileResults, QgsVectorLayerProfileResults, QgsAbstractProfileSurfaceResults, QgsMeshLayerProfileResults, and QgsRasterLayerProfileResults.
Definition at line 67 of file qgsabstractprofilegenerator.cpp.
|
pure virtual |
Renders the results to the specified context.
Implemented in QgsPointCloudLayerProfileResults, QgsVectorLayerProfileResults, and QgsAbstractProfileSurfaceResults.
|
pure virtual |
Returns a list of sampled points, with their calculated elevation as the point z value.
Implemented in QgsPointCloudLayerProfileResults, and QgsAbstractProfileSurfaceResults.
|
virtual |
Snaps a point to the generated elevation profile.
Reimplemented in QgsPointCloudLayerProfileResults, QgsVectorLayerProfileResults, and QgsAbstractProfileSurfaceResults.
Definition at line 62 of file qgsabstractprofilegenerator.cpp.
|
pure virtual |
Returns the unique string identifier for the results type.
Implemented in QgsPointCloudLayerProfileResults, QgsVectorLayerProfileResults, QgsMeshLayerProfileResults, and QgsRasterLayerProfileResults.
|
pure virtual |
Returns the range of the retrieved elevation values.
Implemented in QgsPointCloudLayerProfileResults, and QgsAbstractProfileSurfaceResults.