16 #ifndef QGSDEMTERRAINGENERATOR_H
17 #define QGSDEMTERRAINGENERATOR_H
27 class QgsDemHeightMapGenerator;
57 void setResolution(
int resolution ) { mResolution = resolution; updateGenerator(); }
70 Type type() const override;
72 float heightAt(
double x,
double y, const
Qgs3DMapSettings &map ) const override;
73 void writeXml( QDomElement &elem ) const override;
74 void readXml( const QDomElement &elem ) override;
75 void resolveReferences( const
QgsProject &project ) override;
77 QgsChunkLoader *createChunkLoader( QgsChunkNode *node ) const override
SIP_FACTORY;
80 void updateGenerator();
82 QgsDemHeightMapGenerator *mHeightMapGenerator =
nullptr;
93 float mSkirtHeight = 10.f;
97 #endif // QGSDEMTERRAINGENERATOR_H