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
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
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;
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.
enum eAnimEdit_AutoSnap DNA_DEPRECATED
#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
uint8_t flag
Definition wm_window.cc:138