QGIS API Documentation 3.34.0-Prizren (ffbdd678812)
Loading...
Searching...
No Matches
Public Member Functions | List of all members
QgsRasterDataProviderElevationProperties Class Reference

Handles elevation related properties for a raster data provider. More...

#include <qgsrasterdataproviderelevationproperties.h>

Inheritance diagram for QgsRasterDataProviderElevationProperties:
Inheritance graph
[legend]

Public Member Functions

 QgsRasterDataProviderElevationProperties ()
 Constructor for QgsRasterDataProviderElevationProperties.
 
bool containsElevationData () const
 Returns true if the raster data provider definitely contains elevation related data.
 
void setContainsElevationData (bool contains)
 Sets whether the raster data provider definitely contains elevation related data.
 
- Public Member Functions inherited from QgsDataProviderElevationProperties
 QgsDataProviderElevationProperties ()
 Constructor for QgsDataProviderElevationProperties.
 
virtual ~QgsDataProviderElevationProperties ()
 

Detailed Description

Handles elevation related properties for a raster data provider.

Since
QGIS 3.32

Definition at line 33 of file qgsrasterdataproviderelevationproperties.h.

Constructor & Destructor Documentation

◆ QgsRasterDataProviderElevationProperties()

QgsRasterDataProviderElevationProperties::QgsRasterDataProviderElevationProperties ( )
default

Member Function Documentation

◆ containsElevationData()

bool QgsRasterDataProviderElevationProperties::containsElevationData ( ) const

Returns true if the raster data provider definitely contains elevation related data.

Note
Even if this method returns false, the raster data may still relate to elevation values. true will only be returned in situations where elevation data is definitively present.
See also
setContainsElevationData()

Definition at line 21 of file qgsrasterdataproviderelevationproperties.cpp.

◆ setContainsElevationData()

void QgsRasterDataProviderElevationProperties::setContainsElevationData ( bool  contains)

Sets whether the raster data provider definitely contains elevation related data.

See also
containsElevationData()

Definition at line 26 of file qgsrasterdataproviderelevationproperties.cpp.


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