QGIS API Documentation 3.41.0-Master (cea29feecf2)
|
Stores metadata about one 3D terrain class. More...
#include <qgs3dterrainregistry.h>
Public Member Functions | |
Qgs3DTerrainAbstractMetadata (const QString &type, const QString &visibleName, const QIcon &icon=QIcon()) | |
Constructor for Qgs3DTerrainAbstractMetadata, with the specified type and visibleName. | |
virtual | ~Qgs3DTerrainAbstractMetadata ()=default |
virtual QgsTerrainGenerator * | createTerrainGenerator () |
Creates a new instance of this terrain generator type. | |
virtual QgsAbstractTerrainSettings * | createTerrainSettings ()=0 |
Creates a new instance of this terrain settings type. | |
QIcon | icon () const |
Returns an icon representing the terrain type, if available. | |
QString | type () const |
Returns the unique terrain type string. | |
QString | visibleName () const |
Returns the terrain's visible (translated) name. | |
Stores metadata about one 3D terrain class.
Definition at line 42 of file qgs3dterrainregistry.h.
|
inline |
Constructor for Qgs3DTerrainAbstractMetadata, with the specified type and visibleName.
An optional icon can be specified to represent the material type.
Definition at line 50 of file qgs3dterrainregistry.h.
|
virtualdefault |
|
inlinevirtual |
Creates a new instance of this terrain generator type.
Caller takes ownership of the returned object.
Reimplemented in Qgs3DTerrainMetadata.
Definition at line 87 of file qgs3dterrainregistry.h.
|
pure virtual |
Creates a new instance of this terrain settings type.
Caller takes ownership of the returned object.
Implemented in Qgs3DTerrainMetadata.
|
inline |
Returns an icon representing the terrain type, if available.
Definition at line 71 of file qgs3dterrainregistry.h.
|
inline |
Returns the unique terrain type string.
Definition at line 61 of file qgs3dterrainregistry.h.
|
inline |
Returns the terrain's visible (translated) name.
Definition at line 66 of file qgs3dterrainregistry.h.