Class IRasterModel

java.lang.Object
com.luciad.models.rasters.IRasterModel
All Implemented Interfaces:
Model, AutoCloseable

public final class IRasterModel extends Object implements AutoCloseable, Model
Marker interface for raster models.

You can create a raster model in one of the the following ways:

  • Use a model decoder to decode raster data encoded in a certain format
  • Use a raster model builder to provide your own data

This article provides more information on how to create a raster model.

  • Method Details

    • finalize

      protected void finalize()
      Overrides:
      finalize in class Object
    • close

      public void close()
      Specified by:
      close in interface AutoCloseable
    • getModelMetadata

      @NotNull public ModelMetadata getModelMetadata()
      Description copied from interface: Model
      Returns the meta data for this model.
      Specified by:
      getModelMetadata in interface Model
      Returns:
      the meta data for this model.
    • queryBounds

      @NotNull public Bounds queryBounds()
      Description copied from interface: Model
      Returns the bounds of this model, if available.

      When the bounds of this model are not known, or if they are too expensive to calculate, this method may return no bounds.

      Specified by:
      queryBounds in interface Model
      Returns:
      the bounds of this model, if available.
    • canInvalidate

      public boolean canInvalidate()
      Returns whether the model supports invalidation of the raster data.
      Returns:
      whether the model supports invalidation of the raster data.
    • invalidate

      public void invalidate()
      This method indicates that the content of the raster model has changed.

      Data needs to be re-fetched from the model.

      This method can be called from any thread.