QGIS API Documentation 3.39.0-Master (3783037d301)
Loading...
Searching...
No Matches
Public Member Functions | List of all members
Qgs3DRendererRegistry Class Reference

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.
 
Qgs3DRendererAbstractMetadatarendererMetadata (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.
 

Detailed Description

Keeps track of available 3D renderers.

Should be accessed through QgsApplication::renderer3DRegistry() singleton.

Definition at line 67 of file qgs3drendererregistry.h.

Constructor & Destructor Documentation

◆ Qgs3DRendererRegistry()

Qgs3DRendererRegistry::Qgs3DRendererRegistry ( )
default

◆ ~Qgs3DRendererRegistry()

Qgs3DRendererRegistry::~Qgs3DRendererRegistry ( )

Definition at line 33 of file qgs3drendererregistry.cpp.

Member Function Documentation

◆ addRenderer()

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.

◆ removeRenderer()

void Qgs3DRendererRegistry::removeRenderer ( const QString &  type)

Unregisters a 3D renderer type.

Definition at line 43 of file qgs3drendererregistry.cpp.

◆ rendererMetadata()

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.

◆ renderersList()

QStringList Qgs3DRendererRegistry::renderersList ( ) const

Returns a list of all available 3D renderer types.

Definition at line 53 of file qgs3drendererregistry.cpp.


The documentation for this class was generated from the following files: