public final class Axes extends Object
AxisType
s. Provides a core
set (X
, Y
, Z
, TIME
and CHANNEL
)
of axis types. The get(java.lang.String)
methods can be used to create new, custom
axis types which will be cached for future use.Modifier and Type | Field and Description |
---|---|
static AxisType |
CHANNEL
Identifies the Channel dimensional type, representing a generic
channel dimension.
|
static AxisType |
TIME
Identifies the Time dimensional type, representing a dimension
consisting of time points.
|
static String |
UNKNOWN_LABEL
Label for unknown axis types, which are returned by
unknown() . |
static AxisType |
X
Identifies the X dimensional type, representing a dimension in the
first (X) spatial dimension.
|
static AxisType |
Y
Identifies the Y dimensional type, representing a dimension in the
second (Y) spatial dimension.
|
static AxisType |
Z
Identifies the Z dimensional type, representing a dimension in the
third (Z) spatial dimension.
|
Modifier and Type | Method and Description |
---|---|
static AxisType |
get(String label)
Accessor for an AxisType of the given label.
|
static AxisType |
get(String label,
boolean spatial)
Accessor for an AxisType of the given label.
|
static AxisType[] |
knownTypes() |
static AxisType |
unknown()
Gets an "unknown" axis type.
|
public static final String UNKNOWN_LABEL
unknown()
.public static final AxisType X
public static final AxisType Y
public static final AxisType Z
public static final AxisType TIME
public static final AxisType CHANNEL
public static AxisType get(String label)
public static AxisType get(String label, boolean spatial)
public static AxisType[] knownTypes()
AxisType
s corresponding to all currently
defined axes.public static AxisType unknown()
Always returns a new object, which is not part of the extended enumeration. In this way, two unknown axis types are never equal.
Copyright © 2014–2022 ImageJ. All rights reserved.