Blender  V3.3
DNA_lattice_types.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: GPL-2.0-or-later
2  * Copyright 2001-2002 NaN Holding BV. All rights reserved. */
3 
8 #pragma once
9 
10 #include "DNA_ID.h"
11 #include "DNA_defs.h"
12 
13 #ifdef __cplusplus
14 extern "C" {
15 #endif
16 
17 struct AnimData;
18 struct BPoint;
19 struct Ipo;
20 struct Key;
21 struct MDeformVert;
22 
23 #
24 #
25 typedef struct EditLatt {
27 
28  struct Lattice *latt;
29 
30  int shapenr;
31 
38 
39 typedef struct Lattice {
41 
42  ID id;
43  struct AnimData *adt;
44 
45  short pntsu, pntsv, pntsw, flag;
46  short opntsu, opntsv, opntsw;
47  char _pad2[3];
48  char typeu, typev, typew;
50  int actbp;
51 
52  float fu, fv, fw, du, dv, dw;
53 
54  struct BPoint *def;
55 
57  struct Ipo *ipo DNA_DEPRECATED;
58  struct Key *key;
59 
60  struct MDeformVert *dvert;
62  char vgroup[64];
64  ListBase vertex_group_names;
65  int vertex_group_active_index;
66 
67  char _pad0[4];
68 
69  struct EditLatt *editlatt;
70  void *batch_cache;
72 
73 /* ***************** LATTICE ********************* */
74 
75 /* flag */
76 #define LT_GRID 1
77 #define LT_OUTSIDE 2
78 
79 #define LT_DS_EXPAND 4
80 
81 #define LT_ACTBP_NONE -1
82 
83 #ifdef __cplusplus
84 }
85 #endif
ID and Library types, which are fundamental for sdna.
#define DNA_DEFINE_CXX_METHODS(class_name)
Definition: DNA_defs.h:64
#define DNA_DEPRECATED
Definition: DNA_defs.h:21
char needs_flush_to_id
struct Lattice * latt
Definition: DNA_ID.h:368