![]() |
Python_2
1.0
|
Math utilities, vector, matrix types and ArcBall quaternion rotation class. More...
Classes | |
class | ArcBallT |
Functions | |
def | sumDot (a, b) |
def | Matrix4fT () |
def | Matrix3fT () |
def | Quat4fT () |
def | Vector3fT () |
def | Point2fT (x=0.0, y=0.0) |
def | Vector3fDot (u, v) |
def | Vector3fCross (u, v) |
def | Vector3fLength (u) |
def | Matrix3fSetIdentity () |
def | Matrix3fMulMatrix3f (matrix_a, matrix_b) |
def | Matrix4fSVD (NewObj) |
def | Matrix4fSetRotationScaleFromMatrix3f (NewObj, three_by_three_matrix) |
def | Matrix4fSetRotationFromMatrix3f (NewObj, three_by_three_matrix) |
Sets the rotational component (upper 3x3) of a given matrix to the matrix values in the T precision Matrix3d argument; the other elements of this matrix are unchanged; a singular value decomposition is performed on this object's upper 3x3 matrix to factor out the scale, then this object's upper 3x3 matrix components are replaced by the passed rotation components, and then the scale is reapplied to the rotational components. More... | |
def | Matrix3fSetRotationFromQuat4f (q1) |
def | unit_test_ArcBall_module () |
def | _test () |
Variables | |
float | Epsilon = 1.0e-5 |
Math utilities, vector, matrix types and ArcBall quaternion rotation class.
|
private |
def ArcBall.Matrix3fMulMatrix3f | ( | matrix_a, | |
matrix_b | |||
) |
References sumDot().
Referenced by unit_test_ArcBall_module(), and Lesson48.Upon_Drag().
def ArcBall.Matrix3fSetIdentity | ( | ) |
Referenced by Lesson48.Upon_Click().
def ArcBall.Matrix3fSetRotationFromQuat4f | ( | q1 | ) |
References Matrix3fT(), and sumDot().
Referenced by unit_test_ArcBall_module(), and Lesson48.Upon_Drag().
def ArcBall.Matrix3fT | ( | ) |
Referenced by Matrix3fSetRotationFromQuat4f(), and unit_test_ArcBall_module().
def ArcBall.Matrix4fSetRotationFromMatrix3f | ( | NewObj, | |
three_by_three_matrix | |||
) |
Sets the rotational component (upper 3x3) of a given matrix to the matrix values in the T precision Matrix3d argument; the other elements of this matrix are unchanged; a singular value decomposition is performed on this object's upper 3x3 matrix to factor out the scale, then this object's upper 3x3 matrix components are replaced by the passed rotation components, and then the scale is reapplied to the rotational components.
NewObj | given matrix |
three_by_three_matrix | T precision 3x3 matrix |
References Matrix4fSetRotationScaleFromMatrix3f(), and Matrix4fSVD().
Referenced by unit_test_ArcBall_module(), Lesson48.Upon_Click(), and Lesson48.Upon_Drag().
def ArcBall.Matrix4fSetRotationScaleFromMatrix3f | ( | NewObj, | |
three_by_three_matrix | |||
) |
Referenced by Matrix4fSetRotationFromMatrix3f().
def ArcBall.Matrix4fSVD | ( | NewObj | ) |
Referenced by Matrix4fSetRotationFromMatrix3f().
def ArcBall.Matrix4fT | ( | ) |
Referenced by unit_test_ArcBall_module().
def ArcBall.Point2fT | ( | x = 0.0 , |
|
y = 0.0 |
|||
) |
Referenced by unit_test_ArcBall_module(), Lesson48.Upon_Click(), and Lesson48.Upon_Drag().
def ArcBall.Quat4fT | ( | ) |
Referenced by ArcBall.ArcBallT.drag().
def ArcBall.sumDot | ( | a, | |
b | |||
) |
Referenced by ArcBall.ArcBallT._mapToSphere(), Matrix3fMulMatrix3f(), Matrix3fSetRotationFromQuat4f(), and Vector3fLength().
def ArcBall.unit_test_ArcBall_module | ( | ) |
def ArcBall.Vector3fCross | ( | u, | |
v | |||
) |
Referenced by ArcBall.ArcBallT.drag().
def ArcBall.Vector3fDot | ( | u, | |
v | |||
) |
Referenced by ArcBall.ArcBallT.drag().
def ArcBall.Vector3fLength | ( | u | ) |
References sumDot().
Referenced by ArcBall.ArcBallT.drag().
def ArcBall.Vector3fT | ( | ) |
Referenced by ArcBall.ArcBallT._mapToSphere().
float ArcBall.Epsilon = 1.0e-5 |