Blender V5.0
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
8
9#pragma once
10
11#include "DNA_ID.h"
12#include "DNA_defs.h"
13
14struct AnimData;
15struct BPoint;
16struct Key;
17struct MDeformVert;
18
19#
20#
34
36#ifdef __cplusplus
39 static constexpr ID_Type id_type = ID_LT;
40#endif
41
43 struct AnimData *adt;
44
47 char _pad2[3];
48 /* KeyInterpolationType */
51 int actbp;
52
53 float fu, fv, fw, du, dv, dw;
54
55 struct BPoint *def;
56
57 struct Key *key;
58
61 char vgroup[/*MAX_VGROUP_NAME*/ 64];
65
66 char _pad0[4];
67
71
72/* ***************** LATTICE ********************* */
73
75enum {
76 LT_GRID = 1 << 0,
77 LT_OUTSIDE = 1 << 1,
78
79 LT_DS_EXPAND = 1 << 2,
80};
81
82#define LT_ACTBP_NONE -1
ID and Library types, which are fundamental for SDNA.
ID_Type
@ ID_LT
#define DNA_DEFINE_CXX_METHODS(class_name)
Definition DNA_defs.h:66
@ LT_OUTSIDE
@ LT_DS_EXPAND
@ LT_GRID
struct Lattice Lattice
#define typedef
char needs_flush_to_id
struct Lattice * latt
Definition DNA_ID.h:414
ListBase vertex_group_names
char _pad2[3]
struct Key * key
void * batch_cache
struct MDeformVert * dvert
int vertex_group_active_index
struct EditLatt * editlatt
char _pad0[4]
char vgroup[64]
struct BPoint * def
struct AnimData * adt