Package com.luciad.layers.styles
Class PointCloudStyle
java.lang.Object
com.luciad.layers.styles.PointCloudStyle
- All Implemented Interfaces:
AutoCloseable
A class representing how point cloud data should be styled.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
A builder class for creating point cloud styles. -
Method Summary
Modifier and TypeMethodDescriptionReturns aPointCloudStyle
builder that has all properties of thisPointCloudStyle
.void
close()
protected void
finalize()
StyleExpression
<android.graphics.Color> Returns the color expression that determines the color of each point of the point cloud.Returns the expression used to displace the point cloud, ornull
if no expression was set.Returns the visibility expression that determines for each point of the point cloud if it is visible or not.static PointCloudStyle.Builder
Creates a new builder for creating aPointCloudStyle
.
-
Method Details
-
finalize
protected void finalize() -
close
public void close()- Specified by:
close
in interfaceAutoCloseable
-
newBuilder
Creates a new builder for creating aPointCloudStyle
.By default, this builder assumes a scaling mode as "Adaptive Point Style" with a scale expression of "1.0". If you invoke any of these methods:
pointSizePixels
orpointSizeWorld
orpointSizeAdaptive
, the scaling mode and scaling expression will be replaced.- Returns:
- a builder that can produce
PointCloudStyle
objects.
-
getColorExpression
Returns the color expression that determines the color of each point of the point cloud.- Returns:
- the color expression that determines the color of each point of the point cloud.
-
getVisibilityExpression
Returns the visibility expression that determines for each point of the point cloud if it is visible or not.- Returns:
- the visibility expression that determines for each point of the point cloud if it is visible or not.
-
getDisplacementExpression
Returns the expression used to displace the point cloud, ornull
if no expression was set.- Returns:
- the expression used to displace the point cloud, or
null
if no expression was set. - See Also:
-
asBuilder
Returns aPointCloudStyle
builder that has all properties of thisPointCloudStyle
.- Returns:
- a
PointCloudStyle
builder that has all properties of thisPointCloudStyle
.
-