SampleDimension interface.
Limitations:
XML instead.Defined in the sis-metadata module
identifiers, LOGGER| Constructor and Description |
|---|
DefaultSampleDimension()
Constructs an initially empty sample dimension.
|
DefaultSampleDimension(DefaultSampleDimension object)
Constructs a new instance initialized with the values from the specified metadata object.
|
| Modifier and Type | Method and Description |
|---|---|
Integer |
getBitsPerValue()
Returns the maximum number of significant bits in the uncompressed representation
for the value in each band of each pixel.
|
Double |
getMaxValue()
Returns the maximum value of data values in each dimension included in the resource.
|
Double |
getMeanValue()
Returns the mean value of data values in each dimension included in the resource.
|
Double |
getMinValue()
Returns the minimum value of data values in each dimension included in the resource.
|
Double |
getNominalSpatialResolution()
Returns the smallest distance between which separate points can be distinguished,
as specified in instrument design.
|
Integer |
getNumberOfValues()
Returns the number of values used in a thematic classification resource.
|
Double |
getOffset()
Returns the physical value corresponding to a cell value of zero.
|
Record |
getOtherProperty()
Returns instance of other/attributeType that defines attributes not explicitly
included in
CoverageContentType, or null if none. |
RecordType |
getOtherPropertyType()
Returns type of other attribute description.
|
Double |
getScaleFactor()
Returns the scale factor which has been applied to the cell value.
|
Double |
getStandardDeviation()
Returns the standard deviation of data values in each dimension included in the resource.
|
TransferFunctionType |
getTransferFunctionType()
Returns type of transfer function to be used when scaling a physical value for a given element.
|
Unit<?> |
getUnits()
Returns the units of data in the dimension.
|
void |
setBitsPerValue(Integer newValue)
Sets the maximum number of significant bits in the uncompressed representation
for the value in each band of each pixel.
|
void |
setMaxValue(Double newValue)
Sets the maximum value of data values in each dimension included in the resource.
|
void |
setMeanValue(Double newValue)
Sets the mean value of data values in each dimension included in the resource.
|
void |
setMinValue(Double newValue)
Sets the minimum value of data values in each dimension included in the resource.
|
void |
setNominalSpatialResolution(Double newValue)
Sets the smallest distance between which separate points can be distinguished,
as specified in instrument design.
|
void |
setNumberOfValues(Integer newValue)
Sets the number of values used in a thematic classification resource.
|
void |
setOffset(Double newValue)
Sets the physical value corresponding to a cell value of zero.
|
void |
setOtherProperty(Record newValue)
Sets a new instance of other/attributeType that defines attributes not explicitly
included in
CoverageContentType. |
void |
setOtherPropertyType(RecordType newValue)
Sets a new type of other attribute description.
|
void |
setScaleFactor(Double newValue)
Sets the scale factor which has been applied to the cell value.
|
void |
setStandardDeviation(Double newValue)
Sets the standard deviation of data values in each dimension included in the resource.
|
void |
setTransferFunctionType(TransferFunctionType newValue)
Sets the type of transfer function to be used when scaling a physical value for a given element.
|
void |
setUnits(Unit<?> newValue)
Sets the units of data in the dimension.
|
castOrCopy, getDescription, getDescriptor, getNames, getSequenceIdentifier, setDescription, setDescriptor, setNames, setSequenceIdentifiergetIdentifierMap, getIdentifiers, getStandardcheckWritePermission, clone, collectionType, copyCollection, copyList, copySet, freeze, isModifiable, nonNullCollection, nonNullList, nonNullSet, singleton, unmodifiable, writeCollection, writeList, writeSetasMap, asTreeTable, equals, equals, getInterface, hashCode, isEmpty, prune, toStringpublic DefaultSampleDimension()
public DefaultSampleDimension(DefaultSampleDimension object)
object - The metadata to copy values from, or null if none.#castOrCopy(SampleDimension)null if unspecified.public void setMinValue(Double newValue)
newValue - The new new minimum value.null if unspecified.public void setMaxValue(Double newValue)
newValue - The new new maximum value.null if none.public void setMeanValue(Double newValue)
newValue - The new mean value of data values in each dimension included in the resource.null if none.public void setNumberOfValues(Integer newValue)
newValue - The new number of values used in a thematic classification resource.IllegalArgumentException - if the given value is negative.null if none.public void setStandardDeviation(Double newValue)
newValue - The new standard deviation of data values in each dimension included in the resource.null if unspecified.public void setUnits(Unit<?> newValue)
newValue - The new units of data in the dimension.null if none.public void setScaleFactor(Double newValue)
newValue - The new scale factor which has been applied to the cell value.null if none.public void setOffset(Double newValue)
newValue - The new physical value corresponding to a cell value of zero, or null if none..public TransferFunctionType getTransferFunctionType()
null.public void setTransferFunctionType(TransferFunctionType newValue)
newValue - The new transfer function value.null if none.public void setBitsPerValue(Integer newValue)
newValue - The new maximum number of significant bits.IllegalArgumentException - if the given value is zero or negative.@ValueRange(minimum=0.0,
isMinIncluded=false)
public Double getNominalSpatialResolution()
null.public void setNominalSpatialResolution(Double newValue)
newValue - The new nominal spatial resolution.IllegalArgumentException - if the given value is negative.null if none.public void setOtherPropertyType(RecordType newValue)
newValue - The new type of other attribute description.CoverageContentType, or null if none.null if none.public void setOtherProperty(Record newValue)
CoverageContentType.newValue - The new instance of other/attributeType.Copyright © 2010–2015 The Apache Software Foundation. All rights reserved.