|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.deegree_impl.model.cv.CV_SampleDimension_Impl
Contains information for an individual sample dimension of coverage. This interface is applicable to any coverage type. For grid coverages, the sample dimension refers to an individual band.
Field Summary | |
private java.lang.String[] |
categoryNames
|
private CV_ColorInterpretation |
colorInterpretation
|
private int[][] |
colorPalette
|
private java.lang.String |
description
|
private double |
maximumValue
|
private java.util.HashMap |
metadata
|
private double |
minimumValue
|
private double[] |
noData
|
private int |
offset
|
private CV_PaletteInterpretation |
paletteInterpretation
|
private CV_SampleDimensionType |
sampleDimensionType
|
private double |
scale
|
private CS_Unit |
units
|
Constructor Summary | |
CV_SampleDimension_Impl(java.lang.String[] categoryNames,
java.lang.String description,
double minimumValue,
double maximumValue,
GC_Parameter[] metadata,
double[] noData,
int offset,
int[][] colorPalette,
double scale,
CS_Unit units,
CV_ColorInterpretation colorInterpretation,
CV_PaletteInterpretation paletteInterpretation,
CV_SampleDimensionType sampleDimensionType)
|
Method Summary | |
java.lang.String[] |
getCategoryNames()
Sequence of category names for the values contained in a sample dimension. |
CV_ColorInterpretation |
getColorInterpretation()
Color interpretation of the sample dimension. |
java.lang.String |
getDescription()
Sample dimension title or description. |
double |
getMaximumValue()
The maximum value occurring in the sample dimension. |
java.lang.String[] |
getMetaDataNames()
The list of metadata keywords for a sample dimension. |
java.lang.String |
getMetadataValue(java.lang.String name)
Retrieve the metadata value for a given metadata name. |
double |
getMinimumValue()
The minimum value occurring in the sample dimension. |
double[] |
getNoDataValue()
Values to indicate no data values for the sample dimension. |
double |
getOffset()
Offset is the value to add to grid values for this sample dimension. |
int[][] |
getPalette()
Color palette associated with the sample dimension. |
CV_PaletteInterpretation |
getPaletteInterpretation()
Indicates the type of color palette entry for sample dimensions which have a palette. |
CV_SampleDimensionType |
getSampleDimensionType()
A code value indicating grid value data type. |
double |
getScale()
Scale is the value which is multiplied to grid values for this sample dimension. |
CS_Unit |
getUnits()
The unit information for this sample dimension. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private CV_ColorInterpretation colorInterpretation
private java.lang.String[] categoryNames
private java.lang.String description
private double maximumValue
private double minimumValue
private java.util.HashMap metadata
private double[] noData
private int offset
private int[][] colorPalette
private CV_PaletteInterpretation paletteInterpretation
private CV_SampleDimensionType sampleDimensionType
private double scale
private CS_Unit units
Constructor Detail |
public CV_SampleDimension_Impl(java.lang.String[] categoryNames, java.lang.String description, double minimumValue, double maximumValue, GC_Parameter[] metadata, double[] noData, int offset, int[][] colorPalette, double scale, CS_Unit units, CV_ColorInterpretation colorInterpretation, CV_PaletteInterpretation paletteInterpretation, CV_SampleDimensionType sampleDimensionType)
Method Detail |
public java.lang.String[] getCategoryNames() throws java.rmi.RemoteException
getCategoryNames
in interface CV_SampleDimension
java.rmi.RemoteException
- if a remote method call failed.public CV_ColorInterpretation getColorInterpretation() throws java.rmi.RemoteException
CV_Undefined
.
getColorInterpretation
in interface CV_SampleDimension
java.rmi.RemoteException
- if a remote method call failed.public java.lang.String getDescription() throws java.rmi.RemoteException
getDescription
in interface CV_SampleDimension
java.rmi.RemoteException
- if a remote method call failed.public double getMaximumValue() throws java.rmi.RemoteException
GP_GridAnalysis.getMaxValue(int)
operation.
This value can be empty if this value is not provided by the implementation.
getMaximumValue
in interface CV_SampleDimension
java.rmi.RemoteException
- if a remote method call failed.public java.lang.String[] getMetaDataNames() throws java.rmi.RemoteException
getMetaDataNames
in interface CV_SampleDimension
java.rmi.RemoteException
- if a remote method call failed.public java.lang.String getMetadataValue(java.lang.String name) throws java.rmi.RemoteException
getMetadataValue
in interface CV_SampleDimension
name
- Metadata keyword for which to retrieve metadata.
java.rmi.RemoteException
- if a remote method call failed.public double getMinimumValue() throws java.rmi.RemoteException
GP_GridAnalysis.getMinValue(int)
operation.
This value can be empty if this value is not provided by the implementation.
getMinimumValue
in interface CV_SampleDimension
java.rmi.RemoteException
- if a remote method call failed.public double[] getNoDataValue() throws java.rmi.RemoteException
getNoDataValue
in interface CV_SampleDimension
java.rmi.RemoteException
- if a remote method call failed.public double getOffset() throws java.rmi.RemoteException
getOffset
in interface CV_SampleDimension
java.rmi.RemoteException
- if a remote method call failed.public int[][] getPalette() throws java.rmi.RemoteException
getPalette
in interface CV_SampleDimension
java.rmi.RemoteException
- if a remote method call failed.public CV_PaletteInterpretation getPaletteInterpretation() throws java.rmi.RemoteException
CV_GrayIndex
or CV_PaletteIndex
.
A palette entry type can be Gray, RGB, CMYK or HLS.
getPaletteInterpretation
in interface CV_SampleDimension
java.rmi.RemoteException
- if a remote method call failed.public CV_SampleDimensionType getSampleDimensionType() throws java.rmi.RemoteException
getSampleDimensionType
in interface CV_SampleDimension
java.rmi.RemoteException
- if a remote method call failed.public double getScale() throws java.rmi.RemoteException
getScale
in interface CV_SampleDimension
java.rmi.RemoteException
- if a remote method call failed.public CS_Unit getUnits() throws java.rmi.RemoteException
null
if no unit information is available.
getUnits
in interface CV_SampleDimension
java.rmi.RemoteException
- if a remote method call failed.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |