Blender V4.3
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 Ipo;
17struct Key;
18struct MDeformVert;
19
20#
21#
35
36typedef struct Lattice {
38
39 ID id;
40 struct AnimData *adt;
41
44 char _pad2[3];
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
59 char vgroup[64];
63
64 char _pad0[4];
65
69
70/* ***************** LATTICE ********************* */
71
73enum {
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
ID and Library types, which are fundamental for SDNA.
#define DNA_DEFINE_CXX_METHODS(class_name)
Definition DNA_defs.h:66
@ LT_OUTSIDE
@ LT_DS_EXPAND
@ LT_GRID
char needs_flush_to_id
struct Lattice * latt
Definition DNA_ID.h:413
ListBase vertex_group_names
char _pad2[3]
struct Ipo *ipo DNA_DEPRECATED
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