|
Blender V5.0
|
#include "ED_keyframes_edit.hh"Go to the source code of this file.
| Enumerator | |
|---|---|
| GRAPHKEYS_KEYHANDLESSEL_SELECT | |
| GRAPHKEYS_KEYHANDLESSEL_DESELECT | |
| GRAPHKEYS_KEYHANDLESSEL_KEEP | |
Definition at line 80 of file graph_intern.hh.
| Enumerator | |
|---|---|
| GRAPHKEYS_COLUMNSEL_KEYS | |
| GRAPHKEYS_COLUMNSEL_CFRA | |
| GRAPHKEYS_COLUMNSEL_MARKERS_COLUMN | |
| GRAPHKEYS_COLUMNSEL_MARKERS_BETWEEN | |
Definition at line 88 of file graph_intern.hh.
| Enumerator | |
|---|---|
| GRAPHKEYS_EQUALIZE_LEFT | |
| GRAPHKEYS_EQUALIZE_RIGHT | |
| GRAPHKEYS_EQUALIZE_BOTH | |
Definition at line 173 of file graph_intern.hh.
| Enumerator | |
|---|---|
| GRAPHKEYS_LRSEL_TEST | |
| GRAPHKEYS_LRSEL_LEFT | |
| GRAPHKEYS_LRSEL_RIGHT | |
Definition at line 73 of file graph_intern.hh.
| Enumerator | |
|---|---|
| GRAPHKEYS_MIRROR_CFRA | |
| GRAPHKEYS_MIRROR_YAXIS | |
| GRAPHKEYS_MIRROR_XAXIS | |
| GRAPHKEYS_MIRROR_MARKER | |
| GRAPHKEYS_MIRROR_VALUE | |
Definition at line 182 of file graph_intern.hh.
| enum eGraphKeys_Snap_Mode |
| Enumerator | |
|---|---|
| GRAPHKEYS_SNAP_CFRA | |
| GRAPHKEYS_SNAP_NEAREST_FRAME | |
| GRAPHKEYS_SNAP_NEAREST_SECOND | |
| GRAPHKEYS_SNAP_NEAREST_MARKER | |
| GRAPHKEYS_SNAP_HORIZONTAL | |
| GRAPHKEYS_SNAP_VALUE | |
Definition at line 161 of file graph_intern.hh.
| void deselect_graph_keys | ( | bAnimContext * | ac, |
| bool | test, | ||
| eEditKeyframes_Select | sel, | ||
| bool | do_channels ) |
Deselects keyframes in the Graph Editor
Definition at line 351 of file graph_select.cc.
References ANIM_animdata_filter(), ANIM_animdata_freelist(), ANIM_editkeyframes_ok(), ANIM_editkeyframes_select(), ANIM_fcurve_keyframes_loop(), ANIMFILTER_CURVE_VISIBLE, ANIMFILTER_DATA_VISIBLE, ANIMFILTER_FCURVESONLY, ANIMFILTER_NODUPLIS, BEZT_OK_SELECTED, bAnimContext::data, bAnimContext::datatype, FCURVE_ACTIVE, FCURVE_SELECTED, filter, FCurve::flag, LISTBASE_FOREACH, SELECT_SUBTRACT, U, and USER_ANIM_ONLY_SHOW_SELECTED_CURVE_KEYS.
Referenced by graph_circle_select_exec(), graphkeys_box_select_exec(), graphkeys_click_insert_exec(), graphkeys_deselectall_exec(), graphkeys_lassoselect_exec(), graphkeys_mselect_column(), graphkeys_select_leftright(), and mouse_graph_keys().
| bAnimListElem * get_active_fcurve_channel | ( | bAnimContext * | ac | ) |
Find 'active' F-Curve. It must be editable, since that's the purpose of these buttons (subject to change). We return the 'wrapper' since it contains valuable context info (about hierarchy), which will need to be freed when the caller is done with it.
Definition at line 81 of file graph_utils.cc.
References ANIM_animdata_filter(), ANIM_animdata_freelist(), ANIMFILTER_ACTIVE, ANIMFILTER_DATA_VISIBLE, ANIMFILTER_FCURVESONLY, ANIMFILTER_FOREDIT, BLI_remlink(), bAnimContext::data, bAnimContext::datatype, filter, and ListBase::first.
Referenced by graph_fmodifier_copy_exec(), graph_panel_context(), graphkeys_click_insert_exec(), graphkeys_deselectall_exec(), and graphop_active_fcurve_poll().
| void get_graph_keyframe_extents | ( | bAnimContext * | ac, |
| float * | xmin, | ||
| float * | xmax, | ||
| float * | ymin, | ||
| float * | ymax, | ||
| bool | do_sel_only, | ||
| bool | include_handles ) |
Get the min/max keyframes.
Definition at line 43 of file graph_view.cc.
References ANIM_animdata_filter(), ANIM_animdata_freelist(), ANIM_get_normalization_flags(), ANIM_nla_tweakedit_remap(), ANIM_unit_mapping_get_factor(), ANIMFILTER_CURVE_VISIBLE, ANIMFILTER_DATA_VISIBLE, ANIMFILTER_FCURVESONLY, ANIMFILTER_NODUPLIS, ANIMFILTER_SEL, BKE_fcurve_calc_bounds(), bounds(), bAnimContext::data, bAnimContext::datatype, fabsf, filter, ListBase::first, float, Scene::id, LISTBASE_FOREACH, NLATIME_CONVERT_MAP, PEFRA, PSFRA, bAnimContext::scene, bAnimContext::sl, U, and USER_ANIM_ONLY_SHOW_SELECTED_CURVE_KEYS.
Referenced by graph_main_region_draw(), graphkeys_previewrange_exec(), and graphkeys_viewall().
| void graph_buttons_register | ( | ARegionType * | art | ) |
Definition at line 1450 of file graph_buttons.cc.
References ANIM_modifier_panels_register_graph_and_NLA(), ANIM_modifier_panels_register_graph_only(), BLI_addtail(), BLT_I18NCONTEXT_DEFAULT_BPYRNA, PanelType::category, PanelType::draw, PanelType::draw_header, PanelType::flag, GRAPH_FMODIFIER_PANEL_PREFIX, graph_panel_cursor(), graph_panel_cursor_header(), graph_panel_driven_property(), graph_panel_drivers(), graph_panel_drivers_header(), graph_panel_drivers_poll(), graph_panel_drivers_popover(), graph_panel_drivers_popover_poll(), graph_panel_key_properties(), graph_panel_modifiers(), graph_panel_poll(), graph_panel_properties(), PanelType::idname, PanelType::label, MEM_callocN(), N_, PANEL_TYPE_NO_HEADER, ARegionType::paneltypes, PanelType::poll, STRNCPY_UTF8, PanelType::translation_context, and WM_paneltype_add().
Referenced by ED_spacetype_ipo().
| void graph_draw_channel_names | ( | bContext * | C, |
| bAnimContext * | ac, | ||
| ARegion * | region, | ||
| const ListBase & | anim_data ) |
Left hand part.
Definition at line 1519 of file graph_draw.cc.
References ANIM_channel_draw(), ANIM_channel_draw_widgets(), ANIM_UI_get_channel_height(), ANIM_UI_get_channel_step(), ANIM_UI_get_first_channel_top(), BLI_rctf_init(), C, View2D::cur, blender::ui::Emboss, ListBase::first, GPU_blend(), GPU_BLEND_ALPHA, GPU_BLEND_NONE, IN_RANGE, bAnimListElem::next, UI_block_begin(), UI_block_draw(), UI_block_end(), ARegion::v2d, V2D_SCROLL_WIDTH, rctf::xmax, rctf::ymax, and rctf::ymin.
Referenced by graph_channel_region_draw().
| void graph_draw_curves | ( | bAnimContext * | ac, |
| SpaceGraph * | sipo, | ||
| ARegion * | region, | ||
| short | sel ) |
This is called twice from space_graph.cc, graph_main_region_draw() Unselected then selected F-Curves are drawn so that they do not occlude each other.
Definition at line 1478 of file graph_draw.cc.
References ANIM_animdata_filter(), ANIM_animdata_freelist(), ANIMFILTER_CURVE_VISIBLE, ANIMFILTER_DATA_VISIBLE, ANIMFILTER_FCURVESONLY, ANIMFILTER_SEL, ANIMFILTER_UNSEL, bAnimContext::data, bAnimContext::datatype, draw_fcurve(), FCURVE_ACTIVE, filter, FCurve::flag, and LISTBASE_FOREACH.
Referenced by graph_main_region_draw().
| void graph_draw_ghost_curves | ( | bAnimContext * | ac, |
| SpaceGraph * | sipo, | ||
| ARegion * | region ) |
Draw the 'ghost' F-Curves (i.e. snapshots of the curve)
Definition at line 1430 of file graph_draw.cc.
References draw_fcurve_curve_samples(), SpaceGraph_Runtime::ghost_curves, GPU_blend(), GPU_BLEND_ALPHA, GPU_BLEND_NONE, GPU_line_smooth(), GPU_line_width(), GPU_SHADER_3D_LINE_DASHED_UNIFORM_COLOR, GPU_vertformat_attr_add(), GPU_viewport_size_get_f(), immBindBuiltinProgram(), immUnbindProgram(), immUniform1f(), immUniform1i(), immUniform2f(), immUniformColor3fvAlpha(), immVertexFormat(), LISTBASE_FOREACH, SpaceGraph::runtime, U, UI_SCALE_FAC, USER_ANIM_HIGH_QUALITY_DRAWING, and ARegion::v2d.
Referenced by graph_main_region_draw().
| void GRAPH_OT_bake_keys | ( | wmOperatorType * | ot | ) |
Definition at line 1381 of file graph_edit.cc.
References graphkeys_bake_exec(), graphop_editable_keyframes_poll(), OPTYPE_REGISTER, OPTYPE_UNDO, and ot.
Referenced by graphedit_operatortypes().
| void GRAPH_OT_blend_offset | ( | wmOperatorType * | ot | ) |
Definition at line 1171 of file graph_slider_ops.cc.
References blend_offset_exec(), blend_offset_invoke(), FLT_MAX, graph_slider_modal(), graphop_editable_keyframes_poll(), OPTYPE_BLOCKING, OPTYPE_GRAB_CURSOR_X, OPTYPE_REGISTER, OPTYPE_UNDO, ot, and RNA_def_float_factor().
Referenced by graphedit_operatortypes().
| void GRAPH_OT_blend_to_default | ( | wmOperatorType * | ot | ) |
Definition at line 892 of file graph_slider_ops.cc.
References blend_to_default_exec(), blend_to_default_invoke(), FLT_MAX, graph_slider_modal(), graphop_editable_keyframes_poll(), OPTYPE_BLOCKING, OPTYPE_GRAB_CURSOR_X, OPTYPE_REGISTER, OPTYPE_UNDO, ot, and RNA_def_float_factor().
Referenced by graphedit_operatortypes().
| void GRAPH_OT_blend_to_ease | ( | wmOperatorType * | ot | ) |
Definition at line 1265 of file graph_slider_ops.cc.
References blend_to_ease_exec(), blend_to_ease_invoke(), FLT_MAX, graph_slider_modal(), graphop_editable_keyframes_poll(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, and RNA_def_float_factor().
Referenced by graphedit_operatortypes().
| void GRAPH_OT_blend_to_neighbor | ( | wmOperatorType * | ot | ) |
Definition at line 699 of file graph_slider_ops.cc.
References blend_to_neighbor_exec(), blend_to_neighbor_invoke(), FLT_MAX, graph_slider_modal(), graphop_editable_keyframes_poll(), OPTYPE_BLOCKING, OPTYPE_GRAB_CURSOR_X, OPTYPE_REGISTER, OPTYPE_UNDO, ot, and RNA_def_float_factor().
Referenced by graphedit_operatortypes().
| void GRAPH_OT_breakdown | ( | wmOperatorType * | ot | ) |
Definition at line 786 of file graph_slider_ops.cc.
References breakdown_exec(), breakdown_invoke(), FLT_MAX, graph_slider_modal(), graphop_editable_keyframes_poll(), OPTYPE_BLOCKING, OPTYPE_GRAB_CURSOR_X, OPTYPE_REGISTER, OPTYPE_UNDO, ot, and RNA_def_float_factor().
Referenced by graphedit_operatortypes().
| void GRAPH_OT_butterworth_smooth | ( | wmOperatorType * | ot | ) |
Definition at line 2251 of file graph_slider_ops.cc.
References btw_smooth_exec(), btw_smooth_invoke(), FLT_MAX, graph_slider_modal(), graphop_editable_keyframes_poll(), OPTYPE_BLOCKING, OPTYPE_GRAB_CURSOR_X, OPTYPE_REGISTER, OPTYPE_UNDO, ot, RNA_def_float(), RNA_def_float_factor(), and RNA_def_int().
Referenced by graphedit_operatortypes().
| void GRAPH_OT_clean | ( | wmOperatorType * | ot | ) |
Definition at line 904 of file graph_edit.cc.
References FLT_MAX, graphkeys_clean_exec(), graphop_editable_keyframes_poll(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, RNA_def_boolean(), and RNA_def_float().
Referenced by graphedit_operatortypes().
| void GRAPH_OT_click_insert | ( | wmOperatorType * | ot | ) |
Definition at line 418 of file graph_edit.cc.
References FLT_MAX, graphkeys_click_insert_exec(), graphkeys_click_insert_invoke(), graphop_active_fcurve_poll(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, PROP_SKIP_SAVE, RNA_def_boolean(), RNA_def_float(), and RNA_def_property_flag().
Referenced by graphedit_operatortypes().
| void GRAPH_OT_clickselect | ( | wmOperatorType * | ot | ) |
Definition at line 2004 of file graph_select.cc.
References graphkeys_clickselect_exec(), graphop_visible_keyframes_poll(), OPTYPE_UNDO, ot, PROP_SKIP_SAVE, RNA_def_boolean(), RNA_def_property_flag(), WM_generic_select_invoke(), WM_generic_select_modal(), and WM_operator_properties_generic_select().
Referenced by graphedit_operatortypes().
| void GRAPH_OT_copy | ( | wmOperatorType * | ot | ) |
Definition at line 558 of file graph_edit.cc.
References graphkeys_copy_exec(), graphop_editable_keyframes_poll(), OPTYPE_REGISTER, OPTYPE_UNDO, and ot.
Referenced by graphedit_operatortypes().
| void GRAPH_OT_decimate | ( | wmOperatorType * | ot | ) |
Definition at line 590 of file graph_slider_ops.cc.
References DECIM_RATIO, decimate_exec(), decimate_get_description(), decimate_invoke(), decimate_mode_items, decimate_poll_property(), FLT_MAX, graph_slider_modal(), graphop_editable_keyframes_poll(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, RNA_def_enum(), RNA_def_float(), and RNA_def_float_factor().
Referenced by graphedit_operatortypes().
| void GRAPH_OT_delete | ( | wmOperatorType * | ot | ) |
Definition at line 830 of file graph_edit.cc.
References graphkeys_delete_exec(), graphkeys_delete_invoke(), graphop_editable_keyframes_poll(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, and WM_operator_properties_confirm_or_exec().
Referenced by graphedit_operatortypes().
| void GRAPH_OT_driver_delete_invalid | ( | wmOperatorType * | ot | ) |
Definition at line 3283 of file graph_edit.cc.
References graph_driver_delete_invalid_exec(), graph_driver_delete_invalid_poll(), OPTYPE_REGISTER, OPTYPE_UNDO, and ot.
Referenced by graphedit_operatortypes().
| void GRAPH_OT_driver_variables_copy | ( | wmOperatorType * | ot | ) |
Definition at line 3132 of file graph_edit.cc.
References graph_driver_vars_copy_exec(), graphop_active_editable_fcurve_ctx_poll(), OPTYPE_REGISTER, OPTYPE_UNDO, and ot.
Referenced by graphedit_operatortypes().
| void GRAPH_OT_driver_variables_paste | ( | wmOperatorType * | ot | ) |
Definition at line 3180 of file graph_edit.cc.
References graph_driver_vars_paste_exec(), graphop_active_editable_fcurve_ctx_poll(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, and RNA_def_boolean().
Referenced by graphedit_operatortypes().
| void GRAPH_OT_duplicate | ( | wmOperatorType * | ot | ) |
Definition at line 724 of file graph_edit.cc.
References graphkeys_duplicate_exec(), graphop_editable_keyframes_poll(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, RNA_def_enum(), rna_enum_transform_mode_type_items, and blender::ed::transform::TFM_TRANSLATION.
Referenced by graphedit_operatortypes().
| void GRAPH_OT_ease | ( | wmOperatorType * | ot | ) |
Definition at line 1068 of file graph_slider_ops.cc.
References ease_exec(), ease_invoke(), ease_modal(), FLT_MAX, graphop_editable_keyframes_poll(), OPTYPE_BLOCKING, OPTYPE_GRAB_CURSOR_X, OPTYPE_REGISTER, OPTYPE_UNDO, ot, RNA_def_float(), and RNA_def_float_factor().
Referenced by graphedit_operatortypes().
| void GRAPH_OT_easing_type | ( | wmOperatorType * | ot | ) |
Definition at line 1668 of file graph_edit.cc.
References graphkeys_easing_exec(), graphop_editable_keyframes_poll(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, RNA_def_enum(), rna_enum_beztriple_interpolation_easing_items, and WM_menu_invoke().
Referenced by graphedit_operatortypes().
| void GRAPH_OT_equalize_handles | ( | wmOperatorType * | ot | ) |
Definition at line 2559 of file graph_edit.cc.
References FLT_MAX, graphkeys_equalize_handles_exec(), graphkeys_selected_control_points_invoke(), graphop_editable_keyframes_poll(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, prop_graphkeys_equalize_handles_sides, RNA_def_boolean(), RNA_def_enum(), and RNA_def_float().
Referenced by graphedit_operatortypes().
| void GRAPH_OT_euler_filter | ( | wmOperatorType * | ot | ) |
Definition at line 2095 of file graph_edit.cc.
References graphkeys_euler_filter_exec(), graphop_editable_keyframes_poll(), OPTYPE_REGISTER, OPTYPE_UNDO, and ot.
Referenced by graphedit_operatortypes().
| void GRAPH_OT_extrapolation_type | ( | wmOperatorType * | ot | ) |
Definition at line 1514 of file graph_edit.cc.
References graphkeys_expo_exec(), graphop_editable_keyframes_poll(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, prop_graphkeys_expo_types, RNA_def_enum(), and WM_menu_invoke().
Referenced by graphedit_operatortypes().
| void GRAPH_OT_fmodifier_add | ( | wmOperatorType * | ot | ) |
Definition at line 2918 of file graph_edit.cc.
References BLT_I18NCONTEXT_ID_ACTION, graph_fmodifier_add_exec(), graph_fmodifier_itemf(), graphop_selected_fcurve_poll(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, RNA_def_boolean(), RNA_def_enum(), RNA_def_enum_funcs(), RNA_def_property_translation_context(), rna_enum_fmodifier_type_items, and WM_menu_invoke().
Referenced by graphedit_operatortypes().
| void GRAPH_OT_fmodifier_copy | ( | wmOperatorType * | ot | ) |
Definition at line 2987 of file graph_edit.cc.
References graph_fmodifier_copy_exec(), graphop_active_fcurve_poll(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, and RNA_def_boolean().
Referenced by graphedit_operatortypes().
| void GRAPH_OT_fmodifier_paste | ( | wmOperatorType * | ot | ) |
Definition at line 3078 of file graph_edit.cc.
References graph_fmodifier_paste_exec(), graphop_active_fcurve_poll(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, and RNA_def_boolean().
Referenced by graphedit_operatortypes().
| void GRAPH_OT_frame_jump | ( | wmOperatorType * | ot | ) |
Definition at line 2221 of file graph_edit.cc.
References graphkeys_framejump_exec(), graphkeys_framejump_poll(), OPTYPE_REGISTER, OPTYPE_UNDO, and ot.
Referenced by graphedit_operatortypes().
| void GRAPH_OT_gaussian_smooth | ( | wmOperatorType * | ot | ) |
Definition at line 1986 of file graph_slider_ops.cc.
References FLT_MAX, gaussian_smooth_exec(), gaussian_smooth_invoke(), graph_slider_modal(), graphop_editable_keyframes_poll(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, RNA_def_float(), RNA_def_float_factor(), and RNA_def_int().
Referenced by graphedit_operatortypes().
| void GRAPH_OT_ghost_curves_clear | ( | wmOperatorType * | ot | ) |
Definition at line 528 of file graph_view.cc.
References ED_operator_graphedit_active(), graphkeys_clear_ghostcurves_exec(), OPTYPE_REGISTER, OPTYPE_UNDO, and ot.
Referenced by graphedit_operatortypes().
| void GRAPH_OT_ghost_curves_create | ( | wmOperatorType * | ot | ) |
Definition at line 478 of file graph_view.cc.
References graphkeys_create_ghostcurves_exec(), graphop_visible_keyframes_poll(), OPTYPE_REGISTER, OPTYPE_UNDO, and ot.
Referenced by graphedit_operatortypes().
| void GRAPH_OT_handle_type | ( | wmOperatorType * | ot | ) |
Definition at line 1753 of file graph_edit.cc.
References graphkeys_handletype_exec(), graphop_editable_keyframes_poll(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, RNA_def_enum(), rna_enum_keyframe_handle_type_items, and WM_menu_invoke().
Referenced by graphedit_operatortypes().
| void GRAPH_OT_interpolation_type | ( | wmOperatorType * | ot | ) |
Definition at line 1591 of file graph_edit.cc.
References BLT_I18NCONTEXT_ID_ACTION, graphkeys_ipo_exec(), graphop_editable_keyframes_poll(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, RNA_def_enum(), RNA_def_property_translation_context(), rna_enum_beztriple_interpolation_mode_items, and WM_menu_invoke().
Referenced by graphedit_operatortypes().
| void GRAPH_OT_keyframe_insert | ( | wmOperatorType * | ot | ) |
Definition at line 271 of file graph_edit.cc.
References graphkeys_insertkey_exec(), graphop_editable_keyframes_poll(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, prop_graphkeys_insertkey_types, RNA_def_enum(), and WM_menu_invoke().
Referenced by graphedit_operatortypes().
| void GRAPH_OT_keyframe_jump | ( | wmOperatorType * | ot | ) |
Definition at line 2244 of file graph_edit.cc.
References graphkeys_framejump_poll(), keyframe_jump_exec(), OPTYPE_UNDO_GROUPED, ot, and RNA_def_boolean().
Referenced by graphedit_operatortypes().
| void GRAPH_OT_keys_to_samples | ( | wmOperatorType * | ot | ) |
Definition at line 995 of file graph_edit.cc.
References graphkeys_keys_to_samples_exec(), graphop_selected_fcurve_poll(), OPTYPE_REGISTER, OPTYPE_UNDO, and ot.
Referenced by graphedit_operatortypes().
| void GRAPH_OT_match_slope | ( | wmOperatorType * | ot | ) |
Definition at line 1390 of file graph_slider_ops.cc.
References FLT_MAX, graph_slider_modal(), graphop_editable_keyframes_poll(), match_slope_exec(), match_slope_invoke(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, and RNA_def_float_factor().
Referenced by graphedit_operatortypes().
| void GRAPH_OT_mirror | ( | wmOperatorType * | ot | ) |
Definition at line 2742 of file graph_edit.cc.
References graphkeys_mirror_exec(), graphop_editable_keyframes_poll(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, prop_graphkeys_mirror_types, RNA_def_enum(), and WM_menu_invoke().
Referenced by graphedit_operatortypes().
| void GRAPH_OT_paste | ( | wmOperatorType * | ot | ) |
Definition at line 625 of file graph_edit.cc.
References graphkeys_paste_exec(), graphkeys_paste_get_description(), graphop_editable_keyframes_poll(), KEYFRAME_PASTE_MERGE_MIX, KEYFRAME_PASTE_OFFSET_CFRA_START, KEYFRAME_PASTE_VALUE_OFFSET_NONE, OPTYPE_REGISTER, OPTYPE_UNDO, ot, PROP_SKIP_SAVE, RNA_def_boolean(), RNA_def_enum(), RNA_def_property_flag(), rna_enum_keyframe_paste_merge_items, rna_enum_keyframe_paste_offset_items, and rna_enum_keyframe_paste_offset_value_items.
Referenced by graphedit_operatortypes().
| void GRAPH_OT_previewrange_set | ( | wmOperatorType * | ot | ) |
Definition at line 216 of file graph_view.cc.
References ED_operator_graphedit_active(), graphkeys_previewrange_exec(), OPTYPE_REGISTER, OPTYPE_UNDO, and ot.
Referenced by graphedit_operatortypes().
| void GRAPH_OT_push_pull | ( | wmOperatorType * | ot | ) |
Definition at line 2378 of file graph_slider_ops.cc.
References FLT_MAX, graph_slider_modal(), graphop_editable_keyframes_poll(), OPTYPE_BLOCKING, OPTYPE_GRAB_CURSOR_X, OPTYPE_REGISTER, OPTYPE_UNDO, ot, push_pull_exec(), push_pull_invoke(), and RNA_def_float_factor().
Referenced by graphedit_operatortypes().
| void GRAPH_OT_samples_to_keys | ( | wmOperatorType * | ot | ) |
Definition at line 1071 of file graph_edit.cc.
References graphkeys_samples_to_keys_exec(), graphop_selected_fcurve_poll(), OPTYPE_REGISTER, OPTYPE_UNDO, and ot.
Referenced by graphedit_operatortypes().
| void GRAPH_OT_scale_average | ( | wmOperatorType * | ot | ) |
Definition at line 1747 of file graph_slider_ops.cc.
References FLT_MAX, graph_slider_modal(), graphop_editable_keyframes_poll(), OPTYPE_BLOCKING, OPTYPE_GRAB_CURSOR_X, OPTYPE_REGISTER, OPTYPE_UNDO, ot, RNA_def_float_factor(), scale_average_exec(), and scale_average_invoke().
Referenced by graphedit_operatortypes().
| void GRAPH_OT_scale_from_neighbor | ( | wmOperatorType * | ot | ) |
Definition at line 2550 of file graph_slider_ops.cc.
References FLT_MAX, graphop_editable_keyframes_poll(), LEFT, OPTYPE_BLOCKING, OPTYPE_GRAB_CURSOR_X, OPTYPE_REGISTER, OPTYPE_UNDO, ot, RNA_def_enum(), RNA_def_float_factor(), scale_anchor_items, scale_from_neighbor_exec(), scale_from_neighbor_invoke(), and scale_from_neighbor_modal().
Referenced by graphedit_operatortypes().
| void GRAPH_OT_select_all | ( | wmOperatorType * | ot | ) |
Definition at line 475 of file graph_select.cc.
References graphkeys_deselectall_exec(), graphop_visible_keyframes_poll(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, and WM_operator_properties_select_all().
Referenced by graphedit_operatortypes().
| void GRAPH_OT_select_box | ( | wmOperatorType * | ot | ) |
Definition at line 907 of file graph_select.cc.
References graphkeys_box_select_exec(), graphkeys_box_select_invoke(), graphop_visible_keyframes_poll(), OPTYPE_UNDO, ot, PROP_SKIP_SAVE, RNA_def_boolean(), RNA_def_property_flag(), WM_gesture_box_cancel(), WM_gesture_box_modal(), WM_operator_properties_gesture_box(), and WM_operator_properties_select_operation_simple().
Referenced by graphedit_operatortypes().
| void GRAPH_OT_select_circle | ( | wmOperatorType * | ot | ) |
Definition at line 1103 of file graph_select.cc.
References ED_select_circle_get_name(), graph_circle_select_exec(), graphop_visible_keyframes_poll(), OPTYPE_UNDO, ot, PROP_SKIP_SAVE, RNA_def_boolean(), RNA_def_property_flag(), WM_gesture_circle_cancel(), WM_gesture_circle_invoke(), WM_gesture_circle_modal(), WM_operator_properties_gesture_circle(), and WM_operator_properties_select_operation_simple().
Referenced by graphedit_operatortypes().
| void GRAPH_OT_select_column | ( | wmOperatorType * | ot | ) |
Definition at line 1318 of file graph_select.cc.
References graphkeys_columnselect_exec(), graphop_visible_keyframes_poll(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, prop_column_select_types, PROP_HIDDEN, RNA_def_enum(), and RNA_def_property_flag().
Referenced by graphedit_operatortypes().
| void GRAPH_OT_select_key_handles | ( | wmOperatorType * | ot | ) |
Definition at line 2172 of file graph_select.cc.
References GRAPHKEYS_KEYHANDLESSEL_KEEP, GRAPHKEYS_KEYHANDLESSEL_SELECT, graphkeys_select_key_handles_exec(), graphop_visible_keyframes_poll(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, prop_graphkeys_select_key_handles_actions, and RNA_def_enum().
Referenced by graphedit_operatortypes().
| void GRAPH_OT_select_lasso | ( | wmOperatorType * | ot | ) |
Definition at line 1004 of file graph_select.cc.
References graphkeys_lassoselect_exec(), graphop_visible_keyframes_poll(), OPTYPE_DEPENDS_ON_CURSOR, OPTYPE_UNDO, ot, PROP_SKIP_SAVE, RNA_def_boolean(), RNA_def_property_flag(), WM_gesture_lasso_cancel(), WM_gesture_lasso_invoke(), WM_gesture_lasso_modal(), WM_operator_properties_gesture_lasso(), and WM_operator_properties_select_operation_simple().
Referenced by graphedit_operatortypes().
| void GRAPH_OT_select_leftright | ( | wmOperatorType * | ot | ) |
Definition at line 1656 of file graph_select.cc.
References GRAPHKEYS_LRSEL_TEST, graphkeys_select_leftright_exec(), graphkeys_select_leftright_invoke(), graphop_visible_keyframes_poll(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, prop_graphkeys_leftright_select_types, PROP_SKIP_SAVE, RNA_def_boolean(), RNA_def_enum(), and RNA_def_property_flag().
Referenced by graphedit_operatortypes().
| void GRAPH_OT_select_less | ( | wmOperatorType * | ot | ) |
Definition at line 1502 of file graph_select.cc.
References graphkeys_select_less_exec(), graphop_visible_keyframes_poll(), OPTYPE_REGISTER, OPTYPE_UNDO, and ot.
Referenced by graphedit_operatortypes().
| void GRAPH_OT_select_linked | ( | wmOperatorType * | ot | ) |
Definition at line 1383 of file graph_select.cc.
References graphkeys_select_linked_exec(), graphop_visible_keyframes_poll(), OPTYPE_REGISTER, OPTYPE_UNDO, and ot.
Referenced by graphedit_operatortypes().
| void GRAPH_OT_select_more | ( | wmOperatorType * | ot | ) |
Definition at line 1467 of file graph_select.cc.
References graphkeys_select_more_exec(), graphop_visible_keyframes_poll(), OPTYPE_REGISTER, OPTYPE_UNDO, and ot.
Referenced by graphedit_operatortypes().
| void GRAPH_OT_shear | ( | wmOperatorType * | ot | ) |
Definition at line 1652 of file graph_slider_ops.cc.
References FLT_MAX, graphop_editable_keyframes_poll(), OPTYPE_BLOCKING, OPTYPE_GRAB_CURSOR_X, OPTYPE_REGISTER, OPTYPE_UNDO, ot, RNA_def_enum(), RNA_def_float_factor(), shear_direction_items, shear_exec(), SHEAR_FROM_LEFT, shear_invoke(), and shear_modal().
Referenced by graphedit_operatortypes().
| void GRAPH_OT_smooth | ( | wmOperatorType * | ot | ) |
Definition at line 2804 of file graph_edit.cc.
References graphkeys_smooth_exec(), graphop_editable_keyframes_poll(), OPTYPE_REGISTER, OPTYPE_UNDO, and ot.
Referenced by graphedit_operatortypes().
| void GRAPH_OT_snap | ( | wmOperatorType * | ot | ) |
Definition at line 2479 of file graph_edit.cc.
References graphkeys_selected_control_points_invoke(), graphkeys_snap_exec(), graphop_editable_keyframes_poll(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, prop_graphkeys_snap_types, and RNA_def_enum().
Referenced by graphedit_operatortypes().
| void GRAPH_OT_snap_cursor_value | ( | wmOperatorType * | ot | ) |
Definition at line 2285 of file graph_edit.cc.
References graphkeys_framejump_poll(), graphkeys_snap_cursor_value_exec(), OPTYPE_REGISTER, OPTYPE_UNDO, and ot.
Referenced by graphedit_operatortypes().
| void GRAPH_OT_sound_to_samples | ( | wmOperatorType * | ot | ) |
Definition at line 1230 of file graph_edit.cc.
References FILE_DEFAULTDISPLAY, FILE_OPENFILE, FILE_SORT_DEFAULT, FILE_SPECIAL, FILE_TYPE_FOLDER, FILE_TYPE_MOVIE, FILE_TYPE_SOUND, graphkeys_sound_to_samples_exec(), graphkeys_sound_to_samples_invoke(), graphop_selected_fcurve_poll(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, RNA_def_boolean(), RNA_def_float(), WM_FILESEL_FILEPATH, WM_FILESEL_SHOW_PROPS, and WM_operator_properties_filesel().
Referenced by graphedit_operatortypes().
| void GRAPH_OT_time_offset | ( | wmOperatorType * | ot | ) |
Definition at line 1484 of file graph_slider_ops.cc.
References FLT_MAX, graph_slider_modal(), graphop_editable_keyframes_poll(), OPTYPE_BLOCKING, OPTYPE_GRAB_CURSOR_X, OPTYPE_REGISTER, OPTYPE_UNDO, ot, RNA_def_float_factor(), time_offset_exec(), and time_offset_invoke().
Referenced by graphedit_operatortypes().
| void GRAPH_OT_view_all | ( | wmOperatorType * | ot | ) |
Definition at line 297 of file graph_view.cc.
References ED_operator_graphedit_active(), graphkeys_viewall_exec(), ot, and RNA_def_boolean().
Referenced by graphedit_operatortypes().
| void GRAPH_OT_view_frame | ( | wmOperatorType * | ot | ) |
Definition at line 356 of file graph_view.cc.
References ED_operator_graphedit_active(), graphkeys_view_frame_exec(), and ot.
Referenced by graphedit_operatortypes().
| void GRAPH_OT_view_selected | ( | wmOperatorType * | ot | ) |
Definition at line 320 of file graph_view.cc.
References ED_operator_graphedit_active(), graphkeys_view_selected_exec(), ot, and RNA_def_boolean().
Referenced by graphedit_operatortypes().
| void graphedit_keymap | ( | wmKeyConfig * | keyconf | ) |
Definition at line 527 of file graph_ops.cc.
References RGN_TYPE_WINDOW, SPACE_GRAPH, and WM_keymap_ensure().
Referenced by ED_spacetype_ipo().
| void graphedit_operatortypes | ( | ) |
Definition at line 423 of file graph_ops.cc.
References GRAPH_OT_bake_keys(), GRAPH_OT_blend_offset(), GRAPH_OT_blend_to_default(), GRAPH_OT_blend_to_ease(), GRAPH_OT_blend_to_neighbor(), GRAPH_OT_breakdown(), GRAPH_OT_butterworth_smooth(), GRAPH_OT_clean(), GRAPH_OT_click_insert(), GRAPH_OT_clickselect(), GRAPH_OT_copy(), GRAPH_OT_cursor_set(), GRAPH_OT_decimate(), GRAPH_OT_delete(), GRAPH_OT_driver_delete_invalid(), GRAPH_OT_driver_variables_copy(), GRAPH_OT_driver_variables_paste(), GRAPH_OT_duplicate(), GRAPH_OT_ease(), GRAPH_OT_easing_type(), GRAPH_OT_equalize_handles(), GRAPH_OT_euler_filter(), GRAPH_OT_extrapolation_type(), GRAPH_OT_fmodifier_add(), GRAPH_OT_fmodifier_copy(), GRAPH_OT_fmodifier_paste(), GRAPH_OT_frame_jump(), GRAPH_OT_gaussian_smooth(), GRAPH_OT_ghost_curves_clear(), GRAPH_OT_ghost_curves_create(), GRAPH_OT_handle_type(), GRAPH_OT_hide(), GRAPH_OT_interpolation_type(), GRAPH_OT_keyframe_insert(), GRAPH_OT_keyframe_jump(), GRAPH_OT_keys_to_samples(), GRAPH_OT_match_slope(), GRAPH_OT_mirror(), GRAPH_OT_paste(), GRAPH_OT_previewrange_set(), GRAPH_OT_push_pull(), GRAPH_OT_reveal(), GRAPH_OT_samples_to_keys(), GRAPH_OT_scale_average(), GRAPH_OT_scale_from_neighbor(), GRAPH_OT_select_all(), GRAPH_OT_select_box(), GRAPH_OT_select_circle(), GRAPH_OT_select_column(), GRAPH_OT_select_key_handles(), GRAPH_OT_select_lasso(), GRAPH_OT_select_leftright(), GRAPH_OT_select_less(), GRAPH_OT_select_linked(), GRAPH_OT_select_more(), GRAPH_OT_shear(), GRAPH_OT_smooth(), GRAPH_OT_snap(), GRAPH_OT_snap_cursor_value(), GRAPH_OT_sound_to_samples(), GRAPH_OT_time_offset(), GRAPH_OT_view_all(), GRAPH_OT_view_frame(), GRAPH_OT_view_selected(), and WM_operatortype_append().
Referenced by ED_spacetype_ipo().
| bool graphop_active_editable_fcurve_ctx_poll | ( | bContext * | C | ) |
Has active F-Curve in the context that's editable.
Definition at line 263 of file graph_utils.cc.
References C, CTX_data_pointer_get_type(), and ptr.
Referenced by GRAPH_OT_driver_variables_copy(), and GRAPH_OT_driver_variables_paste().
| bool graphop_active_fcurve_poll | ( | bContext * | C | ) |
Has active F-Curve that's editable.
Definition at line 220 of file graph_utils.cc.
References ANIM_animdata_get_context(), ANIMTYPE_FCURVE, ANIMTYPE_NLACURVE, C, CTX_wm_area(), bAnimListElem::data, ELEM, FCURVE_VISIBLE, FCurve::flag, get_active_fcurve_channel(), MEM_freeN(), SPACE_GRAPH, ScrArea::spacetype, and bAnimListElem::type.
Referenced by GRAPH_OT_click_insert(), GRAPH_OT_fmodifier_copy(), and GRAPH_OT_fmodifier_paste().
| bool graphop_editable_keyframes_poll | ( | bContext * | C | ) |
Check if there are any visible + editable keyframes (for editing tools).
Definition at line 164 of file graph_utils.cc.
References ANIM_animdata_filter(), ANIM_animdata_freelist(), ANIM_animdata_get_context(), ANIMFILTER_CURVE_VISIBLE, ANIMFILTER_DATA_VISIBLE, ANIMFILTER_FCURVESONLY, ANIMFILTER_FOREDIT, FCurve::bezt, BKE_fcurve_is_keyframable(), C, CTX_wm_area(), CTX_wm_operator_poll_msg_set(), bAnimContext::data, bAnimContext::datatype, ELEM, filter, FCurve::fpt, LISTBASE_FOREACH, SPACE_ACTION, SPACE_GRAPH, and ScrArea::spacetype.
Referenced by GRAPH_OT_bake_keys(), GRAPH_OT_blend_offset(), GRAPH_OT_blend_to_default(), GRAPH_OT_blend_to_ease(), GRAPH_OT_blend_to_neighbor(), GRAPH_OT_breakdown(), GRAPH_OT_butterworth_smooth(), GRAPH_OT_clean(), GRAPH_OT_copy(), GRAPH_OT_decimate(), GRAPH_OT_delete(), GRAPH_OT_duplicate(), GRAPH_OT_ease(), GRAPH_OT_easing_type(), GRAPH_OT_equalize_handles(), GRAPH_OT_euler_filter(), GRAPH_OT_extrapolation_type(), GRAPH_OT_gaussian_smooth(), GRAPH_OT_handle_type(), GRAPH_OT_interpolation_type(), GRAPH_OT_keyframe_insert(), GRAPH_OT_match_slope(), GRAPH_OT_mirror(), GRAPH_OT_paste(), GRAPH_OT_push_pull(), GRAPH_OT_scale_average(), GRAPH_OT_scale_from_neighbor(), GRAPH_OT_shear(), GRAPH_OT_smooth(), GRAPH_OT_snap(), and GRAPH_OT_time_offset().
| bool graphop_selected_fcurve_poll | ( | bContext * | C | ) |
Has selected F-Curve that's editable.
Definition at line 270 of file graph_utils.cc.
References ANIM_animdata_filter(), ANIM_animdata_freelist(), ANIM_animdata_get_context(), ANIMFILTER_DATA_VISIBLE, ANIMFILTER_FCURVESONLY, ANIMFILTER_FOREDIT, ANIMFILTER_SEL, C, CTX_wm_area(), bAnimContext::data, bAnimContext::datatype, filter, SPACE_GRAPH, and ScrArea::spacetype.
Referenced by GRAPH_OT_fmodifier_add(), GRAPH_OT_keys_to_samples(), GRAPH_OT_samples_to_keys(), and GRAPH_OT_sound_to_samples().
| bool graphop_visible_keyframes_poll | ( | bContext * | C | ) |
Check if there are any visible keyframes (for selection tools).
Definition at line 112 of file graph_utils.cc.
References ANIM_animdata_filter(), ANIM_animdata_freelist(), ANIM_animdata_get_context(), ANIMFILTER_CURVE_VISIBLE, ANIMFILTER_DATA_VISIBLE, ANIMFILTER_FCURVESONLY, FCurve::bezt, BKE_fcurve_are_keyframes_usable(), C, CTX_wm_area(), bAnimContext::data, bAnimContext::datatype, filter, LISTBASE_FOREACH, SPACE_GRAPH, and ScrArea::spacetype.
Referenced by GRAPH_OT_clickselect(), GRAPH_OT_ghost_curves_create(), GRAPH_OT_select_all(), GRAPH_OT_select_box(), GRAPH_OT_select_circle(), GRAPH_OT_select_column(), GRAPH_OT_select_key_handles(), GRAPH_OT_select_lasso(), GRAPH_OT_select_leftright(), GRAPH_OT_select_less(), GRAPH_OT_select_linked(), GRAPH_OT_select_more(), and graphkeys_framejump_poll().