|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object ij3d.geom.GeomTransform3D
public class GeomTransform3D
Description of the Class
Constructor Summary | |
---|---|
GeomTransform3D()
Constructor for the Transform3D object create an identity transform |
|
GeomTransform3D(double[][] transfmatrix)
Constructor for the Transform3D object create an identity transform |
|
GeomTransform3D(double tx,
double ty,
double tz,
double rx,
double ry,
double rz)
Constructor for the GeomTranform3D object |
|
GeomTransform3D(TabUtil transform)
Constructor for the GeomTransform3D object |
Method Summary | |
---|---|
GeomTransform3D |
addTransform(GeomTransform3D transfo)
Adds a feature to the Transform attribute of the GeomTransform3D object |
GeomTransform3D |
addTransform(TabUtil transfo)
Adds a feature to the Transform attribute of the GeomTransform3D object |
static int |
GaussElim(double[] a,
double[] x)
Taken from VolumeJ Gaussian elimination method with backward substitution to solve a system of linear equations. |
double[][] |
getMatrix()
Gets the matrix attribute of the GeomTransform3D object |
double |
getValue(int row,
int column)
Gets the value of the matrix of the Transform3D object at position [row][column] |
Vector3D |
getVectorTransformed(Vector3D P,
Vector3D C)
Apply the transform to a point described by a vector |
GeomTransform3D |
invert()
Description of the Method |
boolean |
isIdentity()
Gets the identity attribute of the GeomTransform3D object |
GeomTransform3D |
reset()
Description of the Method |
GeomTransform3D |
setRotation(double angleRadianXAxis,
double angleRadianYAxis,
double angleRadianZAxis)
Sets the rotation attribute of the Transform3D object |
GeomTransform3D |
setRotation(Vector3D axis,
double angle)
|
GeomTransform3D |
setRotationDegrees(double angleDegreesXAxis,
double angleDegreesYAxis,
double angleDegreesZAxis)
Sets the rotation attribute of the Transform3D object |
GeomTransform3D |
setRotationXAxis(double angleRadian)
Sets the rotation on the X Axis for the Transform |
GeomTransform3D |
setRotationYAxis(double angleRadian)
Sets the rotation on the Y Axis for the Transform |
GeomTransform3D |
setRotationZAxis(double angleRadian)
Sets the rotationZAxis attribute of the Transform3D object |
GeomTransform3D |
setTransform(double tx,
double ty,
double tz,
double rx,
double ry,
double rz)
Sets the transform attribute of the GeomTransform3D object |
GeomTransform3D |
setTranslation(double x,
double y,
double z)
Sets the translation attribute of the Transform |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GeomTransform3D()
public GeomTransform3D(double[][] transfmatrix)
transfmatrix
- Description of the Parameterpublic GeomTransform3D(TabUtil transform)
transform
- Description of the Parameterpublic GeomTransform3D(double tx, double ty, double tz, double rx, double ry, double rz)
tx
- Description of the Parameterty
- Description of the Parametertz
- Description of the Parameterrx
- Description of the Parameterry
- Description of the Parameterrz
- Description of the ParameterMethod Detail |
---|
public GeomTransform3D reset()
public GeomTransform3D setTransform(double tx, double ty, double tz, double rx, double ry, double rz)
tx
- The new transform valuety
- The new transform valuetz
- The new transform valuerx
- The new transform valuery
- The new transform valuerz
- The new transform value
public GeomTransform3D setTranslation(double x, double y, double z)
x
- The new translation value on x axisy
- The new translation value on y axisz
- The new translation value on z axis
public GeomTransform3D setRotationXAxis(double angleRadian)
angleRadian
- The angle of rotation in radian
public GeomTransform3D setRotationYAxis(double angleRadian)
angleRadian
- The angle of rotation in radian
public GeomTransform3D setRotationZAxis(double angleRadian)
angleRadian
- The angle of rotation in radian
public GeomTransform3D setRotation(double angleRadianXAxis, double angleRadianYAxis, double angleRadianZAxis)
angleRadianXAxis
- The angle of rotation in radian on the X axisangleRadianYAxis
- The angle of rotation in radian on the Y axisangleRadianZAxis
- The angle of rotation in radian on the Z axis
public GeomTransform3D setRotation(Vector3D axis, double angle)
axis
- angle
-
public GeomTransform3D setRotationDegrees(double angleDegreesXAxis, double angleDegreesYAxis, double angleDegreesZAxis)
angleDegreesXAxis
- The new rotationDegrees valueangleDegreesYAxis
- The new rotationDegrees valueangleDegreesZAxis
- The new rotationDegrees value
public GeomTransform3D addTransform(GeomTransform3D transfo)
transfo
- The feature to be added to the Transform attribute
public GeomTransform3D addTransform(TabUtil transfo)
transfo
- The feature to be added to the Transform attribute
public double getValue(int row, int column)
row
- row number of the matrixcolumn
- column number of the matrix
public double[][] getMatrix()
public GeomTransform3D invert()
public boolean isIdentity()
public Vector3D getVectorTransformed(Vector3D P, Vector3D C)
P
- Original pointC
- Center for rotation
public static int GaussElim(double[] a, double[] x)
a
- Description of the Parameterx
- Description of the Parameter
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |