Package com.luciad.layers.styles
Class GaussianSplatsStyle
java.lang.Object
com.luciad.layers.styles.GaussianSplatsStyle
- All Implemented Interfaces:
AutoCloseable
This class contains styling properties to determine how 3D Gaussian splats are painted.
For more information, see the article on visualizing Gaussian splatting data.
- Since:
- 2026.1
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA builder class for creating Gaussian splats styles. -
Method Summary
Modifier and TypeMethodDescriptionReturns aGaussianSplatsStylebuilder that has all properties of thisGaussianSplatsStyle.voidclose()protected voidfinalize()StyleExpression<android.graphics.Color> Returns the color expression used to paint the splats, ornullif no expression was set.Returns the expression used to displace the splats, ornullif no expression was set.doubleReturns the opacity cutoff below which splats are no longer painted.doubleReturns the factor used to scale down the resolution of the splats.Returns the expression used to scale the size of the splats, ornullif no expression was set.Returns the expression used to make (parts of) the splats visible or invisible, ornullif no expression was set.booleanReturns whether high-precision color rendering is enabled.booleanReturns whether the depth is available for use.static GaussianSplatsStyle.BuilderCreates a new builder for creating aGaussianSplatsStyle.
-
Method Details
-
finalize
protected void finalize() -
close
public void close()- Specified by:
closein interfaceAutoCloseable
-
newBuilder
Creates a new builder for creating aGaussianSplatsStyle.- Returns:
- a new builder for creating a
GaussianSplatsStyle.
-
getColorExpression
Returns the color expression used to paint the splats, ornullif no expression was set.- Returns:
- the color expression used to paint the splats, or
nullif no expression was set.
-
getVisibilityExpression
Returns the expression used to make (parts of) the splats visible or invisible, ornullif no expression was set.- Returns:
- the expression used to make (parts of) the splats visible or invisible, or
nullif no expression was set.
-
getDisplacementExpression
Returns the expression used to displace the splats, ornullif no expression was set.- Returns:
- the expression used to displace the splats, or
nullif no expression was set.
-
getScaleExpression
Returns the expression used to scale the size of the splats, ornullif no expression was set.- Returns:
- the expression used to scale the size of the splats, or
nullif no expression was set.
-
getOpacityCutoff
public double getOpacityCutoff()Returns the opacity cutoff below which splats are no longer painted.- Returns:
- the opacity cutoff below which splats are no longer painted.
-
isDepthEnabled
public boolean isDepthEnabled()Returns whether the depth is available for use.- Returns:
- whether the depth is available for use.
-
hasHighPrecisionColors
public boolean hasHighPrecisionColors()Returns whether high-precision color rendering is enabled.- Returns:
- whether high-precision color rendering is enabled.
-
getResolutionScale
public double getResolutionScale()Returns the factor used to scale down the resolution of the splats.- Returns:
- the factor used to scale down the resolution of the splats.
-
asBuilder
Returns aGaussianSplatsStylebuilder that has all properties of thisGaussianSplatsStyle.- Returns:
- a
GaussianSplatsStylebuilder that has all properties of thisGaussianSplatsStyle.
-