IntegratedMeshLayer Class

  • IntegratedMeshLayer
  • class Esri::ArcGISRuntime::IntegratedMeshLayer

    An IntegratedMeshLayer represents a layer that can visualize an integrated mesh layer. An integrated mesh can represent built and natural 3D features, such as building walls, trees, valleys, and cliffs, with realistic textures and includes elevation information. More...

    Header: #include <IntegratedMeshLayer.h>
    Since: Esri::ArcGISRuntime 100.5
    Inherits: Esri::ArcGISRuntime::Layer and Esri::ArcGISRuntime::RemoteResource

    Public Functions

    IntegratedMeshLayer(Esri::ArcGISRuntime::Item *item, QObject *parent = nullptr)
    IntegratedMeshLayer(const QUrl &url, Esri::ArcGISRuntime::Credential *credential, QObject *parent = nullptr)
    IntegratedMeshLayer(const QUrl &url, QObject *parent = nullptr)
    virtual ~IntegratedMeshLayer() override
    double altitudeOffset() const
    void setAltitudeOffset(double altitudeOffset)

    Reimplemented Public Functions

    virtual Esri::ArcGISRuntime::Credential *credential() const override
    virtual Esri::ArcGISRuntime::RequestConfiguration requestConfiguration() const override
    virtual void setRequestConfiguration(const Esri::ArcGISRuntime::RequestConfiguration &requestConfiguration) override
    virtual QUrl url() const override

    Detailed Description

    Member Function Documentation

    [explicit] IntegratedMeshLayer::IntegratedMeshLayer(Esri::ArcGISRuntime::Item *item, QObject *parent = nullptr)

    Creates an integrated mesh layer object with a portal item.

    • item - The integrated mesh layer item (only PortalItem are supported).
    • parent - The optional parent QObject.

    {PortalItem::PortalItem(const QUrl&, QObject*)}, {Esri::ArcGISRuntime::Layer::item} {Layer::item}

    See also PortalItem and Esri::ArcGISRuntime::PortalItem::PortalItem(const QUrl&, QObject*).

    IntegratedMeshLayer::IntegratedMeshLayer(const QUrl &url, Esri::ArcGISRuntime::Credential *credential, QObject *parent = nullptr)

    Constructor that accepts an url, a credential, and an optional parent object.

    [explicit] IntegratedMeshLayer::IntegratedMeshLayer(const QUrl &url, QObject *parent = nullptr)

    Creates an Integrated Mesh layer object.

    • url - The URL to the service, scene layer package, or portal item.
    • parent - The optional parent QObject.

    If the specified URL is a portal item URL (see PortalItem::PortalItem(const QUrl&, QObject*) for the supported URL formats), the underlying PortalItem will be created and accessible through Layer::item.

    {PortalItem::PortalItem(const QUrl&, QObject*)}, {Esri::ArcGISRuntime::Layer::item} {Layer::item}

    See also PortalItem and Esri::ArcGISRuntime::PortalItem::PortalItem(const QUrl&, QObject*).

    [override virtual] IntegratedMeshLayer::~IntegratedMeshLayer()

    Destructor.

    [since Esri::ArcGISRuntime 100.6] double IntegratedMeshLayer::altitudeOffset() const

    Returns the altitudeOffset of this layer.

    This function was introduced in Esri::ArcGISRuntime 100.6.

    See also setAltitudeOffset().

    [override virtual] Esri::ArcGISRuntime::Credential *IntegratedMeshLayer::credential() const

    Reimplements: RemoteResource::credential() const.

    Returns the Credential to be used by the network resource in the event of an authentication challenge.

    The default credential is a nullptr.

    [override virtual] Esri::ArcGISRuntime::RequestConfiguration IntegratedMeshLayer::requestConfiguration() const

    Reimplements: RemoteResource::requestConfiguration() const.

    Returns the RequestConfiguration in use by this layer.

    See also setRequestConfiguration().

    [since Esri::ArcGISRuntime 100.6] void IntegratedMeshLayer::setAltitudeOffset(double altitudeOffset)

    Sets the altitudeOffset of this layer.

    An altitude offset provides a simple mechanism to consistently modify the elevation of all features in the layer with a single value.

    This function was introduced in Esri::ArcGISRuntime 100.6.

    See also altitudeOffset().

    [override virtual] void IntegratedMeshLayer::setRequestConfiguration(const Esri::ArcGISRuntime::RequestConfiguration &requestConfiguration)

    Reimplements: RemoteResource::setRequestConfiguration(const Esri::ArcGISRuntime::RequestConfiguration &requestConfiguration).

    Sets requestConfiguration used for network requests sent by this layer.

    See also requestConfiguration().

    [override virtual] QUrl IntegratedMeshLayer::url() const

    Reimplements: RemoteResource::url() const.

    Returns the URL of the integrated mesh layer.

    This method can't be called once the layer is loading else an ErrorType::CommonIllegalState error will occur.

    {IntegratedMeshLayer(const QUrl&, QObject*)}

    See also Esri::ArcGISRuntime::IntegratedMeshLayer::IntegratedMeshLayer(const QUrl&, QObject*).

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