Blender V2.61 - r43446
|
#include <DNA_cloth_types.h>
Public Attributes | |
struct LinkNode * | cache |
float | mingoal |
float | Cdis |
float | Cvi |
float | gravity [3] |
float | dt |
float | mass |
float | structural |
float | shear |
float | bending |
float | max_bend |
float | max_struct |
float | max_shear |
float | avg_spring_len |
float | timescale |
float | maxgoal |
float | eff_force_scale |
float | eff_wind_scale |
float | sim_time_old |
float | defgoal |
float | goalspring |
float | goalfrict |
float | velocity_smooth |
float | collider_friction |
int | stepsPerFrame |
int | flags |
int | preroll |
int | maxspringlen |
short | solver_type |
short | vgroup_bend |
short | vgroup_mass |
short | vgroup_struct |
short | shapekey_rest |
short | presets |
short | reset |
short | pad [3] |
struct EffectorWeights * | effector_weights |
This struct contains all the global data required to run a simulation. At the time of this writing, this structure contains data appropriate to run a simulation as described in Deformation Constraints in a Mass-Spring Model to Describe Rigid Cloth Behavior by Xavier Provot.
I've tried to keep similar, if not exact names for the variables as are presented in the paper. Where I've changed the concept slightly, as in stepsPerFrame comapred to the time step in the paper, I've used variables with different names to minimize confusion.
Definition at line 47 of file DNA_cloth_types.h.
Definition at line 62 of file DNA_cloth_types.h.
Referenced by cloth_build_springs(), cloth_calc_spring_force(), and cloth_init().
Definition at line 58 of file DNA_cloth_types.h.
Referenced by cloth_calc_spring_force(), and cloth_init().
struct LinkNode* ClothSimSettings::cache |
Definition at line 49 of file DNA_cloth_types.h.
float ClothSimSettings::Cdis |
Definition at line 51 of file DNA_cloth_types.h.
Referenced by cloth_calc_spring_force(), and cloth_init().
Definition at line 72 of file DNA_cloth_types.h.
Referenced by cloth_calc_force(), and hair_velocity_smoothing().
float ClothSimSettings::Cvi |
Definition at line 52 of file DNA_cloth_types.h.
Referenced by cloth_calc_force(), and cloth_init().
Definition at line 68 of file DNA_cloth_types.h.
Referenced by cloth_from_object(), and cloth_init().
float ClothSimSettings::dt |
Definition at line 54 of file DNA_cloth_types.h.
Referenced by clothModifier_do().
Definition at line 65 of file DNA_cloth_types.h.
Referenced by cloth_init().
Definition at line 66 of file DNA_cloth_types.h.
Referenced by cloth_init().
Definition at line 87 of file DNA_cloth_types.h.
Referenced by cloth_calc_force(), cloth_init(), copyData(), direct_link_modifiers(), direct_link_particlesystems(), do_hair_dynamics(), do_step_cloth(), do_versions(), foreachIDLink(), freeData(), and write_modifiers().
Definition at line 75 of file DNA_cloth_types.h.
Referenced by cloth_apply_vgroup(), cloth_bvh_objcollision(), cloth_calc_spring_force(), cloth_from_object(), cloth_init(), cloth_uses_vgroup(), do_hair_dynamics(), and implicit_solver().
Definition at line 70 of file DNA_cloth_types.h.
Referenced by cloth_calc_spring_force(), and cloth_init().
Definition at line 69 of file DNA_cloth_types.h.
Referenced by cloth_calc_spring_force(), cloth_init(), and do_hair_dynamics().
float ClothSimSettings::gravity[3] |
Definition at line 53 of file DNA_cloth_types.h.
Referenced by cloth_init(), and do_versions().
float ClothSimSettings::mass |
Definition at line 55 of file DNA_cloth_types.h.
Referenced by cloth_from_object(), and cloth_init().
Definition at line 59 of file DNA_cloth_types.h.
Referenced by cloth_calc_spring_force().
Definition at line 61 of file DNA_cloth_types.h.
Definition at line 60 of file DNA_cloth_types.h.
Referenced by cloth_calc_spring_force().
Definition at line 64 of file DNA_cloth_types.h.
Referenced by cloth_init().
Definition at line 77 of file DNA_cloth_types.h.
Referenced by cloth_init().
Definition at line 50 of file DNA_cloth_types.h.
Referenced by cloth_init().
short ClothSimSettings::pad[3] |
Definition at line 85 of file DNA_cloth_types.h.
Definition at line 76 of file DNA_cloth_types.h.
Referenced by cloth_init(), and clothModifier_do().
Definition at line 83 of file DNA_cloth_types.h.
Referenced by cloth_init(), direct_link_modifiers(), and direct_link_particlesystems().
short ClothSimSettings::reset |
Definition at line 84 of file DNA_cloth_types.h.
Referenced by cloth_init(), clothModifier_do(), and direct_link_modifiers().
Definition at line 82 of file DNA_cloth_types.h.
Referenced by cloth_from_object(), get_orco_coords_dm(), and requiredDataMask().
float ClothSimSettings::shear |
Definition at line 57 of file DNA_cloth_types.h.
Referenced by cloth_init().
Definition at line 67 of file DNA_cloth_types.h.
Definition at line 78 of file DNA_cloth_types.h.
Referenced by cloth_free_modifier(), cloth_free_modifier_extern(), cloth_from_object(), cloth_init(), and do_step_cloth().
Definition at line 74 of file DNA_cloth_types.h.
Referenced by cloth_collision_response_static(), cloth_init(), clothModifier_do(), and implicit_solver().
Definition at line 56 of file DNA_cloth_types.h.
Referenced by cloth_calc_spring_force(), and cloth_init().
Definition at line 63 of file DNA_cloth_types.h.
Referenced by cloth_collision_response_static(), cloth_init(), clothModifier_do(), and implicit_solver().
Definition at line 71 of file DNA_cloth_types.h.
Referenced by cloth_calc_force(), cloth_init(), do_versions(), and hair_velocity_smoothing().
Definition at line 79 of file DNA_cloth_types.h.
Referenced by cloth_apply_vgroup(), cloth_uses_vgroup(), and vgroup_remap_update_users().
Definition at line 80 of file DNA_cloth_types.h.
Referenced by cloth_apply_vgroup(), cloth_init(), cloth_uses_vgroup(), do_hair_dynamics(), and vgroup_remap_update_users().
Definition at line 81 of file DNA_cloth_types.h.
Referenced by cloth_apply_vgroup(), cloth_uses_vgroup(), and vgroup_remap_update_users().