Skip to content
  • 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

    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)
    QUrl url() const

    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.

    See also PortalItem, PortalItem::PortalItem(const QUrl&, QObject*), 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.

    See also PortalItem, PortalItem::PortalItem(const QUrl&, QObject*), and Layer::item.

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

    QUrl PointCloudLayer::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.

    See also 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.