public class DefaultBuffer extends AbstractBuffer
Modifier and Type | Field and Description |
---|---|
protected static Logger |
logger |
bands, dimensions, projection, statistics
INTERPOLATION_BicubicSpline, INTERPOLATION_Bilinear, INTERPOLATION_BSpline, INTERPOLATION_InverseDistance, INTERPOLATION_NearestNeighbour, INTERPOLATION_Undefined
Constructor and Description |
---|
DefaultBuffer(int rows,
int columns,
int[] bandDataTypes,
NoData[] bandNoData,
IProjection projection,
Envelope envelope,
java.util.List<PageManager> pageManagers)
Default constructor of buffer.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone() |
java.awt.image.BufferedImage |
getBufferedImage() |
addBand, areAllBandsOfTheSameType, clip, convert, createInterpolated, dispose, doDispose, finalize, getBand, getBandByte, getBandCount, getBandDouble, getBandFloat, getBandInt, getBandNoData, getBands, getBandShort, getBandsInfo, getBandTypes, getColumns, getDimensions, getEnvelope, getPixelSizeX, getPixelSizeY, getProjection, getRows, getStatistics, isInside, isInside, iterator, removeBand, setBand, switchBands, switchBands, update
addObserver, addObserver, addObservers, beginComplexNotification, clearChanged, countObservers, deleteObserver, deleteObserver, deleteObservers, disableNotifications, enableNotifications, endComplexNotification, hasChanged, inComplex, isEnabledNotifications, notify, notifyObservers, notifyObservers, setChanged
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addObserver, deleteObserver, deleteObservers
public DefaultBuffer(int rows, int columns, int[] bandDataTypes, NoData[] bandNoData, IProjection projection, Envelope envelope, java.util.List<PageManager> pageManagers) throws CreateBufferException
rows
- Rows of buffer and buffer bands.columns
- Columns of buffer bands.bandDataTypes
- Type of buffer bands. The band types also indicates the number
of buffer bands.bandNoData
- Band noData. If there are bans without NoData, bands will have
undefined NoData value.projection
- Projection of bufferenvelope
- Envelope of bufferpageManagers
- Page manager to paginate this buffer. If page manager is null,
buffer will be loaded in memory.CreateBufferException
- If there are some problems creating buffer.public java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
in class BaseWeakReferencingObservable
java.lang.CloneNotSupportedException
public java.awt.image.BufferedImage getBufferedImage()