QGIS API Documentation
3.26.3-Buenos Aires (65e4edfdad)
|
Go to the documentation of this file.
19 #ifndef QGSMESHLAYERELEVATIONPROPERTIES_H
20 #define QGSMESHLAYERELEVATIONPROPERTIES_H
22 #include "qgis_core.h"
107 void setDefaultProfileLineSymbol(
const QColor &color );
108 void setDefaultProfileFillSymbol(
const QColor &color );
110 std::unique_ptr< QgsLineSymbol > mProfileLineSymbol;
111 std::unique_ptr< QgsFillSymbol > mProfileFillSymbol;
115 #endif // QGSMESHLAYERELEVATIONPROPERTIES_H
virtual QgsMapLayerElevationProperties * clone() const =0
Creates a clone of the properties.
virtual bool readXml(const QDomElement &element, const QgsReadWriteContext &context)=0
Reads the elevation properties from a DOM element previously written by writeXml().
The class is used as a container of context for various read/write operations on other objects.
Base class for storage of map layer elevation properties.
Mesh layer specific subclass of QgsMapLayerElevationProperties.
ProfileSurfaceSymbology
Surface symbology type for elevation profile plots.
virtual QDomElement writeXml(QDomElement &element, QDomDocument &doc, const QgsReadWriteContext &context)=0
Writes the properties to a DOM element, to be used later with readXml().
virtual bool isVisibleInZRange(const QgsDoubleRange &range) const
Returns true if the layer should be visible and rendered for the specified z range.
virtual QgsDoubleRange calculateZRange(QgsMapLayer *layer) const
Attempts to calculate the overall elevation or z range for the specified layer, using the settings de...
@ Line
The elevation surface will be rendered using a line symbol.
virtual bool hasElevation() const
Returns true if the layer has an elevation or z component.
virtual QString htmlSummary() const
Returns a HTML formatted summary of the properties.
A line symbol type, for rendering LineString and MultiLineString geometries.
Qgis::ProfileSurfaceSymbology profileSymbology() const
Returns the symbology option used to render the mesh profile in elevation profile plots.
QgsRange which stores a range of double values.
Base class for all map layer types. This is the base class for all map layer types (vector,...
virtual bool showByDefaultInElevationProfilePlots() const
Returns true if the layer should be visible by default in newly created elevation profile plots.
A fill symbol type, for rendering Polygon and MultiPolygon geometries.