|
Blender V5.3
|
#include "BKE_nla.hh"#include "BKE_action.hh"#include "BLI_enum_flags.hh"#include "BLI_sys_types.hh"#include "DNA_listBase.h"#include "DNA_screen_types.h"#include "DNA_space_types.h"#include <optional>Go to the source code of this file.
Classes | |
| struct | blender::MPathTarget |
| struct | blender::bAnimContext |
| struct | blender::bAnimListElem |
| struct | blender::bAnimChannelType |
| class | blender::SortedFCurveBuffer |
Namespaces | |
| namespace | blender |
| BMesh Iterators. | |
| namespace | blender::ui |
| namespace | blender::ed |
| namespace | blender::animrig |
| namespace | blender::ed::motionpath |
Macros | |
Flag Checking Macros | |
| #define | SEL_SCEC(sce) |
| #define | EXPANDED_SCEC(sce) |
| #define | FILTER_WOR_SCED(wo) |
| #define | FILTER_LS_SCED(linestyle) |
| #define | SEL_OBJC(base) |
| #define | EXPANDED_OBJC(ob) |
| #define | FILTER_SKE_OBJD(key) |
| #define | FILTER_MAT_OBJD(ma) |
| #define | FILTER_LAM_OBJD(la) |
| #define | FILTER_CAM_OBJD(ca) |
| #define | FILTER_CACHEFILE_OBJD(cf) |
| #define | FILTER_CUR_OBJD(cu) |
| #define | FILTER_PART_OBJD(part) |
| #define | FILTER_MBALL_OBJD(mb) |
| #define | FILTER_ARM_OBJD(arm) |
| #define | FILTER_MESH_OBJD(me) |
| #define | FILTER_LATTICE_OBJD(lt) |
| #define | FILTER_SPK_OBJD(spk) |
| #define | FILTER_CURVES_OBJD(ha) |
| #define | FILTER_POINTS_OBJD(pt) |
| #define | FILTER_VOLUME_OBJD(vo) |
| #define | FILTER_LIGHTPROBE_OBJD(probe) |
| #define | FILTER_NTREE_DATA(ntree) |
| #define | FILTER_TEX_DATA(tex) |
| #define | SEL_ACTC(actc) |
| #define | EXPANDED_ACTC(actc) |
| #define | EXPANDED_DRVD(adt) |
| #define | EXPANDED_ADT(adt) |
| #define | EDITABLE_AGRP(agrp) |
| #define | EXPANDED_AGRP(ac, agrp) |
| #define | SEL_AGRP(agrp) |
| #define | EDITABLE_FCU(fcu) |
| #define | SEL_FCU(fcu) |
| #define | EDITABLE_SHAPEKEY(kb) |
| #define | SEL_SHAPEKEY(kb) |
| #define | EXPANDED_GPD(gpd) |
| #define | EDITABLE_GPL(gpl) |
| #define | SEL_GPL(gpl) |
| #define | EXPANDED_MASK(mask) |
| #define | EDITABLE_MASK(masklay) |
| #define | SEL_MASKLAY(masklay) |
| #define | SEL_NLT(nlt) |
| #define | EDITABLE_NLT(nlt) |
| #define | EXPANDED_MCLIP(clip) |
| #define | EXPANDED_PALETTE(palette) |
| #define | SEL_ANIMDATA(adt) |
NLA Track Defines | |
| #define | NLATRACK_FIRST_TOP(ac) |
| #define | NLATRACK_HEIGHT(snla) |
| #define | NLATRACK_SKIP (0.1f * U.widget_unit) |
| #define | NLATRACK_STEP(snla) |
| #define | NLATRACK_TOT_HEIGHT(ac, item_amount) |
| #define | NLATRACK_NAMEWIDTH (10 * U.widget_unit) |
Utility Macros | |
| #define | ACHANNEL_SET_FLAG(channel, smode, sflag) |
| #define | ACHANNEL_SET_FLAG_NEG(channel, smode, sflag) |
Typedefs | |
F-Curve Buffers & Rotation Conversion | |
| using | blender::RNAFCurveMap = Map<std::string, SortedFCurveBuffer> |
| using | blender::ChannelbagFCurveMap = Map<animrig::Channelbag *, RNAFCurveMap> |
Filtering | |
| enum | blender::eAnimFilter_Flags { blender::ANIMFILTER_DATA_VISIBLE = (1 << 0) , blender::ANIMFILTER_LIST_VISIBLE = (1 << 1) , blender::ANIMFILTER_CURVE_VISIBLE = (1 << 2) , blender::ANIMFILTER_LIST_CHANNELS = (1 << 3) , blender::ANIMFILTER_ACTIVE = (1 << 4) , blender::ANIMFILTER_ACTGROUPED = (1 << 5) , blender::ANIMFILTER_SEL = (1 << 6) , blender::ANIMFILTER_UNSEL = (1 << 7) , blender::ANIMFILTER_FOREDIT = (1 << 8) , blender::ANIMFILTER_SELEDIT = (1 << 9) , blender::ANIMFILTER_ANIMDATA = (1 << 10) , blender::ANIMFILTER_NODUPLIS = (1 << 11) , blender::ANIMFILTER_FCURVESONLY = (1 << 12) , blender::ANIMFILTER_TMP_PEEK = (1 << 30) , blender::ANIMFILTER_TMP_IGNORE_ONLYSEL = (1u << 31) } |
| blender::ENUM_OPERATORS (eAnimFilter_Flags) | |
UI Panel Drawing | |
F-Modifier tools. | |
| using | blender::PanelTypePollFn = bool (*)(const bContext *C, PanelType *pt) |
| using | blender::uiListPanelIDFromDataFunc = void (*)(void *data_link, char *r_idname) |
| bool | blender::ANIM_nla_context_track_ptr (const bContext *C, PointerRNA *r_ptr) |
| bool | blender::ANIM_nla_context_strip_ptr (const bContext *C, PointerRNA *r_ptr) |
| NlaTrack * | blender::ANIM_nla_context_track (const bContext *C) |
| NlaStrip * | blender::ANIM_nla_context_strip (const bContext *C) |
| FCurve * | blender::ANIM_graph_context_fcurve (const bContext *C) |
| #define ACHANNEL_SET_FLAG | ( | channel, | |
| smode, | |||
| sflag ) |
Set/Clear/Toggle macro.
| channel | Channel with a 'flag' member that we're setting. |
| smode | 0=clear, 1=set, 2=invert. |
| sflag | bit-flag to set. |
Definition at line 1152 of file ED_anim_api.hh.
Referenced by blender::anim_channels_select_set(), blender::ANIM_set_active_channel(), blender::box_select_anim_channels(), blender::box_select_nla_strips(), blender::deselect_nla_strips(), blender::mouse_nla_strips(), and blender::nlaedit_select_leftright().
| #define ACHANNEL_SET_FLAG_NEG | ( | channel, | |
| smode, | |||
| sflag ) |
Set/Clear/Toggle macro, where the flag is negative.
| channel | channel with a 'flag' member that we're setting. |
| smode | 0=clear, 1=set, 2=invert. |
| sflag | Bit-flag to set. |
Definition at line 1172 of file ED_anim_api.hh.
| #define ANIM_UPDATE_DEFAULT (ANIM_UPDATE_DEPS | ANIM_UPDATE_ORDER | ANIM_UPDATE_HANDLES) |
Definition at line 299 of file ED_anim_api.hh.
Referenced by blender::ANIM_animdata_keyframe_callback(), blender::apply_fcu_segment_function(), blender::blend_to_default_graph_keys(), blender::btw_smooth_graph_keys(), blender::btw_smooth_modal_update(), blender::clean_action_keys(), blender::clean_graph_keys(), blender::decimate_graph_keys(), blender::delete_action_keys(), blender::delete_graph_keys(), blender::duplicate_action_keys(), blender::duplicate_graph_keys(), blender::ease_graph_keys(), blender::equalize_graph_keys(), blender::euler_filter_group_channels(), blender::gaussian_smooth_graph_keys(), blender::gaussian_smooth_modal_update(), blender::graphkeys_smooth_exec(), blender::insert_graph_keys(), blender::insert_nla_curve_key(), blender::match_slope_graph_keys(), blender::mirror_action_keys(), blender::mirror_graph_keys(), blender::paste_animedit_keys(), blender::scale_from_neighbor_graph_keys(), blender::setexpo_action_keys(), blender::sethandles_action_keys(), blender::sethandles_graph_keys(), blender::shear_graph_keys(), blender::snap_action_keys(), and blender::snap_graph_keys().
| #define ANIM_UPDATE_DEFAULT_NOHANDLES (ANIM_UPDATE_DEFAULT & ~ANIM_UPDATE_HANDLES) |
Definition at line 300 of file ED_anim_api.hh.
Referenced by blender::seteasing_graph_keys(), and blender::setipo_graph_keys().
| #define EDITABLE_AGRP | ( | agrp | ) |
Action Channel Group.
Definition at line 503 of file ED_anim_api.hh.
Referenced by blender::animfilter_act_group().
| #define EDITABLE_FCU | ( | fcu | ) |
F-Curve Channels.
Definition at line 509 of file ED_anim_api.hh.
Referenced by blender::animfilter_fcurve_next().
| #define EDITABLE_GPL | ( | gpl | ) |
Grease Pencil Layer settings.
Definition at line 520 of file ED_anim_api.hh.
Referenced by blender::animdata_filter_gpencil_layers_data_legacy().
| #define EDITABLE_MASK | ( | masklay | ) |
Grease Pencil Layer settings.
Definition at line 526 of file ED_anim_api.hh.
Referenced by blender::animdata_filter_mask_data().
| #define EDITABLE_NLT | ( | nlt | ) |
Definition at line 531 of file ED_anim_api.hh.
Referenced by blender::animfilter_nla().
| #define EDITABLE_SHAPEKEY | ( | kb | ) |
Definition at line 513 of file ED_anim_api.hh.
Referenced by blender::animdata_filter_shapekey().
| #define EXPANDED_ACTC | ( | actc | ) |
Definition at line 496 of file ED_anim_api.hh.
Referenced by blender::animdata_filter_ds_obanim(), and blender::animdata_filter_ds_scene().
| #define EXPANDED_ADT | ( | adt | ) |
Definition at line 499 of file ED_anim_api.hh.
Referenced by blender::animdata_filter_ds_obanim(), and blender::animdata_filter_ds_scene().
| #define EXPANDED_AGRP | ( | ac, | |
| agrp ) |
Definition at line 504 of file ED_anim_api.hh.
Referenced by blender::animfilter_act_group().
| #define EXPANDED_DRVD | ( | adt | ) |
Definition at line 498 of file ED_anim_api.hh.
Referenced by blender::animdata_filter_ds_obanim(), blender::animdata_filter_ds_scene(), and blender::rearrange_driver_channels().
| #define EXPANDED_GPD | ( | gpd | ) |
Grease Pencil data-block settings.
Definition at line 518 of file ED_anim_api.hh.
Referenced by blender::animdata_filter_ds_gpencil(), and blender::make_new_animlistelem().
| #define EXPANDED_MASK | ( | mask | ) |
Definition at line 524 of file ED_anim_api.hh.
Referenced by blender::animdata_filter_mask().
| #define EXPANDED_MCLIP | ( | clip | ) |
Definition at line 534 of file ED_anim_api.hh.
Referenced by blender::animdata_filter_ds_movieclip(), and blender::make_new_animlistelem().
| #define EXPANDED_OBJC | ( | ob | ) |
Definition at line 467 of file ED_anim_api.hh.
Referenced by blender::animdata_filter_dopesheet_ob().
| #define EXPANDED_PALETTE | ( | palette | ) |
Definition at line 537 of file ED_anim_api.hh.
| #define EXPANDED_SCEC | ( | sce | ) |
Definition at line 461 of file ED_anim_api.hh.
Referenced by blender::animdata_filter_dopesheet_scene().
| #define FILTER_ARM_OBJD | ( | arm | ) |
Definition at line 480 of file ED_anim_api.hh.
Referenced by blender::animdata_filter_ds_obdata(), and blender::make_new_animlistelem().
| #define FILTER_CACHEFILE_OBJD | ( | cf | ) |
Definition at line 474 of file ED_anim_api.hh.
Referenced by blender::animdata_filter_ds_cachefile(), and blender::make_new_animlistelem().
| #define FILTER_CAM_OBJD | ( | ca | ) |
Definition at line 473 of file ED_anim_api.hh.
Referenced by blender::animdata_filter_ds_obdata(), and blender::make_new_animlistelem().
| #define FILTER_CUR_OBJD | ( | cu | ) |
Definition at line 476 of file ED_anim_api.hh.
Referenced by blender::animdata_filter_ds_obdata(), and blender::make_new_animlistelem().
| #define FILTER_CURVES_OBJD | ( | ha | ) |
Definition at line 484 of file ED_anim_api.hh.
Referenced by blender::animdata_filter_ds_obdata(), and blender::make_new_animlistelem().
| #define FILTER_LAM_OBJD | ( | la | ) |
Definition at line 472 of file ED_anim_api.hh.
Referenced by blender::animdata_filter_ds_obdata(), and blender::make_new_animlistelem().
| #define FILTER_LATTICE_OBJD | ( | lt | ) |
Definition at line 482 of file ED_anim_api.hh.
Referenced by blender::animdata_filter_ds_obdata(), and blender::make_new_animlistelem().
| #define FILTER_LIGHTPROBE_OBJD | ( | probe | ) |
Definition at line 487 of file ED_anim_api.hh.
Referenced by blender::animdata_filter_ds_obdata(), and blender::make_new_animlistelem().
| #define FILTER_LS_SCED | ( | linestyle | ) |
Definition at line 464 of file ED_anim_api.hh.
Referenced by blender::animdata_filter_ds_linestyle(), and blender::make_new_animlistelem().
| #define FILTER_MAT_OBJD | ( | ma | ) |
Definition at line 471 of file ED_anim_api.hh.
Referenced by blender::animdata_filter_ds_material(), and blender::make_new_animlistelem().
| #define FILTER_MBALL_OBJD | ( | mb | ) |
Definition at line 479 of file ED_anim_api.hh.
Referenced by blender::animdata_filter_ds_obdata().
| #define FILTER_MESH_OBJD | ( | me | ) |
Definition at line 481 of file ED_anim_api.hh.
Referenced by blender::animdata_filter_ds_obdata(), and blender::make_new_animlistelem().
| #define FILTER_NTREE_DATA | ( | ntree | ) |
Definition at line 490 of file ED_anim_api.hh.
Referenced by blender::animdata_filter_ds_nodetree_group(), and blender::make_new_animlistelem().
| #define FILTER_PART_OBJD | ( | part | ) |
Definition at line 477 of file ED_anim_api.hh.
Referenced by blender::animdata_filter_ds_particles(), and blender::make_new_animlistelem().
| #define FILTER_POINTS_OBJD | ( | pt | ) |
Definition at line 485 of file ED_anim_api.hh.
Referenced by blender::animdata_filter_ds_obdata(), and blender::make_new_animlistelem().
| #define FILTER_SKE_OBJD | ( | key | ) |
Definition at line 470 of file ED_anim_api.hh.
Referenced by blender::animdata_filter_ds_keyanim(), and blender::make_new_animlistelem().
| #define FILTER_SPK_OBJD | ( | spk | ) |
Definition at line 483 of file ED_anim_api.hh.
Referenced by blender::animdata_filter_ds_obdata(), and blender::make_new_animlistelem().
| #define FILTER_TEX_DATA | ( | tex | ) |
Definition at line 492 of file ED_anim_api.hh.
Referenced by blender::animdata_filter_ds_texture(), and blender::make_new_animlistelem().
| #define FILTER_VOLUME_OBJD | ( | vo | ) |
Definition at line 486 of file ED_anim_api.hh.
Referenced by blender::animdata_filter_ds_obdata(), and blender::make_new_animlistelem().
| #define FILTER_WOR_SCED | ( | wo | ) |
Definition at line 463 of file ED_anim_api.hh.
Referenced by blender::animdata_filter_ds_world(), and blender::make_new_animlistelem().
| #define NLATRACK_FIRST_TOP | ( | ac | ) |
NLA track heights
Definition at line 549 of file ED_anim_api.hh.
Referenced by blender::animchannels_channel_get(), blender::box_select_anim_channels(), blender::box_select_nla_strips(), blender::draw_nla_main_data(), blender::draw_nla_track_list(), blender::nla_tracks_get_selected_extents(), blender::nlaedit_strip_at_region_position(), and blender::nlatracks_mouseclick_invoke().
| #define NLATRACK_HEIGHT | ( | snla | ) |
Definition at line 551 of file ED_anim_api.hh.
Referenced by blender::box_select_nla_strips(), blender::draw_nla_main_data(), blender::draw_nla_track_list(), and blender::nla_tracks_get_selected_extents().
| #define NLATRACK_NAMEWIDTH (10 * U.widget_unit) |
Track widths
Definition at line 561 of file ED_anim_api.hh.
Referenced by blender::animchannels_channel_get(), and blender::nlatracks_mouseclick_invoke().
| #define NLATRACK_SKIP (0.1f * U.widget_unit) |
Definition at line 554 of file ED_anim_api.hh.
Referenced by blender::acf_nlaaction_backdrop(), blender::ANIM_channel_draw(), and blender::draw_nla_main_data().
| #define NLATRACK_STEP | ( | snla | ) |
Definition at line 555 of file ED_anim_api.hh.
Referenced by blender::animchannels_channel_get(), blender::box_select_anim_channels(), blender::box_select_nla_strips(), blender::ed::transform::createTransNlaData(), blender::draw_nla_main_data(), blender::draw_nla_track_list(), blender::nla_track_region_draw(), blender::nla_tracks_get_selected_extents(), blender::nlaedit_strip_at_region_position(), blender::nlatracks_mouseclick_invoke(), and blender::ed::transform::recalcData_nla().
| #define NLATRACK_TOT_HEIGHT | ( | ac, | |
| item_amount ) |
Additional offset to give some room at the end.
Definition at line 557 of file ED_anim_api.hh.
Referenced by blender::draw_nla_main_data(), and blender::nla_track_region_draw().
| #define SEL_ACTC | ( | actc | ) |
Definition at line 495 of file ED_anim_api.hh.
| #define SEL_AGRP | ( | agrp | ) |
Definition at line 507 of file ED_anim_api.hh.
Referenced by blender::animfilter_act_group(), blender::rearrange_animchannel_add_to_islands(), blender::rearrange_layered_action_channel_groups(), and blender::rearrange_layered_action_fcurves().
| #define SEL_ANIMDATA | ( | adt | ) |
Definition at line 540 of file ED_anim_api.hh.
Referenced by blender::animdata_filter_shapekey(), and blender::animfilter_block_data().
| #define SEL_FCU | ( | fcu | ) |
Definition at line 510 of file ED_anim_api.hh.
Referenced by blender::animfilter_fcurve_next(), blender::rearrange_animchannel_add_to_islands(), and blender::rearrange_layered_action_fcurves().
| #define SEL_GPL | ( | gpl | ) |
Definition at line 521 of file ED_anim_api.hh.
Referenced by blender::animdata_filter_gpencil_layers_data_legacy(), and blender::rearrange_animchannel_add_to_islands().
| #define SEL_MASKLAY | ( | masklay | ) |
Definition at line 527 of file ED_anim_api.hh.
Referenced by blender::animdata_filter_mask_data().
| #define SEL_NLT | ( | nlt | ) |
Definition at line 530 of file ED_anim_api.hh.
Referenced by blender::animfilter_nla(), and blender::rearrange_animchannel_add_to_islands().
| #define SEL_OBJC | ( | base | ) |
Definition at line 466 of file ED_anim_api.hh.
| #define SEL_SCEC | ( | sce | ) |
Definition at line 460 of file ED_anim_api.hh.
| #define SEL_SHAPEKEY | ( | kb | ) |
Definition at line 514 of file ED_anim_api.hh.
Referenced by blender::animdata_filter_shapekey().