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 Link icon

    • finalize Link icon

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

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

      @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 Link icon

      @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 Link icon

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

      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.