jsynoptic.plugins.java3d.util
Enum TransformValues

java.lang.Object
  extended by java.lang.Enum<TransformValues>
      extended by jsynoptic.plugins.java3d.util.TransformValues
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<TransformValues>

public enum TransformValues
extends java.lang.Enum<TransformValues>


Enum Constant Summary
AFFINE
           
FULL
           
IDENTITY
           
ROTX
           
ROTXYZ
           
ROTY
           
ROTZ
           
SCALE
           
SCALEX
           
SCALEXYZ
           
SCALEY
           
SCALEZ
           
TRANSX
           
TRANSXYZ
           
TRANSY
           
TRANSZ
           
 
Field Summary
static MenuResourceBundle resources
           
 
Method Summary
 void get(Transform3D trans, double[] params)
           
static double[] get(Transform3D trans, TransformValues preferred)
           
static double[] get(Transform3D trans, TransformValues[] res)
           
 double getDefaultValue(int index)
           
static TransformValues getKind(Matrix4d m)
           
 int getSize()
           
 java.lang.String getValueName(int index)
           
static boolean isIdentity(Matrix3d m3)
           
static boolean isIdentity(Matrix4d m4)
           
 void set(Transform3D trans, double[] params)
           
 java.lang.String toString()
           
static TransformValues valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static TransformValues[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

IDENTITY

public static final TransformValues IDENTITY

TRANSX

public static final TransformValues TRANSX

TRANSY

public static final TransformValues TRANSY

TRANSZ

public static final TransformValues TRANSZ

TRANSXYZ

public static final TransformValues TRANSXYZ

ROTX

public static final TransformValues ROTX

ROTY

public static final TransformValues ROTY

ROTZ

public static final TransformValues ROTZ

ROTXYZ

public static final TransformValues ROTXYZ

SCALEX

public static final TransformValues SCALEX

SCALEY

public static final TransformValues SCALEY

SCALEZ

public static final TransformValues SCALEZ

SCALE

public static final TransformValues SCALE

SCALEXYZ

public static final TransformValues SCALEXYZ

AFFINE

public static final TransformValues AFFINE

FULL

public static final TransformValues FULL
Field Detail

resources

public static final MenuResourceBundle resources
Method Detail

values

public static TransformValues[] 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 (TransformValues c : TransformValues.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static TransformValues 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 name
java.lang.NullPointerException - if the argument is null

getSize

public int getSize()

getDefaultValue

public double getDefaultValue(int index)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Enum<TransformValues>

getValueName

public java.lang.String getValueName(int index)

get

public static double[] get(Transform3D trans,
                           TransformValues preferred)

get

public static double[] get(Transform3D trans,
                           TransformValues[] res)

get

public void get(Transform3D trans,
                double[] params)

set

public void set(Transform3D trans,
                double[] params)

isIdentity

public static boolean isIdentity(Matrix4d m4)

isIdentity

public static boolean isIdentity(Matrix3d m3)

getKind

public static TransformValues getKind(Matrix4d m)