|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.j3d.threeD.raytracer.util.TransformMatrix
net.sf.j3d.threeD.raytracer.surfaceUI.TransformMatrixUI
public class TransformMatrixUI
A TransformMatrixUI object stores extra data about a TransformMatrix object such as its type for use in an application with a user interface.
| Field Summary | |
|---|---|
static int |
rotateXTransformation
Code for a rotate-X transformation. |
static int |
rotateYTransformation
Code for a rotate-Y transformation. |
static int |
rotateZTransformation
Code for a rotate-Z transformation. |
static int |
scaleTransformation
Code for a scale transformation. |
static int |
translationTransformation
Code for a translation transformation. |
| Fields inherited from class net.sf.j3d.threeD.raytracer.util.TransformMatrix |
|---|
identity, TRANSFORM_AS_LOCATION, TRANSFORM_AS_NORMAL, TRANSFORM_AS_OFFSET |
| Constructor Summary | |
|---|---|
TransformMatrixUI()
Constructs a new TransformMatrixUI object with no type. |
|
TransformMatrixUI(int type,
double value)
Constructs a new TransformMatrixUI object of the specified type. |
|
TransformMatrixUI(int type,
double x,
double y,
double z)
Constructs a new TransformMatrixUI object of the specified type. |
|
| Method Summary | |
|---|---|
int |
getType()
Returns the type of this TransformMatrixUI object. |
double |
getX()
Returns the X coefficient of translation, scaling, or rotation depending the type of this TransformMatrixUI object. |
double |
getY()
Returns the Y coefficient of translation, scaling, or rotation depending the type of this TransformMatrixUI object. |
double |
getZ()
Returns the Z coefficient of translation, scaling, or rotation depending the type of this TransformMatrixUI object. |
void |
setType(int type)
Sets the type of this TransformMatrixUI object to the type represented by the specified integer code. |
void |
setX(double x)
Sets the X coefficient of translation, scaling, or rotation depending on the type of this TransformMatrixUI object. |
void |
setY(double y)
Sets the Y coefficient of translation, scaling, or rotation depending on the type of this TransformMatrixUI object. |
void |
setZ(double z)
Sets the Z coefficient of translation, scaling, or rotation depending on the type of this TransformMatrixUI object. |
String |
toString()
Returns a String representation of this TransformMatrixUI object. |
| Methods inherited from class net.sf.j3d.threeD.raytracer.util.TransformMatrix |
|---|
adjoint, calculateInverse, createRotateXMatrix, createRotateYMatrix, createRotateZMatrix, createScaleMatrix, createTranslationMatrix, determinant, getInverse, getInverseTransposeMatrix, getMatrix, multiply, multiply, setMatrix, toUpperTriangle, transform, transform, transformAsLocation, transformAsNormal, transformAsOffset, transpose |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int translationTransformation
public static final int scaleTransformation
public static final int rotateXTransformation
public static final int rotateYTransformation
public static final int rotateZTransformation
| Constructor Detail |
|---|
public TransformMatrixUI()
public TransformMatrixUI(int type,
double value)
public TransformMatrixUI(int type,
double x,
double y,
double z)
| Method Detail |
|---|
public void setX(double x)
public void setY(double y)
public void setZ(double z)
public double getX()
public double getY()
public double getZ()
public void setType(int type)
public int getType()
public String toString()
toString in class TransformMatrix
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||