A layer that can visualize a point cloud layer. More...
| Header | #include <Point |
| Since | Esri |
| Inherits | Esri |
Public Functions
| Point | |
| Point | |
| virtual | ~ |
(since Esri double | altitude |
(since Esri QList | attributes() const |
(since Esri Esri | filters() const |
(since Esri Esri | renderer() const |
(since Esri void | set |
(since Esri void | set |
| 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 or LocalSceneView.
Relevant samples:
- View point cloud data offline: Display local 3D point cloud data.
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 300.1] QList<Esri::ArcGISRuntime::PointCloudAttribute *> PointCloudLayer::attributes() const
Returns the attributes that are associated with the points in the point cloud layer.
These attributes can be used to define the layer's renderer and filters.
This function was introduced in Esri::ArcGISRuntime 300.1.
[since Esri::ArcGISRuntime 300.1] Esri::ArcGISRuntime::PointCloudFilterListModel *PointCloudLayer::filters() const
Returns filters applied to the point cloud layer that control which points are visible in the layer.
If PointCloudFilter::attributeName does not match one of the attributes available in attributes, a LayerViewState that contains an appropriate error is raised.
This function was introduced in Esri::ArcGISRuntime 300.1.
[since Esri::ArcGISRuntime 300.1] Esri::ArcGISRuntime::PointCloudRenderer *PointCloudLayer::renderer() const
Returns the renderer applied to the point cloud layer.
When set to nullptr, the default renderer will be used. If a color attribute is available the default renderer is PointCloudRgbRenderer; otherwise the default is PointCloudStretchRenderer using the elevation attribute.
If PointCloudRenderer::attributeName does not match one of the attributes available in attributes, a LayerViewState that contains an appropriate error is raised.
This function was introduced in Esri::ArcGISRuntime 300.1.
See also setRenderer().
[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.
[since Esri::ArcGISRuntime 300.1] void PointCloudLayer::setRenderer (Esri::ArcGISRuntime::PointCloudRenderer *renderer)
Sets the renderer to renderer.
This function was introduced in Esri::ArcGISRuntime 300.1.
See also renderer.
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*).