public class SbMatrix3 extends SbBasic
See SbMatrix
for discussion of storage layout and usage of matrices.
See also:
SbMatrix
, SbMatrixd
, SbRotation
, SbRotationd
, SbVec2d
, SbVec2f
, SbVec2i32
, SbVec2s
, SbVec3d
, SbVec3f
, SbVec3i32
, SbVec3s
, SbVec4b
, SbVec4d
, SbVec4f
, SbVec4i32
, SbVec4s
, SbVec4ub
, SbVec4ui32
, SbVec4us
Modifier and Type | Field and Description |
---|---|
float[] |
array |
Constructor and Description |
---|
SbMatrix3() |
SbMatrix3(float[] components) |
SbMatrix3(float c0,
float c1,
float c2,
float c3,
float c4,
float c5,
float c6,
float c7,
float c8) |
SbMatrix3(SbMatrix3 copyFrom) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
float[] |
getValue() |
float |
getValueAt(int index) |
static SbMatrix3 |
identity()
Returns an identity matrix.
|
void |
makeIdentity()
Sets matrix to be identity.
|
void |
multiply(SbMatrix3 m)
Post-multiplies the matrix by the given matrix (equivalent to
multRight() method). |
SbMatrix3 |
multLeft(SbMatrix3 m)
Pre-multiplies matrix by the given matrix.
|
SbVec3f |
multMatrixVec(SbVec3f src)
Post-multiplies matrix by the given column vector, giving a 3D vector result.
|
SbMatrix3 |
multRight(SbMatrix3 m)
Post-multiplies the matrix by the given matrix.
|
SbVec3f |
multVecMatrix(SbVec3f src)
Pre-multiplies matrix by the given row vector, giving a 3D vector result.
|
void |
setRotate(SbRotation q)
Sets matrix to rotate by given rotation.
|
void |
setScale(float s)
Sets matrix to scale by given uniform factor.
|
void |
setScale(SbVec3f s)
Sets matrix to scale by given vector.
|
SbMatrix3 |
setValue(float[] components) |
SbMatrix3 |
setValue(float[] components,
int startIndex) |
SbMatrix3 |
setValue(float c0,
float c1,
float c2,
float c3,
float c4,
float c5,
float c6,
float c7,
float c8) |
void |
setValue(SbMatrix3 copyFrom) |
void |
setValueAt(int index,
float value) |
SbMatrix3 |
times(SbMatrix3 m2)
Multiplies two matrices, returning a matrix result.
|
static SbMatrix3[] |
toArray(long nativeArray,
long length) |
public SbMatrix3(float c0, float c1, float c2, float c3, float c4, float c5, float c6, float c7, float c8)
public SbMatrix3(SbMatrix3 copyFrom)
public SbMatrix3(float[] components)
public SbMatrix3()
public float getValueAt(int index)
public void setValue(SbMatrix3 copyFrom)
public void setValueAt(int index, float value)
public SbMatrix3 setValue(float c0, float c1, float c2, float c3, float c4, float c5, float c6, float c7, float c8)
public SbMatrix3 setValue(float[] components, int startIndex)
public SbMatrix3 setValue(float[] components)
public float[] getValue()
public void setRotate(SbRotation q)
public static SbMatrix3 identity()
public void setScale(float s)
public void makeIdentity()
public SbVec3f multVecMatrix(SbVec3f src)
public SbVec3f multMatrixVec(SbVec3f src)
public static SbMatrix3[] toArray(long nativeArray, long length)
public SbMatrix3 multRight(SbMatrix3 m)
public void multiply(SbMatrix3 m)
multRight()
method).
Matrix is replaced by the resulting matrix.public SbMatrix3 multLeft(SbMatrix3 m)
public void setScale(SbVec3f s)
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Generated on August 20, 2019, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com