Class TLcdS52ModelListBuilder

java.lang.Object
com.luciad.format.s52.TLcdS52ModelListBuilder

public class TLcdS52ModelListBuilder extends Object
This class can rebuild a model containing S-57 geometries as a list of models, categorizing the elements according to their priorities, as defined by the S-52 standard.

Before the class can be used, an object class map, an attribute class map, and a symbology have to be set.

The includeSoundings property allows to specify whether soundings should be included (default = true).

See Also:
  • Constructor Details

    • TLcdS52ModelListBuilder

      public TLcdS52ModelListBuilder()
    • TLcdS52ModelListBuilder

      public TLcdS52ModelListBuilder(TLcdS52DisplaySettings aDisplaySettings)
      Creates a new TLcdS52ModelListBuilder, configured with the specified S-52 display settings.
      Parameters:
      aDisplaySettings - the S-52 display settings to be used by this model list builder.
  • Method Details

    • getDisplaySettings

      public TLcdS52DisplaySettings getDisplaySettings()
      Returns the S-52 display settings object, defining how the S-57 data will be rendered.
      Returns:
      the S-52 display settings object, defining how the S-57 data will be rendered.
    • setS57ObjectClassMap

      public void setS57ObjectClassMap(ILcdS57ObjectClassMap aS57ObjectClassMap)
      Sets the object class map to be used by this model list builder.
      Parameters:
      aS57ObjectClassMap - the object class map to be used by this model list builder.
    • getS57ObjectClassMap

      public ILcdS57ObjectClassMap getS57ObjectClassMap()
      Returns the object class map that is used by this model list builder.
      Returns:
      the object class map that is used by this model list builder.
    • setS57AttributeClassMap

      public void setS57AttributeClassMap(ILcdS57AttributeClassMap aS57AttributeClassMap)
      Sets the attribute class map to be used by this model list builder.
      Parameters:
      aS57AttributeClassMap - the attribute class map to be used by this model list builder.
    • getS57AttributeClassMap

      public ILcdS57AttributeClassMap getS57AttributeClassMap()
      Returns the attribute class map that is used by this model list builder.
      Returns:
      the attribute class map that is used by this model list builder.
    • setS52Symbology

      public void setS52Symbology(ILcdS52Symbology aS52Symbology)
      Sets the S-52 symbology to be used by this model list builder.
      Parameters:
      aS52Symbology - the S-52 symbology to be used by this model list builder.
    • getS52Symbology

      public ILcdS52Symbology getS52Symbology()
      Returns the S-52 symbology that is used by this model list builder.
      Returns:
      the S-52 symbology that is used by this model list builder.
    • setS52ConditionalSymbology

      public void setS52ConditionalSymbology(ILcdS52ConditionalSymbology aS52ConditionalSymbology)
      Sets the conditional symbology to be used by this model list builder.
      Parameters:
      aS52ConditionalSymbology - the conditional symbology to be used by this model list builder.
    • getS52ConditionalSymbology

      public ILcdS52ConditionalSymbology getS52ConditionalSymbology()
      Returns the conditional symbology that is used by this model list builder.
      Returns:
      the conditional symbology that is used by this model list builder.
    • isIncludeSoundings

      public boolean isIncludeSoundings()
      Returns whether soundings should be included in the output model.
    • setIncludeSoundings

      public void setIncludeSoundings(boolean aIncludeSoundings)
      Sets whether soundings should be included in the output model.
    • buildModelList

      public TLcd2DBoundsIndexedModelList buildModelList(ILcdModel aS57Model)
      Builds a model list, based on the given S-57 model. Elements are put in the submodels based on their priorities, as defined by the S-52 standard.