Package com.luciad.models.rasters
Class IRasterModel
java.lang.Object
com.luciad.models.rasters.IRasterModel
- All Implemented Interfaces:
Model
,AutoCloseable
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 Summary
Modifier and TypeMethodDescriptionboolean
Returns whether the model supports invalidation of the raster data.void
close()
protected void
finalize()
Returns the meta data for this model.void
This method indicates that the content of the raster model has changed.Returns the bounds of this model, if available.
-
Method Details
-
finalize
protected void finalize() -
close
public void close()- Specified by:
close
in interfaceAutoCloseable
-
getModelMetadata
Description copied from interface:Model
Returns the meta data for this model.- Specified by:
getModelMetadata
in interfaceModel
- Returns:
- the meta data for this model.
-
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 interfaceModel
- 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.
-