Package org.gvsig.raster.lib.buffer.impl
Class PaginatedBandFloat
java.lang.Object
org.gvsig.tools.observer.impl.BaseWeakReferencingObservable
org.gvsig.raster.lib.buffer.impl.AbstractBand
org.gvsig.raster.lib.buffer.impl.AbstractPaginatedBand
org.gvsig.raster.lib.buffer.impl.PaginatedBandFloat
- All Implemented Interfaces:
Cloneable,org.gvsig.raster.lib.buffer.api.Band,org.gvsig.raster.lib.buffer.api.Band.BandFloat,org.gvsig.tools.dispose.Disposable,org.gvsig.tools.lang.Cloneable,org.gvsig.tools.observer.ComplexObservable,org.gvsig.tools.observer.ComplexWeakReferencingObservable,org.gvsig.tools.observer.Observable,org.gvsig.tools.observer.WeakReferencingObservable
public class PaginatedBandFloat
extends AbstractPaginatedBand
implements org.gvsig.raster.lib.buffer.api.Band.BandFloat
- Author:
- fdiaz
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.gvsig.raster.lib.buffer.api.Band
org.gvsig.raster.lib.buffer.api.Band.BandByte, org.gvsig.raster.lib.buffer.api.Band.BandDouble, org.gvsig.raster.lib.buffer.api.Band.BandFloat, org.gvsig.raster.lib.buffer.api.Band.BandInt, org.gvsig.raster.lib.buffer.api.Band.BandShort -
Field Summary
Fields inherited from class org.gvsig.raster.lib.buffer.impl.AbstractPaginatedBand
data, firstRowOfPage, MAX_PREFERED_SIZE, pageManager, rowsPerPage -
Constructor Summary
ConstructorsConstructorDescriptionPaginatedBandFloat(int rows, int columns, org.gvsig.raster.lib.buffer.api.NoData noData, org.gvsig.raster.lib.buffer.api.BandPageManager pageManager) -
Method Summary
Modifier and TypeMethodDescriptionfloat[]protected voidprotected voidprotected voidprotected voiddoSetValue(int row, int column, float value) voidget(int row, int column) protected intintfloatgetValue(int row, int column) protected voidloadPage(int row) voidsetValue(int row, int column, float value) Methods inherited from class org.gvsig.raster.lib.buffer.impl.AbstractPaginatedBand
calculateBufferSizeToAllocate, copyFrom, doCopyFrom, doCopyFrom, doDispose, getBandInfo, isPaginated, isReadOnly, saveCurrentPageMethods inherited from class org.gvsig.raster.lib.buffer.impl.AbstractBand
clone, copyFrom, dispose, fill, getAsDouble, getColumns, getNoData, getRows, nullValueToNoData, putRow, setMethods inherited from class org.gvsig.tools.observer.impl.BaseWeakReferencingObservable
addObserver, addObserver, addObservers, beginComplexNotification, clearChanged, countObservers, deleteObserver, deleteObserver, deleteObservers, disableNotifications, enableNotifications, endComplexNotification, hasChanged, inComplex, isEnabledNotifications, notify, notifyObservers, notifyObservers, setChangedMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.gvsig.raster.lib.buffer.api.Band
copyFrom, copyFrom, fill, getAsDouble, getBandInfo, getColumns, getNoData, getRows, isPaginated, isReadOnly, putRow, setMethods inherited from interface org.gvsig.tools.lang.Cloneable
cloneMethods inherited from interface org.gvsig.tools.observer.ComplexObservable
beginComplexNotification, disableNotifications, enableNotifications, endComplexNotificationMethods inherited from interface org.gvsig.tools.dispose.Disposable
disposeMethods inherited from interface org.gvsig.tools.observer.Observable
addObserver, deleteObserver, deleteObservers
-
Constructor Details
-
PaginatedBandFloat
public PaginatedBandFloat(int rows, int columns, org.gvsig.raster.lib.buffer.api.NoData noData, org.gvsig.raster.lib.buffer.api.BandPageManager pageManager) - Parameters:
rows-columns-noData-pageManager-rowsPerPage-
-
-
Method Details
-
getDataType
public int getDataType()- Specified by:
getDataTypein interfaceorg.gvsig.raster.lib.buffer.api.Band
-
getDataSize
protected int getDataSize()- Specified by:
getDataSizein classAbstractPaginatedBand
-
get
- Specified by:
getin interfaceorg.gvsig.raster.lib.buffer.api.Band
-
doSet
- Specified by:
doSetin classAbstractBand
-
doFill
- Specified by:
doFillin classAbstractBand
-
getValue
public float getValue(int row, int column) - Specified by:
getValuein interfaceorg.gvsig.raster.lib.buffer.api.Band.BandFloat
-
setValue
public void setValue(int row, int column, float value) - Specified by:
setValuein interfaceorg.gvsig.raster.lib.buffer.api.Band.BandFloat
-
doSetValue
protected void doSetValue(int row, int column, float value) -
createRowBuffer
public float[] createRowBuffer()- Specified by:
createRowBufferin interfaceorg.gvsig.raster.lib.buffer.api.Band- Specified by:
createRowBufferin interfaceorg.gvsig.raster.lib.buffer.api.Band.BandFloat
-
fetchRow
- Specified by:
fetchRowin interfaceorg.gvsig.raster.lib.buffer.api.Band
-
doPutRow
- Specified by:
doPutRowin classAbstractBand
-
loadPage
protected void loadPage(int row) - Overrides:
loadPagein classAbstractPaginatedBand
-