Class PointCloudLayer

java.lang.Object
com.esri.arcgisruntime.layers.Layer
com.esri.arcgisruntime.layers.PointCloudLayer
All Implemented Interfaces:
RemoteResource, LayerContent, Loadable

public final class PointCloudLayer extends Layer implements RemoteResource
A layer that can visualize a point cloud layer.

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.

Since:
100.5.0
  • Constructor Details Link icon

    • PointCloudLayer Link icon

      public PointCloudLayer(PortalItem portalItem)
      Creates a point cloud layer from the specified portal item.
      Parameters:
      portalItem - the PortalItem
      Throws:
      IllegalArgumentException - if portalItem is null
      Since:
      100.5.0
    • PointCloudLayer Link icon

      public PointCloudLayer(String uri)
      Creates a point cloud layer with the specified service or package URI.

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

      Parameters:
      uri - the URL to a SceneServer REST endpoint or the path to a Scene Layer Package (.slpk) file.
      Throws:
      IllegalArgumentException - if the URI is null of empty
      Since:
      100.5.0
  • Method Details Link icon

    • getAltitudeOffset Link icon

      public double getAltitudeOffset()
      Gets the layer's altitude offset.
      Returns:
      the altitude offset
      Since:
      100.6.0
    • setAltitudeOffset Link icon

      public void setAltitudeOffset(double altitudeOffset)
      Sets the layer's altitude offset.
      Parameters:
      altitudeOffset - the altitude offset
      Since:
      100.6.0
    • getUri Link icon

      public String getUri()
      Returns the URI of the PointCloudLayer.
      Specified by:
      getUri in interface RemoteResource
      Returns:
      the URI of the Point Cloud layer, or null if none
      Since:
      100.5.0
    • getCredential Link icon

      public Credential getCredential()
      Description copied from interface: RemoteResource
      Gets the Credential that is set on the network-enabled resource.

      Only applicable if the resource is secured.

      Specified by:
      getCredential in interface RemoteResource
      Returns:
      the Credential, or null if there is none
    • setCredential Link icon

      public void setCredential(Credential credential)
      Description copied from interface: RemoteResource
      Sets a Credential to be used by the network-enabled resource in the event of an authentication challenge. The default credential is null.

      Only applicable if the resource is secured.

      Specified by:
      setCredential in interface RemoteResource
      Parameters:
      credential - the Credential to be used for authentication
    • getRequestConfiguration Link icon

      public RequestConfiguration getRequestConfiguration()
      Description copied from interface: RemoteResource
      Gets the RequestConfiguration used to modify the parameters of network requests made by this RemoteResource.
      Specified by:
      getRequestConfiguration in interface RemoteResource
      Returns:
      the RequestConfiguration used to modify network requests
    • setRequestConfiguration Link icon

      public void setRequestConfiguration(RequestConfiguration requestConfiguration)
      Description copied from interface: RemoteResource
      Sets the RequestConfiguration used to modify the parameters of network requests made by this RemoteResource. If not set, the global RequestConfiguration will be used (see RequestConfiguration.getGlobalRequestConfiguration()).
      Specified by:
      setRequestConfiguration in interface RemoteResource
      Parameters:
      requestConfiguration - the RequestConfiguration used to modify network requests