Class TLspPlotPaintingHints.Builder

java.lang.Object
com.luciad.realtime.lightspeed.plots.TLspPlotPaintingHints.Builder
Enclosing class:
TLspPlotPaintingHints

public static class TLspPlotPaintingHints.Builder extends Object
Deprecated.
The plot painting functionality has been move to Lightspeed, please use TLspPlotPaintingHints instead.
Builder for TLspPlotPaintingHints objects.
Since:
2012.1
  • Constructor Details

    • Builder

      public Builder()
      Deprecated.
  • Method Details

    • build

      public TLspPlotPaintingHints build()
      Deprecated.
      Creates a new TLspPlotPaintingHints instance with this builder's current settings.
      Returns:
      a new plot painting hints object
    • transparencyBlending

      public TLspPlotPaintingHints.Builder transparencyBlending(ELspQualityHint aHint)
      Deprecated.
      Specifies whether the plot layer should perform higher quality transparency blending. For performance reasons, the default behavior of plot layers is to draw all plots in the OPAQUE painting pass. This is okay as long as the plots use opaque icons on a fully transparent background. If the icons contain semi-transparent pixels, however, rendering artifacts can occur in 3D due to the use of depth testing.

      Setting the transparency blending hint to ELspQualityHint.NICEST will cause the plot layer to perform two rendering passes. The opaque pixels in the plot icons will be drawn in the OPAQUE paint phase, whereas all translucent pixels will be drawn in the TRANSPARENT phase. This implies that all points are rendered twice, which obviously has some performance impact.

      Note that the blending hint has no effect in 2D views, where single-pass rendering is always sufficient. The default setting is ELspQualityHint.AUTOMATIC.

      Parameters:
      aHint - the transparency blending quality
      Returns:
      this