QGIS API Documentation 3.41.0-Master (cea29feecf2)
Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | List of all members
QgsAbstractPointCloud3DRenderer Class Referenceabstract

Base class for point cloud 3D renderers. More...

#include <qgsabstractpointcloud3drenderer.h>

Inheritance diagram for QgsAbstractPointCloud3DRenderer:
Inheritance graph
[legend]

Public Member Functions

virtual ~QgsAbstractPointCloud3DRenderer ()=default
 
virtual bool convertFrom2DRenderer (QgsPointCloudRenderer *renderer)=0
 Updates the 3D renderer's symbol to match that of a given QgsPointCloudRenderer.
 
- 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 void resolveReferences (const QgsProject &project)
 Resolves references to other objects - second phase of loading - after readXml()
 
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

 QgsAbstractPointCloud3DRenderer ()=default
 
- Protected Member Functions inherited from QgsAbstract3DRenderer
 QgsAbstract3DRenderer ()=default
 

Detailed Description

Base class for point cloud 3D renderers.

This class allows for functionality in 3D to be called from core.

Since
QGIS 3.26

Definition at line 40 of file qgsabstractpointcloud3drenderer.h.

Constructor & Destructor Documentation

◆ ~QgsAbstractPointCloud3DRenderer()

virtual QgsAbstractPointCloud3DRenderer::~QgsAbstractPointCloud3DRenderer ( )
virtualdefault

◆ QgsAbstractPointCloud3DRenderer()

QgsAbstractPointCloud3DRenderer::QgsAbstractPointCloud3DRenderer ( )
protecteddefault

Member Function Documentation

◆ convertFrom2DRenderer()

virtual bool QgsAbstractPointCloud3DRenderer::convertFrom2DRenderer ( QgsPointCloudRenderer renderer)
pure virtual

Updates the 3D renderer's symbol to match that of a given QgsPointCloudRenderer.

Returns
true on success, false otherwise

Implemented in QgsPointCloudLayer3DRenderer.


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