92  return instance()->mMaterialRegistry;
 
void addRenderer(Qgs3DRendererAbstractMetadata *metadata)
Registers a new 3D renderer type.
 
bool addSymbolType(Qgs3DSymbolAbstractMetadata *metadata)
Registers a new symbol type. Takes ownership of the metadata instance.
 
Qgs3D is a singleton class containing various registries and other global members related to 3D class...
 
static void initialize()
Initializes the 3D framework.
 
static QgsMaterialRegistry * materialRegistry()
Returns the material registry, used for managing 3D materials.
 
static Qgs3D * instance()
Returns a pointer to the singleton instance.
 
static QIcon getThemeIcon(const QString &name, const QColor &fillColor=QColor(), const QColor &strokeColor=QColor())
Helper to get a theme icon.
 
static Qgs3DSymbolRegistry * symbol3DRegistry()
Returns registry of available 3D symbols.
 
static Qgs3DRendererRegistry * renderer3DRegistry()
Returns registry of available 3D renderers.
 
static QgsAbstractMaterialSettings * create()
Returns a new instance of QgsGoochMaterialSettings.
 
static bool supportsTechnique(QgsMaterialSettingsRenderingTechnique technique)
Returns true if the specified technique is supported by the Gooch material.
 
static QgsAbstract3DSymbol * create() SIP_FACTORY
Creates a new QgsLine3DSymbol.
 
Registry of available 3d material settings classes.
 
bool addMaterialSettingsType(QgsMaterialSettingsAbstractMetadata *metadata)
Registers a new material settings type. Takes ownership of the metadata instance.
 
static QgsAbstractMaterialSettings * create()
Returns a new instance of QgsNullMaterialSettings.
 
static bool supportsTechnique(QgsMaterialSettingsRenderingTechnique technique)
Returns true if the specified technique is supported by the material.
 
static QgsAbstractMaterialSettings * create()
Returns a new instance of QgsPhongMaterialSettings.
 
static bool supportsTechnique(QgsMaterialSettingsRenderingTechnique technique)
Returns true if the specified technique is supported by the Phong material.
 
static bool supportsTechnique(QgsMaterialSettingsRenderingTechnique technique)
Returns true if the specified technique is supported by the Phong material.
 
static QgsAbstractMaterialSettings * create()
Returns a new instance of QgsPhongTexturedMaterialSettings.
 
static QgsAbstract3DSymbol * create() SIP_FACTORY
Creates a new QgsPoint3DSymbol.
 
static QgsAbstract3DSymbol * create() SIP_FACTORY
Creates a new QgsPolygon3DSymbol.
 
static bool supportsTechnique(QgsMaterialSettingsRenderingTechnique technique)
Returns true if the specified technique is supported by the material.
 
static QgsAbstractMaterialSettings * create()
Returns a new instance of QgsSimpleLineMaterialSettings.
 
static QgsStyle * defaultStyle()
Returns default application-wide style.