- java.lang.Object
-
- java.lang.Enum<AbstractViewerPanel.AlignPlane>
-
- bdv.viewer.AbstractViewerPanel.AlignPlane
-
- All Implemented Interfaces:
Serializable,Comparable<AbstractViewerPanel.AlignPlane>
- Enclosing class:
- AbstractViewerPanel
public static enum AbstractViewerPanel.AlignPlane extends Enum<AbstractViewerPanel.AlignPlane>
The planes which can be aligned with the viewer coordinate system: XY, ZY, and XZ plane.
-
-
Field Summary
Fields Modifier and Type Field Description intcoerceAffineDimensionAxis index.double[]qAlignrotation from the xy-plane aligned coordinate system to this plane.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AbstractViewerPanel.AlignPlanevalueOf(String name)Returns the enum constant of this type with the specified name.static AbstractViewerPanel.AlignPlane[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
XY
public static final AbstractViewerPanel.AlignPlane XY
-
ZY
public static final AbstractViewerPanel.AlignPlane ZY
-
XZ
public static final AbstractViewerPanel.AlignPlane XZ
-
-
Field Detail
-
qAlign
public final double[] qAlign
rotation from the xy-plane aligned coordinate system to this plane.
-
coerceAffineDimension
public final int coerceAffineDimension
Axis index. The plane spanned by the remaining two axes will be transformed to the same plane by the computed rotation and the "rotation part" of the affine source transform.
-
-
Method Detail
-
values
public static AbstractViewerPanel.AlignPlane[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (AbstractViewerPanel.AlignPlane c : AbstractViewerPanel.AlignPlane.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AbstractViewerPanel.AlignPlane valueOf(String name)
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
-
-