|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<JitterEnum> org.proteinshader.gui.enums.JitterEnum
public enum JitterEnum
Holds the xy-coordinates needed for jittering a scene to accomplish
antialiasing (the smoothing of jagged edge lines).
The xy-coordinates are expressed in pixels, and are recommended values from
the OpenGL Programming Guide (2005) by Shreiner, R, Woo, M, Neider, J,
& Davis, T, Upper Saddle River, NJ: Addison-Wesley.
Enum Constant Summary | |
---|---|
JITTER_12
Holds xy-coordinates for translating 12 times with jitter. |
|
JITTER_16
Holds xy-coordinates for translating 16 times with jitter. |
|
JITTER_2
Holds xy-coordinates for translating 2 times with jitter. |
|
JITTER_3
Holds xy-coordinates for translating 3 times with jitter. |
|
JITTER_4
Holds xy-coordinates for translating 4 times with jitter. |
|
JITTER_5
Holds xy-coordinates for translating 5 times with jitter. |
|
JITTER_6
Holds xy-coordinates for translating 6 times with jitter. |
|
JITTER_8
Holds xy-coordinates for translating 8 times with jitter. |
|
JITTER_9
Holds xy-coordinates for translating 9 times with jitter. |
Method Summary | |
---|---|
double[][] |
getMatrix()
Returns a two-dimensional matrix where each row has an xy-coordinate pair that can be used to jitter a scene. |
String |
toString()
Returns the number of xy-coordinate pairs as a String so that the enum can be used in a Swing GUI menu. |
static JitterEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static JitterEnum[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final JitterEnum JITTER_2
public static final JitterEnum JITTER_3
public static final JitterEnum JITTER_4
public static final JitterEnum JITTER_5
public static final JitterEnum JITTER_6
public static final JitterEnum JITTER_8
public static final JitterEnum JITTER_9
public static final JitterEnum JITTER_12
public static final JitterEnum JITTER_16
Method Detail |
---|
public static final JitterEnum[] values()
for(JitterEnum c : JitterEnum.values()) System.out.println(c);
public static JitterEnum valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified namepublic double[][] getMatrix()
public String toString()
toString
in class Enum<JitterEnum>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |