Blender V5.3
blender::Cloth Struct Reference

#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
int3 * vert_tris
Implicit_Data * implicit
Set< OrderedEdge > edgeset
int last_frame
float initial_mesh_volume
float average_acceleration [3]
const int2 * edges
Set< OrderedEdge > sew_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 70 of file BKE_cloth.hh.

Member Data Documentation

◆ average_acceleration

float blender::Cloth::average_acceleration[3]

Definition at line 86 of file BKE_cloth.hh.

◆ bvhselftree

BVHTree* blender::Cloth::bvhselftree

Definition at line 80 of file BKE_cloth.hh.

Referenced by blender::cloth_from_object().

◆ bvhtree

BVHTree* blender::Cloth::bvhtree

Definition at line 79 of file BKE_cloth.hh.

Referenced by blender::cloth_from_object(), and blender::cloth_solve_collisions().

◆ edges

const int2* blender::Cloth::edges

◆ edgeset

Set<OrderedEdge> blender::Cloth::edgeset

Definition at line 83 of file BKE_cloth.hh.

◆ implicit

Implicit_Data* blender::Cloth::implicit

Definition at line 82 of file BKE_cloth.hh.

◆ initial_mesh_volume

float blender::Cloth::initial_mesh_volume

Definition at line 85 of file BKE_cloth.hh.

◆ last_frame

int blender::Cloth::last_frame

Definition at line 84 of file BKE_cloth.hh.

Referenced by blender::clothModifier_do(), and blender::do_init_cloth().

◆ mvert_num

◆ numsprings

unsigned int blender::Cloth::numsprings

Definition at line 73 of file BKE_cloth.hh.

Referenced by blender::cloth_from_object().

◆ old_solver_type

unsigned char blender::Cloth::old_solver_type

Definition at line 76 of file BKE_cloth.hh.

Referenced by blender::cloth_from_object().

◆ pad2

unsigned char blender::Cloth::pad2

Definition at line 77 of file BKE_cloth.hh.

◆ pad3

short blender::Cloth::pad3

Definition at line 78 of file BKE_cloth.hh.

◆ primitive_num

unsigned int blender::Cloth::primitive_num

Definition at line 75 of file BKE_cloth.hh.

Referenced by blender::cloth_from_mesh().

◆ sew_edge_graph

Set<OrderedEdge> blender::Cloth::sew_edge_graph

Definition at line 88 of file BKE_cloth.hh.

◆ springs

LinkNode* blender::Cloth::springs

Definition at line 72 of file BKE_cloth.hh.

Referenced by blender::cloth_from_mesh(), and blender::cloth_from_object().

◆ vert_tris

◆ verts


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