Blender
V3.3
source
blender
makesdna
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
{
26
DNA_DEFINE_CXX_METHODS
(
EditLatt
)
27
28
struct
Lattice
*
latt
;
29
30
int
shapenr
;
31
36
char
needs_flush_to_id
;
37
}
EditLatt
;
38
39
typedef struct
Lattice
{
40
DNA_DEFINE_CXX_METHODS
(
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;
71
}
Lattice
;
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
DNA_ID.h
ID and Library types, which are fundamental for sdna.
DNA_defs.h
DNA_DEFINE_CXX_METHODS
#define DNA_DEFINE_CXX_METHODS(class_name)
Definition:
DNA_defs.h:64
DNA_DEPRECATED
#define DNA_DEPRECATED
Definition:
DNA_defs.h:21
AnimData
Definition:
DNA_anim_types.h:1068
BPoint
Definition:
DNA_curve_types.h:110
EditLatt
Definition:
DNA_lattice_types.h:25
EditLatt::needs_flush_to_id
char needs_flush_to_id
Definition:
DNA_lattice_types.h:36
EditLatt::latt
struct Lattice * latt
Definition:
DNA_lattice_types.h:28
EditLatt::shapenr
int shapenr
Definition:
DNA_lattice_types.h:30
ID
Definition:
DNA_ID.h:368
Ipo
Definition:
DNA_ipo_types.h:84
Key
Definition:
DNA_key_types.h:62
Lattice
Definition:
DNA_lattice_types.h:39
ListBase
Definition:
DNA_listBase.h:30
MDeformVert
Definition:
DNA_meshdata_types.h:272
Generated on Tue Oct 22 2024 13:18:25 for Blender by
doxygen
1.9.1