|
Blender V4.3
|
Functions | |
| TEST (math_rotation, DefaultConstructor) | |
| TEST (math_rotation, RotateDirectionAroundAxis) | |
| TEST (math_rotation, AxisAngleConstructors) | |
| TEST (math_rotation, QuaternionDot) | |
| TEST (math_rotation, QuaternionConjugate) | |
| TEST (math_rotation, QuaternionNormalize) | |
| TEST (math_rotation, QuaternionInvert) | |
| TEST (math_rotation, QuaternionCanonicalize) | |
| TEST (math_rotation, QuaternionAngleBetween) | |
| TEST (math_rotation, QuaternionPower) | |
| TEST (math_rotation, QuaternionFromTriangle) | |
| TEST (math_rotation, QuaternionFromVector) | |
| TEST (math_rotation, QuaternionWrappedAround) | |
| TEST (math_rotation, QuaternionFromTracking) | |
| TEST (math_rotation, EulerWrappedAround) | |
| TEST (math_rotation, Euler3ToGimbal) | |
| TEST (math_rotation, CartesianBasis) | |
| TEST (math_rotation, Transform) | |
| TEST (math_rotation, DualQuaternionNormalize) | |
| TEST (math_rotation, DualQuaternionFromMatrix) | |
| TEST (math_rotation, DualQuaternionTransform) | |
| TEST (math_axis_angle, AxisAngleFromQuaternion) | |
| blender::math::tests::TEST | ( | math_axis_angle | , |
| AxisAngleFromQuaternion | ) |
Definition at line 882 of file BLI_math_rotation_test.cc.
References e, and blender::math::to_axis_angle().
| blender::math::tests::TEST | ( | math_rotation | , |
| AxisAngleConstructors | ) |
Definition at line 333 of file BLI_math_rotation_test.cc.
References blender::math::AxisAngleBase< T, AngleT >::angle(), blender::math::AxisAngleBase< T, AngleT >::axis(), b, blender::math::cos(), e, EXPECT_EQ(), M_PI, M_PI_2, blender::math::sin(), and blender::math::AxisSigned::Y_NEG.
| blender::math::tests::TEST | ( | math_rotation | , |
| CartesianBasis | ) |
Definition at line 643 of file BLI_math_rotation_test.cc.
References blender::math::abs(), blender::math::AxisSigned::as_int(), EXPECT_EQ(), blender::math::AxisSigned::from_int(), blender::math::from_orthonormal_axes(), blender::math::from_rotation(), blender::MatBase< float, 3, 3 >::identity(), blender::math::invert(), l, mat3_from_axis_conversion(), mat3_from_axis_conversion_single(), point, blender::MatBase< T, NumCol, NumRow, Alignment >::ptr(), blender::math::rotation_between(), and blender::math::transform_point().
| blender::math::tests::TEST | ( | math_rotation | , |
| DefaultConstructor | ) |
Definition at line 303 of file BLI_math_rotation_test.cc.
References EXPECT_EQ().
| blender::math::tests::TEST | ( | math_rotation | , |
| DualQuaternionFromMatrix | ) |
Definition at line 741 of file BLI_math_rotation_test.cc.
References EXPECT_EQ(), frand(), blender::math::from_loc_rot(), blender::math::from_loc_rot_scale(), blender::MatBase< T, NumCol, NumRow, Alignment >::location(), mat4_to_dquat(), blender::MatBase< T, NumCol, NumRow, Alignment >::ptr(), blender::math::DualQuaternionBase< T >::quat, blender::math::DualQuaternionBase< T >::quat_weight, blender::math::DualQuaternionBase< T >::scale, blender::math::DualQuaternionBase< T >::scale_weight, blender::math::to_dual_quaternion(), blender::math::DualQuaternionBase< T >::trans, and transpose().
| blender::math::tests::TEST | ( | math_rotation | , |
| DualQuaternionNormalize | ) |
Definition at line 721 of file BLI_math_rotation_test.cc.
References EXPECT_EQ(), blender::MatBase< float, 4, 4 >::identity(), len, length(), normalize(), and sum().
| blender::math::tests::TEST | ( | math_rotation | , |
| DualQuaternionTransform | ) |
Definition at line 808 of file BLI_math_rotation_test.cc.
References mul_v3m3_dq(), blender::MatBase< T, NumCol, NumRow, Alignment >::ptr(), blender::math::transform_point(), and transpose().
| blender::math::tests::TEST | ( | math_rotation | , |
| Euler3ToGimbal | ) |
Definition at line 611 of file BLI_math_rotation_test.cc.
References e, blender::math::to_gimbal_axis(), transpose(), blender::math::XYZ, blender::math::XZY, blender::math::YXZ, blender::math::YZX, blender::math::ZXY, and blender::math::ZYX.
| blender::math::tests::TEST | ( | math_rotation | , |
| EulerWrappedAround | ) |
Definition at line 603 of file BLI_math_rotation_test.cc.
References blender::math::EulerXYZBase< T >::wrapped_around().
| blender::math::tests::TEST | ( | math_rotation | , |
| QuaternionAngleBetween | ) |
Definition at line 401 of file BLI_math_rotation_test.cc.
References blender::math::angle_between(), blender::math::angle_between_signed(), blender::math::angle_of(), blender::math::angle_of_signed(), M_PI, normalize(), q1, and blender::math::rotation_between().
| blender::math::tests::TEST | ( | math_rotation | , |
| QuaternionCanonicalize | ) |
Definition at line 391 of file BLI_math_rotation_test.cc.
References blender::math::canonicalize().
| blender::math::tests::TEST | ( | math_rotation | , |
| QuaternionConjugate | ) |
Definition at line 367 of file BLI_math_rotation_test.cc.
References blender::math::conjugate(), EXPECT_EQ(), and q1.
| blender::math::tests::TEST | ( | math_rotation | , |
| QuaternionDot | ) |
Definition at line 360 of file BLI_math_rotation_test.cc.
References blender::math::dot(), EXPECT_EQ(), and q1.
| blender::math::tests::TEST | ( | math_rotation | , |
| QuaternionFromTracking | ) |
Definition at line 578 of file BLI_math_rotation_test.cc.
References blender::math::Axis::as_int(), blender::math::AxisSigned::as_int(), blender::math::AxisSigned::axis(), blender::math::Axis::from_int(), blender::math::AxisSigned::from_int(), blender::math::from_orthonormal_axes(), blender::math::QuaternionBase< T >::identity(), quat_apply_track(), blender::math::rotation_between(), blender::math::to_quaternion(), blender::math::QuaternionBase< T >::w, blender::math::AxisSigned::Y_POS, and blender::math::AxisSigned::Z_POS.
| blender::math::tests::TEST | ( | math_rotation | , |
| QuaternionFromTriangle | ) |
Definition at line 440 of file BLI_math_rotation_test.cc.
References blender::math::from_triangle(), and v2.
| blender::math::tests::TEST | ( | math_rotation | , |
| QuaternionFromVector | ) |
Definition at line 453 of file BLI_math_rotation_test.cc.
References blender::math::from_vector(), v2, blender::math::Axis::X, blender::math::AxisSigned::X_NEG, blender::math::AxisSigned::X_POS, blender::math::Axis::Y, blender::math::AxisSigned::Y_NEG, blender::math::AxisSigned::Y_POS, blender::math::Axis::Z, blender::math::AxisSigned::Z_NEG, and blender::math::AxisSigned::Z_POS.
| blender::math::tests::TEST | ( | math_rotation | , |
| QuaternionInvert | ) |
Definition at line 381 of file BLI_math_rotation_test.cc.
References blender::math::invert(), blender::math::invert_normalized(), normalize(), and q1.
| blender::math::tests::TEST | ( | math_rotation | , |
| QuaternionNormalize | ) |
Definition at line 373 of file BLI_math_rotation_test.cc.
References normalize(), and q1.
| blender::math::tests::TEST | ( | math_rotation | , |
| QuaternionPower | ) |
Definition at line 417 of file BLI_math_rotation_test.cc.
References e, normalize(), blender::math::pow(), and q1.
| blender::math::tests::TEST | ( | math_rotation | , |
| QuaternionWrappedAround | ) |
Definition at line 568 of file BLI_math_rotation_test.cc.
References normalize(), and q1.
| blender::math::tests::TEST | ( | math_rotation | , |
| RotateDirectionAroundAxis | ) |
Definition at line 317 of file BLI_math_rotation_test.cc.
References b, M_PI, M_PI_2, and blender::math::rotate_direction_around_axis().
| blender::math::tests::TEST | ( | math_rotation | , |
| Transform | ) |
Definition at line 697 of file BLI_math_rotation_test.cc.
References EXPECT_EQ(), blender::math::from_orthonormal_axes(), blender::math::rotation_between(), blender::math::transform_point(), blender::math::AxisSigned::X_NEG, blender::math::AxisSigned::X_POS, blender::math::AxisSigned::Y_POS, and blender::math::AxisSigned::Z_POS.