Class PixelInCell
- All Implemented Interfaces:
Serializable, Comparable<PixelInCell>
@UML(identifier="CD_PixelInCell",
specification=ISO_19111)
public final class PixelInCell
extends CodeList<PixelInCell>
Specification of the way the image grid is associated with the image data attributes.
This code list is similar to PixelOrientation
except that the latter is more clearly restricted to the two-dimensional case.
- Since:
- 1.0
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class CodeList
CodeList.FilterModifier and TypeClassDescriptionstatic interfaceUsed byCodeList.valueOf(Class, Filter)to select codes matching an arbitrary criterion. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final PixelInCellThe origin of the image coordinate system is the centre of a grid cell or image pixel.static final PixelInCellThe origin of the image coordinate system is the corner of a grid cell, or half-way between the centres of adjacent image pixels. -
Method Summary
Modifier and TypeMethodDescriptionfamily()Returns the list of enumerations of the same kind as this enum.static PixelInCellReturns the pixel in cell that matches the given string, or returns a new one if none match it.static PixelInCell[]values()Returns the list ofPixelInCells.Methods inherited from class CodeList
compareTo, identifier, name, names, ordinal, readResolve, toString, valueOf, valueOfModifier and TypeMethodDescriptionfinal intcompareTo(PixelInCell other) Compares this code with the specified object for order.Returns the identifier declared in theUMLannotation, ornullif none.final Stringname()Returns the programmatic name of this code list constant.String[]names()Returns all the names of this code.final intordinal()Returns the ordinal of this code constant.protected ObjectResolves the code list to an unique instance after deserialization.Returns a string representation of this code list.static <T extends CodeList<T>>
TReturns the code of the given type that matches the given name, or returns a new one if none match it.static <T extends CodeList<T>>
TvalueOf(Class<T> codeType, CodeList.Filter filter) Returns the code of the given type that matches the given criterion, or returns a new one if none match it.
-
Field Details
-
CELL_CENTER
@UML(identifier="cell center", obligation=CONDITIONAL, specification=ISO_19111) public static final PixelInCell CELL_CENTERThe origin of the image coordinate system is the centre of a grid cell or image pixel.- See Also:
-
CELL_CORNER
@UML(identifier="cell corner", obligation=CONDITIONAL, specification=ISO_19111) public static final PixelInCell CELL_CORNERThe origin of the image coordinate system is the corner of a grid cell, or half-way between the centres of adjacent image pixels.- See Also:
-
-
Method Details
-
values
Returns the list ofPixelInCells.- Returns:
- The list of codes declared in the current JVM.
-
family
Returns the list of enumerations of the same kind as this enum.- Specified by:
familyin classCodeList<PixelInCell>- Returns:
- The codes of the same kind as this code.
-
valueOf
Returns the pixel in cell that matches the given string, or returns a new one if none match it.- Parameters:
code- The name of the code to fetch or to create.- Returns:
- A code matching the given name.
-