QGIS API Documentation 3.99.0-Master (e9821da5c6b)
Loading...
Searching...
No Matches
QgsTriangulatedPointCloudLayerProfileResults Class Reference

Implementation of QgsAbstractProfileSurfaceResults for triangulated point cloud layers. More...

#include <qgspointcloudlayerprofilegenerator.h>

Inheritance diagram for QgsTriangulatedPointCloudLayerProfileResults:

Public Member Functions

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

Friends

class QgsTriangulatedPointCloudLayerProfileGenerator

Additional Inherited Members

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

Detailed Description

Implementation of QgsAbstractProfileSurfaceResults for triangulated point cloud layers.

Note
Not available in Python bindings
Since
QGIS 4.0

Definition at line 310 of file qgspointcloudlayerprofilegenerator.h.

Member Function Documentation

◆ copyPropertiesFromGenerator()

void QgsTriangulatedPointCloudLayerProfileResults::copyPropertiesFromGenerator ( const QgsAbstractProfileGenerator * generator)
overridevirtual

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 from QgsAbstractProfileSurfaceResults.

Definition at line 1072 of file qgspointcloudlayerprofilegenerator.cpp.

◆ identify() [1/2]

QVector< QgsProfileIdentifyResults > QgsAbstractProfileResults::identify ( const QgsDoubleRange & distanceRange,
const QgsDoubleRange & elevationRange,
const QgsProfileIdentifyContext & context )
virtual

Identify results visible within the specified ranges.

Reimplemented from QgsAbstractProfileSurfaceResults.

Definition at line 64 of file qgsabstractprofilegenerator.cpp.

◆ identify() [2/2]

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

Identify results visible at the specified profile point.

Reimplemented from QgsAbstractProfileSurfaceResults.

Definition at line 1058 of file qgspointcloudlayerprofilegenerator.cpp.

◆ renderResults()

void QgsTriangulatedPointCloudLayerProfileResults::renderResults ( QgsProfileRenderContext & context)
overridevirtual

Renders the results to the specified context.

Reimplemented from QgsAbstractProfileSurfaceResults.

Definition at line 1091 of file qgspointcloudlayerprofilegenerator.cpp.

◆ type()

QString QgsTriangulatedPointCloudLayerProfileResults::type ( ) const
overridevirtual

Returns the unique string identifier for the results type.

Implements QgsAbstractProfileResults.

Definition at line 1053 of file qgspointcloudlayerprofilegenerator.cpp.

◆ QgsTriangulatedPointCloudLayerProfileGenerator


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