java.lang.Object
com.esri.arcgisruntime.layers.Layer
com.esri.arcgisruntime.layers.PointCloudLayer
- All Implemented Interfaces:
RemoteResource
,LayerContent
,Loadable
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
-
Property Summary
Properties inherited from class com.esri.arcgisruntime.layers.Layer
loadError, loadStatus
-
Constructor Summary
ConstructorDescriptionPointCloudLayer
(PortalItem portalItem) Creates a point cloud layer from the specified portal item.PointCloudLayer
(String uri) Creates a point cloud layer with the specified service or package URI. -
Method Summary
Modifier and TypeMethodDescriptiondouble
Gets the layer's altitude offset.Gets theCredential
that is set on the network-enabled resource.Gets theRequestConfiguration
used to modify the parameters of network requests made by thisRemoteResource
.getUri()
Returns the URI of the PointCloudLayer.void
setAltitudeOffset
(double altitudeOffset) Sets the layer's altitude offset.void
setCredential
(Credential credential) Sets aCredential
to be used by the network-enabled resource in the event of an authentication challenge.void
setRequestConfiguration
(RequestConfiguration requestConfiguration) Sets theRequestConfiguration
used 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, loadErrorProperty, loadStatusProperty, removeDoneLoadingListener, removeLoadStatusChangedListener, removeVisibilityChangedListener, retryLoadAsync, setCanShowInLegend, setDescription, setId, setMaxScale, setMinScale, setName, setOpacity, setVisible
-
Constructor Details
-
PointCloudLayer
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
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 underlyingPortalItem
will be created and accessible throughLayer.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
-
getAltitudeOffset
public double getAltitudeOffset()Gets the layer's altitude offset.- Returns:
- the altitude offset
- Since:
- 100.6.0
-
setAltitudeOffset
public void setAltitudeOffset(double altitudeOffset) Sets the layer's altitude offset.- Parameters:
altitudeOffset
- the altitude offset- Since:
- 100.6.0
-
getUri
Returns the URI of the PointCloudLayer.- Specified by:
getUri
in interfaceRemoteResource
- Returns:
- the URI of the Point Cloud layer, or null if none
- Since:
- 100.5.0
-
getCredential
Description copied from interface:RemoteResource
Gets theCredential
that is set on the network-enabled resource.Only applicable if the resource is secured.
- Specified by:
getCredential
in interfaceRemoteResource
- Returns:
- the Credential, or null if there is none
-
setCredential
Description copied from interface:RemoteResource
Sets aCredential
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 interfaceRemoteResource
- Parameters:
credential
- the Credential to be used for authentication
-
getRequestConfiguration
Description copied from interface:RemoteResource
Gets theRequestConfiguration
used to modify the parameters of network requests made by thisRemoteResource
.- Specified by:
getRequestConfiguration
in interfaceRemoteResource
- Returns:
- the
RequestConfiguration
used to modify network requests
-
setRequestConfiguration
Description copied from interface:RemoteResource
Sets theRequestConfiguration
used to modify the parameters of network requests made by thisRemoteResource
. If not set, the globalRequestConfiguration
will be used (seeRequestConfiguration.getGlobalRequestConfiguration()
).- Specified by:
setRequestConfiguration
in interfaceRemoteResource
- Parameters:
requestConfiguration
- the RequestConfiguration used to modify network requests
-