|
| Matrix3D () |
|
| Matrix3D () |
|
void | mult (Matrix3D rhs) |
|
void | mult (Matrix3D rhs) |
|
void | scale (float f) |
|
void | scale (float f) |
|
void | scale (float xf, float yf, float zf) |
|
void | scale (float xf, float yf, float zf) |
|
void | transform (float v[], int tv[], int nvert) |
|
void | transform (float v[], int tv[], int nvert) |
|
void | translate (float x, float y, float z) |
|
void | translate (float x, float y, float z) |
|
void | unit () |
|
void | unit () |
|
void | xrot (double theta) |
|
void | xrot (double theta) |
|
void | yrot (double theta) |
|
void | yrot (double theta) |
|
void | zrot (double theta) |
|
void | zrot (double theta) |
|
A fairly conventional 3D matrix object that can transform sets of 3D points and perform a variety of manipulations on the transform
Definition at line 44 of file Matrix3D.java.
Multiply this matrix by a second: M = M*R
Definition at line 176 of file Matrix3D.java.
References xo, xx, xy, xz, yo, yx, yy, yz, zo, zx, zy, and zz.
Referenced by XYZApp.mouseDragged(), ThreeD.mouseDragged(), XYZApp.paint(), and ThreeD.paint().
Multiply this matrix by a second: M = M*R
Definition at line 176 of file Matrix3D.java.
References xo, xx, xy, xz, yo, yx, yy, yz, zo, zx, zy, and zz.
void Matrix3D.scale |
( |
float |
f | ) |
|
|
package |
Scale by f in all dimensions
Definition at line 59 of file Matrix3D.java.
References xo, xx, xy, xz, yo, yx, yy, yz, zo, zx, zy, and zz.
void Matrix3D.scale |
( |
float |
f | ) |
|
|
package |
Scale by f in all dimensions
Definition at line 59 of file Matrix3D.java.
References xo, xx, xy, xz, yo, yx, yy, yz, zo, zx, zy, and zz.
Referenced by XYZApp.paint(), and ThreeD.paint().
void Matrix3D.scale |
( |
float |
xf, |
|
|
float |
yf, |
|
|
float |
zf |
|
) |
| |
|
package |
Scale along each axis independently
Definition at line 75 of file Matrix3D.java.
References xo, xx, xy, xz, yo, yx, yy, yz, zo, zx, zy, and zz.
void Matrix3D.scale |
( |
float |
xf, |
|
|
float |
yf, |
|
|
float |
zf |
|
) |
| |
|
package |
Scale along each axis independently
Definition at line 75 of file Matrix3D.java.
References xo, xx, xy, xz, yo, yx, yy, yz, zo, zx, zy, and zz.
void Matrix3D.transform |
( |
float |
v[], |
|
|
int |
tv[], |
|
|
int |
nvert |
|
) |
| |
|
package |
Transform nvert points from v into tv. v contains the input coordinates in floating point. Three successive entries in the array constitute a point. tv ends up holding the transformed points as integers; three successive entries per point
Definition at line 228 of file Matrix3D.java.
References xo, xx, xy, xz, yo, yx, yy, yz, zo, zx, zy, and zz.
Referenced by XYZChemModel.transform(), and Model3D.transform().
void Matrix3D.transform |
( |
float |
v[], |
|
|
int |
tv[], |
|
|
int |
nvert |
|
) |
| |
|
package |
Transform nvert points from v into tv. v contains the input coordinates in floating point. Three successive entries in the array constitute a point. tv ends up holding the transformed points as integers; three successive entries per point
Definition at line 228 of file Matrix3D.java.
References xo, xx, xy, xz, yo, yx, yy, yz, zo, zx, zy, and zz.
Reinitialize to the unit matrix
Definition at line 209 of file Matrix3D.java.
References xo, xx, xy, xz, yo, yx, yy, yz, zo, zx, zy, and zz.
Referenced by XYZApp.paint(), and ThreeD.paint().
Reinitialize to the unit matrix
Definition at line 209 of file Matrix3D.java.
References xo, xx, xy, xz, yo, yx, yy, yz, zo, zx, zy, and zz.
void Matrix3D.xrot |
( |
double |
theta | ) |
|
|
package |
void Matrix3D.yrot |
( |
double |
theta | ) |
|
|
package |
void Matrix3D.zrot |
( |
double |
theta | ) |
|
|
package |
void Matrix3D.zrot |
( |
double |
theta | ) |
|
|
package |