public static enum NIVision.ContourType extends Enum<NIVision.ContourType>
Enum Constant and Description |
---|
ANNULUS |
CLOSED_CONTOUR |
EMPTY_CONTOUR |
LINE |
OPEN_CONTOUR |
OVAL |
POINT |
RECT |
ROTATED_RECT |
Modifier and Type | Method and Description |
---|---|
static NIVision.ContourType |
fromValue(int val) |
int |
getValue() |
static NIVision.ContourType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NIVision.ContourType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NIVision.ContourType EMPTY_CONTOUR
public static final NIVision.ContourType POINT
public static final NIVision.ContourType LINE
public static final NIVision.ContourType RECT
public static final NIVision.ContourType OVAL
public static final NIVision.ContourType CLOSED_CONTOUR
public static final NIVision.ContourType OPEN_CONTOUR
public static final NIVision.ContourType ANNULUS
public static final NIVision.ContourType ROTATED_RECT
public static NIVision.ContourType[] values()
for (NIVision.ContourType c : NIVision.ContourType.values()) System.out.println(c);
public static NIVision.ContourType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static NIVision.ContourType fromValue(int val)
public int getValue()
Copyright © 2015. All rights reserved.