public final class IRasterModel extends Object implements AutoCloseable, Model
You can create a raster model in one of the the following ways:
This article provides more information on how to create a raster model.
Modifier and Type | Method and Description |
---|---|
boolean |
canInvalidate()
Returns whether the model supports invalidation of the raster data.
|
void |
close() |
protected void |
finalize() |
ModelMetadata |
getModelMetadata() |
void |
invalidate()
This method indicates that the content of the raster model has changed.
|
Bounds |
queryBounds()
Returns the bounds of this model, if available.
|
public void close()
close
in interface AutoCloseable
@NotNull public ModelMetadata getModelMetadata()
getModelMetadata
in interface Model
@NotNull public Bounds queryBounds()
Model
When the bounds of this model are not known, or if they are too expensive to calculate, this method may return no bounds.
queryBounds
in interface Model
public boolean canInvalidate()
public void invalidate()
Data needs to be re-fetched from the model.
This method can be called from any thread.