Package de.pco.sdk.enums
Enum BildField
- All Implemented Interfaces:
Serializable,Comparable<BildField>,java.lang.constant.Constable
public enum BildField extends Enum<BildField>
Enumerator of the fields of the BildStruct class (Bild-Struct in SDK).
Contains info about he min and max values of the numeric fields.
- Author:
- PCO
-
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 Type Method Description static ObjectgetDefaultValue(BildField enumValue)Returns the default falue of a numeric field from the MetadataBeanstatic Object[]getEnumFieldValues(BildField enumValue)Returns the possible values of the field from the MetadataBean that is an enumeratorstatic ComparablegetMaxValue(BildField enumValue)Returns the maximal falue of a numeric field from the MetadataBeanstatic ComparablegetMinValue(BildField enumValue)Returns the minimal falue of a numeric field from the MetadataBeanstatic ObjectgetStepValue(BildField enumValue)Returns the step value for the particular numeric fieldstatic ObjectgetValueOfField(BildStruct metadata, BildField enumValue)By giving the particular field and the object of the MetadataBean class, this method returns the value of this field in this object.static booleanisBooleanField(BildField enumValue)Returns whether the parameter is a boolean field of the MetadataBean.static booleanisEnumField(BildField enumValue)Returns whether the parameter is an enumerator field of the MetadataBean.static booleanisNumericField(BildField enumValue)Returns whether the parameter is a numeric field of the MetadataBean.static booleanisTextField(BildField enumValue)Returns whether the parameter is a textual field of the MetadataBean.static voidsetValueOfField(BildStruct metadata, BildField field, Object value)Sets the valuestatic BildFieldvalueOf(String name)Returns the enum constant of this type with the specified name.static BildField[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
TIME_YEAR
-
TIME_MONTH
-
TIME_DAY_OF_WEEK
-
TIME_DAY
-
TIME_HOUR
-
TIME_MINUTE
-
TIME_SECOND
-
TIME_MILLISECONDS
-
TICKS
-
X_RES
-
Y_RES
-
TEXT
-
IS_DOUBLE
-
THIS_IS_T0
-
WE_HAVE_T0
-
BW_MIN
-
BW_MAX
-
BW_LUT
-
R_MIN
-
R_MAX
-
G_MIN
-
G_MAX
-
B_MIN
-
B_MAX
-
COL_LUT
-
IS_COLOR
-
VERSION
-
BW_MIN2
-
BW_MAX2
-
BW_LUT2
-
R_MIN2
-
R_MAX2
-
G_MIN2
-
G_MAX2
-
B_MIN2
-
B_MAX2
-
COL_LUT2
-
ALIGN_UPPER
-
GAMMA_LUT
-
GAMMA_LUT_C
-
GAMMA_LUT2
-
GAMMA_LUT_C2
-
COLOR_PATTERN_TYPE
-
BIT_RES
-
D_SATURATION
-
I_SATURATION
-
VIBRANCE
-
COLOR_TEMP
-
COLOR_TINT
-
CONTRAST
-
GAMMA
-
COLOR_COEFF_A11
-
COLOR_COEFF_A12
-
COLOR_COEFF_A13
-
COLOR_COEFF_A21
-
COLOR_COEFF_A22
-
COLOR_COEFF_A23
-
COLOR_COEFF_A31
-
COLOR_COEFF_A32
-
COLOR_COEFF_A33
-
TIMESTAMP_POSITION
-
HAS_METADATA
-
SENSOR_CONV_FACTOR
-
CAMERA_TYPE
-
DARK_OFFSET
-
IMAGE_COUNTER
-
IMAGE_TIME_US
-
IMAGE_TIME_STATUS
-
EXPOSURE_TIMEBASE
-
SENSOR_TEMPERATURE
-
EXPOSURE_TIME
-
FRAMERATE_MILLI_HZ
-
BINNING_X
-
BINNING_Y
-
TRIGGER_MODE
-
CAMERA_SYNC_MODE
-
SENSOR_READOUT_FREQUENCY
-
CAMERA_SERIAL_NO
-
SYNC_STATUS
-
IMAGE_TYPE
-
COLOR_PATTERN
-
CAMERA_SUBTYPE
-
EVENT_NUMBER
-
IMAGE_SIZE_X_OFFSET
-
IMAGE_SIZE_Y_OFFSET
-
COMPRESSION
-
COMPRESSION_VERSION
-
PREDICTOR_START
-
RANDOM_START
-
RANDOM_INDEX
-
DIFF_TO_T0
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException- if the argument is null
-
getMinValue
Returns the minimal falue of a numeric field from the MetadataBean- Parameters:
enumValue-- Returns:
-
getMaxValue
Returns the maximal falue of a numeric field from the MetadataBean- Parameters:
enumValue-- Returns:
-
getDefaultValue
Returns the default falue of a numeric field from the MetadataBean- Parameters:
enumValue-- Returns:
-
getStepValue
Returns the step value for the particular numeric field- Parameters:
enumValue-- Returns:
-
getEnumFieldValues
Returns the possible values of the field from the MetadataBean that is an enumerator- Parameters:
enumValue-- Returns:
-
isNumericField
Returns whether the parameter is a numeric field of the MetadataBean.- Parameters:
enumValue-- Returns:
-
isTextField
Returns whether the parameter is a textual field of the MetadataBean.- Parameters:
enumValue-- Returns:
-
isEnumField
Returns whether the parameter is an enumerator field of the MetadataBean.- Parameters:
enumValue-- Returns:
-
isBooleanField
Returns whether the parameter is a boolean field of the MetadataBean.- Parameters:
enumValue-- Returns:
-
getValueOfField
By giving the particular field and the object of the MetadataBean class, this method returns the value of this field in this object.- Parameters:
enumValue-- Returns:
-
setValueOfField
Sets the value- Parameters:
metadata-field-value-
-