QGIS API Documentation 3.41.0-Master (45a0abf3bec)
|
3 More...
#include <qgsabstractvectorlayer3drenderer.h>
Public Member Functions | |
QgsAbstractVectorLayer3DRenderer () | |
QgsVectorLayer * | layer () const |
Returns vector layer associated with the renderer. | |
void | resolveReferences (const QgsProject &project) override |
Resolves references to other objects - second phase of loading - after readXml() | |
void | setLayer (QgsVectorLayer *layer) |
Sets vector layer associated with the renderer. | |
void | setTilingSettings (const QgsVectorLayer3DTilingSettings &settings) |
Sets tiling settings of the renderer. | |
QgsVectorLayer3DTilingSettings | tilingSettings () const |
Returns tiling settings of the renderer. | |
Public Member Functions inherited from QgsAbstract3DRenderer | |
virtual | ~QgsAbstract3DRenderer ()=default |
virtual QgsAbstract3DRenderer * | clone () const =0 |
Returns a cloned instance. | |
virtual Qt3DCore::QEntity * | createEntity (Qgs3DMapSettings *map) const =0 |
Returns a 3D entity that will be used to show renderer's data in 3D scene. | |
virtual void | readXml (const QDomElement &elem, const QgsReadWriteContext &context)=0 |
Reads renderer's properties from given XML element. | |
virtual QString | type () const =0 |
Returns unique identifier of the renderer class (used to identify subclass) | |
virtual void | writeXml (QDomElement &elem, const QgsReadWriteContext &context) const =0 |
Writes renderer's properties to given XML element. | |
Protected Member Functions | |
void | copyBaseProperties (QgsAbstractVectorLayer3DRenderer *r) const |
Copies common properties of this object to another object. | |
void | readXmlBaseProperties (const QDomElement &elem, const QgsReadWriteContext &context) |
Reads common properties of this object from DOM element. | |
void | writeXmlBaseProperties (QDomElement &elem, const QgsReadWriteContext &context) const |
Writes common properties of this object to DOM element. | |
Protected Member Functions inherited from QgsAbstract3DRenderer | |
QgsAbstract3DRenderer ()=default | |
3
Base class for 3D renderers that are based on vector layers.
Definition at line 77 of file qgsabstractvectorlayer3drenderer.h.
|
default |
|
protected |
Copies common properties of this object to another object.
Definition at line 58 of file qgsabstractvectorlayer3drenderer.cpp.
QgsVectorLayer * QgsAbstractVectorLayer3DRenderer::layer | ( | ) | const |
Returns vector layer associated with the renderer.
Definition at line 53 of file qgsabstractvectorlayer3drenderer.cpp.
|
protected |
Reads common properties of this object from DOM element.
Definition at line 71 of file qgsabstractvectorlayer3drenderer.cpp.
|
overridevirtual |
Resolves references to other objects - second phase of loading - after readXml()
Reimplemented from QgsAbstract3DRenderer.
Definition at line 78 of file qgsabstractvectorlayer3drenderer.cpp.
void QgsAbstractVectorLayer3DRenderer::setLayer | ( | QgsVectorLayer * | layer | ) |
Sets vector layer associated with the renderer.
Definition at line 48 of file qgsabstractvectorlayer3drenderer.cpp.
|
inline |
Sets tiling settings of the renderer.
Definition at line 88 of file qgsabstractvectorlayer3drenderer.h.
|
inline |
Returns tiling settings of the renderer.
Definition at line 90 of file qgsabstractvectorlayer3drenderer.h.
|
protected |
Writes common properties of this object to DOM element.
Definition at line 64 of file qgsabstractvectorlayer3drenderer.cpp.