Blender
V4.3
source
blender
makesdna
DNA_lattice_types.h
Go to the documentation of this file.
1
/* SPDX-FileCopyrightText: 2001-2002 NaN Holding BV. All rights reserved.
2
*
3
* SPDX-License-Identifier: GPL-2.0-or-later */
4
9
#pragma once
10
11
#include "
DNA_ID.h
"
12
#include "
DNA_defs.h
"
13
14
struct
AnimData
;
15
struct
BPoint
;
16
struct
Ipo
;
17
struct
Key
;
18
struct
MDeformVert
;
19
20
#
21
#
22
typedef
struct
EditLatt
{
23
DNA_DEFINE_CXX_METHODS
(
EditLatt
)
24
25
struct
Lattice
*
latt
;
26
27
int
shapenr
;
28
33
char
needs_flush_to_id
;
34
}
EditLatt
;
35
36
typedef struct
Lattice
{
37
DNA_DEFINE_CXX_METHODS
(
Lattice
)
38
39
ID
id
;
40
struct
AnimData
*adt;
41
42
short
pntsu, pntsv, pntsw,
flag
;
43
short
opntsu, opntsv, opntsw;
44
char
_pad2[3];
45
char
typeu, typev, typew;
47
int
actbp;
48
49
float
fu, fv, fw, du, dv, dw;
50
51
struct
BPoint
*def;
52
54
struct
Ipo
*ipo
DNA_DEPRECATED
;
55
struct
Key
*key;
56
57
struct
MDeformVert
*dvert;
59
char
vgroup[64];
61
ListBase
vertex_group_names;
62
int
vertex_group_active_index;
63
64
char
_pad0[4];
65
66
struct
EditLatt
*editlatt;
67
void
*batch_cache;
68
}
Lattice
;
69
70
/* ***************** LATTICE ********************* */
71
73
enum {
74
LT_GRID
= 1 << 0,
75
LT_OUTSIDE
= 1 << 1,
76
77
LT_DS_EXPAND
= 1 << 2,
78
};
79
80
#define LT_ACTBP_NONE -1
DNA_ID.h
ID and Library types, which are fundamental for SDNA.
DNA_DEPRECATED
enum eAnimEdit_AutoSnap DNA_DEPRECATED
DNA_defs.h
DNA_DEFINE_CXX_METHODS
#define DNA_DEFINE_CXX_METHODS(class_name)
Definition
DNA_defs.h:66
LT_OUTSIDE
@ LT_OUTSIDE
Definition
DNA_lattice_types.h:75
LT_DS_EXPAND
@ LT_DS_EXPAND
Definition
DNA_lattice_types.h:77
LT_GRID
@ LT_GRID
Definition
DNA_lattice_types.h:74
AnimData
Definition
DNA_anim_types.h:1138
BPoint
Definition
DNA_curve_types.h:120
EditLatt
Definition
DNA_lattice_types.h:22
EditLatt::needs_flush_to_id
char needs_flush_to_id
Definition
DNA_lattice_types.h:33
EditLatt::latt
struct Lattice * latt
Definition
DNA_lattice_types.h:25
EditLatt::shapenr
int shapenr
Definition
DNA_lattice_types.h:27
ID
Definition
DNA_ID.h:413
Ipo
Definition
DNA_ipo_types.h:85
Key
Definition
DNA_key_types.h:59
Lattice
Definition
DNA_lattice_types.h:36
ListBase
Definition
DNA_listBase.h:32
MDeformVert
Definition
DNA_meshdata_types.h:137
flag
uint8_t flag
Definition
wm_window.cc:138
Generated on Thu Feb 6 2025 07:36:39 for Blender by
doxygen
1.11.0