QGIS API Documentation
3.26.3-Buenos Aires (65e4edfdad)
|
Go to the documentation of this file.
15 #ifndef QGSPOINTCLOUDRENDERERREGISTRY_H
16 #define QGSPOINTCLOUDRENDERERREGISTRY_H
18 #include "qgis_core.h"
23 #include <QStringList>
24 #include <QDomElement>
59 , mVisibleName( visibleName )
68 QString
name()
const {
return mName; }
80 QIcon
icon()
const {
return mIcon; }
86 void setIcon(
const QIcon &icon ) { mIcon = icon; }
106 { Q_UNUSED( layer ) Q_UNUSED( style ); Q_UNUSED( oldRenderer );
return nullptr; }
135 const QString &visibleName,
137 const QIcon &icon = QIcon(),
140 , mCreateFunc( pfCreate )
141 , mWidgetFunc( pfWidget )
145 {
return mCreateFunc ? mCreateFunc( elem, context ) :
nullptr; }
149 {
return mWidgetFunc ? mWidgetFunc( layer, style, renderer ) :
nullptr; }
210 bool removeRenderer(
const QString &rendererName );
221 QStringList renderersList()
const;
241 QMap<QString, QgsPointCloudRendererAbstractMetadata *> mRenderers;
244 QStringList mRenderersOrder;
247 #endif // QGSPOINTCLOUDRENDERERREGISTRY_H
The class is used as a container of context for various read/write operations on other objects.
Represents a map layer supporting display of point clouds.
QList< QgsPointCloudCategory > QgsPointCloudCategoryList
QgsPointCloudRendererWidget *(* QgsPointCloudRendererWidgetFunc)(QgsPointCloudLayer *, QgsStyle *, QgsPointCloudRenderer *)
Collection of point cloud attributes.
Base class for providing data for QgsPointCloudLayer.
QgsPointCloudRenderer *(* QgsPointCloudRendererCreateFunc)(QDomElement &, const QgsReadWriteContext &)
Abstract base class for 2d point cloud renderers.
Registry of 2D renderers for point clouds.