Modifier and Type | Field and Description |
---|---|
static CoordinateTransformer3DFloat |
CoordinateTransformer3DFloat.IDENTITY
The identity matrix.
|
Modifier and Type | Method and Description |
---|---|
CoordinateTransformer3DFloat |
CoordinateTransformer3DFloat.inverse()
Returns the inverse of this matrix.
|
static CoordinateTransformer3DFloat |
CoordinateTransformer3DFloat.makeRotate(float a,
float b,
float c,
float uUn,
float vUn,
float wUn,
double theta)
Build a rotation matrix for rotations about the line through the point
(a, b, c) parallel to the vector [u, v, w] by the angle theta.
|
static CoordinateTransformer3DFloat |
CoordinateTransformer3DFloat.makeRotate(Point3DFloat point,
Point3DFloat vec,
double theta)
Build a rotation matrix for rotations about the line through the point
point parallel to the vector vec
by the angle theta. |
static CoordinateTransformer3DFloat |
CoordinateTransformer3DFloat.makeRotateX(float a,
float b,
float c,
double theta)
Build a rotation matrix for rotations about the line through the point
(a, b, c) parallel to the x-axis by the angle theta.
|
static CoordinateTransformer3DFloat |
CoordinateTransformer3DFloat.makeRotateXYZ(float a,
float b,
float c,
double thetaX,
double thetaY,
double thetaZ)
Build a rotation matrix for three rotations around the point (a, b, c)
by performing 3 successive rotations about the x, y, and z axes in that
order.
|
static CoordinateTransformer3DFloat |
CoordinateTransformer3DFloat.makeRotateY(float a,
float b,
float c,
double theta)
Build a rotation matrix for rotations about the line through the point
(a, b, c) parallel to the y-axis by the angle theta.
|
static CoordinateTransformer3DFloat |
CoordinateTransformer3DFloat.makeRotateZ(float a,
float b,
float c,
double theta)
Build a rotation matrix for rotations about the line through the point
(a, b, c) parallel to the z-axis by the angle theta.
|
static CoordinateTransformer3DFloat |
CoordinateTransformer3DFloat.makeScale(float sx,
float sy,
float sz)
Build a scaling matrix for scalings along the major axes.
|
static CoordinateTransformer3DFloat |
CoordinateTransformer3DFloat.makeTranslate(float x,
float y,
float z)
Build a translation matrix for translations along the major axes.
|
static CoordinateTransformer3DFloat |
CoordinateTransformer3DFloat.makeVerticalToLine(float x1,
float y1,
float z1,
float x2,
float y2,
float z2,
double thetaZ)
Makes a transform that will map an object rendered vertically (along
the Z axis, probably based at the origin) to lay along a line from p1
(which is mapped from the origin) to p2.
|
static CoordinateTransformer3DFloat |
CoordinateTransformer3DFloat.makeVerticalToPlane(float x,
float y,
float z,
float u,
float v,
float w,
double thetaZ)
Makes a transform that will map an object rendered vertically (along
the Z axis, probably based at the origin) to lay along a plane given a
point on the plane (specified by (x,y,z)) and a normal to the plane
(specified by (u,v,w)).
|
CoordinateTransformer3DFloat |
CoordinateTransformer3DFloat.multiply(CoordinateTransformer3DFloat b)
Multiplies this CoordinateTransformer3DFloat with another and returns
the new transformation matrix.
|
CoordinateTransformer3DFloat |
CoordinateTransformer3DFloat.round()
Rounds the elements of a matrix to the nearest integer values.
|
Modifier and Type | Method and Description |
---|---|
CoordinateTransformer3DFloat |
CoordinateTransformer3DFloat.multiply(CoordinateTransformer3DFloat b)
Multiplies this CoordinateTransformer3DFloat with another and returns
the new transformation matrix.
|
VoxelArray |
VoxelArray.transform(CoordinateTransformer3DFloat transform)
Transforms this VoxelArray (rotations, scalings, translations, etc.)
using an arbitrary
CoordinateTransformer3DFloat |