Package com.esri.arcgisruntime.layers
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
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 Summary
Constructors Constructor Description PointCloudLayer(PortalItem portalItem)Creates a PointCloudLayer object from a PortalItem.PointCloudLayer(String uri)Creates a PointCloudLayer from a service, scene layer package, or service portal item with the given URL. 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description doublegetAltitudeOffset()Gets the layer altitude offset.CredentialgetCredential()Gets theCredentialthat is set on the network-enabled resource.RequestConfigurationgetRequestConfiguration()Gets theRequestConfigurationused to modify the parameters of network requests made by thisRemoteResource.StringgetUri()Returns the URI of the PointCloudLayer.voidsetAltitudeOffset(double altitudeOffset)Sets the layer altitude offset.voidsetCredential(Credential credential)Sets aCredentialto be used by the network-enabled resource in the event of an authentication challenge.voidsetRequestConfiguration(RequestConfiguration requestConfiguration)Sets theRequestConfigurationused to modify the parameters of network requests made by thisRemoteResource.- 
Methods inherited from class com.esri.arcgisruntime.layers.Layer
addDoneLoadingListener, addLoadStatusChangedListener, addVisibilityChangedListener, cancelLoad, canChangeVisibility, canShowInLegend, fetchLegendInfosAsync, getAttribution, getDescription, getFullExtent, getId, getItem, getLoadError, getLoadStatus, getMaxScale, getMinScale, getName, getOpacity, getSpatialReference, getSubLayerContents, isIdentifyEnabled, isVisible, isVisibleAtScale, loadAsync, removeDoneLoadingListener, removeLoadStatusChangedListener, removeVisibilityChangedListener, retryLoadAsync, setCanShowInLegend, setDescription, setId, setMaxScale, setMinScale, setName, setOpacity, setVisible 
 - 
 
 - 
 
- 
- 
Constructor Detail
- 
PointCloudLayer
public PointCloudLayer(PortalItem portalItem)
Creates a PointCloudLayer object from a PortalItem.- Parameters:
 portalItem- the PortalItem- Throws:
 IllegalArgumentException- if portalItem is null- Since:
 - 100.5.0
 
 
- 
PointCloudLayer
public PointCloudLayer(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 underlyingPortalItemwill be created and accessible throughLayer.getItem().- Parameters:
 uri- the URI to a service, scene layer package, or PointCloudLayer portal item- Throws:
 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 String getUri()
Returns the URI of the PointCloudLayer.- Specified by:
 getUriin interfaceRemoteResource- Returns:
 - the URI of the PointCloudLayer
 - Since:
 - 100.5.0
 
 
- 
getCredential
public Credential getCredential()
Description copied from interface:RemoteResourceGets theCredentialthat is set on the network-enabled resource.Only applicable if the resource is secured.
- Specified by:
 getCredentialin interfaceRemoteResource- Returns:
 - the Credential, or null if there is none
 
 
- 
setCredential
public void setCredential(Credential credential)
Description copied from interface:RemoteResourceSets aCredentialto 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:
 setCredentialin interfaceRemoteResource- Parameters:
 credential- the Credential to be used for authentication
 
- 
getRequestConfiguration
public RequestConfiguration getRequestConfiguration()
Description copied from interface:RemoteResourceGets theRequestConfigurationused to modify the parameters of network requests made by thisRemoteResource.- Specified by:
 getRequestConfigurationin interfaceRemoteResource- Returns:
 - the 
RequestConfigurationused to modify network requests 
 
- 
setRequestConfiguration
public void setRequestConfiguration(RequestConfiguration requestConfiguration)
Description copied from interface:RemoteResourceSets theRequestConfigurationused to modify the parameters of network requests made by thisRemoteResource. If not set, the globalRequestConfigurationwill be used (seeRequestConfiguration.getGlobalRequestConfiguration()).- Specified by:
 setRequestConfigurationin interfaceRemoteResource- Parameters:
 requestConfiguration- the RequestConfiguration used to modify network requests
 
 - 
 
 -