Package | Description |
---|---|
graphicslib3D |
Modifier and Type | Method and Description |
---|---|
Matrix3D |
Shape3D.getRotation()
Get the rotation
Matrix3D associated with this object. |
Matrix3D |
Shape3D.getScale()
Get the scaling
Matrix3D associated with this object. |
Matrix3D |
Shape3D.getTransform()
Returns a single
Matrix3D which contains the concatenation of the current
translation, rotation, and scaling transforms of this Shape3D , with
the concatenation done in that order (translation, then rotation, then scaling). |
Matrix3D |
Shape3D.getTranslation()
Get the translation
Matrix3D associated with this object. |
Matrix3D |
Matrix3D.inverse()
Returns a new Matrix3D which is the inverse of this Matrix3D.
|
Matrix3D |
MatrixStack.peek()
Returns a copy of the
Matrix3D at the top of the stack without
affecting the stack. |
Matrix3D |
Quaternion.toMatrix3D()
Convert this Quaternion to a rotation matrix.
|
Matrix3D |
Matrix3D.transpose()
Returns a new Matrix3D which is the transpose of this Matrix3D.
|
Modifier and Type | Method and Description |
---|---|
void |
Matrix3D.concatenate(Matrix3D matrix2)
Concatenates a second matrix onto this matrix on the right.
|
void |
MatrixStack.loadMatrix(Matrix3D mat)
Sets the
Matrix3D at the top of the stack to be a copy of
the specified matrix, discarding the previous contents of the top of the stack. |
Vertex3D |
Vertex3D.mult(Matrix3D mat)
Returns a new Vertex3D object which is a clone of this vertex but with a
Point3D location generated by multiplying this vertex's location by the
specified Matrix3D.
|
Vector3D |
Vector3D.mult(Matrix3D mat)
Returns a new Vector3D which is the result of multiplying this Vector by
the given matrix.
|
Point3D |
Point3D.mult(Matrix3D mat)
Returns a new Point3D which is the result of
multiplying this point by the given matrix.
|
void |
MatrixStack.multMatrix(Matrix3D mat)
Concatenates the specified matrix with the matrix currently at the top
of the stack, replacing the top of the stack with the resulting product
matrix.
|
void |
Shape3D.setRotation(Matrix3D mat)
Set the rotation matrix for this Shape3D.
|
void |
Shape3D.setScale(Matrix3D mat)
Set the scaling matrix for this Shape3D.
|
void |
Shape3D.setTranslation(Matrix3D mat)
Set the translation matrix for this Shape3D.
|
Constructor and Description |
---|
Shape3D(java.lang.String name,
Matrix3D translation,
Matrix3D rotation,
Matrix3D scale)
Creates a Shape as specified by the given attributes.
|