• PointCloudStretchRenderer
  • class Esri::ArcGISRuntime::PointCloudStretchRenderer

    A renderer for point clouds using color stops. More...

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

    Public Functions

    PointCloudStretchRenderer(const QString &attributeName, const QList<Esri::ArcGISRuntime::PointCloudColorStop *> &stops, QObject *parent = nullptr)
    virtual ~PointCloudStretchRenderer() override
    void setTransformType(Esri::ArcGISRuntime::PointCloudAttributeTransformType transformType)
    Esri::ArcGISRuntime::PointCloudColorStopListModel *stops() const
    Esri::ArcGISRuntime::PointCloudAttributeTransformType transformType() const

    Detailed Description

    This renderer defines the color of each point in a PointCloudLayer based on the value of a numeric attribute. It allows you to map continuous color ramps to minimum and maximum data values of one of the layer's numeric attributes.

    Member Function Documentation

    PointCloudStretchRenderer::PointCloudStretchRenderer(const QString &attributeName, const QList<Esri::ArcGISRuntime::PointCloudColorStop *> &stops, QObject *parent = nullptr)

    • attributeName - The name of the attribute for the renderer to use.
    • stops - The stops that define colors and point values to control rendering.
    • parent - The optional parent QObject.

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

    Destructor.

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

    Sets the transformType to transformType.

    See also transformType.

    Esri::ArcGISRuntime::PointCloudColorStopListModel *PointCloudStretchRenderer::stops() const

    Returns a collection of stops that define colors and point values to control rendering.

    Esri::ArcGISRuntime::PointCloudAttributeTransformType PointCloudStretchRenderer::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.