| java.lang.Object org.geotools.coverage.Category org.geotools.coverage.GeophysicsCategory
GeophysicsCategory | final class GeophysicsCategory extends Category (Code) | | A "geophysics" view of a category. Sample values in this category are equal to geophysics
values. By definition, the
GeophysicsCategory.getSampleToGeophysics method for this class returns
the identity transform, or
null if this category is a qualitative one.
since: 2.1 version: $Id: GeophysicsCategory.java 20970 2006-08-11 07:53:22Z jgarnett $ author: Martin Desruisseaux |
Method Summary | |
public Category | geophysics(boolean toGeophysics) If
false , returns a category with the original sample values. | public Color[] | getColors() Returns the set of colors for this category. | public InternationalString | getName() Returns the category name localized in the specified locale. | public NumberRange | getRange() Returns the range of geophysics value. | public MathTransform1D | getSampleToGeophysics() Returns a transform from sample values to geophysics values, which (by definition)
is an identity transformation. | public boolean | isQuantitative() Returns
true if this category is quantitative. | public Category | recolor(Color[] colors) Returns a new category for the same range of sample values but a different color palette. | public Category | rescale(MathTransform1D sampleToGeophysics) Changes the mapping from sample to geophysics values. |
GeophysicsCategory | GeophysicsCategory(Category inverse, boolean isQuantitative) throws TransformException(Code) | | Creates a new instance of geophysics category.
Parameters: inverse - The originating Category. Parameters: isQuantitative - true if the originating category is quantitative. throws: TransformException - if a transformation failed. |
geophysics | public Category geophysics(boolean toGeophysics)(Code) | | If
false , returns a category with the original sample values.
|
getColors | public Color[] getColors()(Code) | | Returns the set of colors for this category.
|
getName | public InternationalString getName()(Code) | | Returns the category name localized in the specified locale.
|
getSampleToGeophysics | public MathTransform1D getSampleToGeophysics()(Code) | | Returns a transform from sample values to geophysics values, which (by definition)
is an identity transformation. If this category is not a quantitative one, then
this method returns
null .
|
isQuantitative | public boolean isQuantitative()(Code) | | Returns
true if this category is quantitative.
|
recolor | public Category recolor(Color[] colors)(Code) | | Returns a new category for the same range of sample values but a different color palette.
|
rescale | public Category rescale(MathTransform1D sampleToGeophysics)(Code) | | Changes the mapping from sample to geophysics values.
|
|
|