Class ProjectedImageryStyle

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

public final class ProjectedImageryStyle extends Object implements AutoCloseable
Style for projected imagery: single images, video, and panoramas.

Construction is done through the Builder.

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 ProjectedImageryStyle.Builder newBuilder()
      Creates a new builder with the default values.
      Returns:
      the new builder.
    • asBuilder

      @NotNull public ProjectedImageryStyle.Builder asBuilder()
      Creates a new builder initialized with all the properties of this style.
      Returns:
      the new builder.
    • getOpacity

      public double getOpacity()
      Returns the opacity of the projected imagery.

      The opacity is a value in the range [0, 1]. A value of 1 (the default) is fully opaque, a value of 0 is fully transparent.

      Returns:
      the opacity of the projected imagery.
    • getSkyOpacity

      public double getSkyOpacity()
      Returns the opacity of the sky, the part of the projection that does not hit any surface.

      The value is in the range [0, 1]. The default is 1 (the sky is fully opaque).

      Returns:
      the opacity of the sky, the part of the projection that does not hit any surface.
    • getProjectionTarget

      @NotNull public ProjectedImageryTarget getProjectionTarget()
      Returns the ProjectedImageryTarget that determines onto which surfaces the imagery is projected.

      The default value is ProjectedImageryTarget#AllSurfaces.

      Returns:
      the ProjectedImageryTarget that determines onto which surfaces the imagery is projected.
    • getBaseOpacity

      public double getBaseOpacity()
      Returns the opacity of the base layer used when projecting on the closest surface.

      The value is in the range [0, 1]. The default is 0, which disables the base layer. This setting only has an effect when the ProjectedImageryTarget is ProjectedImageryTarget#ClosestSurface.

      Returns:
      the opacity of the base layer used when projecting on the closest surface.
    • getYawOffset

      public double getYawOffset()
      Returns the additional yaw offset, in degrees, applied on top of each projection's own orientation.

      The default is 0.

      Returns:
      the additional yaw offset, in degrees, applied on top of each projection's own orientation.
    • getPitchOffset

      public double getPitchOffset()
      Returns the additional pitch offset, in degrees, applied on top of each projection's own orientation.

      The default is 0.

      Returns:
      the additional pitch offset, in degrees, applied on top of each projection's own orientation.
    • getRollOffset

      public double getRollOffset()
      Returns the additional roll offset, in degrees, applied on top of each projection's own orientation.

      The default is 0.

      Returns:
      the additional roll offset, in degrees, applied on top of each projection's own orientation.
    • getMaxRange

      public double getMaxRange()
      Returns the maximum projection distance, in meters.

      A value of 0 (the default) applies a target-dependent default range: 100 km when the projection target is ProjectedImageryTarget#AllSurfaces and 1 km when it is ProjectedImageryTarget#ClosestSurface.

      Returns:
      the maximum projection distance, in meters.
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(@Nullable Object other)
      Overrides:
      equals in class Object