Class PointCloudLayer

  • All Implemented Interfaces:
    RemoteResource, LayerContent, Loadable

    public final class PointCloudLayer
    extends Layer
    implements RemoteResource
    Represents 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.
    Since:
    100.5.0
    • Constructor Detail

      • PointCloudLayer

        public PointCloudLayer​(PortalItem portalItem)
        Creates a PointCloudLayer object from a PortalItem.
        Parameters:
        portalItem - the PortalItem
        Throws:
        java.lang.IllegalArgumentException - if portalItem is null
        Since:
        100.5.0
      • PointCloudLayer

        public PointCloudLayer​(java.lang.String uri)
        Creates a PointCloudLayer from a service, scene layer package, or service portal item with the given URL.

        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 URI to a service, scene layer package, or PointCloudLayer portal item
        Throws:
        java.lang.IllegalArgumentException - if the URI is null of empty
        Since:
        100.5.0
    • Method Detail

      • getAltitudeOffset

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

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

        public java.lang.String getUri()
        Returns the URI of the PointCloudLayer.
        Specified by:
        getUri in interface RemoteResource
        Returns:
        the URI of the PointCloudLayer
        Since:
        100.5.0
      • getCredential

        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

        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