Blender V5.3
DNA_action_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
12
13#pragma once
14
15#include <cmath>
16
17#include "DNA_ID.h"
18#include "DNA_armature_types.h"
19#include "DNA_listBase.h"
21#include "DNA_userdef_types.h" /* ThemeWireColor */
22#include "DNA_view2d_types.h"
23
24#include "BLI_enum_flags.hh"
25
26#include <type_traits>
27
28namespace blender {
29
30struct bItasc;
31struct AnimData;
32struct Collection;
33struct FCurve;
34struct GHash;
35struct Object;
36struct SpaceLink;
37namespace gpu {
38class VertBuf;
39class Batch;
40} // namespace gpu
41
42namespace bke {
43struct bPoseRuntime;
44} // namespace bke
45
46namespace bke::motionpath {
47struct Runtime;
48}
49
50/* Forward declarations so the actual declarations can happen top-down. */
51struct ActionLayer;
52struct ActionSlot;
53struct ActionStrip;
54struct ActionChannelbag;
55
56/* Declarations of the C++ wrappers. */
57namespace animrig {
58class Action;
59class Slot;
60class SlotRuntime;
61class Channelbag;
62class ChannelGroup;
63class Layer;
64class Strip;
66} // namespace animrig
67
68/* The last_slot_handle is set to a high value to disambiguate slot handles from
69 * array indices.
70 *
71 * This particular value was obtained by taking the 31 most-significant bits of
72 * the TentHash value (Nathan's hash function) for the string "Quercus&Laksa"
73 * (Sybren's cats). */
74#define DNA_DEFAULT_ACTION_LAST_SLOT_HANDLE 0x37627bf5
75
78 /* vert is selected */
81 /* Set if the vert has been evaluated at least once. */
83};
85
86/* bMotionPath->flag */
87enum eMotionPath_Flag : int {
88 /* (for bones) path represents the head of the bone */
90 /* motion path is being edited */
92 /* Custom colors */
94 /* Draw lines or only points */
96 /* Bake to scene camera. */
98};
100
101/* bAnimVizSettings->recalc */
103 /* Motion-paths need recalculating. */
105};
107
108/* bAnimVizSettings->path_type */
109enum eMotionPaths_Types : short {
110 /* show the paths along their entire ranges */
112 /* only show the parts of the paths around the current frame */
114};
115
116/* bAnimVizSettings->path_range */
124
125/* bAnimVizSettings->path_viewflag */
127 /* show frames on path */
129 /* show keyframes on path */
131 /* show keyframe/frame numbers */
133 /* find keyframes in whole action (instead of just in matching group name) */
135 /* draw lines on path */
136 /* MOTIONPATH_VIEW_LINES = (1 << 4), */ /* UNUSED */
137};
139
140/* bAnimVizSettings->path_bakeflag */
143 /* MOTIONPATH_BAKE_NEEDS_RECALC = (1 << 0), */ /* UNUSED */
149 /* Bake the path in camera space. */
151};
153
171
172/* PoseChannel (transform) flags. */
173enum ePchan_Flag : short {
174 /* (1 << 0) to (1 << 3) used to be flags to determine if a type of channel
175 * should be modified by pose sliding.
176 * This has been moved to the `SlideSubject` struct in Blender 5.2. */
177
178 /* old IK/cache stuff
179 * - used to be here from (1 << 3) to (1 << 8)
180 * but has been repurposed since 2.77.2
181 * as they haven't been used in over 10 years
182 */
183
201 POSE_SELECTED = (1 << 6),
213
214 /* IK/Pose solving */
215 POSE_CHAIN = (1 << 9),
216 POSE_DONE = (1 << 10),
217 /* POSE_KEY = (1 << 11) */ /* UNUSED */
218 /* POSE_STRIDE = (1 << 12), */ /* UNUSED */
219 /* standard IK solving */
220 POSE_IKTREE = (1 << 13),
221#if 0
222 /* has Spline IK */
223 POSE_HAS_IKS = (1 << 14),
224#endif
225 /* spline IK solving */
226 POSE_IKSPLINE = static_cast<short>(1 << 15),
227};
229
230/* PoseChannel constflag (constraint detection) */
231enum ePchan_ConstFlag : char {
232 PCHAN_HAS_IK = (1 << 0), /* Has IK constraint. */
233 PCHAN_HAS_CONST = (1 << 1), /* Has any constraint. */
234 /* PCHAN_HAS_ACTION = (1 << 2), */ /* UNUSED */
235 PCHAN_HAS_NO_TARGET = (1 << 3), /* Has (spline) IK constraint but no target is set. */
236 /* PCHAN_HAS_STRIDE = (1 << 4), */ /* UNUSED */
237 PCHAN_HAS_SPLINEIK = (1 << 5), /* Has Spline IK constraint. */
238 PCHAN_INFLUENCED_BY_IK = (1 << 6), /* Is part of a (non-spline) IK chain. */
239};
241
242/* PoseChannel->ikflag */
243enum ePchan_IkFlag : short {
244 BONE_IK_NO_XDOF = (1 << 0),
245 BONE_IK_NO_YDOF = (1 << 1),
246 BONE_IK_NO_ZDOF = (1 << 2),
247
248 BONE_IK_XLIMIT = (1 << 3),
249 BONE_IK_YLIMIT = (1 << 4),
250 BONE_IK_ZLIMIT = (1 << 5),
251
252 BONE_IK_ROTCTL = (1 << 6),
253 BONE_IK_LINCTL = (1 << 7),
254
258};
260
261/* PoseChannel->drawflag */
267
268/* NOTE: It doesn't take custom_scale_xyz into account. */
269#define PCHAN_CUSTOM_BONE_LENGTH(pchanbone) \
270 (((pchanbone).pchan->drawflag & PCHAN_DRAW_NO_CUSTOM_BONE_SIZE) ? 1.0f : \
271 (pchanbone).bone->length)
272
273#ifdef DNA_DEPRECATED_ALLOW
274/* PoseChannel->bboneflag */
275enum ePchan_BBoneFlag : char {
276 /* Use custom reference bones (for roll and handle alignment), instead of immediate neighbors */
277 PCHAN_BBONE_CUSTOM_HANDLES = (1 << 1),
278 /* Evaluate start handle as being "relative" */
279 PCHAN_BBONE_CUSTOM_START_REL = (1 << 2),
280 /* Evaluate end handle as being "relative" */
281 PCHAN_BBONE_CUSTOM_END_REL = (1 << 3),
282};
283#endif
284
285/* PoseChannel->rotmode and Object->rotmode */
286enum eRotationModes : short {
287 /* quaternion rotations (default, and for older Blender versions) */
289 /* euler rotations - keep in sync with enum in BLI_math_rotation_c.hh */
298 /* NOTE: space is reserved here for 18 other possible
299 * euler rotation orders not implemented
300 */
301 /* axis angle rotations */
303
304 ROT_MODE_MIN = ROT_MODE_AXISANGLE, /* sentinel for Py API */
306};
307
308/* Pose->flag */
309enum ePose_Flags : short {
310 /* results in BKE_pose_rebuild being called */
311 POSE_RECALC = (1 << 0),
312 /* pose has constraints which depend on time (used when depsgraph updates for a new frame) */
314 /* recalculate bone paths */
315 /* POSE_RECALCPATHS = (1 << 4), */ /* UNUSED */
316 /* set by BKE_pose_rebuild to give a chance to the IK solver to rebuild IK tree */
318 POSE_FLAG_DEPRECATED = (1 << 6), /* deprecated. */
319 /* pose constraint flags needs to be updated */
321 /* Use auto IK in pose mode */
322 POSE_AUTO_IK = (1 << 8),
323 /* Use x-axis mirror in pose mode */
325 /* Use relative mirroring in mirror mode */
327};
329
330/* bPose->iksolver and bPose->ikparam->iksolver */
335
336/* bItasc->flag */
349
350/* bItasc->solver */
351enum eItasc_Solver : short {
352 ITASC_SOLVER_SDLS = 0, /* selective damped least square, suitable for CopyPose constraint */
353 ITASC_SOLVER_DLS = 1, /* damped least square with numerical filtering of damping */
354};
355
356/* Action Group flags */
358 /* group is selected */
359 AGRP_SELECTED = (1 << 0),
360 /* group is 'active' / last selected one */
361 AGRP_ACTIVE = (1 << 1),
362 /* keyframes/channels belonging to it cannot be edited */
363 AGRP_PROTECTED = (1 << 2),
364 /* for UI (DopeSheet), sub-channels are shown */
365 AGRP_EXPANDED = (1 << 3),
366 /* sub-channels are not evaluated */
367 AGRP_MUTED = (1 << 4),
368 /* sub-channels are not visible in Graph Editor */
369 AGRP_NOTVISIBLE = (1 << 5),
370 /* for UI (Graph Editor), sub-channels are shown */
371 AGRP_EXPANDED_G = (1 << 6),
372
373 /* sub channel modifiers off */
375
378
379 AGRP_TEMP = (1 << 30),
380 AGRP_MOVED = (1u << 31),
381};
383
384
385enum eAction_Flags : int {
386 /* flags for displaying in UI */
387 ACT_COLLAPSED = (1 << 0),
388 ACT_SELECTED = (1 << 1),
389
390 /* flags for evaluation/editing */
391 ACT_MUTED = (1 << 9),
392 /* ACT_PROTECTED = (1 << 10), */ /* UNUSED */
393 /* ACT_DISABLED = (1 << 11), */ /* UNUSED */
395 ACT_FRAME_RANGE = (1 << 12),
397 ACT_CYCLIC = (1 << 13),
398};
400
403 /* general filtering */
406
407 /* temporary filters */
414
415 /* general filtering */
418
424
425 /* datatype-based filtering */
431 ADS_FILTER_NOCAM = (1 << 10),
432 ADS_FILTER_NOMAT = (1 << 11),
433 ADS_FILTER_NOLAM = (1 << 12),
434 ADS_FILTER_NOCUR = (1 << 13),
435 ADS_FILTER_NOWOR = (1 << 14),
436 ADS_FILTER_NOSCE = (1 << 15),
437 ADS_FILTER_NOPART = (1 << 16),
438 ADS_FILTER_NOMBA = (1 << 17),
439 ADS_FILTER_NOARM = (1 << 18),
441 ADS_FILTER_NOTEX = (1 << 20),
442 ADS_FILTER_NOSPK = (1 << 21),
446 /* NOTE: all new datablock filters will have to go in filterflag2 (see below) */
447
448 /* NLA-specific filters */
451
452 /* general filtering 3 */
457
458#if 0
460 ADS_FILTER_NOOBDATA = (ADS_FILTER_NOCAM | ADS_FILTER_NOMAT | ADS_FILTER_NOLAM |
463#endif
464};
466
467/* DopeSheet filter-flags - Overflow (filterflag2) */
481
482/* DopeSheet general flags */
498
504
505/* SpaceAction flag */
506enum eSAction_Flag : short {
507 /* during transform (only set for TimeSlide) */
508 SACTION_MOVING = (1 << 0),
509 /* show sliders */
510 SACTION_SLIDERS = (1 << 1),
511 /* draw time in seconds instead of time in frames */
513 /* don't filter action channels according to visibility */
514 // SACTION_NOHIDE = (1 << 3), /* Deprecated, old animation systems. */
515 /* don't kill overlapping keyframes after transform */
517 /* don't include keyframes that are out of view */
518 // SACTION_HORIZOPTIMISEON = (1 << 5), /* Deprecated, old irrelevant trick. */
519 /* show pose-markers (local to action) in Action Editor mode. */
521 /* don't draw action channels using group colors (where applicable) */
522 /* SACTION_NODRAWGCOLORS = (1 << 7), DEPRECATED */
523 /* SACTION_NODRAWCFRANUM = (1 << 8), DEPRECATED */
524 /* don't perform realtime updates */
526 /* move markers as well as keyframes */
528 /* show interpolation type */
530 /* show extremes */
532 /* show markers region */
534};
536
543
561
562/* Old snapping enum that is only needed because of the versioning code. */
564 /* snap to 1.0 frame/second intervals */
565 SACTSNAP_STEP = 1,
566 /* snap to actual frames/seconds (nla-action time) */
568 /* snap to nearest marker */
570 /* snap to actual seconds (nla-action time) */
572 /* snap to 1.0 second increments */
574};
575
576/* SAction->cache_display */
589
590/* ************************************************ */
591/* Visualization */
592
593/* Motion Paths ------------------------------------ */
594/* (used for Pose Channels and Objects) */
595
596
599 float co[3] = {};
602};
603
604/* ........ */
605
606/* Motion Path data cache (mpath)
607 * - for elements providing transforms (i.e. Objects or PoseChannels)
608 */
613 int length = 0;
614
616 int start_frame = 0;
618 int end_frame = 0;
619
621 float color[3] = {};
622 float color_post[3] = {};
627
628 char _pad2[4] = {};
629 /* Used for drawing. */
631 gpu::Batch *batch_line = nullptr;
632 gpu::Batch *batch_points = nullptr;
634};
635
636/* Visualization General --------------------------- */
637/* for Objects or Poses (but NOT PoseChannels) */
638
639/* Animation Visualization Settings (avs) */
641 /* General Settings ------------------------ */
643
644 /* Motion Path Settings ------------------- */
647 short path_step = 0;
649
652 char _pad[4] = {};
653
655 int path_sf = 1, path_ef = 250;
657 int path_bc = 10, path_ac = 10;
658};
659
660/* runtime */
661#
662#
664 float solid_color[4] = {};
665 float wire_color[4] = {};
666
668 /* keep last */
669 float bbone_matrix[0][4][4] = {};
670};
671
672struct DualQuat;
673struct Mat4;
674
675/* Describes a plane in pose space that delimits B-Bone segments. */
677 /* Boundary data in pose space. */
678 float point[3] = {};
679 float plane_normal[3] = {};
680 /* Dot product of point and plane_normal to speed up distance computation. */
681 float plane_offset = 0;
682
688 float depth_scale = 0;
689};
690
691static constexpr int64_t BONE_INDEX_UNKNOWN = -1;
694
696
697 /* Cached dual quaternion for deformation. */
699
700 /* B-Bone shape data: copy of the segment count for validation. */
702
703 /* Inverse of the total length of the segment polyline. */
706 char _pad1[3] = {};
707
708 /* Rest and posed matrices for segments. */
709 struct Mat4 *bbone_rest_mats = nullptr;
710 struct Mat4 *bbone_pose_mats = nullptr;
711
712 /* Delta from rest to pose in matrix and DualQuat form. */
713 struct Mat4 *bbone_deform_mats = nullptr;
714 struct DualQuat *bbone_dual_quats = nullptr;
715
716 /* Segment boundaries for curved mode. */
718 void *_pad = nullptr;
719};
720
721/* ************************************************ */
722/* Poses */
723
724/* PoseChannel ------------------------------------ */
725
734
735 struct bPoseChannel *next = nullptr, *prev = nullptr;
736
741 IDProperty *prop = nullptr;
742
751
753 ListBaseT<struct bConstraint> constraints = {nullptr, nullptr};
754 char name[/*MAXBONENAME*/ 64] = "";
755
761 short protectflag = 0;
763 short agrp_index = 0;
773 char _pad0[4] = {};
774
776 struct bPoseChannel *parent = nullptr;
778 struct bPoseChannel *child = nullptr;
779
781 ListBaseT<struct PoseTree> iktree = {nullptr, nullptr};
783 ListBaseT<struct tSplineIK_Tree> siktree = {nullptr, nullptr};
784
786 bMotionPath *mpath = nullptr;
793 struct Object *custom = nullptr;
800 struct bPoseChannel *custom_tx = nullptr;
801 float custom_scale = 0; /* Deprecated */
802 float custom_scale_xyz[3] = {1.0f, 1.0f, 1.0f};
803 float custom_translation[3] = {0.0f, 0.0f, 0.0f};
806
808 float loc[3] = {};
809 float scale[3] = {1.0f, 1.0f, 1.0f};
810
816 float eul[3] = {};
818 float quat[4] = {1.0f, 0.0f, 0.0f};
820 float rotAxis[3] = {}, rotAngle = 0;
823 char _pad[6] = {};
824
831 float chan_mat[4][4] = {};
835 float pose_mat[4][4] = {};
837 float disp_mat[4][4] = {};
839 float disp_tail_mat[4][4] = {};
844 float constinv[4][4] = {};
845
847 float pose_head[3] = {};
849 float pose_tail[3] = {};
850
852 float limitmin[3] = {}, limitmax[3] = {};
854 float stiffness[3] = {};
855 float ikstretch = 0;
857 float ikrotweight = 0;
859 float iklinweight = 0;
860
865 float roll1 = 0, roll2 = 0;
866 float curve_in_x = 0, curve_in_z = 0;
867 float curve_out_x = 0, curve_out_z = 0;
868 float ease1 = 0, ease2 = 0;
873 float scale_in[3] = {1.0f, 1.0f, 1.0f};
874 float scale_out[3] = {1.0f, 1.0f, 1.0f};
875
878 struct bPoseChannel *bbone_prev = nullptr;
879 struct bPoseChannel *bbone_next = nullptr;
880
882 void *temp = nullptr;
885
887 struct bPoseChannel *orig_pchan = nullptr;
888
889 BoneColor color; /* MUST be named the same as in Bone and EditBone structs. */
890
893
894#ifdef __cplusplus
900 const Bone *bone_get(const Object &owner) const;
901 Bone *bone_get(Object &owner);
902
911 const Bone *bone_get(const bArmature &armature) const;
912 Bone *bone_get(bArmature &armature);
913#endif
914};
915
916/* Pose ------------------------------------ */
917
918/* Pose-Object.
919 *
920 * It is only found under ob->pose. It is not library data, even
921 * though there is a define for it (hack for the outliner).
922 */
923struct bPose {
925 ListBaseT<bPoseChannel> chanbase = {nullptr, nullptr};
926
928 char _pad[2] = {};
929
931 float ctime = 0;
933 float stride_offset[3] = {};
935 float cyclic_offset[3] = {};
936
938 ListBaseT<struct bActionGroup> agroups = {nullptr, nullptr};
939
945 bItasc *ikparam = nullptr;
946
949
952};
953
954/* IK Solvers ------------------------------------ */
955
956/* header for all bPose->ikparam structures */
960
961/* bPose->ikparam when bPose->iksolver=1 */
962struct bItasc {
964 float precision = 0;
965 short numiter = 0;
966 short numstep = 0;
967 float minstep = 0;
968 float maxstep = 0;
971 float feedback = 0;
973 float maxvel = 0;
975 float dampmax = 0;
977 float dampeps = 0;
978};
979
980/* ************************************************ */
981/* Action */
982
983/* Groups -------------------------------------- */
984
1002 struct bActionGroup *next = nullptr, *prev = nullptr;
1003
1010 ListBaseT<FCurve> channels = {nullptr, nullptr};
1011
1026
1033 struct ActionChannelbag *channelbag = nullptr;
1034
1041 int customCol = 0;
1043 char name[64] = "";
1044
1047
1048#ifdef __cplusplus
1050 const animrig::ChannelGroup &wrap() const;
1051#endif
1052};
1053
1054/* Actions -------------------------------------- */
1055
1061struct bAction {
1062#ifdef __cplusplus
1064 static constexpr ID_Type id_type = ID_AC;
1065#endif
1066
1069
1071 struct ActionLayer **layer_array = nullptr;
1073 int layer_active_index = 0; /* Index into layer_array, -1 means 'no active'. */
1074
1076 struct ActionSlot **slot_array = nullptr;
1079
1080 /* Storage for the underlying data of strips. Each strip type has its own
1081 * array, and strips reference this data with an enum indicating the strip
1082 * type and an int containing the index in the array to use.
1083 *
1084 * NOTE: when adding new strip data arrays, also update `duplicate_slot()`. */
1087
1088 char _pad0[4] = {};
1089
1090 /* Note about legacy animation data:
1091 *
1092 * Blender 2.5 introduced a new animation system 'Animato'. This replaced the
1093 * IPO ('interpolation') curves with F-Curves. Both are considered 'legacy' at
1094 * different levels:
1095 *
1096 * - Actions with F-Curves in `curves`, as introduced in Blender 2.5, are
1097 * considered 'legacy' but still functional in current Blender.
1098 * - Pre-2.5 data are deprecated and old files are automatically converted to
1099 * the post-2.5 data model.
1100 */
1101
1103 ListBaseT<FCurve> curves = {nullptr, nullptr};
1105 ListBaseT<bActionGroup> groups = {nullptr, nullptr};
1106
1108 ListBaseT<struct TimeMarker> markers = {nullptr, nullptr};
1109
1114
1119 int idroot = 0;
1120 char _pad1[4] = {};
1121
1126 float frame_start = 0, frame_end = 0;
1127
1129
1130#ifdef __cplusplus
1132 const animrig::Action &wrap() const;
1133#endif
1134};
1135
1136/* ************************************************ */
1137/* Action/Dope-sheet Editor */
1138
1142 ID *source = nullptr; /* XXX not used! */
1144 ListBase chanbase = {nullptr, nullptr};
1145
1147 struct Collection *filter_grp = nullptr;
1149 char searchstr[64] = "";
1150
1156
1159};
1160
1165
1170
1171/* Action Editor Space. This is defined here instead of in DNA_space_types.h */
1174
1175 struct SpaceLink *next = nullptr, *prev = nullptr;
1177 ListBaseT<struct ARegion> regionbase = {nullptr, nullptr};
1178 char spacetype = 0;
1179 char link_flag = 0;
1180 char _pad0[6] = {};
1181 /* End 'SpaceLink' header. */
1182
1185
1188
1191
1193 float timeslide = 0;
1194
1196 /* Editing context */
1198 /* Storage for sub-space types. */
1199 char mode_prev = 0;
1200 /* Snapping now lives on the Scene. */
1202 char _pad1 = {};
1204 char _pad2[4] = {};
1205
1207
1209};
1210
1211/* ************************************************ */
1212/* Layered Animation data-types. */
1213
1219 char name[/*MAX_NAME*/ 64] = "";
1220
1221 float influence = 1.0f; /* [0-1] */
1222
1225
1228
1230
1235 struct ActionStrip **strip_array = nullptr; /* Array of 'strip_array_num' strips. */
1237
1239
1240#ifdef __cplusplus
1242 const animrig::Layer &wrap() const;
1243#endif
1244};
1245
1263 char identifier[/*MAX_ID_NAME*/ 258] = "";
1264
1271
1290
1294
1297
1298#ifdef __cplusplus
1300 const animrig::Slot &wrap() const;
1301#endif
1302};
1303
1313
1323 int data_index = -1;
1324
1325 float frame_start = -INFINITY;
1326 float frame_end = INFINITY;
1327
1335 float frame_offset = 0;
1336
1338
1339#ifdef __cplusplus
1341 const animrig::Strip &wrap() const;
1342#endif
1343};
1344
1353
1354 uint8_t _pad[4] = {};
1355
1356#ifdef __cplusplus
1358 const animrig::StripKeyframeData &wrap() const;
1359#endif
1360};
1361
1367
1368 /* Channel groups. These index into the `fcurve_array` below to specify group
1369 * membership of the fcurves.
1370 *
1371 * Note that although the fcurves also have pointers back to the groups they
1372 * belong to, those pointers are not the source of truth. The source of truth
1373 * for membership is the information in the channel groups here.
1374 *
1375 * Invariants:
1376 * 1. The groups are sorted by their `fcurve_range_start` field. In other
1377 * words, they are in the same order as their starting positions in the
1378 * fcurve array.
1379 * 2. The grouped fcurves are tightly packed, starting at the first fcurve and
1380 * having no gaps of ungrouped fcurves between them. Ungrouped fcurves come
1381 * at the end, after all of the grouped fcurves. */
1383 struct bActionGroup **group_array = nullptr;
1384
1385 uint8_t _pad[4] = {};
1386
1388 struct FCurve **fcurve_array = nullptr; /* Array of 'fcurve_array_num' FCurves. */
1389
1390 /* TODO: Design & implement a way to integrate other channel types as well,
1391 * and still have them map to a certain slot */
1392#ifdef __cplusplus
1394 const animrig::Channelbag &wrap() const;
1395#endif
1396};
1397
1398#ifdef __cplusplus
1399/* Some static assertions that things that should have the same type actually do. */
1400static_assert(std::is_same_v<decltype(ActionSlot::handle), decltype(bAction::last_slot_handle)>);
1401static_assert(
1402 std::is_same_v<decltype(ActionSlot::handle), decltype(ActionChannelbag::slot_handle)>);
1403#endif
1404
1405} // namespace blender
#define ENUM_OPERATORS(_enum_type)
ID and Library types, which are fundamental for SDNA.
#define DNA_DEFAULT_ACTION_LAST_SLOT_HANDLE
#define DNA_DEFINE_CXX_METHODS(class_name)
Definition DNA_defs.h:104
#define DNA_DEPRECATED
Definition DNA_defs.h:21
These structs are the foundation for all linked lists in the library system.
ENUM_OPERATORS(Layer::Flags)
BLI_INLINE Texture * wrap(MTLTexture *texture)
BMesh Iterators.
@ AGRP_CURVES_ALWAYS_VISIBLE
__int64 int64_t
Definition BKE_text.h:90
@ POSE_CONSTRAINTS_NEED_UPDATE_FLAGS
@ POSE_CONSTRAINTS_TIMEDEPEND
@ ADS_FLAG_SHOW_DBFILTERS
@ ADS_FLAG_SUMMARY_COLLAPSED
static constexpr int64_t BONE_INDEX_UNKNOWN
@ MOTIONPATH_FLAG_BAKE_CAMERA
@ MOTIONPATH_FLAG_BHEAD
@ MOTIONPATH_FLAG_CUSTOM
@ MOTIONPATH_FLAG_LINES
@ ADS_FILTER_ONLY_SLOTS_OF_ACTIVE
@ ADS_OVERLAY_SHOW_OVERLAYS
@ ADS_SHOW_SCENE_STRIP_FRAME_RANGE
@ TIME_CACHE_DYNAMICPAINT
@ TIME_CACHE_SIMULATION_NODES
unsigned short uint16_t
Definition BKE_text.h:80
unsigned int uint32_t
Definition BKE_text.h:81
enum DNA_DEPRECATED SACTSNAP_SECOND
unsigned char uint8_t
Definition BKE_text.h:79
float[4][4] Mat4
Definition gpu_matrix.cc:29
enum DNA_DEPRECATED SACTSNAP_FRAME
@ ITASC_INITIAL_REITERATION
@ ITASC_TRANSLATE_ROOT_BONES
enum DNA_DEPRECATED eAnimEdit_AutoSnap
enum DNA_DEPRECATED SACTSNAP_TSTEP
@ ADS_FILTER_NOCACHEFILES
@ ADS_FILTER_NOLIGHTPROBE
@ ADS_FILTER_NOMOVIECLIPS
@ ADS_FILTER_NOPOINTCLOUD
@ ADS_FILTER_DRIVER_FALLBACK_AS_ERROR
@ MOTIONPATH_VERT_EVALUATED
@ MOTIONPATH_RANGE_KEYS_ALL
@ MOTIONPATH_RANGE_MANUAL
@ MOTIONPATH_RANGE_KEYS_SELECTED
@ POSE_TRANSFORM_AROUND_CUSTOM_TX
@ POSE_TRANSFORM_AT_CUSTOM_TX
@ PCHAN_DRAW_NO_CUSTOM_BONE_SIZE
signed int int32_t
Definition BKE_text.h:78
@ SACTION_NOREALTIMEUPDATES
@ SACTION_SHOW_INTERPOLATION
@ SACTION_POSEMARKERS_SHOW
@ SACTION_RUNTIME_FLAG_NEED_CHAN_SYNC
enum DNA_DEPRECATED SACTSNAP_MARKER
@ MOTIONPATH_BAKE_CAMERA_SPACE
@ MOTIONPATH_BAKE_HAS_PATHS
@ POSE_RUNTIME_IN_SELECTION_AREA
@ POSE_RUNTIME_HINGE_CHILD_TRANSFORM
@ POSE_RUNTIME_TRANSFORM_CHILD
signed char int8_t
Definition BKE_text.h:76
signed short int16_t
Definition BKE_text.h:77
struct bActionGroup ** group_array
struct ActionStrip ** strip_array
animrig::SlotRuntime * runtime
struct ActionChannelbag ** channelbag_array
SpaceActionOverlays_Flag flag
struct SpaceLink * prev
SpaceActionOverlays overlays
DNA_DEPRECATED View2D v2d
DNA_DEPRECATED char autosnap
DNA_DEPRECATED bAction * action
eAnimEdit_Context mode
SpaceAction_Runtime runtime
struct SpaceLink * next
ListBaseT< struct ARegion > regionbase
eTimeline_Cache_Flag cache_display
struct bActionGroup * next
ListBaseT< FCurve > channels
struct ActionChannelbag * channelbag
struct bActionGroup * prev
struct ActionSlot ** slot_array
PreviewImage * preview
struct ActionStripKeyframeData ** strip_keyframe_data_array
ListBaseT< bActionGroup > groups
ListBaseT< struct TimeMarker > markers
struct ActionLayer ** layer_array
eMotionPath_Ranges path_range
eMotionPath_BakeFlag path_bakeflag
eMotionPaths_ViewFlag path_viewflag
eMotionPaths_Types path_type
eAnimViz_RecalcFlags recalc
eDopeSheet_FilterFlag2 filterflag2
eDopeSheet_FilterFlag filterflag
struct Collection * filter_grp
ePose_IKSolverType iksolver
ePose_IKSolverType iksolver
eItasc_Solver solver
eMotionPathVert_Flag flag
bke::motionpath::Runtime * runtime
eMotionPath_Flag flag
bMotionPathVert * points
gpu::VertBuf * points_vbo
bPoseChannelRuntimeFlag flag
struct bPoseChannel_BBoneSegmentBoundary * bbone_segment_boundaries
struct bPoseChannel * prev
struct bPoseChannel_Runtime runtime
struct bPoseChannel * parent
DNA_DEPRECATED float scale_out_x
ListBaseT< struct PoseTree > iktree
bPoseChannelDrawData * draw_data
DNA_DEPRECATED float scale_in_x
struct bPoseChannel * child
ListBaseT< struct bConstraint > constraints
DNA_DEPRECATED float scale_out_z
struct bPoseChannel * custom_tx
DNA_DEPRECATED char selectflag
DNA_DEPRECATED char bboneflag
DNA_DEPRECATED float scale_in_z
struct bPoseChannel * next
struct bPoseChannel * bbone_next
ePchan_ConstFlag constflag
ListBaseT< struct tSplineIK_Tree > siktree
struct bPoseChannel * orig_pchan
struct bPoseChannel * bbone_prev
bke::bPoseRuntime * runtime
bAnimVizSettings avs
ePose_IKSolverType iksolver
ListBaseT< bPoseChannel > chanbase
ListBaseT< struct bActionGroup > agroups