|
Blender V5.0
|
#include <BKE_cloth.hh>
Public Attributes | |
| ClothVertex * | verts |
| LinkNode * | springs |
| unsigned int | numsprings |
| unsigned int | mvert_num |
| unsigned int | primitive_num |
| unsigned char | old_solver_type |
| unsigned char | pad2 |
| short | pad3 |
| BVHTree * | bvhtree |
| BVHTree * | bvhselftree |
| blender::int3 * | vert_tris |
| Implicit_Data * | implicit |
| blender::Set< blender::OrderedEdge > | edgeset |
| int | last_frame |
| float | initial_mesh_volume |
| float | average_acceleration [3] |
| const blender::int2 * | edges |
| blender::Set< blender::OrderedEdge > | sew_edge_graph |
This structure describes a cloth object against which the simulation can run.
The m and n members of this structure represent the assumed rectangular ordered grid for which the original paper is written. At some point they need to disappear and we need to determine our own connectivity of the mesh based on the actual edges in the mesh.
Definition at line 68 of file BKE_cloth.hh.
| float Cloth::average_acceleration[3] |
Definition at line 84 of file BKE_cloth.hh.
Referenced by cloth_calc_average_acceleration(), cloth_calc_force(), ptcache_cloth_extra_read(), ptcache_cloth_extra_write(), and SIM_cloth_solve().
| BVHTree* Cloth::bvhselftree |
Definition at line 78 of file BKE_cloth.hh.
Referenced by bvhtree_update_from_cloth(), cloth_bvh_collision(), cloth_free_modifier(), cloth_free_modifier_extern(), and cloth_from_object().
| BVHTree* Cloth::bvhtree |
Definition at line 77 of file BKE_cloth.hh.
Referenced by bvhtree_update_from_cloth(), cloth_bvh_collision(), cloth_free_modifier(), cloth_free_modifier_extern(), cloth_from_object(), and cloth_solve_collisions().
| const blender::int2* Cloth::edges |
Definition at line 85 of file BKE_cloth.hh.
Referenced by bvhtree_build_from_cloth(), bvhtree_update_from_cloth(), cloth_from_mesh(), clothModifier_do(), and hair_collision().
| blender::Set<blender::OrderedEdge> Cloth::edgeset |
Definition at line 81 of file BKE_cloth.hh.
Referenced by cloth_build_springs(), and cloth_free_errorsprings().
| Implicit_Data* Cloth::implicit |
Definition at line 80 of file BKE_cloth.hh.
Referenced by cloth_calc_average_acceleration(), cloth_calc_average_pressure(), cloth_calc_force(), cloth_calc_pressure_gradient(), cloth_calc_spring_force(), cloth_calc_volume(), cloth_continuum_add_hair_segments(), cloth_continuum_fill_grid(), cloth_continuum_step(), cloth_setup_constraints(), cloth_solve_collisions(), do_step_cloth(), hair_get_boundbox(), SIM_cloth_solve(), SIM_cloth_solver_free(), SIM_cloth_solver_init(), and SIM_cloth_solver_set_positions().
| float Cloth::initial_mesh_volume |
Definition at line 83 of file BKE_cloth.hh.
Referenced by cloth_calc_force(), and SIM_cloth_solver_set_volume().
| int Cloth::last_frame |
Definition at line 82 of file BKE_cloth.hh.
Referenced by clothModifier_do(), and do_init_cloth().
| unsigned int Cloth::mvert_num |
Definition at line 72 of file BKE_cloth.hh.
Referenced by cloth_bvh_collision(), cloth_bvh_objcollisions_resolve(), cloth_bvh_selfcollisions_resolve(), cloth_calc_average_acceleration(), cloth_calc_force(), cloth_calc_helper_forces(), cloth_calc_pressure_gradient(), cloth_continuum_fill_grid(), cloth_continuum_step(), cloth_free_errorsprings(), cloth_free_modifier(), cloth_free_modifier_extern(), cloth_from_mesh(), cloth_setup_constraints(), cloth_solve_collisions(), cloth_to_object(), clothModifier_do(), do_step_cloth(), hair_get_boundbox(), ptcache_cloth_totpoint(), SIM_cloth_solve(), SIM_cloth_solver_init(), and SIM_cloth_solver_set_positions().
| unsigned int Cloth::numsprings |
Definition at line 71 of file BKE_cloth.hh.
Referenced by cloth_build_springs(), cloth_free_modifier(), cloth_free_modifier_extern(), and cloth_from_object().
| unsigned char Cloth::old_solver_type |
Definition at line 74 of file BKE_cloth.hh.
Referenced by cloth_from_object().
| unsigned char Cloth::pad2 |
Definition at line 75 of file BKE_cloth.hh.
| short Cloth::pad3 |
Definition at line 76 of file BKE_cloth.hh.
| unsigned int Cloth::primitive_num |
Definition at line 73 of file BKE_cloth.hh.
Referenced by bvhtree_build_from_cloth(), bvhtree_update_from_cloth(), cloth_calc_average_pressure(), cloth_calc_force(), cloth_calc_rest_volume(), cloth_calc_volume(), and cloth_from_mesh().
| blender::Set<blender::OrderedEdge> Cloth::sew_edge_graph |
Definition at line 86 of file BKE_cloth.hh.
Referenced by cloth_build_springs(), and cloth_bvh_selfcollision_is_active().
| LinkNode* Cloth::springs |
Definition at line 70 of file BKE_cloth.hh.
Referenced by cloth_add_shear_bend_spring(), cloth_build_springs(), cloth_calc_force(), cloth_calc_helper_forces(), cloth_continuum_fill_grid(), cloth_count_nondiag_blocks(), cloth_free_errorsprings(), cloth_free_modifier(), cloth_free_modifier_extern(), cloth_from_mesh(), cloth_from_object(), cloth_hair_update_bending_rest_targets(), cloth_hair_update_bending_targets(), cloth_update_spring_lengths(), and cloth_update_springs().
| blender::int3* Cloth::vert_tris |
Definition at line 79 of file BKE_cloth.hh.
Referenced by bvhtree_build_from_cloth(), bvhtree_update_from_cloth(), cloth_bvh_obj_overlap_cb(), cloth_bvh_self_overlap_cb(), cloth_calc_average_pressure(), cloth_calc_force(), cloth_calc_rest_volume(), cloth_calc_volume(), cloth_collision(), cloth_free_modifier(), cloth_free_modifier_extern(), cloth_from_mesh(), and cloth_selfcollision().
| ClothVertex* Cloth::verts |
Definition at line 69 of file BKE_cloth.hh.
Referenced by bvhtree_build_from_cloth(), bvhtree_update_from_cloth(), cloth_add_shear_bend_spring(), cloth_apply_vgroup(), cloth_build_springs(), cloth_bvh_collision(), cloth_bvh_collision_is_active(), cloth_bvh_objcollisions_resolve(), cloth_bvh_selfcollision_is_active(), cloth_bvh_selfcollisions_resolve(), cloth_calc_force(), cloth_calc_helper_forces(), cloth_calc_rest_volume(), cloth_collision(), cloth_collision_response_static(), cloth_continuum_fill_grid(), cloth_continuum_step(), cloth_free_modifier(), cloth_free_modifier_extern(), cloth_from_mesh(), cloth_from_object(), cloth_get_pressure_weights(), cloth_hair_update_bending_rest_targets(), cloth_hair_update_bending_targets(), cloth_make_rest_mesh(), cloth_selfcollision(), cloth_selfcollision_response_static(), cloth_setup_constraints(), cloth_solve_collisions(), cloth_to_object(), cloth_update_spring_lengths(), cloth_update_springs(), cloth_update_verts(), do_step_cloth(), hair_collision(), ptcache_cloth_interpolate(), ptcache_cloth_read(), ptcache_cloth_write(), SIM_cloth_solve(), SIM_cloth_solver_init(), and SIM_cloth_solver_set_positions().