RasterElevationSource Class

  • RasterElevationSource
  • class Esri::ArcGISRuntime::RasterElevationSource

    An elevation source based on raster elevation files. More...

    Header: #include <RasterElevationSource.h>
    Since: Esri::ArcGISRuntime 100.0
    Inherits: Esri::ArcGISRuntime::ElevationSource

    Public Functions

    RasterElevationSource(const QStringList &filePaths, QObject *parent = nullptr)
    virtual ~RasterElevationSource() override
    QStringList filePaths() const
    Esri::ArcGISRuntime::Envelope fullExtent() const

    Detailed Description

    A raster elevation source helps visualize maps and layers in 3D by providing a surface that layers may be draped or offset from. You can create a raster elevation source from a collection of raster elevation files, such as Digital Terrain Elevation Data (DTED) format files. See Raster To DTED for more information about creating raster elevation files based on the DTED tiling scheme.

    To utilize an elevation source in a scene's surface, add it to the scene's Surface::elevationSources collection.

    Member Function Documentation

    [explicit] RasterElevationSource::RasterElevationSource(const QStringList &filePaths, QObject *parent = nullptr)

    Creates a raster elevation source using a collection of file paths to raster elevation files.

    • filePaths - The collection of file paths of raster elevation sources.
    • parent - The optional parent QObject.

    [override virtual] RasterElevationSource::~RasterElevationSource()

    Destructor

    QStringList RasterElevationSource::filePaths() const

    Returns the collection of files paths that are used to create the raster elevation source.

    {RasterElevationSource(const QStringList&, QObject*)}

    See also Esri::ArcGISRuntime::RasterElevationSource::RasterElevationSource(const QStringList&, QObject*).

    [since Esri::ArcGISRuntime 100.3] Esri::ArcGISRuntime::Envelope RasterElevationSource::fullExtent() const

    Gets the extent of all elevation data in the source.

    Expressed in the coordinates of the spatial reference of the raster files used for the elevation source.

    This value is populated after the elevation source is done loading.

    This function was introduced in Esri::ArcGISRuntime 100.3.

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