Blender  V3.3
Public Attributes | List of all members
Cloth Struct Reference

#include <BKE_cloth.h>

Public Attributes

struct ClothVertexverts
 
struct LinkNodesprings
 
unsigned int numsprings
 
unsigned int mvert_num
 
unsigned int primitive_num
 
unsigned char old_solver_type
 
unsigned char pad2
 
short pad3
 
struct BVHTreebvhtree
 
struct BVHTreebvhselftree
 
struct MVertTritri
 
struct Implicit_Dataimplicit
 
struct EdgeSetedgeset
 
int last_frame
 
float initial_mesh_volume
 
float average_acceleration [3]
 
struct MEdgeedges
 
struct EdgeSetsew_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 out own connectivity of the mesh based on the actual edges in the mesh.

Definition at line 65 of file BKE_cloth.h.

Member Data Documentation

◆ average_acceleration

float Cloth::average_acceleration[3]

◆ bvhselftree

struct BVHTree* Cloth::bvhselftree

◆ bvhtree

struct BVHTree* Cloth::bvhtree

◆ edges

struct MEdge* Cloth::edges

◆ edgeset

struct EdgeSet* Cloth::edgeset

◆ implicit

struct Implicit_Data* Cloth::implicit

◆ initial_mesh_volume

float Cloth::initial_mesh_volume

Definition at line 80 of file BKE_cloth.h.

Referenced by cloth_calc_force(), and SIM_cloth_solver_set_volume().

◆ last_frame

int Cloth::last_frame

Definition at line 79 of file BKE_cloth.h.

Referenced by clothModifier_do(), and do_init_cloth().

◆ mvert_num

unsigned int Cloth::mvert_num

◆ numsprings

unsigned int Cloth::numsprings

◆ old_solver_type

unsigned char Cloth::old_solver_type

Definition at line 71 of file BKE_cloth.h.

Referenced by cloth_from_object().

◆ pad2

unsigned char Cloth::pad2

Definition at line 72 of file BKE_cloth.h.

◆ pad3

short Cloth::pad3

Definition at line 73 of file BKE_cloth.h.

◆ primitive_num

unsigned int Cloth::primitive_num

◆ sew_edge_graph

struct EdgeSet* Cloth::sew_edge_graph

◆ springs

struct LinkNode* Cloth::springs

◆ tri

struct MVertTri* Cloth::tri

◆ verts

struct ClothVertex* Cloth::verts

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