Class TLcyGXYLspAsynchronousLayerTreeNodeFormatWrapper

java.lang.Object
com.luciad.lucy.format.ALcyFormat
com.luciad.lucy.format.ALcyFormatWrapper
com.luciad.lucy.format.TLcyGXYLspAsynchronousLayerTreeNodeFormatWrapper

public final class TLcyGXYLspAsynchronousLayerTreeNodeFormatWrapper extends ALcyFormatWrapper

Decorator for an ALcyFormat that makes the ILcdLayerTreeNodes of the given format support asynchronous painting using Lightspeed rendering, if it is supported by the hardware.

To support Lightspeed rendering of layers, this format makes use of a TLcyGXYLspAsynchronousFormatWrapper.GXYLspLayerFactory.

Note that just wrapping a format with this asynchronous decorator isn't enough. If the layers have to be painted asynchronously, the asynchronous add-on needs to be loaded as well.

Typically, to provide asynchronous painting support for a format, you would set up a construction like:

 TLcyGXYLspAsynchronousLayerTreeNodeFormatWrapper
  |- TLcyGXYLayerTreeNodeFormatWrapper
     |- TLcyGXYLspAsynchronousFormatWrapper
        |- TLcySafeGuardFormatWrapper
           |- ALcyFormat
 
Since:
2012.0
  • Constructor Details

    • TLcyGXYLspAsynchronousLayerTreeNodeFormatWrapper

      public TLcyGXYLspAsynchronousLayerTreeNodeFormatWrapper(ALcyFormat aFormat, TLcyGXYLspAsynchronousFormatWrapper.GXYLspLayerFactory aLayerFactory)
      Creates a wrapper for the specified ALcyFormat. All ILcdLayerTreeNodes of this format will be painted asynchronously, using Lightspeed rendering if the hardware supports it.
      Parameters:
      aFormat - The ALcyFormat for which the layer tree nodes have to be painted asynchronously using Lightspeed rendering
      aLayerFactory - The factory used to support Lightspeed rendering
    • TLcyGXYLspAsynchronousLayerTreeNodeFormatWrapper

      public TLcyGXYLspAsynchronousLayerTreeNodeFormatWrapper(ALcyFormat aFormat)

      Creates a wrapper for the specified ALcyFormat. All ILcdLayerTreeNodes of this format will be painted asynchronously, using Lightspeed rendering if the hardware supports it.

      Use this constructor if models of the layer tree nodes in your format are empty.

      Parameters:
      aFormat - The ALcyFormat for which the layer tree nodes have to be painted asynchronously using Lightspeed rendering. The aFormat's layer tree nodes should have an empty model.