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 TypeMethodDescriptionbooleanReturns whether the model supports invalidation of the raster data.voidclose()protected voidfinalize()Returns the meta data for this model.Returns the type of data contained by this raster model.voidThis 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:
closein interfaceAutoCloseable
-
getModelMetadata
Description copied from interface:ModelReturns the meta data for this model.- Specified by:
getModelMetadatain interfaceModel- Returns:
- the meta data for this model.
-
queryBounds
Description copied from interface:ModelReturns 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:
queryBoundsin 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.
-
getRasterType
Returns the type of data contained by this raster model.This method can be called from any thread.
- Returns:
- the type of data contained by this raster model.
- Since:
- 2025.0
-