• PointCloudColorStop
  • class Esri::ArcGISRuntime::PointCloudColorStop

    Defines a color and a corresponding data value to create a renderer's color ramp. Points with values between the specified stops are colorized using linearly-interpolated colors. More...

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

    Public Functions

    PointCloudColorStop(const QColor &color, double value, QObject *parent = nullptr)
    virtual ~PointCloudColorStop() override
    QColor color() const
    QString label() const
    void setColor(const QColor &color)
    void setLabel(const QString &label)
    void setValue(double value)
    double value() const

    Detailed Description

    See also PointCloudStretchRenderer.

    Member Function Documentation

    PointCloudColorStop::PointCloudColorStop(const QColor &color, double value, QObject *parent = nullptr)

    Creates a color stop with the specified color and value.

    • color - The color for the stop.
    • value - Specifies the data value to map to the given color.
    • parent - The optional parent QObject.

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

    Destructor.

    QColor PointCloudColorStop::color() const

    Returns the color for the stop.

    See also setColor().

    QString PointCloudColorStop::label() const

    Returns the label for the stop.

    See also setLabel().

    void PointCloudColorStop::setColor(const QColor &color)

    Sets the color to color.

    See also color.

    void PointCloudColorStop::setLabel(const QString &label)

    Sets the label to label.

    See also label.

    void PointCloudColorStop::setValue(double value)

    Sets the value to value.

    See also value.

    double PointCloudColorStop::value() const

    Specifies and returns the data value to map to the given color.

    See also setValue().