Blender V4.3
Cloth Struct Reference

#include <BKE_cloth.hh>

Public Attributes

ClothVertexverts
 
LinkNodesprings
 
unsigned int numsprings
 
unsigned int mvert_num
 
unsigned int primitive_num
 
unsigned char old_solver_type
 
unsigned char pad2
 
short pad3
 
BVHTreebvhtree
 
BVHTreebvhselftree
 
blender::int3vert_tris
 
Implicit_Dataimplicit
 
blender::Set< blender::OrderedEdgeedgeset
 
int last_frame
 
float initial_mesh_volume
 
float average_acceleration [3]
 
const blender::int2edges
 
blender::Set< blender::OrderedEdgesew_edge_graph
 

Detailed Description

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.

Member Data Documentation

◆ average_acceleration

float Cloth::average_acceleration[3]

Definition at line 84 of file BKE_cloth.hh.

◆ bvhselftree

BVHTree* Cloth::bvhselftree

Definition at line 78 of file BKE_cloth.hh.

Referenced by cloth_from_object().

◆ bvhtree

BVHTree* Cloth::bvhtree

Definition at line 77 of file BKE_cloth.hh.

Referenced by cloth_from_object(), and cloth_solve_collisions().

◆ edges

const blender::int2* Cloth::edges

Definition at line 85 of file BKE_cloth.hh.

Referenced by cloth_from_mesh(), clothModifier_do(), and hair_collision().

◆ edgeset

Definition at line 81 of file BKE_cloth.hh.

◆ implicit

Implicit_Data* Cloth::implicit

Definition at line 80 of file BKE_cloth.hh.

◆ initial_mesh_volume

float Cloth::initial_mesh_volume

Definition at line 83 of file BKE_cloth.hh.

Referenced by SIM_cloth_solver_set_volume().

◆ last_frame

int Cloth::last_frame

Definition at line 82 of file BKE_cloth.hh.

Referenced by clothModifier_do(), and do_init_cloth().

◆ mvert_num

◆ numsprings

unsigned int Cloth::numsprings

Definition at line 71 of file BKE_cloth.hh.

Referenced by cloth_from_object().

◆ old_solver_type

unsigned char Cloth::old_solver_type

Definition at line 74 of file BKE_cloth.hh.

Referenced by cloth_from_object().

◆ pad2

unsigned char Cloth::pad2

Definition at line 75 of file BKE_cloth.hh.

◆ pad3

short Cloth::pad3

Definition at line 76 of file BKE_cloth.hh.

◆ primitive_num

unsigned int Cloth::primitive_num

Definition at line 73 of file BKE_cloth.hh.

Referenced by cloth_from_mesh().

◆ sew_edge_graph

blender::Set<blender::OrderedEdge> Cloth::sew_edge_graph

Definition at line 86 of file BKE_cloth.hh.

◆ springs

LinkNode* Cloth::springs

Definition at line 70 of file BKE_cloth.hh.

Referenced by cloth_from_mesh(), and cloth_from_object().

◆ vert_tris

◆ verts


The documentation for this struct was generated from the following file: