Class TLsp3DMeshStyle

java.lang.Object
com.luciad.view.lightspeed.style.ALspStyle
com.luciad.view.lightspeed.style.TLsp3DMeshStyle
All Implemented Interfaces:
ILspEffectsHintStyle, ILspStyler

public final class TLsp3DMeshStyle extends ALspStyle implements ILspEffectsHintStyle

3D Mesh style to style ILcd3DMesh instances in 2D and 3D views. Construction of a 3D mesh style is done through the Builder design pattern mechanism.

Since:
2017.1
  • Method Details

    • newBuilder

      public static TLsp3DMeshStyle.Builder<?> newBuilder()
      Creates a new builder with the default values.
      Returns:
      the new builder.
    • getModulationColor

      public Color getModulationColor()
      Gets the color that is modulated with the mesh. For example using an mesh with gray-scale colors and a red modulation color will result in a resulting painted mesh with red hues.
      Returns:
      the modulation color
    • isTransparent

      public boolean isTransparent()
      Description copied from class: ALspStyle
      Determines whether this style is transparent.

      Shapes that are transparent can be painted in a different paint phase than shapes that are not transparent.

      Specified by:
      isTransparent in class ALspStyle
      Returns:
      whether or not this style is transparent
    • getEffectsHints

      public Collection<ILspEffectsHintStyle.EffectsHint> getEffectsHints()
      Description copied from interface: ILspEffectsHintStyle
      Returns the effects hints specified for this style.
      Specified by:
      getEffectsHints in interface ILspEffectsHintStyle
      Returns:
      the effects hints specified for this style
    • equals

      public boolean equals(Object aO)
      Overrides:
      equals in class ALspStyle
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class ALspStyle
    • asBuilder

      public TLsp3DMeshStyle.Builder<?> asBuilder()
      Description copied from class: ALspStyle
      Creates a new builder initialized with all the properties of this style.
      Specified by:
      asBuilder in class ALspStyle
      Returns:
      the new builder.