|
| QgsRasterLayerElevationProperties (QObject *parent) |
| Constructor for QgsRasterLayerElevationProperties, with the specified parent object. More...
|
|
| ~QgsRasterLayerElevationProperties () override |
|
int | bandNumber () const |
| Returns the band number from which the elevation should be taken. More...
|
|
QgsDoubleRange | calculateZRange (QgsMapLayer *layer) const override |
| Attempts to calculate the overall elevation or z range for the specified layer, using the settings defined by this elevation properties object. More...
|
|
QgsRasterLayerElevationProperties * | clone () const override |
| Creates a clone of the properties. More...
|
|
bool | hasElevation () const override |
| Returns true if the layer has an elevation or z component. More...
|
|
QString | htmlSummary () const override |
| Returns a HTML formatted summary of the properties. More...
|
|
bool | isEnabled () const |
| Returns true if the elevation properties are enabled, i.e. More...
|
|
bool | isVisibleInZRange (const QgsDoubleRange &range) const override |
| Returns true if the layer should be visible and rendered for the specified z range. More...
|
|
QgsFillSymbol * | profileFillSymbol () const |
| Returns the fill symbol used to render the raster profile in elevation profile plots. More...
|
|
QgsLineSymbol * | profileLineSymbol () const |
| Returns the line symbol used to render the raster profile in elevation profile plots. More...
|
|
Qgis::ProfileSurfaceSymbology | profileSymbology () const |
| Returns the symbology option used to render the raster profile in elevation profile plots. More...
|
|
bool | readXml (const QDomElement &element, const QgsReadWriteContext &context) override |
| Reads the elevation properties from a DOM element previously written by writeXml(). More...
|
|
void | setBandNumber (int band) |
| Sets the band number from which the elevation should be taken. More...
|
|
void | setEnabled (bool enabled) |
| Sets whether the elevation properties are enabled, i.e. More...
|
|
void | setProfileFillSymbol (QgsFillSymbol *symbol) |
| Sets the fill symbol used to render the raster profile in elevation profile plots. More...
|
|
void | setProfileLineSymbol (QgsLineSymbol *symbol) |
| Sets the line symbol used to render the raster profile in elevation profile plots. More...
|
|
void | setProfileSymbology (Qgis::ProfileSurfaceSymbology symbology) |
| Sets the symbology option used to render the raster profile in elevation profile plots. More...
|
|
bool | showByDefaultInElevationProfilePlots () const override |
| Returns true if the layer should be visible by default in newly created elevation profile plots. More...
|
|
QDomElement | writeXml (QDomElement &element, QDomDocument &doc, const QgsReadWriteContext &context) override |
| Writes the properties to a DOM element, to be used later with readXml(). More...
|
|
| QgsMapLayerElevationProperties (QObject *parent) |
| Constructor for QgsMapLayerElevationProperties, with the specified parent object. More...
|
|
virtual QgsDoubleRange | calculateZRange (QgsMapLayer *layer) const |
| Attempts to calculate the overall elevation or z range for the specified layer, using the settings defined by this elevation properties object. More...
|
|
virtual QgsMapLayerElevationProperties * | clone () const =0 |
| Creates a clone of the properties. More...
|
|
QgsPropertyCollection & | dataDefinedProperties () |
| Returns a reference to the object's property collection, used for data defined overrides. More...
|
|
const QgsPropertyCollection & | dataDefinedProperties () const |
| Returns a reference to the object's property collection, used for data defined overrides. More...
|
|
virtual QgsMapLayerElevationProperties::Flags | flags () const |
| Returns flags associated to the elevation properties. More...
|
|
virtual bool | hasElevation () const |
| Returns true if the layer has an elevation or z component. More...
|
|
virtual QString | htmlSummary () const |
| Returns a HTML formatted summary of the properties. More...
|
|
virtual bool | isVisibleInZRange (const QgsDoubleRange &range) const |
| Returns true if the layer should be visible and rendered for the specified z range. More...
|
|
virtual bool | readXml (const QDomElement &element, const QgsReadWriteContext &context)=0 |
| Reads the elevation properties from a DOM element previously written by writeXml(). More...
|
|
void | setDataDefinedProperties (const QgsPropertyCollection &collection) |
| Sets the object's property collection, used for data defined overrides. More...
|
|
virtual void | setDefaultsFromLayer (QgsMapLayer *layer) |
| Sets default properties based on sensible choices for the given map layer. More...
|
|
void | setZOffset (double offset) |
| Sets the z offset, which is a fixed offset amount which will be added to z values from the layer. More...
|
|
void | setZScale (double scale) |
| Sets the z scale, which is a scaling factor which will be applied to z values from the layer. More...
|
|
virtual bool | showByDefaultInElevationProfilePlots () const |
| Returns true if the layer should be visible by default in newly created elevation profile plots. More...
|
|
virtual QDomElement | writeXml (QDomElement &element, QDomDocument &doc, const QgsReadWriteContext &context)=0 |
| Writes the properties to a DOM element, to be used later with readXml(). More...
|
|
double | zOffset () const |
| Returns the z offset, which is a fixed offset amount which should be added to z values from the layer. More...
|
|
double | zScale () const |
| Returns the z scale, which is a scaling factor which should be applied to z values from the layer. More...
|
|