|
Blender
V2.59
|
#include <MT_Matrix3x3.h>
Definition at line 56 of file MT_Matrix3x3.h.
| MT_Matrix3x3::MT_Matrix3x3 | ( | ) | [inline] |
Definition at line 58 of file MT_Matrix3x3.h.
Referenced by absolute(), adjoint(), inverse(), scaled(), and transposed().
| MT_Matrix3x3::MT_Matrix3x3 | ( | const float * | m | ) | [inline] |
Definition at line 59 of file MT_Matrix3x3.h.
References setValue().
| MT_Matrix3x3::MT_Matrix3x3 | ( | const double * | m | ) | [inline] |
Definition at line 60 of file MT_Matrix3x3.h.
References setValue().
| MT_Matrix3x3::MT_Matrix3x3 | ( | const MT_Quaternion & | q | ) | [inline] |
Definition at line 61 of file MT_Matrix3x3.h.
References setRotation().
| MT_Matrix3x3::MT_Matrix3x3 | ( | const MT_Quaternion & | q, |
| const MT_Vector3 & | s | ||
| ) | [inline] |
Definition at line 63 of file MT_Matrix3x3.h.
References scale(), and setRotation().
| MT_Matrix3x3::MT_Matrix3x3 | ( | const MT_Vector3 & | euler | ) | [inline] |
Definition at line 68 of file MT_Matrix3x3.h.
References setEuler().
| MT_Matrix3x3::MT_Matrix3x3 | ( | const MT_Vector3 & | euler, |
| const MT_Vector3 & | s | ||
| ) | [inline] |
Definition at line 69 of file MT_Matrix3x3.h.
References scale(), and setEuler().
| MT_Matrix3x3::MT_Matrix3x3 | ( | MT_Scalar | xx, |
| MT_Scalar | xy, | ||
| MT_Scalar | xz, | ||
| MT_Scalar | yx, | ||
| MT_Scalar | yy, | ||
| MT_Scalar | yz, | ||
| MT_Scalar | zx, | ||
| MT_Scalar | zy, | ||
| MT_Scalar | zz | ||
| ) | [inline] |
Definition at line 74 of file MT_Matrix3x3.h.
References setValue().
| GEN_INLINE MT_Matrix3x3 MT_Matrix3x3::absolute | ( | ) | const |
Definition at line 55 of file MT_Matrix3x3.inl.
References m_el, MT_abs(), and MT_Matrix3x3().
| GEN_INLINE MT_Matrix3x3 MT_Matrix3x3::adjoint | ( | ) | const |
Definition at line 72 of file MT_Matrix3x3.inl.
References cofac(), and MT_Matrix3x3().
| MT_Scalar MT_Matrix3x3::cofac | ( | int | r1, |
| int | c1, | ||
| int | r2, | ||
| int | c2 | ||
| ) | const [inline] |
Definition at line 234 of file MT_Matrix3x3.h.
References m_el.
| GEN_INLINE MT_Scalar MT_Matrix3x3::determinant | ( | ) | const |
Definition at line 51 of file MT_Matrix3x3.inl.
References MT_triple().
Referenced by LOD_Quadric::Optimize().
| MT_Vector3 MT_Matrix3x3::getColumn | ( | int | i | ) | const [inline] |
Definition at line 85 of file MT_Matrix3x3.h.
References m_el.
Referenced by IK_QSphericalSegment::Axis(), IK_QRevoluteSegment::Axis(), IK_QSwingSegment::Axis(), IK_QElbowSegment::Axis(), IK_QTranslateSegment::Axis(), and BL_ConvertBlenderObjects().
Definition at line 164 of file MT_Matrix3x3.h.
References KDL::asin(), KDL::atan2(), cos(), m_el, and MT_PI().
Referenced by KX_IpoSGController::Update().
| GEN_INLINE MT_Quaternion MT_Matrix3x3::getRotation | ( | ) | const |
Definition at line 3 of file MT_Matrix3x3.inl.
References i, m_el, next, sqrt(), and trace.
Referenced by KX_Camera::GetCameraOrientation(), MT_Transform::getRotation(), KX_MotionState::getWorldOrientation(), KX_SoundActuator::Update(), and KX_SlowParentRelation::UpdateChildCoordinates().
| void MT_Matrix3x3::getValue | ( | float * | m | ) | const [inline] |
Definition at line 202 of file MT_Matrix3x3.h.
References m_el.
Referenced by MT_Transform::getValue(), KX_MotionState::getWorldOrientation(), main(), KX_NearSensor::SynchronizeTransform(), KX_RadarSensor::SynchronizeTransform(), and KX_GameObject::UpdateBlenderObjectMatrix().
| void MT_Matrix3x3::getValue | ( | double * | m | ) | const [inline] |
Definition at line 208 of file MT_Matrix3x3.h.
References m_el.
| void MT_Matrix3x3::getValue3x3 | ( | float * | m | ) | const [inline] |
Definition at line 214 of file MT_Matrix3x3.h.
References m_el.
| void MT_Matrix3x3::getValue3x3 | ( | double * | m | ) | const [inline] |
Definition at line 220 of file MT_Matrix3x3.h.
References m_el.
| GEN_INLINE MT_Matrix3x3 MT_Matrix3x3::inverse | ( | ) | const |
Definition at line 79 of file MT_Matrix3x3.inl.
References co, cofac(), MT_assert, MT_dot(), MT_fuzzyZero2(), and MT_Matrix3x3().
Referenced by KX_GameObject::AlignAxisToVect(), KX_RaySensor::Evaluate(), MT_Transform::invert(), invert(), MT_Transform::multInverseLeft(), KX_GameObject::NodeSetWorldPosition(), LOD_Quadric::Optimize(), IK_QSegment::PrependBasis(), RAS_CalcTexMatrix(), SG_Spatial::RelativeRotate(), KX_GameObject::SetParent(), and KX_TrackToActuator::Update().
| GEN_INLINE void MT_Matrix3x3::invert | ( | ) |
Definition at line 90 of file MT_Matrix3x3.inl.
References inverse().
| GEN_INLINE MT_Matrix3x3 & MT_Matrix3x3::operator*= | ( | const MT_Matrix3x3 & | m | ) |
Definition at line 44 of file MT_Matrix3x3.inl.
References m_el, setValue(), and tdot().
| MT_Vector3& MT_Matrix3x3::operator[] | ( | int | i | ) | [inline] |
Definition at line 82 of file MT_Matrix3x3.h.
| const MT_Vector3& MT_Matrix3x3::operator[] | ( | int | i | ) | const [inline] |
Definition at line 83 of file MT_Matrix3x3.h.
Definition at line 184 of file MT_Matrix3x3.h.
References m_el.
Referenced by MT_Matrix3x3(), MT_Transform::scale(), and KX_BoneParentRelation::UpdateChildCoordinates().
| MT_Matrix3x3 MT_Matrix3x3::scaled | ( | MT_Scalar | x, |
| MT_Scalar | y, | ||
| MT_Scalar | z | ||
| ) | const [inline] |
Definition at line 190 of file MT_Matrix3x3.h.
References m_el, and MT_Matrix3x3().
Referenced by SG_Spatial::GetWorldTransform(), and KX_BoneParentRelation::UpdateChildCoordinates().
| void MT_Matrix3x3::setColumn | ( | int | i, |
| const MT_Vector3 & | v | ||
| ) | [inline] |
Definition at line 88 of file MT_Matrix3x3.h.
| void MT_Matrix3x3::setEuler | ( | const MT_Vector3 & | euler | ) | [inline] |
setEuler
| euler | a const reference to a MT_Vector3 of euler angles These angles are used to produce a rotation matrix. The euler angles are applied in ZYX order. I.e a vector is first rotated about X then Y and then Z |
Definition at line 147 of file MT_Matrix3x3.h.
References cos(), setValue(), si, and sin().
Referenced by MT_Matrix3x3().
| void MT_Matrix3x3::setIdentity | ( | ) | [inline] |
Definition at line 196 of file MT_Matrix3x3.h.
References setValue().
Referenced by IK_QSegment::IK_QSegment(), IK_SetTransform(), IK_QNullSegment::SetBasis(), and MT_Transform::setIdentity().
| void MT_Matrix3x3::setRotation | ( | const MT_Quaternion & | q | ) | [inline] |
Definition at line 126 of file MT_Matrix3x3.h.
References simple_enum_gen::d, MT_Vector4::length2(), MT_assert, MT_fuzzyZero2(), and setValue().
Referenced by MT_Matrix3x3(), MT_Transform::setRotation(), and KX_SlowParentRelation::UpdateChildCoordinates().
| void MT_Matrix3x3::setValue | ( | const float * | m | ) | [inline] |
Definition at line 94 of file MT_Matrix3x3.h.
References m_el.
Referenced by KX_GameObject::AlignAxisToVect(), KX_OrientationInterpolator::Execute(), MT_Matrix3x3(), operator*=(), setEuler(), setIdentity(), SG_Spatial::SetLocalOrientation(), setRotation(), MT_Transform::setValue(), KX_TrackToActuator::Update(), and KX_BoneParentRelation::UpdateChildCoordinates().
| void MT_Matrix3x3::setValue | ( | const double * | m | ) | [inline] |
Definition at line 100 of file MT_Matrix3x3.h.
References m_el.
| void MT_Matrix3x3::setValue | ( | MT_Scalar | xx, |
| MT_Scalar | xy, | ||
| MT_Scalar | xz, | ||
| MT_Scalar | yx, | ||
| MT_Scalar | yy, | ||
| MT_Scalar | yz, | ||
| MT_Scalar | zx, | ||
| MT_Scalar | zy, | ||
| MT_Scalar | zz | ||
| ) | [inline] |
Definition at line 118 of file MT_Matrix3x3.h.
References m_el.
| void MT_Matrix3x3::setValue3x3 | ( | const float * | m | ) | [inline] |
Definition at line 106 of file MT_Matrix3x3.h.
References m_el.
| void MT_Matrix3x3::setValue3x3 | ( | const double * | m | ) | [inline] |
Definition at line 112 of file MT_Matrix3x3.h.
References m_el.
| MT_Scalar MT_Matrix3x3::tdot | ( | int | c, |
| const MT_Vector3 & | v | ||
| ) | const [inline] |
Definition at line 230 of file MT_Matrix3x3.h.
References m_el.
Referenced by operator*(), and operator*=().
| GEN_INLINE void MT_Matrix3x3::transpose | ( | ) |
Definition at line 68 of file MT_Matrix3x3.inl.
References transposed().
Referenced by IK_QOrientationTask::ComputeJacobian().
| GEN_INLINE MT_Matrix3x3 MT_Matrix3x3::transposed | ( | ) | const |
Definition at line 62 of file MT_Matrix3x3.inl.
References m_el, and MT_Matrix3x3().
Referenced by IK_QSegment::BasisChange(), IK_QOrientationTask::ComputeJacobian(), MT_Transform::invert(), RemoveTwist(), transpose(), KX_ObjectActuator::Update(), IK_QSphericalSegment::UpdateAngle(), and IK_QSwingSegment::UpdateAngle().
MT_Vector3 MT_Matrix3x3::m_el[3] [protected] |
Definition at line 251 of file MT_Matrix3x3.h.
Referenced by absolute(), cofac(), getColumn(), getEuler(), getRotation(), getValue(), getValue3x3(), operator*=(), operator[](), scale(), scaled(), setColumn(), setValue(), setValue3x3(), tdot(), and transposed().