PointCloudLayer Class

  • PointCloudLayer
  • class Esri::ArcGISRuntime::PointCloudLayer

    A layer that can visualize a point cloud layer. More...

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

    Public Functions

    PointCloudLayer(Esri::ArcGISRuntime::Item *item, QObject *parent = nullptr)
    PointCloudLayer(const QUrl &url, Esri::ArcGISRuntime::Credential *credential, QObject *parent = nullptr)
    PointCloudLayer(const QUrl &url, QObject *parent = nullptr)
    virtual ~PointCloudLayer() 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

    Point cloud layers provide fast display of large volumes of symbolized and filtered point cloud data. They are optimized for the display and sharing of many kinds of sensor data, including LiDAR. Layers of this type can only be displayed in a SceneView.

    Relevant samples:

    Member Function Documentation

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

    Creates a point cloud layer from the specified portal item.

    • item - The point cloud 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*).

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

    Creates a point cloud layer with the specified service or package URL.

    • url - The URL to a SceneServer REST endpoint or the path to a Scene Layer Package (.slpk) file.
    • parent - The optional parent QObject.
    • credential - credential for the secured resource if the layer needs authentication to gain access to it.

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

    See also PortalItem, PortalItem::PortalItem, and Layer::item.

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

    Creates a point cloud layer with the specified service or package URL.

    • url - The URL to a SceneServer REST endpoint or the path to a Scene Layer Package (.slpk) file.
    • 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] PointCloudLayer::~PointCloudLayer()

    Destructor.

    [since Esri::ArcGISRuntime 100.6] double PointCloudLayer::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 *PointCloudLayer::credential() const

    Reimplements: RemoteResource::credential() const.

    Returns security credentials to access the remote resource. Only applicable if the resource is secured.

    The default credential is a nullptr.

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

    Reimplements: RemoteResource::requestConfiguration() const.

    Returns the RequestConfiguration in use by this layer.

    See also setRequestConfiguration().

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

    Sets the altitudeOffset of this layer.

    This function was introduced in Esri::ArcGISRuntime 100.6.

    See also altitudeOffset.

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

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

    Sets the requestConfiguration used for network requests sent by this layer.

    See also requestConfiguration().

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

    Reimplements: RemoteResource::url() const.

    Returns the URL of the point cloud layer.

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

    {PointCloudLayer(const QUrl&, QObject*)}

    See also Esri::ArcGISRuntime::PointCloudLayer::PointCloudLayer(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.