|
Blender V5.3
|
#include "BLI_math_vector_types.hh"#include "BLI_ordered_edge.hh"#include "BLI_set.hh"#include <cfloat>Go to the source code of this file.
Classes | |
| struct | blender::ClothHairData |
| struct | blender::ClothSolverResult |
| struct | blender::Cloth |
| struct | blender::ClothVertex |
| struct | blender::ClothSpring |
| struct | blender::ColliderContacts |
Namespaces | |
| namespace | blender |
| BMesh Iterators. | |
Macros | |
| #define | DO_INLINE MALWAYS_INLINE |
| #define | SOFTGOALSNAP 0.999f |
| #define | ALMOST_ZERO FLT_EPSILON |
| #define | VECSUBADDSS(v1, v2, aS, v3, bS) |
| #define | VECADDSS(v1, v2, aS, v3, bS) |
| #define | VECADDS(v1, v2, v3, bS) |
| #define | VECSUBMUL(v1, v2, aS) |
| #define | VECSUBS(v1, v2, v3, bS) |
| #define | VECADDMUL(v1, v2, aS) |
Enumerations | |
| enum | blender::eClothVertexFlag { blender::CLOTH_VERT_FLAG_PINNED = (1 << 0) , blender::CLOTH_VERT_FLAG_NOSELFCOLL = (1 << 1) , blender::CLOTH_VERT_FLAG_NOOBJCOLL = (1 << 2) } |
| enum | blender::CLOTH_SPRING_TYPES { blender::CLOTH_SPRING_TYPE_STRUCTURAL = (1 << 1) , blender::CLOTH_SPRING_TYPE_SHEAR = (1 << 2) , blender::CLOTH_SPRING_TYPE_BENDING = (1 << 3) , blender::CLOTH_SPRING_TYPE_GOAL = (1 << 4) , blender::CLOTH_SPRING_TYPE_SEWING = (1 << 5) , blender::CLOTH_SPRING_TYPE_BENDING_HAIR = (1 << 6) , blender::CLOTH_SPRING_TYPE_INTERNAL = (1 << 7) } |
| enum | blender::CLOTH_SPRINGS_FLAGS { blender::CLOTH_SPRING_FLAG_DEACTIVATE = (1 << 1) , blender::CLOTH_SPRING_FLAG_NEEDED = (1 << 2) } |
Functions | |
| int | blender::cloth_bvh_collision (Depsgraph *depsgraph, Object *ob, ClothModifierData *clmd, float step, float dt) |
| void | blender::clothModifier_do (ClothModifierData *clmd, Depsgraph *depsgraph, Scene *scene, Object *ob, const Mesh *mesh, float(*vertexCos)[3]) |
Free Modifier Data | |
| void | blender::cloth_free_modifier_extern (ClothModifierData *clmd) |
| void | blender::cloth_free_modifier (ClothModifierData *clmd) |
Internal Functions | |
| int | blender::cloth_uses_vgroup (ClothModifierData *clmd) |
BVH Tree | |
| void | blender::bvhtree_update_from_cloth (ClothModifierData *clmd, bool moving, bool self) |
Modifier Simulation Entry Points | |
| void | blender::cloth_clear_cache (Object *ob, ClothModifierData *clmd, float framenr) |
Spring Network Building Implementation | |
| void | blender::cloth_parallel_transport_hair_frame (float mat[3][3], const float dir_old[3], const float dir_new[3]) |
| #define ALMOST_ZERO FLT_EPSILON |
Definition at line 36 of file BKE_cloth.hh.
Referenced by blender::cloth_collision(), blender::cloth_collision_response_static(), blender::cloth_selfcollision(), blender::cloth_selfcollision_response_static(), blender::cloth_update_springs(), blender::collision_compute_barycentric(), blender::hair_collision(), blender::SIM_mass_spring_force_spring_goal(), blender::spring_grad_dir(), and blender::spring_length().
| #define DO_INLINE MALWAYS_INLINE |
Definition at line 29 of file BKE_cloth.hh.
Referenced by blender::add_fmatrix_fmatrix(), blender::add_lfvector_lfvector(), blender::add_lfvector_lfvectorS(), blender::add_lfvectorS_lfvectorS(), blender::collision_interpolateOnTriangle(), blender::cp_bfmatrix(), blender::cp_fmatrix(), blender::cp_lfvector(), blender::create_bfmatrix(), blender::create_lfvector(), blender::del_bfmatrix(), blender::del_lfvector(), blender::dot_lfvector(), blender::filter(), blender::init_bfmatrix(), blender::init_lfvector(), blender::initdiag_bfmatrix(), blender::initdiag_fmatrixS(), blender::mul_bfmatrix_lfvector(), blender::mul_fmatrix_fvector(), blender::mul_fmatrix_S(), blender::mul_fvector_fmatrix(), blender::mul_fvector_S(), blender::mul_fvectorT_fvector(), blender::mul_fvectorT_fvectorS(), blender::mul_lfvectorS(), blender::muladd_fmatrix_fvector(), blender::muladd_fmatrixT_fvector(), blender::sub_fmatrix_fmatrix(), blender::sub_lfvector_lfvector(), blender::sub_lfvector_lfvectorS(), blender::subadd_bfmatrixS_bfmatrixS(), blender::subadd_fmatrixS_fmatrixS(), blender::submul_lfvectorS(), and blender::zero_lfvector().
| #define SOFTGOALSNAP 0.999f |
Definition at line 32 of file BKE_cloth.hh.
Referenced by blender::_softbody_calc_forces_slice_in_a_thread(), blender::cloth_apply_vgroup(), blender::interpolate_exciter(), blender::softbody_apply_forces(), and blender::softbody_apply_goalsnap().
| #define VECADDMUL | ( | v1, | |
| v2, | |||
| aS ) |
Definition at line 178 of file BKE_cloth.hh.
Referenced by blender::cloth_collision_response_static(), blender::cloth_selfcollision_response_static(), and blender::collision_interpolateOnTriangle().
| #define VECADDS | ( | v1, | |
| v2, | |||
| v3, | |||
| bS ) |
Definition at line 157 of file BKE_cloth.hh.
Referenced by blender::add_lfvector_lfvectorS().
| #define VECADDSS | ( | v1, | |
| v2, | |||
| aS, | |||
| v3, | |||
| bS ) |
Definition at line 150 of file BKE_cloth.hh.
Referenced by blender::add_lfvectorS_lfvectorS().
| #define VECSUBADDSS | ( | v1, | |
| v2, | |||
| aS, | |||
| v3, | |||
| bS ) |
Definition at line 143 of file BKE_cloth.hh.
Referenced by blender::subadd_fmatrixS_fmatrixS().
| #define VECSUBMUL | ( | v1, | |
| v2, | |||
| aS ) |
Definition at line 164 of file BKE_cloth.hh.
Referenced by blender::submul_lfvectorS().
| #define VECSUBS | ( | v1, | |
| v2, | |||
| v3, | |||
| bS ) |
Definition at line 171 of file BKE_cloth.hh.
Referenced by blender::sub_lfvector_lfvectorS().