QGIS API Documentation 3.41.0-Master (fda2aa46e9a)
Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | List of all members
QgsAbstractVectorLayer3DRenderer Class Reference

3 More...

#include <qgsabstractvectorlayer3drenderer.h>

Inheritance diagram for QgsAbstractVectorLayer3DRenderer:
Inheritance graph
[legend]

Public Member Functions

 QgsAbstractVectorLayer3DRenderer ()
 
QgsVectorLayerlayer () 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 QgsAbstract3DRendererclone () 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
 

Detailed Description

3

Base class for 3D renderers that are based on vector layers.

Since
QGIS 3.12

Definition at line 77 of file qgsabstractvectorlayer3drenderer.h.

Constructor & Destructor Documentation

◆ QgsAbstractVectorLayer3DRenderer()

QgsAbstractVectorLayer3DRenderer::QgsAbstractVectorLayer3DRenderer ( )
default

Member Function Documentation

◆ copyBaseProperties()

void QgsAbstractVectorLayer3DRenderer::copyBaseProperties ( QgsAbstractVectorLayer3DRenderer r) const
protected

Copies common properties of this object to another object.

Definition at line 58 of file qgsabstractvectorlayer3drenderer.cpp.

◆ layer()

QgsVectorLayer * QgsAbstractVectorLayer3DRenderer::layer ( ) const

Returns vector layer associated with the renderer.

Definition at line 53 of file qgsabstractvectorlayer3drenderer.cpp.

◆ readXmlBaseProperties()

void QgsAbstractVectorLayer3DRenderer::readXmlBaseProperties ( const QDomElement &  elem,
const QgsReadWriteContext context 
)
protected

Reads common properties of this object from DOM element.

Definition at line 71 of file qgsabstractvectorlayer3drenderer.cpp.

◆ resolveReferences()

void QgsAbstractVectorLayer3DRenderer::resolveReferences ( const QgsProject project)
overridevirtual

Resolves references to other objects - second phase of loading - after readXml()

Reimplemented from QgsAbstract3DRenderer.

Definition at line 78 of file qgsabstractvectorlayer3drenderer.cpp.

◆ setLayer()

void QgsAbstractVectorLayer3DRenderer::setLayer ( QgsVectorLayer layer)

Sets vector layer associated with the renderer.

Definition at line 48 of file qgsabstractvectorlayer3drenderer.cpp.

◆ setTilingSettings()

void QgsAbstractVectorLayer3DRenderer::setTilingSettings ( const QgsVectorLayer3DTilingSettings settings)
inline

Sets tiling settings of the renderer.

Definition at line 88 of file qgsabstractvectorlayer3drenderer.h.

◆ tilingSettings()

QgsVectorLayer3DTilingSettings QgsAbstractVectorLayer3DRenderer::tilingSettings ( ) const
inline

Returns tiling settings of the renderer.

Definition at line 90 of file qgsabstractvectorlayer3drenderer.h.

◆ writeXmlBaseProperties()

void QgsAbstractVectorLayer3DRenderer::writeXmlBaseProperties ( QDomElement &  elem,
const QgsReadWriteContext context 
) const
protected

Writes common properties of this object to DOM element.

Definition at line 64 of file qgsabstractvectorlayer3drenderer.cpp.


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