Skip to content

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, QObject *parent = nullptr)
    virtual ~PointCloudLayer() override
    (since Esri::ArcGISRuntime 100.6) double altitudeOffset() const
    (since Esri::ArcGISRuntime 100.6) void setAltitudeOffset(double altitudeOffset)

    Reimplemented Public Functions

    (deprecated) virtual Esri::ArcGISRuntime::Credential *credential() const override
    (deprecated) virtual Esri::ArcGISRuntime::RequestConfiguration requestConfiguration() const override
    (deprecated) 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*).

    [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 noexcept] 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().

    [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] 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.