QGIS API Documentation 3.30.0-'s-Hertogenbosch (f186b8efe0)
Public Member Functions | Friends | List of all members
QgsMeshLayerProfileResults Class Reference

Implementation of QgsAbstractProfileResults for mesh layers. More...

#include <qgsmeshlayerprofilegenerator.h>

Inheritance diagram for QgsMeshLayerProfileResults:
Inheritance graph
[legend]

Public Member Functions

QVector< QgsProfileIdentifyResultsidentify (const QgsProfilePoint &point, const QgsProfileIdentifyContext &context) override
 Identify results visible at the specified profile point. More...
 
QString type () const override
 Returns the unique string identifier for the results type. More...
 
- Public Member Functions inherited from QgsAbstractProfileSurfaceResults
 ~QgsAbstractProfileSurfaceResults () override
 
QVector< QgsGeometryasGeometries () const override
 Returns a list of geometries representing the calculated elevation results. More...
 
void copyPropertiesFromGenerator (const QgsAbstractProfileGenerator *generator) override
 Copies properties from specified generator to the results object. More...
 
QMap< double, double > distanceToHeightMap () const override
 Returns the map of distance (chainage) to height. More...
 
QVector< QgsProfileIdentifyResultsidentify (const QgsProfilePoint &point, const QgsProfileIdentifyContext &context) override
 Identify results visible at the specified profile point. More...
 
void renderResults (QgsProfileRenderContext &context) override
 Renders the results to the specified context. More...
 
QgsPointSequence sampledPoints () const override
 Returns a list of sampled points, with their calculated elevation as the point z value. More...
 
QgsProfileSnapResult snapPoint (const QgsProfilePoint &point, const QgsProfileSnapContext &context) override
 Snaps a point to the generated elevation profile. More...
 
QgsDoubleRange zRange () const override
 Returns the range of the retrieved elevation values. More...
 
- Public Member Functions inherited from QgsAbstractProfileResults
virtual ~QgsAbstractProfileResults ()
 
virtual QVector< QgsGeometryasGeometries () 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< QgsProfileIdentifyResultsidentify (const QgsDoubleRange &distanceRange, const QgsDoubleRange &elevationRange, const QgsProfileIdentifyContext &context)
 Identify results visible within the specified ranges. More...
 
virtual QVector< QgsProfileIdentifyResultsidentify (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...
 

Friends

class QgsMeshLayerProfileGenerator
 

Additional Inherited Members

- Public Attributes inherited from QgsAbstractProfileSurfaceResults
double maxZ = std::numeric_limits< double >::lowest()
 
QMap< double, double > mDistanceToHeightMap
 
std::unique_ptr< QgsFillSymbolmFillSymbol
 
double minZ = std::numeric_limits< double >::max()
 
std::unique_ptr< QgsLineSymbolmLineSymbol
 
QgsPointSequence mRawPoints
 
Qgis::ProfileSurfaceSymbology symbology = Qgis::ProfileSurfaceSymbology::Line
 

Detailed Description

Implementation of QgsAbstractProfileResults for mesh layers.

Note
Not available in Python bindings
Since
QGIS 3.26

Definition at line 46 of file qgsmeshlayerprofilegenerator.h.

Member Function Documentation

◆ identify()

QVector< QgsProfileIdentifyResults > QgsMeshLayerProfileResults::identify ( const QgsProfilePoint point,
const QgsProfileIdentifyContext context 
)
overridevirtual

Identify results visible at the specified profile point.

Reimplemented from QgsAbstractProfileSurfaceResults.

Definition at line 40 of file qgsmeshlayerprofilegenerator.cpp.

◆ type()

QString QgsMeshLayerProfileResults::type ( ) const
overridevirtual

Returns the unique string identifier for the results type.

Implements QgsAbstractProfileResults.

Definition at line 35 of file qgsmeshlayerprofilegenerator.cpp.

Friends And Related Function Documentation

◆ QgsMeshLayerProfileGenerator

friend class QgsMeshLayerProfileGenerator
friend

Definition at line 58 of file qgsmeshlayerprofilegenerator.h.


The documentation for this class was generated from the following files: