QGIS API Documentation 3.41.0-Master (45a0abf3bec)
|
Keeps track of available 3D renderers. More...
#include <qgs3drendererregistry.h>
Public Member Functions | |
Qgs3DRendererRegistry ()=default | |
~Qgs3DRendererRegistry () | |
void | addRenderer (Qgs3DRendererAbstractMetadata *metadata) |
Registers a new 3D renderer type. | |
void | removeRenderer (const QString &type) |
Unregisters a 3D renderer type. | |
Qgs3DRendererAbstractMetadata * | rendererMetadata (const QString &type) const |
Returns metadata for a 3D renderer type (may be used to create a new instance of the type) | |
QStringList | renderersList () const |
Returns a list of all available 3D renderer types. | |
Keeps track of available 3D renderers.
Should be accessed through QgsApplication::renderer3DRegistry() singleton.
Definition at line 67 of file qgs3drendererregistry.h.
|
default |
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.