Class GaussianSplatsStyle

java.lang.Object
com.luciad.layers.styles.GaussianSplatsStyle
All Implemented Interfaces:
AutoCloseable

public final class GaussianSplatsStyle extends Object implements 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
  • Method Details

    • finalize

      protected void finalize()
      Overrides:
      finalize in class Object
    • close

      public void close()
      Specified by:
      close in interface AutoCloseable
    • newBuilder

      @NotNull public static GaussianSplatsStyle.Builder newBuilder()
      Creates a new builder for creating a GaussianSplatsStyle.
      Returns:
      a new builder for creating a GaussianSplatsStyle.
    • getColorExpression

      @Nullable public StyleExpression<android.graphics.Color> getColorExpression()
      Returns the color expression used to paint the splats, or null if no expression was set.
      Returns:
      the color expression used to paint the splats, or null if no expression was set.
    • getVisibilityExpression

      @Nullable public StyleExpression<Boolean> getVisibilityExpression()
      Returns the expression used to make (parts of) the splats visible or invisible, or null if no expression was set.
      Returns:
      the expression used to make (parts of) the splats visible or invisible, or null if no expression was set.
    • getDisplacementExpression

      @Nullable public StyleExpression<Coordinate> getDisplacementExpression()
      Returns the expression used to displace the splats, or null if no expression was set.
      Returns:
      the expression used to displace the splats, or null if no expression was set.
    • getScaleExpression

      @Nullable public StyleExpression<Double> getScaleExpression()
      Returns the expression used to scale the size of the splats, or null if no expression was set.
      Returns:
      the expression used to scale the size of the splats, or null if 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

      @NotNull public GaussianSplatsStyle.Builder asBuilder()
      Returns a GaussianSplatsStyle builder that has all properties of this GaussianSplatsStyle.
      Returns:
      a GaussianSplatsStyle builder that has all properties of this GaussianSplatsStyle.