16#ifndef QGSONLINEDEMTERRAINSETTINGS_H
17#define QGSONLINEDEMTERRAINSETTINGS_H
42 QString
type()
const final;
84 double mSkirtHeight = 10.;
Rendering context for preparation of 3D entities.
Base class for all terrain settings classes.
virtual void readXml(const QDomElement &element, const QgsReadWriteContext &context)=0
Reads settings from a DOM element.
virtual std::unique_ptr< QgsTerrainGenerator > createTerrainGenerator(const Qgs3DRenderContext &context) const =0
Creates a new instance of a terrain generator which matches the terrain settings.
virtual QgsAbstractTerrainSettings * clone() const =0
Returns a copy of the terrain settings.
virtual bool equals(const QgsAbstractTerrainSettings *other) const =0
Returns true if this settings is exactly equal to another other settings.
virtual QString type() const =0
Returns the unique type name for the terrain generator.
virtual void writeXml(QDomElement &element, const QgsReadWriteContext &context) const =0
Writes settings to a DOM element.
Terrain settings for a terrain generator that uses an online DEM to build terrain.
int resolution() const
Returns the resolution of the terrain (how many elevation samples are taken on one side of a terrain ...
double skirtHeight() const
Returns the skirt height (in world units).
void setResolution(int resolution)
Sets the resolution of the terrain (how many elevation samples are taken on one side of a terrain til...
void setSkirtHeight(double height)
Sets the skirt height (in world units).
A container for the context for various read/write operations on objects.