Package com.luciad.rasters
Enum Class RasterSamplingMode
- All Implemented Interfaces:
Serializable
,Comparable<RasterSamplingMode>
,Constable
Sampling mode of a raster.
The following image clarifies the interpretation of the sampling mode. The green rectangle represents the bounds of the image. On the left side the colored rectangles represent pixels in an area-sampled basic image and on the right side the colored dots represent pixels in a point-sampled basic image.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic RasterSamplingMode
Returns the enum constant of this class with the specified name.static RasterSamplingMode[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
Area
Area-sampled data.Each sample applies to the area covered by a pixel. This is for example the case for data that is retrieved using a photometric sensor. This is often used for color data.
-
Point
Point-sampled data.Each sample applies to a single point. This is for example the case for data that is retrieved using laser scanning. This is often used for elevation data.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-