|
Blender V5.3
|
#include "BLI_compiler_attrs.hh"Go to the source code of this file.
Classes | |
| struct | blender::SpaceTransform |
Namespaces | |
| namespace | blender |
| BMesh Iterators. | |
Functions | |
Init | |
| void | blender::zero_m3 (float m[3][3]) |
| void | blender::zero_m4 (float m[4][4]) |
| void | blender::unit_m2 (float m[2][2]) |
| void | blender::unit_m3 (float m[3][3]) |
| void | blender::unit_m4 (float m[4][4]) |
| void | blender::unit_m4_db (double m[4][4]) |
| void | blender::copy_m2_m2 (float m1[2][2], const float m2[2][2]) |
| void | blender::copy_m3_m3 (float m1[3][3], const float m2[3][3]) |
| void | blender::copy_m4_m4 (float m1[4][4], const float m2[4][4]) |
| void | blender::copy_m3_m4 (float m1[3][3], const float m2[4][4]) |
| void | blender::copy_m4_m3 (float m1[4][4], const float m2[3][3]) |
| void | blender::copy_m4_m4_db (double m1[4][4], const double m2[4][4]) |
| void | blender::copy_m3_m3d (float m1[3][3], const double m2[3][3]) |
| void | blender::copy_m3d_m3 (double m1[3][3], const float m2[3][3]) |
| void | blender::copy_m4d_m4 (double m1[4][4], const float m2[4][4]) |
| void | blender::swap_m4m4 (float m1[4][4], float m2[4][4]) |
| void | blender::shuffle_m4 (float R[4][4], const int index[4]) |
Arithmetic | |
| #define | mul_m3_series(...) |
| #define | mul_m4_series(...) |
| void | blender::add_m3_m3m3 (float R[3][3], const float A[3][3], const float B[3][3]) |
| void | blender::add_m4_m4m4 (float R[4][4], const float A[4][4], const float B[4][4]) |
| void | blender::madd_m3_m3m3fl (float R[3][3], const float A[3][3], const float B[3][3], float f) |
| void | blender::madd_m4_m4m4fl (float R[4][4], const float A[4][4], const float B[4][4], float f) |
| void | blender::sub_m3_m3m3 (float R[3][3], const float A[3][3], const float B[3][3]) |
| void | blender::mul_m3_m3m3 (float R[3][3], const float A[3][3], const float B[3][3]) |
| void | blender::mul_m4_m3m4 (float R[4][4], const float A[3][3], const float B[4][4]) |
| void | blender::mul_m4_m4m3 (float R[4][4], const float A[4][4], const float B[3][3]) |
| void | blender::mul_m4_m4m4 (float R[4][4], const float A[4][4], const float B[4][4]) |
| void | blender::mul_m3_m3m4 (float R[3][3], const float A[3][3], const float B[4][4]) |
| void | blender::mul_m3_m4m3 (float R[3][3], const float A[4][4], const float B[3][3]) |
| void | blender::mul_m3_m4m4 (float R[3][3], const float A[4][4], const float B[4][4]) |
| void | blender::mul_m3_m3_pre (float R[3][3], const float A[3][3]) |
| void | blender::mul_m3_m3_post (float R[3][3], const float B[3][3]) |
| void | blender::mul_m4db_m4db_m4fl (double R[4][4], const double A[4][4], const float B[4][4]) |
| void | blender::mul_m4_m4_pre (float R[4][4], const float A[4][4]) |
| void | blender::mul_m4_m4_post (float R[4][4], const float B[4][4]) |
| void | blender::_va_mul_m3_series_3 (float r[3][3], const float m1[3][3], const float m2[3][3]) ATTR_NONNULL() |
| void | blender::_va_mul_m3_series_4 (float r[3][3], const float m1[3][3], const float m2[3][3], const float m3[3][3]) ATTR_NONNULL() |
| void | blender::_va_mul_m3_series_5 (float r[3][3], const float m1[3][3], const float m2[3][3], const float m3[3][3], const float m4[3][3]) ATTR_NONNULL() |
| void | blender::_va_mul_m3_series_6 (float r[3][3], const float m1[3][3], const float m2[3][3], const float m3[3][3], const float m4[3][3], const float m5[3][3]) ATTR_NONNULL() |
| void | blender::_va_mul_m3_series_7 (float r[3][3], const float m1[3][3], const float m2[3][3], const float m3[3][3], const float m4[3][3], const float m5[3][3], const float m6[3][3]) ATTR_NONNULL() |
| void | blender::_va_mul_m3_series_8 (float r[3][3], const float m1[3][3], const float m2[3][3], const float m3[3][3], const float m4[3][3], const float m5[3][3], const float m6[3][3], const float m7[3][3]) ATTR_NONNULL() |
| void | blender::_va_mul_m3_series_9 (float r[3][3], const float m1[3][3], const float m2[3][3], const float m3[3][3], const float m4[3][3], const float m5[3][3], const float m6[3][3], const float m7[3][3], const float m8[3][3]) ATTR_NONNULL() |
| void | blender::_va_mul_m4_series_3 (float r[4][4], const float m1[4][4], const float m2[4][4]) ATTR_NONNULL() |
| void | blender::_va_mul_m4_series_4 (float r[4][4], const float m1[4][4], const float m2[4][4], const float m3[4][4]) ATTR_NONNULL() |
| void | blender::_va_mul_m4_series_5 (float r[4][4], const float m1[4][4], const float m2[4][4], const float m3[4][4], const float m4[4][4]) ATTR_NONNULL() |
| void | blender::_va_mul_m4_series_6 (float r[4][4], const float m1[4][4], const float m2[4][4], const float m3[4][4], const float m4[4][4], const float m5[4][4]) ATTR_NONNULL() |
| void | blender::_va_mul_m4_series_7 (float r[4][4], const float m1[4][4], const float m2[4][4], const float m3[4][4], const float m4[4][4], const float m5[4][4], const float m6[4][4]) ATTR_NONNULL() |
| void | blender::_va_mul_m4_series_8 (float r[4][4], const float m1[4][4], const float m2[4][4], const float m3[4][4], const float m4[4][4], const float m5[4][4], const float m6[4][4], const float m7[4][4]) ATTR_NONNULL() |
| void | blender::_va_mul_m4_series_9 (float r[4][4], const float m1[4][4], const float m2[4][4], const float m3[4][4], const float m4[4][4], const float m5[4][4], const float m6[4][4], const float m7[4][4], const float m8[4][4]) ATTR_NONNULL() |
| void | blender::mul_m4_v3 (const float M[4][4], float r[3]) |
| void | blender::mul_v3_m4v3 (float r[3], const float mat[4][4], const float vec[3]) |
| void | blender::mul_v3_m4v3_db (double r[3], const double mat[4][4], const double vec[3]) |
| void | blender::mul_v4_m4v3_db (double r[4], const double mat[4][4], const double vec[3]) |
| void | blender::mul_v2_m4v3 (float r[2], const float mat[4][4], const float vec[3]) |
| void | blender::mul_v2_m2v2 (float r[2], const float mat[2][2], const float vec[2]) |
| void | blender::mul_m2_v2 (const float mat[2][2], float vec[2]) |
| void | blender::mul_mat3_m4_v3 (const float mat[4][4], float r[3]) |
| void | blender::mul_v3_mat3_m4v3 (float r[3], const float mat[4][4], const float vec[3]) |
| void | blender::mul_v3_mat3_m4v3_db (double r[3], const double mat[4][4], const double vec[3]) |
| void | blender::mul_m4_v4 (const float mat[4][4], float r[4]) |
| void | blender::mul_v4_m4v4 (float r[4], const float mat[4][4], const float v[4]) |
| void | blender::mul_v4_m4v3 (float r[4], const float M[4][4], const float v[3]) |
| void | blender::mul_project_m4_v3 (const float mat[4][4], float vec[3]) |
| void | blender::mul_v3_project_m4_v3 (float r[3], const float mat[4][4], const float vec[3]) |
| void | blender::mul_v2_project_m4_v3 (float r[2], const float mat[4][4], const float vec[3]) |
| void | blender::mul_m3_v2 (const float m[3][3], float r[2]) |
| void | blender::mul_v2_m3v2 (float r[2], const float m[3][3], const float v[2]) |
| void | blender::mul_m3_v3 (const float M[3][3], float r[3]) |
| void | blender::mul_v3_m3v3 (float r[3], const float M[3][3], const float a[3]) |
| void | blender::mul_v2_m3v3 (float r[2], const float M[3][3], const float a[3]) |
| void | blender::mul_transposed_m3_v3 (const float M[3][3], float r[3]) |
| void | blender::mul_transposed_mat3_m4_v3 (const float M[4][4], float r[3]) |
| void | blender::mul_m4_m4m4_aligned_scale (float R[4][4], const float A[4][4], const float B[4][4]) |
| void | blender::mul_m4_m4m4_split_channels (float R[4][4], const float A[4][4], const float B[4][4]) |
| void | blender::mul_m3_fl (float R[3][3], float f) |
| void | blender::mul_m4_fl (float R[4][4], float f) |
| void | blender::mul_mat3_m4_fl (float R[4][4], float f) |
| void | blender::negate_m3 (float R[3][3]) |
| void | blender::negate_mat3_m4 (float R[4][4]) |
| void | blender::negate_m4 (float R[4][4]) |
| bool | blender::invert_m3 (float mat[3][3]) |
| bool | blender::invert_m2_m2 (float inverse[2][2], const float mat[2][2]) |
| bool | blender::invert_m3_m3 (float inverse[3][3], const float mat[3][3]) |
| bool | blender::invert_m4 (float mat[4][4]) |
| bool | blender::invert_m4_m4 (float inverse[4][4], const float mat[4][4]) |
| bool | blender::invert_m4_m4_fallback (float inverse[4][4], const float mat[4][4]) |
| void | blender::mul_v3_m3v3_db (double r[3], const double M[3][3], const double a[3]) |
| void | blender::mul_m3_v3_db (const double M[3][3], double r[3]) |
Transformations | |
| #define | BLI_SPACE_TRANSFORM_SETUP(data, local, target) |
| void | blender::scale_m3_fl (float R[3][3], float scale) |
| void | blender::scale_m4_fl (float R[4][4], float scale) |
| float | blender::mat4_to_volume_scale (const float mat[4][4]) |
| float | blender::mat3_to_scale (const float mat[3][3]) |
| float | blender::mat4_to_scale (const float mat[4][4]) |
| void | blender::size_to_mat3 (float R[3][3], const float size[3]) |
| void | blender::size_to_mat4 (float R[4][4], const float size[3]) |
| void | blender::mat3_to_size (float size[3], const float M[3][3]) |
| void | blender::mat4_to_size (float size[3], const float M[4][4]) |
| float | blender::mat4_to_size_max_axis (const float M[4][4]) |
| void | blender::mat4_to_size_fix_shear (float size[3], const float M[4][4]) |
| void | blender::translate_m4 (float mat[4][4], float Tx, float Ty, float Tz) |
| void | blender::rotate_m4 (float mat[4][4], char axis, float angle) |
| void | blender::rescale_m4 (float mat[4][4], const float scale[3]) |
| void | blender::transform_pivot_set_m4 (float mat[4][4], const float pivot[3]) |
| void | blender::mat3_to_rot_size (float rot[3][3], float size[3], const float mat3[3][3]) |
| void | blender::mat4_to_loc_rot_size (float loc[3], float rot[3][3], float size[3], const float wmat[4][4]) |
| void | blender::mat4_to_loc_quat (float loc[3], float quat[4], const float wmat[4][4]) |
| void | blender::mat4_decompose (float loc[3], float quat[4], float size[3], const float wmat[4][4]) |
| void | blender::mat3_polar_decompose (const float mat3[3][3], float r_U[3][3], float r_P[3][3]) |
| void | blender::loc_rot_size_to_mat4 (float R[4][4], const float loc[3], const float rot[3][3], const float size[3]) |
| void | blender::loc_eul_size_to_mat4 (float R[4][4], const float loc[3], const float eul[3], const float size[3]) |
| void | blender::loc_eulO_size_to_mat4 (float R[4][4], const float loc[3], const float eul[3], const float size[3], short order) |
| void | blender::loc_quat_size_to_mat4 (float R[4][4], const float loc[3], const float quat[4], const float size[3]) |
| void | blender::blend_m3_m3m3 (float out[3][3], const float dst[3][3], const float src[3][3], float srcweight) |
| void | blender::blend_m4_m4m4 (float out[4][4], const float dst[4][4], const float src[4][4], float srcweight) |
| void | blender::interp_m3_m3m3 (float R[3][3], const float A[3][3], const float B[3][3], float t) |
| void | blender::interp_m4_m4m4 (float R[4][4], const float A[4][4], const float B[4][4], float t) |
| bool | blender::is_negative_m3 (const float mat[3][3]) |
| bool | blender::is_negative_m4 (const float mat[4][4]) |
| bool | blender::is_zero_m4 (const float mat[4][4]) |
| bool | blender::equals_m3m3 (const float mat1[3][3], const float mat2[3][3]) |
| bool | blender::equals_m4m4 (const float mat1[4][4], const float mat2[4][4]) |
| void | blender::BLI_space_transform_from_matrices (struct SpaceTransform *data, const float local[4][4], const float target[4][4]) |
| void | blender::BLI_space_transform_global_from_matrices (struct SpaceTransform *data, const float local[4][4], const float target[4][4]) |
| void | blender::BLI_space_transform_apply (const struct SpaceTransform *data, float co[3]) |
| void | blender::BLI_space_transform_invert (const struct SpaceTransform *data, float co[3]) |
| void | blender::BLI_space_transform_apply_normal (const struct SpaceTransform *data, float no[3]) |
| void | blender::BLI_space_transform_invert_normal (const struct SpaceTransform *data, float no[3]) |
Other | |
| #define | print_m3_id(M) |
| #define | print_m4_id(M) |
| void | blender::print_m3 (const char *str, const float m[3][3]) |
| void | blender::print_m4 (const char *str, const float m[4][4]) |
| #define BLI_SPACE_TRANSFORM_SETUP | ( | data, | |
| local, | |||
| target ) |
Definition at line 571 of file BLI_math_matrix_c.hh.
Referenced by blender::BKE_object_data_transfer_ex(), blender::BKE_shrinkwrap_remesh_target_project(), blender::ed::object::data_transfer_exec(), blender::modify_mesh(), blender::modify_mesh(), blender::shrinkwrap_calc_normal_projection(), blender::shrinkwrapModifier_deform(), blender::shrinkwrapParams_deform(), and blender::SimpleDeformModifier_do().
| #define mul_m3_series | ( | ... | ) |
Definition at line 174 of file BLI_math_matrix_c.hh.
Referenced by blender::ed::transform::add_pose_transdata(), blender::ed::transform::apply_shear_value(), blender::BKE_mask_point_parent_matrix_get(), blender::ed::transform::ElementRotation_ex(), blender::mat3_polar_decompose(), blender::tests::TEST(), blender::ed::transform::transdata_elem_shear(), and blender::ed::transform::transform_convert_mesh_crazyspace_transdata_set().
| #define mul_m4_series | ( | ... | ) |
Definition at line 175 of file BLI_math_matrix_c.hh.
Referenced by blender::ed::object::add_hook_object(), blender::armdef_accumulate_matrix(), blender::arrayModifier_doArray(), blender::BKE_constraint_mat_convertspace(), blender::BKE_mesh_mirror_apply_mirror_on_axis_for_modifier(), blender::BKE_pchan_bbone_segments_cache_compute(), blender::BKE_pchan_minmax(), blender::BKE_texture_mapping_init(), blender::bmo_transform_exec(), blender::childof_evaluate(), blender::clip_draw_main(), blender::deformVerts_do(), blender::execute_posetree(), blender::followtrack_evaluate_using_3d_position_object(), blender::init_meta(), blender::make_bbone_spline_matrix(), blender::mat4_to_dquat(), blender::objectsolver_evaluate(), blender::pseudoinverse_m4_m4(), blender::set_axis(), blender::stabilization_data_to_mat4(), blender::target_callback(), blender::tests::TEST(), and blender::uv_map_rotation_matrix_ex().
| #define print_m3_id | ( | M | ) |
Definition at line 584 of file BLI_math_matrix_c.hh.
| #define print_m4_id | ( | M | ) |
Definition at line 585 of file BLI_math_matrix_c.hh.
| #define PSEUDOINVERSE_EPSILON 1e-8f |
Definition at line 321 of file BLI_math_matrix_c.hh.
Referenced by blender::ed::transform::add_pose_transdata(), blender::ed::transform::createTransArmatureVerts(), blender::ed::transform::createTransCursor_2D_impl(), blender::ed::transform::createTransCursor_view3d(), blender::ed::transform::createTransCurveVerts(), blender::ed::transform::createTransEdge(), blender::ed::transform::createTransEditVerts(), blender::ed::transform::createTransLatticeVerts(), blender::ed::transform::createTransMBallVerts(), blender::ed::transform::createTransMeshSkin(), blender::ed::transform::createTransMeshVertCData(), blender::ed::transform::createTransTexspace(), and blender::matrix_invert_safe_internal().