java.lang.Object | |
↳ | android.renderscript.Matrix3f |
Class for exposing the native RenderScript rs_matrix3x3 type back to the Android system.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
|
Creates a new identity 3x3 matrix
|
||||||||||
|
Creates a new matrix and sets its values from the given
parameter
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
|
Returns the value for a given row and column
|
||||||||||
|
Return a reference to the internal array representing matrix
values.
|
||||||||||
|
Sets the values of the matrix to those of the parameter
|
||||||||||
|
Sets the matrix values to identity
|
||||||||||
|
Sets current values to be the result of multiplying two given
matrices
|
||||||||||
|
Makes the upper 2x2 a rotation matrix of the given angle
|
||||||||||
|
Sets current values to be a rotation matrix of certain angle
about a given axis
|
||||||||||
|
Sets current values to be a scale matrix of given dimensions
|
||||||||||
|
Makes the upper 2x2 a scale matrix of given dimensions
|
||||||||||
|
Sets current values to be a translation matrix of given
dimensions
|
||||||||||
|
Post-multiplies the current matrix by a given parameter
|
||||||||||
|
Modifies the upper 2x2 of the current matrix by
post-multiplying it with a rotation matrix of given angle
|
||||||||||
|
Modifies the current matrix by post-multiplying it with a
rotation matrix of certain angle about a given axis
|
||||||||||
|
Modifies the upper 2x2 of the current matrix by
post-multiplying it with a scale matrix of given dimensions
|
||||||||||
|
Modifies the current matrix by post-multiplying it with a
scale matrix of given dimensions
|
||||||||||
|
Sets the value for a given row and column
|
||||||||||
|
Modifies the current matrix by post-multiplying it with a
translation matrix of given dimensions
|
||||||||||
|
Sets the current matrix to its transpose
|
[Expand]
Inherited Methods
|
|||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Creates a new matrix and sets its values from the given parameter
dataArray | values to set the matrix to, must be 9 floats long |
---|
Returns the value for a given row and column
x | column of the value to return |
---|---|
y | row of the value to return |
Return a reference to the internal array representing matrix values. Modifying this array will also change the matrix
Sets the values of the matrix to those of the parameter
src | matrix to load the values from |
---|
Sets current values to be the result of multiplying two given matrices
lhs | left hand side matrix |
---|---|
rhs | right hand side matrix |
Makes the upper 2x2 a rotation matrix of the given angle
rot | rotation angle |
---|
Sets current values to be a rotation matrix of certain angle about a given axis
rot | angle of rotation |
---|---|
x | rotation axis x |
y | rotation axis y |
z | rotation axis z |
Sets current values to be a scale matrix of given dimensions
x | scale component x |
---|---|
y | scale component y |
z | scale component z |
Makes the upper 2x2 a scale matrix of given dimensions
x | scale component x |
---|---|
y | scale component y |
Sets current values to be a translation matrix of given dimensions
x | translation component x |
---|---|
y | translation component y |
Post-multiplies the current matrix by a given parameter
rhs | right hand side to multiply by |
---|
Modifies the upper 2x2 of the current matrix by post-multiplying it with a rotation matrix of given angle
rot | angle of rotation |
---|
Modifies the current matrix by post-multiplying it with a rotation matrix of certain angle about a given axis
rot | angle of rotation |
---|---|
x | rotation axis x |
y | rotation axis y |
z | rotation axis z |
Modifies the upper 2x2 of the current matrix by post-multiplying it with a scale matrix of given dimensions
x | scale component x |
---|---|
y | scale component y |
Modifies the current matrix by post-multiplying it with a scale matrix of given dimensions
x | scale component x |
---|---|
y | scale component y |
z | scale component z |
Sets the value for a given row and column
x | column of the value to set |
---|---|
y | row of the value to set |
Modifies the current matrix by post-multiplying it with a translation matrix of given dimensions
x | translation component x |
---|---|
y | translation component y |