QGIS API Documentation
3.4.15-Madeira (e83d02e274)
|
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. More... | |
QString | type () const |
Returns unique identifier of the 3D renderer class. More... | |
Protected Member Functions | |
Qgs3DRendererAbstractMetadata (const QString &type) | |
Constructor of the base class. More... | |
Protected Attributes | |
QString | mType |
Type used within QGIS for identification (the same what renderer's type() returns) More... | |
Base metadata class for 3D renderers.
Instances of derived classes may be registered in Qgs3DRendererRegistry.
Definition at line 34 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 NULL on error. Pure virtual function: must be implemented in derived classes.
Implemented in 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 60 of file qgs3drendererregistry.h.