public enum MatrixOrientation3D extends Enum<MatrixOrientation3D> implements MatrixOrientation
CooccurrenceMatrix3D
Enum Constant and Description |
---|
ANTIDIAGONAL |
ANTIDIAGONAL_DIAGONAL |
ANTIDIAGONAL_VERTICAL |
DEPTH |
DIAGONAL |
DIAGONAL_DIAGONAL |
DIAGONAL_VERTICAL |
HORIZONTAL |
HORIZONTAL_DIAGONAL |
HORIZONTAL_VERTICAL |
VERTICAL |
VERTICAL_DIAGONAL |
VERTICAL_VERTICAL |
Modifier and Type | Method and Description |
---|---|
MatrixOrientation |
getByName(String name) |
int |
getValueAtDim(int d) |
boolean |
isCompatible(int numDims) |
int |
numDims() |
static MatrixOrientation3D |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MatrixOrientation3D[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MatrixOrientation3D HORIZONTAL
public static final MatrixOrientation3D VERTICAL
public static final MatrixOrientation3D DIAGONAL
public static final MatrixOrientation3D ANTIDIAGONAL
public static final MatrixOrientation3D HORIZONTAL_VERTICAL
public static final MatrixOrientation3D HORIZONTAL_DIAGONAL
public static final MatrixOrientation3D VERTICAL_VERTICAL
public static final MatrixOrientation3D VERTICAL_DIAGONAL
public static final MatrixOrientation3D DIAGONAL_VERTICAL
public static final MatrixOrientation3D DIAGONAL_DIAGONAL
public static final MatrixOrientation3D ANTIDIAGONAL_VERTICAL
public static final MatrixOrientation3D ANTIDIAGONAL_DIAGONAL
public static final MatrixOrientation3D DEPTH
public static MatrixOrientation3D[] values()
for (MatrixOrientation3D c : MatrixOrientation3D.values()) System.out.println(c);
public static MatrixOrientation3D 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 boolean isCompatible(int numDims)
isCompatible
in interface MatrixOrientation
public MatrixOrientation getByName(String name)
getByName
in interface MatrixOrientation
public int getValueAtDim(int d)
getValueAtDim
in interface MatrixOrientation
public int numDims()
numDims
in interface MatrixOrientation
Copyright © 2014–2022 ImageJ. All rights reserved.