Package geomss.app
Enum GeomSSCanvas3D.PDViewAngle
- java.lang.Object
-
- java.lang.Enum<GeomSSCanvas3D.PDViewAngle>
-
- geomss.app.GeomSSCanvas3D.PDViewAngle
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<GeomSSCanvas3D.PDViewAngle>
- Enclosing class:
- GeomSSCanvas3D
public static enum GeomSSCanvas3D.PDViewAngle extends java.lang.Enum<GeomSSCanvas3D.PDViewAngle>
Pre-defined view angles used withsetView
.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BOTTOM
FRONT
LEFT_SIDE
REAR
RIGHT_SIDE
TOP
TOP_LEFT_BACK
TOP_LEFT_FRONT
TOP_RIGHT_BACK
TOP_RIGHT_FRONT
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description org.jogamp.vecmath.Matrix3d
getRotationMatrix()
static GeomSSCanvas3D.PDViewAngle
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static GeomSSCanvas3D.PDViewAngle[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
RIGHT_SIDE
public static final GeomSSCanvas3D.PDViewAngle RIGHT_SIDE
-
LEFT_SIDE
public static final GeomSSCanvas3D.PDViewAngle LEFT_SIDE
-
TOP
public static final GeomSSCanvas3D.PDViewAngle TOP
-
BOTTOM
public static final GeomSSCanvas3D.PDViewAngle BOTTOM
-
FRONT
public static final GeomSSCanvas3D.PDViewAngle FRONT
-
REAR
public static final GeomSSCanvas3D.PDViewAngle REAR
-
TOP_RIGHT_FRONT
public static final GeomSSCanvas3D.PDViewAngle TOP_RIGHT_FRONT
-
TOP_LEFT_FRONT
public static final GeomSSCanvas3D.PDViewAngle TOP_LEFT_FRONT
-
TOP_RIGHT_BACK
public static final GeomSSCanvas3D.PDViewAngle TOP_RIGHT_BACK
-
TOP_LEFT_BACK
public static final GeomSSCanvas3D.PDViewAngle TOP_LEFT_BACK
-
-
Method Detail
-
values
public static GeomSSCanvas3D.PDViewAngle[] 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 (GeomSSCanvas3D.PDViewAngle c : GeomSSCanvas3D.PDViewAngle.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static GeomSSCanvas3D.PDViewAngle valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
getRotationMatrix
public org.jogamp.vecmath.Matrix3d getRotationMatrix()
- Returns:
- the rotation matrix associated with this view angle.
-
-