QGIS API Documentation
3.8.0-Zanzibar (11aff65)
|
Keeps track of available 3D renderers. More...
#include <qgs3drendererregistry.h>
Public Member Functions | |
Qgs3DRendererRegistry ()=default | |
Creates registry of 3D renderers. More... | |
~Qgs3DRendererRegistry () | |
void | addRenderer (Qgs3DRendererAbstractMetadata *metadata) |
Registers a new 3D renderer type. More... | |
void | removeRenderer (const QString &type) |
Unregisters a 3D renderer type. More... | |
Qgs3DRendererAbstractMetadata * | rendererMetadata (const QString &type) const |
Returns metadata for a 3D renderer type (may be used to create a new instance of the type) More... | |
QStringList | renderersList () const |
Returns a list of all available 3D renderer types. More... | |
Keeps track of available 3D renderers.
Should be accessed through QgsApplication::renderer3DRegistry() singleton.
Definition at line 69 of file qgs3drendererregistry.h.
|
default |
Creates registry of 3D renderers.
Qgs3DRendererRegistry::~Qgs3DRendererRegistry | ( | ) |
Definition at line 33 of file qgs3drendererregistry.cpp.
void Qgs3DRendererRegistry::addRenderer | ( | Qgs3DRendererAbstractMetadata * | metadata | ) |
Registers a new 3D renderer type.
The call takes ownership of the passed metadata object.
Definition at line 38 of file qgs3drendererregistry.cpp.
void Qgs3DRendererRegistry::removeRenderer | ( | const QString & | type | ) |
Unregisters a 3D renderer type.
Definition at line 43 of file qgs3drendererregistry.cpp.
Qgs3DRendererAbstractMetadata * Qgs3DRendererRegistry::rendererMetadata | ( | const QString & | type | ) | const |
Returns metadata for a 3D renderer type (may be used to create a new instance of the type)
Definition at line 48 of file qgs3drendererregistry.cpp.
QStringList Qgs3DRendererRegistry::renderersList | ( | ) | const |
Returns a list of all available 3D renderer types.
Definition at line 53 of file qgs3drendererregistry.cpp.