QGIS API Documentation 3.41.0-Master (57ec4277f5e)
|
Base metadata class for 3D renderers. More...
#include <qgs3drendererregistry.h>
Public Member Functions | |
virtual | ~Qgs3DRendererAbstractMetadata ()=default |
virtual QgsAbstract3DRenderer * | createRenderer (QDomElement &elem, const QgsReadWriteContext &context)=0 |
Returns new instance of the renderer given the DOM element. | |
QString | type () const |
Returns unique identifier of the 3D renderer class. | |
Protected Member Functions | |
Qgs3DRendererAbstractMetadata (const QString &type) | |
Constructor of the base class. | |
Protected Attributes | |
QString | mType |
Type used within QGIS for identification (the same what renderer's type() returns) | |
Base metadata class for 3D renderers.
Instances of derived classes may be registered in Qgs3DRendererRegistry.
Definition at line 33 of file qgs3drendererregistry.h.
|
virtualdefault |
|
explicitprotected |
Constructor of the base class.
Definition at line 19 of file qgs3drendererregistry.cpp.
|
pure virtual |
Returns new instance of the renderer given the DOM element.
Returns nullptr
on error. Pure virtual function: must be implemented in derived classes.
Implemented in QgsMeshLayer3DRendererMetadata, QgsPointCloudLayer3DRendererMetadata, QgsRuleBased3DRendererMetadata, QgsTiledSceneLayer3DRendererMetadata, and QgsVectorLayer3DRendererMetadata.
QString Qgs3DRendererAbstractMetadata::type | ( | ) | const |
Returns unique identifier of the 3D renderer class.
Definition at line 24 of file qgs3drendererregistry.cpp.
|
protected |
Type used within QGIS for identification (the same what renderer's type() returns)
Definition at line 59 of file qgs3drendererregistry.h.