Blender
V2.93
source
blender
makesdna
DNA_lattice_types.h
Go to the documentation of this file.
1
/*
2
* This program is free software; you can redistribute it and/or
3
* modify it under the terms of the GNU General Public License
4
* as published by the Free Software Foundation; either version 2
5
* of the License, or (at your option) any later version.
6
*
7
* This program is distributed in the hope that it will be useful,
8
* but WITHOUT ANY WARRANTY; without even the implied warranty of
9
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10
* GNU General Public License for more details.
11
*
12
* You should have received a copy of the GNU General Public License
13
* along with this program; if not, write to the Free Software Foundation,
14
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
15
*
16
* The Original Code is Copyright (C) 2001-2002 by NaN Holding BV.
17
* All rights reserved.
18
*/
19
24
#pragma once
25
26
#include "
DNA_ID.h
"
27
#include "
DNA_defs.h
"
28
29
#ifdef __cplusplus
30
extern
"C"
{
31
#endif
32
33
struct
AnimData
;
34
struct
BPoint
;
35
struct
Ipo
;
36
struct
Key
;
37
struct
MDeformVert
;
38
39
#
40
#
41
typedef
struct
EditLatt
{
42
struct
Lattice
*
latt
;
43
44
int
shapenr
;
45
50
char
needs_flush_to_id
;
51
}
EditLatt
;
52
53
typedef
struct
Lattice
{
54
ID
id
;
55
struct
AnimData
*
adt
;
56
57
short
pntsu
,
pntsv
,
pntsw
,
flag
;
58
short
opntsu
,
opntsv
,
opntsw
;
59
char
_pad2
[3];
60
char
typeu
,
typev
,
typew
;
62
int
actbp
;
63
64
float
fu
,
fv
,
fw
,
du
,
dv
,
dw
;
65
66
struct
BPoint
*
def
;
67
69
struct
Ipo
*ipo
DNA_DEPRECATED
;
70
struct
Key
*
key
;
71
72
struct
MDeformVert
*
dvert
;
74
char
vgroup
[64];
75
76
struct
EditLatt
*
editlatt
;
77
void
*
batch_cache
;
78
}
Lattice
;
79
80
/* ***************** LATTICE ********************* */
81
82
/* flag */
83
#define LT_GRID 1
84
#define LT_OUTSIDE 2
85
86
#define LT_DS_EXPAND 4
87
88
#define LT_ACTBP_NONE -1
89
90
#ifdef __cplusplus
91
}
92
#endif
DNA_ID.h
ID and Library types, which are fundamental for sdna.
DNA_defs.h
EditLatt
struct EditLatt EditLatt
Lattice
struct Lattice Lattice
AnimData
Definition:
DNA_anim_types.h:1083
BPoint
Definition:
DNA_curve_types.h:125
EditLatt
Definition:
DNA_lattice_types.h:41
EditLatt::needs_flush_to_id
char needs_flush_to_id
Definition:
DNA_lattice_types.h:50
EditLatt::latt
struct Lattice * latt
Definition:
DNA_lattice_types.h:42
EditLatt::shapenr
int shapenr
Definition:
DNA_lattice_types.h:44
ID
Definition:
DNA_ID.h:273
Ipo
Definition:
DNA_ipo_types.h:99
Key
Definition:
DNA_key_types.h:78
Lattice
Definition:
DNA_lattice_types.h:53
Lattice::typev
char typev
Definition:
DNA_lattice_types.h:60
Lattice::pntsu
short pntsu
Definition:
DNA_lattice_types.h:57
Lattice::_pad2
char _pad2[3]
Definition:
DNA_lattice_types.h:59
Lattice::DNA_DEPRECATED
struct Ipo *ipo DNA_DEPRECATED
Definition:
DNA_lattice_types.h:69
Lattice::key
struct Key * key
Definition:
DNA_lattice_types.h:70
Lattice::typeu
char typeu
Definition:
DNA_lattice_types.h:60
Lattice::pntsw
short pntsw
Definition:
DNA_lattice_types.h:57
Lattice::batch_cache
void * batch_cache
Definition:
DNA_lattice_types.h:77
Lattice::dvert
struct MDeformVert * dvert
Definition:
DNA_lattice_types.h:72
Lattice::pntsv
short pntsv
Definition:
DNA_lattice_types.h:57
Lattice::dv
float dv
Definition:
DNA_lattice_types.h:64
Lattice::flag
short flag
Definition:
DNA_lattice_types.h:57
Lattice::fu
float fu
Definition:
DNA_lattice_types.h:64
Lattice::editlatt
struct EditLatt * editlatt
Definition:
DNA_lattice_types.h:76
Lattice::opntsv
short opntsv
Definition:
DNA_lattice_types.h:58
Lattice::fv
float fv
Definition:
DNA_lattice_types.h:64
Lattice::actbp
int actbp
Definition:
DNA_lattice_types.h:62
Lattice::vgroup
char vgroup[64]
Definition:
DNA_lattice_types.h:74
Lattice::du
float du
Definition:
DNA_lattice_types.h:64
Lattice::fw
float fw
Definition:
DNA_lattice_types.h:64
Lattice::typew
char typew
Definition:
DNA_lattice_types.h:60
Lattice::id
ID id
Definition:
DNA_lattice_types.h:54
Lattice::opntsu
short opntsu
Definition:
DNA_lattice_types.h:58
Lattice::def
struct BPoint * def
Definition:
DNA_lattice_types.h:66
Lattice::dw
float dw
Definition:
DNA_lattice_types.h:64
Lattice::adt
struct AnimData * adt
Definition:
DNA_lattice_types.h:55
Lattice::opntsw
short opntsw
Definition:
DNA_lattice_types.h:58
MDeformVert
Definition:
DNA_meshdata_types.h:294
Generated on Tue Jan 31 2023 14:37:24 for Blender by
doxygen
1.9.1