RasterCell Class

  • RasterCell
  • class Esri::ArcGISRuntime::RasterCell

    A raster cell. More...

    Header: #include <RasterCell.h>
    Since: Esri::ArcGISRuntime 100.8
    Inherits: Esri::ArcGISRuntime::Object and Esri::ArcGISRuntime::GeoElement

    Public Functions

    virtual ~RasterCell() override

    Reimplemented Public Functions

    virtual Esri::ArcGISRuntime::AttributeListModel *attributes() const override
    virtual Esri::ArcGISRuntime::Geometry geometry() const override
    virtual void setGeometry(const Esri::ArcGISRuntime::Geometry &geometry) override

    Signals

    Detailed Description

    A RasterCell is a specific type of GeoElement used to represent the values of a specific pixel in a RasterLayer.

    Relevant samples:

    • Identify raster cell: Get the cell value of a local raster at the tapped location and display the result in a callout.

    See also RasterLayer.

    Member Function Documentation

    [override virtual] RasterCell::~RasterCell()

    Destructor.

    [override virtual] Esri::ArcGISRuntime::AttributeListModel *RasterCell::attributes() const

    Reimplements: GeoElement::attributes() const.

    Returns the attributes of the GeoElement as a collection of name/value pairs.

    [override virtual] Esri::ArcGISRuntime::Geometry RasterCell::geometry() const

    Reimplements: GeoElement::geometry() const.

    Returns the geometry that defines the shape and location of the GeoElement.

    See also setGeometry().

    [signal] void RasterCell::geometryChanged()

    Signal emitted when the geometry property changes.

    [override virtual] void RasterCell::setGeometry(const Esri::ArcGISRuntime::Geometry &geometry)

    Reimplements: GeoElement::setGeometry(const Esri::ArcGISRuntime::Geometry &geometry).

    Sets the geometry to geometry.

    See also geometry.

    Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.

    You can no longer sign into this site. Go to your ArcGIS portal or the ArcGIS Location Platform dashboard to perform management tasks.

    Your ArcGIS portal

    Create, manage, and access API keys and OAuth 2.0 developer credentials, hosted layers, and data services.

    Your ArcGIS Location Platform dashboard

    Manage billing, monitor service usage, and access additional resources.

    Learn more about these changes in the What's new in Esri Developers June 2024 blog post.

    Close