• PointCloudUniqueValueRenderer
  • class Esri::ArcGISRuntime::PointCloudUniqueValueRenderer

    Renderer for point clouds using unique values. More...

    Header: #include <PointCloudUniqueValueRenderer.h>
    Since: Esri::ArcGISRuntime 300.1
    Inherits: Esri::ArcGISRuntime::PointCloudRenderer

    Public Functions

    PointCloudUniqueValueRenderer(const QString &attributeName, const QList<Esri::ArcGISRuntime::PointCloudColorUniqueValue *> &uniqueValues, QObject *parent = nullptr)
    virtual ~PointCloudUniqueValueRenderer() override
    void setTransformType(Esri::ArcGISRuntime::PointCloudAttributeTransformType transformType)
    Esri::ArcGISRuntime::PointCloudAttributeTransformType transformType() const
    Esri::ArcGISRuntime::PointCloudColorUniqueValueListModel *uniqueValues() const

    Detailed Description

    PointCloudUniqueValueRenderer allows you to colorize points in a PointCloudLayer based on an attribute value. This is done by assigning unique colors to represent points with equal attribute values.

    Member Function Documentation

    PointCloudUniqueValueRenderer::PointCloudUniqueValueRenderer(const QString &attributeName, const QList<Esri::ArcGISRuntime::PointCloudColorUniqueValue *> &uniqueValues, QObject *parent = nullptr)

    • attributeName - The name of the attribute for the renderer to use.
    • uniqueValues - A collection of unique values to render.
    • parent - The optional parent QObject.

    [override virtual noexcept] PointCloudUniqueValueRenderer::~PointCloudUniqueValueRenderer()

    Destructor.

    void PointCloudUniqueValueRenderer::setTransformType(Esri::ArcGISRuntime::PointCloudAttributeTransformType transformType)

    Sets the transformType to transformType.

    See also transformType.

    Esri::ArcGISRuntime::PointCloudAttributeTransformType PointCloudUniqueValueRenderer::transformType() const

    Returns a transform applied to the attribute value before evaluating the renderer.

    The default value is PointCloudAttributeTransformType::None, which means that no transform is applied to the attribute value before evaluating the renderer.

    See also setTransformType() and PointCloudAttributeTransformType.

    Esri::ArcGISRuntime::PointCloudColorUniqueValueListModel *PointCloudUniqueValueRenderer::uniqueValues() const

    Returns the unique values.