|
Blender V4.3
|
Functions | |
| template<typename T , int NumCol, int NumRow> | |
| MatBase< T, NumCol, NumRow > | from_rotation (const AngleRadianBase< T > &rotation) |
| template<typename T , int NumCol, int NumRow> | |
| MatBase< T, NumCol, NumRow > | from_rotation (const EulerXYZBase< T > &rotation) |
| template<typename T , int NumCol, int NumRow> | |
| MatBase< T, NumCol, NumRow > | from_rotation (const Euler3Base< T > &rotation) |
| template<typename T , int NumCol, int NumRow> | |
| MatBase< T, NumCol, NumRow > | from_rotation (const QuaternionBase< T > &rotation) |
| template<typename T , int NumCol, int NumRow> | |
| MatBase< T, NumCol, NumRow > | from_rotation (const DualQuaternionBase< T > &rotation) |
| template<typename T , int NumCol, int NumRow> | |
| MatBase< T, NumCol, NumRow > | from_rotation (const CartesianBasis &rotation) |
| template<typename T , int NumCol, int NumRow, typename AngleT > | |
| MatBase< T, NumCol, NumRow > | from_rotation (const AxisAngleBase< T, AngleT > &rotation) |
| template<typename T > | |
| AngleRadianBase< T > | normalized_to_angle (const MatBase< T, 2, 2 > &mat) |
| template<typename T > | |
| void | normalized_to_eul2 (const MatBase< T, 3, 3 > &mat, EulerXYZBase< T > &eul1, EulerXYZBase< T > &eul2) |
| template<typename T > | |
| void | normalized_to_eul2 (const MatBase< T, 3, 3 > &mat, Euler3Base< T > &eul1, Euler3Base< T > &eul2) |
| template void | normalized_to_eul2 (const float3x3 &mat, Euler3Base< float > &eul1, Euler3Base< float > &eul2) |
| template void | normalized_to_eul2 (const float3x3 &mat, EulerXYZBase< float > &eul1, EulerXYZBase< float > &eul2) |
| template void | normalized_to_eul2 (const double3x3 &mat, EulerXYZBase< double > &eul1, EulerXYZBase< double > &eul2) |
| template<typename T > | |
| QuaternionBase< T > | normalized_to_quat_fast (const MatBase< T, 3, 3 > &mat) |
| template<typename T > | |
| QuaternionBase< T > | normalized_to_quat_with_checks (const MatBase< T, 3, 3 > &mat) |
| template QuaternionBase< float > | normalized_to_quat_with_checks (const float3x3 &mat) |
| template QuaternionBase< double > | normalized_to_quat_with_checks (const double3x3 &mat) |
| template MatBase< float, 2, 2 > | from_rotation (const AngleRadian &rotation) |
| template MatBase< float, 3, 3 > | from_rotation (const EulerXYZ &rotation) |
| template MatBase< float, 3, 3 > | from_rotation (const Euler3 &rotation) |
| template MatBase< float, 3, 3 > | from_rotation (const Quaternion &rotation) |
| template MatBase< float, 3, 3 > | from_rotation (const AxisAngle &rotation) |
| template MatBase< float, 3, 3 > | from_rotation (const AxisAngleCartesian &rotation) |
| template<typename T > | |
| void | to_rotation (const MatBase< T, 2, 2 > &mat, AngleRadianBase< T > &r_rotation) |
| template<typename T > | |
| void | to_rotation (const MatBase< T, 3, 3 > &mat, QuaternionBase< T > &r_rotation) |
| template<typename T > | |
| void | to_rotation (const MatBase< T, 3, 3 > &mat, EulerXYZBase< T > &r_rotation) |
| template<typename T > | |
| void | to_rotation (const MatBase< T, 3, 3 > &mat, Euler3Base< T > &r_rotation) |
|
extern |
|
nodiscard |
Definition at line 1104 of file BLI_math_matrix.hh.
References blender::math::cos(), and blender::math::sin().
Referenced by from_rotation(), from_rotation(), and blender::math::from_rotation().
|
extern |
|
nodiscard |
Definition at line 1075 of file BLI_math_matrix.hh.
References BLI_assert, blender::math::cos(), blender::math::from_scale(), blender::math::is_unit_scale(), blender::math::sin(), and T.
|
extern |
|
nodiscard |
Definition at line 1064 of file BLI_math_matrix.hh.
References blender::math::to_vector().
|
nodiscard |
From: "Skinning with Dual Quaternions" Ladislav Kavan, Steven Collins, Jiri Zara, Carol O'Sullivan Trinity College Dublin, Czech Technical University in Prague
From: "Skinning with Dual Quaternions" Ladislav Kavan, Steven Collins, Jiri Zara, Carol O'Sullivan Trinity College Dublin, Czech Technical University in Prague
Definition at line 1035 of file BLI_math_matrix.hh.
References BLI_assert, from_rotation(), blender::math::is_normalized(), T, view, blender::math::QuaternionBase< T >::w, blender::math::QuaternionBase< T >::x, blender::math::QuaternionBase< T >::y, and blender::math::QuaternionBase< T >::z.
|
extern |
|
nodiscard |
Definition at line 973 of file BLI_math_matrix.hh.
References from_rotation(), and result.
|
extern |
|
nodiscard |
Definition at line 942 of file BLI_math_matrix.hh.
References blender::math::cos(), blender::math::sin(), and T.
|
extern |
|
nodiscard |
Definition at line 999 of file BLI_math_matrix.hh.
References q1, blender::math::numbers::sqrt2, and T.
| AngleRadianBase< T > blender::math::detail::normalized_to_angle | ( | const MatBase< T, 2, 2 > & | mat | ) |
Definition at line 764 of file BLI_math_matrix.hh.
References BLI_assert, and blender::math::is_unit_scale().
Referenced by blender::math::to_angle().
|
extern |
|
extern |
|
extern |
| void blender::math::detail::normalized_to_eul2 | ( | const MatBase< T, 3, 3 > & | mat, |
| Euler3Base< T > & | eul1, | ||
| Euler3Base< T > & | eul2 ) |
Definition at line 794 of file BLI_math_matrix.hh.
References blender::math::atan2(), BLI_assert, blender::math::hypot(), blender::math::Euler3Base< T >::i(), blender::math::Euler3Base< T >::i_index(), blender::math::is_unit_scale(), blender::math::Euler3Base< T >::j(), blender::math::Euler3Base< T >::j_index(), blender::math::Euler3Base< T >::k(), blender::math::Euler3Base< T >::k_index(), blender::math::Euler3Base< T >::parity(), and T.
| void blender::math::detail::normalized_to_eul2 | ( | const MatBase< T, 3, 3 > & | mat, |
| EulerXYZBase< T > & | eul1, | ||
| EulerXYZBase< T > & | eul2 ) |
Definition at line 771 of file BLI_math_matrix.hh.
References blender::math::atan2(), BLI_assert, blender::math::hypot(), blender::math::is_unit_scale(), T, blender::math::EulerBase< T >::x(), blender::math::EulerBase< T >::y(), and blender::math::EulerBase< T >::z().
Referenced by blender::math::to_euler(), blender::math::to_euler(), blender::math::to_nearest_euler(), and blender::math::to_nearest_euler().
| QuaternionBase< T > blender::math::detail::normalized_to_quat_fast | ( | const MatBase< T, 3, 3 > & | mat | ) |
Definition at line 836 of file BLI_math_matrix.hh.
References BLI_assert, blender::math::is_negative(), blender::math::is_unit_scale(), blender::math::sqrt(), UNLIKELY, blender::math::QuaternionBase< T >::w, blender::math::QuaternionBase< T >::x, blender::math::QuaternionBase< T >::y, and blender::math::QuaternionBase< T >::z.
Referenced by normalized_to_quat_with_checks().
|
extern |
|
extern |
| QuaternionBase< T > blender::math::detail::normalized_to_quat_with_checks | ( | const MatBase< T, 3, 3 > & | mat | ) |
Definition at line 925 of file BLI_math_matrix.hh.
References blender::math::determinant(), blender::math::QuaternionBase< T >::identity(), normalized_to_quat_fast(), T, and UNLIKELY.
Referenced by blender::math::to_quaternion().
|
inline |
Definition at line 1272 of file BLI_math_matrix.hh.
References blender::math::to_angle(), and to_rotation().
Referenced by blender::math::to_rot_scale(), blender::math::to_rot_scale(), to_rotation(), to_rotation(), to_rotation(), and to_rotation().
|
inline |
Definition at line 1290 of file BLI_math_matrix.hh.
References blender::math::Euler3Base< T >::order(), blender::math::to_euler(), and to_rotation().
|
inline |
Definition at line 1284 of file BLI_math_matrix.hh.
References blender::math::to_euler(), and to_rotation().
|
inline |
Definition at line 1278 of file BLI_math_matrix.hh.
References blender::math::to_quaternion(), and to_rotation().