• PointCloudColorUniqueValue
  • class Esri::ArcGISRuntime::PointCloudColorUniqueValue

    Provides information about the unique values associated with the renderer. More...

    Header: #include <PointCloudColorUniqueValue.h>
    Since: Esri::ArcGISRuntime 300.1
    Inherits: Esri::ArcGISRuntime::Object

    Public Functions

    PointCloudColorUniqueValue(const QColor &color, const QStringList &values, QObject *parent = nullptr)
    virtual ~PointCloudColorUniqueValue() override
    QColor color() const
    QString description() const
    QString label() const
    void setColor(const QColor &color)
    void setDescription(const QString &description)
    void setLabel(const QString &label)
    void setValues(const QStringList &values)
    QStringList values() const

    Detailed Description

    Each element in the array is an object that matches a unique value with a specific color. Points with equal values to those specified here will be assigned the associated color.

    See also PointCloudUniqueValueRenderer.

    Member Function Documentation

    PointCloudColorUniqueValue::PointCloudColorUniqueValue(const QColor &color, const QStringList &values, QObject *parent = nullptr)

    Creates a PointCloudColorUniqueValue with the specified color and values.

    • color - The color used to symbolize the unique value.
    • values - A collection of string values to display using the corresponding color.
    • parent - The optional parent QObject.

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

    Destructor.

    QColor PointCloudColorUniqueValue::color() const

    Specifies and returns the color for the unique value.

    See also setColor().

    QString PointCloudColorUniqueValue::description() const

    Specifies and returns the description for the unique value.

    See also setDescription().

    QString PointCloudColorUniqueValue::label() const

    Specifies and returns the label for the unique value.

    See also setLabel().

    void PointCloudColorUniqueValue::setColor(const QColor &color)

    Sets the color to color.

    See also color.

    void PointCloudColorUniqueValue::setDescription(const QString &description)

    Sets the description to description.

    See also description.

    void PointCloudColorUniqueValue::setLabel(const QString &label)

    Sets the label to label.

    See also label.

    void PointCloudColorUniqueValue::setValues(const QStringList &values)

    Sets the values to values.

    See also values.

    QStringList PointCloudColorUniqueValue::values() const

    Returns list of string values used to classify points.

    See also setValues().