18 #ifndef QGSPOINTCLOUDRGBRENDERER_H
19 #define QGSPOINTCLOUDRGBRENDERER_H
22 #include "qgis_core.h"
42 QString
type()
const override;
60 QString redAttribute()
const;
69 void setRedAttribute(
const QString &attribute );
78 QString greenAttribute()
const;
87 void setGreenAttribute(
const QString &attribute );
96 QString blueAttribute()
const;
105 void setBlueAttribute(
const QString &attribute );
169 QString mRedAttribute = QStringLiteral(
"Red" );
170 QString mGreenAttribute = QStringLiteral(
"Green" );
171 QString mBlueAttribute = QStringLiteral(
"Blue" );
173 std::unique_ptr< QgsContrastEnhancement > mRedContrastEnhancement;
174 std::unique_ptr< QgsContrastEnhancement > mGreenContrastEnhancement;
175 std::unique_ptr< QgsContrastEnhancement > mBlueContrastEnhancement;
Manipulates raster or point cloud pixel values so that they enhanceContrast or clip into a specified ...
Base class for storing raw data from point cloud nodes.
Encapsulates the render context for a 2D point cloud rendering operation.
Abstract base class for 2d point cloud renderers.
virtual QDomElement save(QDomDocument &doc, const QgsReadWriteContext &context) const =0
Saves the renderer configuration to an XML element.
virtual void renderBlock(const QgsPointCloudBlock *block, QgsPointCloudRenderContext &context)=0
Renders a block of point cloud data using the specified render context.
virtual QgsPointCloudRenderer * clone() const =0
Create a deep copy of this renderer.
virtual QSet< QString > usedAttributes(const QgsPointCloudRenderContext &context) const
Returns a list of attributes required by this renderer.
virtual QString type() const =0
Returns the identifier of the renderer type.
An RGB renderer for 2d visualisation of point clouds using embedded red, green and blue attributes.
The class is used as a container of context for various read/write operations on other objects.