|
Blender V5.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 884 of file BLI_math_rotation_test.cc.
References blender::e, EXPECT_NEAR, TEST(), and blender::math::to_axis_angle().
| blender::math::tests::TEST | ( | math_rotation | , |
| AxisAngleConstructors | ) |
Definition at line 335 of file BLI_math_rotation_test.cc.
References blender::math::AxisAngleBase< T, AngleT >::angle(), blender::math::AxisAngleBase< T, AngleT >::axis(), b, blender::math::cos(), blender::e, blender::EXPECT_EQ(), EXPECT_NEAR, M_PI, M_PI_2, blender::math::sin(), TEST(), and blender::math::AxisSigned::Y_NEG.
| blender::math::tests::TEST | ( | math_rotation | , |
| CartesianBasis | ) |
Definition at line 645 of file BLI_math_rotation_test.cc.
References blender::math::abs(), blender::math::AxisSigned::as_int(), blender::EXPECT_EQ(), blender::math::AxisSigned::from_int(), blender::math::from_orthonormal_axes(), blender::math::from_rotation(), blender::MatBase< float, 3, 3 >::identity(), blender::IndexRange::IndexRange(), blender::math::invert(), blender::l, blender::mat3_from_axis_conversion(), blender::mat3_from_axis_conversion_single(), blender::MatBase< T, NumCol, NumRow, Alignment >::ptr(), blender::math::rotation_between(), TEST(), and blender::math::transform_point().
| blender::math::tests::TEST | ( | math_rotation | , |
| DefaultConstructor | ) |
Definition at line 305 of file BLI_math_rotation_test.cc.
References blender::EXPECT_EQ(), TEST(), blender::math::QuaternionBase< T >::w, blender::math::EulerBase< T >::x(), blender::math::QuaternionBase< T >::x, blender::math::EulerBase< T >::y(), blender::math::QuaternionBase< T >::y, blender::math::EulerBase< T >::z(), and blender::math::QuaternionBase< T >::z.
Referenced by TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), and TEST().
| blender::math::tests::TEST | ( | math_rotation | , |
| DualQuaternionFromMatrix | ) |
Definition at line 743 of file BLI_math_rotation_test.cc.
References blender::EXPECT_EQ(), float, blender::math::from_loc_rot(), blender::math::from_loc_rot_scale(), blender::MatBase< T, NumCol, NumRow, Alignment >::location(), blender::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, TEST(), blender::math::to_dual_quaternion(), blender::math::DualQuaternionBase< T >::trans, blender::math::transpose(), and blender::math::QuaternionBase< T >::w.
| blender::math::tests::TEST | ( | math_rotation | , |
| DualQuaternionNormalize | ) |
Definition at line 723 of file BLI_math_rotation_test.cc.
References blender::EXPECT_EQ(), blender::MatBase< float, 4, 4 >::identity(), len(), blender::math::length(), blender::math::normalize(), blender::math::DualQuaternionBase< T >::quat, blender::math::DualQuaternionBase< T >::quat_weight, blender::math::DualQuaternionBase< T >::scale, blender::math::DualQuaternionBase< T >::scale_weight, TEST(), and blender::math::DualQuaternionBase< T >::trans.
| blender::math::tests::TEST | ( | math_rotation | , |
| DualQuaternionTransform | ) |
Definition at line 810 of file BLI_math_rotation_test.cc.
References blender::mul_v3m3_dq(), blender::MatBase< T, NumCol, NumRow, Alignment >::ptr(), TEST(), blender::math::transform_point(), and blender::math::transpose().
| blender::math::tests::TEST | ( | math_rotation | , |
| Euler3ToGimbal | ) |
Definition at line 613 of file BLI_math_rotation_test.cc.
References blender::e, TEST(), blender::math::to_gimbal_axis(), blender::math::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 605 of file BLI_math_rotation_test.cc.
References TEST(), and blender::math::EulerXYZBase< T >::wrapped_around().
| blender::math::tests::TEST | ( | math_rotation | , |
| QuaternionAngleBetween | ) |
Definition at line 403 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(), EXPECT_NEAR, M_PI, blender::math::normalize(), blender::math::rotation_between(), and TEST().
| blender::math::tests::TEST | ( | math_rotation | , |
| QuaternionCanonicalize | ) |
Definition at line 393 of file BLI_math_rotation_test.cc.
References blender::math::canonicalize(), and TEST().
| blender::math::tests::TEST | ( | math_rotation | , |
| QuaternionConjugate | ) |
Definition at line 369 of file BLI_math_rotation_test.cc.
References blender::math::conjugate(), blender::EXPECT_EQ(), and TEST().
| blender::math::tests::TEST | ( | math_rotation | , |
| QuaternionDot | ) |
Definition at line 362 of file BLI_math_rotation_test.cc.
References blender::math::dot(), blender::EXPECT_EQ(), and TEST().
| blender::math::tests::TEST | ( | math_rotation | , |
| QuaternionFromTracking | ) |
Definition at line 580 of file BLI_math_rotation_test.cc.
References blender::math::Axis::as_int(), blender::math::AxisSigned::as_int(), blender::math::AxisSigned::axis(), blender::math::AxisSigned::AxisSigned(), blender::math::Axis::from_int(), blender::math::AxisSigned::from_int(), blender::math::from_orthonormal_axes(), blender::math::QuaternionBase< float >::identity(), blender::IndexRange::IndexRange(), blender::quat_apply_track(), blender::result, blender::math::rotation_between(), TEST(), 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 442 of file BLI_math_rotation_test.cc.
References blender::math::from_triangle(), TEST(), and blender::v2.
| blender::math::tests::TEST | ( | math_rotation | , |
| QuaternionFromVector | ) |
Definition at line 455 of file BLI_math_rotation_test.cc.
References blender::math::from_vector(), TEST(), blender::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 383 of file BLI_math_rotation_test.cc.
References blender::math::invert(), blender::math::invert_normalized(), blender::math::normalize(), blender::result, and TEST().
| blender::math::tests::TEST | ( | math_rotation | , |
| QuaternionNormalize | ) |
Definition at line 375 of file BLI_math_rotation_test.cc.
References blender::math::normalize(), and TEST().
| blender::math::tests::TEST | ( | math_rotation | , |
| QuaternionPower | ) |
Definition at line 419 of file BLI_math_rotation_test.cc.
References blender::e, blender::math::normalize(), blender::math::pow(), and TEST().
| blender::math::tests::TEST | ( | math_rotation | , |
| QuaternionWrappedAround | ) |
Definition at line 570 of file BLI_math_rotation_test.cc.
References blender::math::normalize(), TEST(), and blender::math::QuaternionBase< T >::wrapped_around().
| blender::math::tests::TEST | ( | math_rotation | , |
| RotateDirectionAroundAxis | ) |
Definition at line 319 of file BLI_math_rotation_test.cc.
References b, EXPECT_NEAR, FLT_EPSILON, M_PI, M_PI_2, blender::math::rotate_direction_around_axis(), and TEST().
| blender::math::tests::TEST | ( | math_rotation | , |
| Transform | ) |
Definition at line 699 of file BLI_math_rotation_test.cc.
References blender::math::CartesianBasis::CartesianBasis(), blender::EXPECT_EQ(), blender::math::from_orthonormal_axes(), blender::result, blender::math::rotation_between(), TEST(), 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.