Blender V4.3
graph_intern.hh
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: 2008 Blender Authors
2 *
3 * SPDX-License-Identifier: GPL-2.0-or-later */
4
9#pragma once
10
11#include "ED_keyframes_edit.hh"
12
13struct ARegion;
14struct ARegionType;
15struct SpaceGraph;
16struct bAnimContext;
17struct bAnimListElem;
18struct bContext;
19
20/* internal exports only */
21
22/* ***************************************** */
23/* `graph_draw.cc` */
24
29 bAnimContext *ac,
30 ARegion *region,
31 const ListBase /*bAnimListElem*/ &anim_data);
32
37void graph_draw_curves(bAnimContext *ac, SpaceGraph *sipo, ARegion *region, short sel);
43
44/* ***************************************** */
45/* `graph_select.cc` */
46
58void deselect_graph_keys(bAnimContext *ac, bool test, eEditKeyframes_Select sel, bool do_channels);
59
71
72/* defines for left-right select tool */
78
79/* Defines for key/handles selection. */
86
87/* defines for column-select mode */
94
95/* ***************************************** */
96/* `graph_edit.cc` */
97
103 float *xmin,
104 float *xmax,
105 float *ymin,
106 float *ymax,
107 bool do_sel_only,
108 bool include_handles);
109
114
117
120
145
150
157
158/* defines for snap keyframes
159 * NOTE: keep in sync with eEditKeyframes_Snap (in ED_keyframes_edit.hh)
160 */
169
170/* Defines for equalize keyframe handles.
171 * NOTE: Keep in sync with eEditKeyframes_Equalize (in ED_keyframes_edit.hh).
172 */
178
179/* defines for mirror keyframes
180 * NOTE: keep in sync with eEditKeyframes_Mirror (in ED_keyframes_edit.hh)
181 */
189
190/* ----------- */
191
195
196/* ----------- */
197
201
202/* ----------- */
203
206
207/* ***************************************** */
208/* `graph_buttons.cc` */
209
211
212/* ***************************************** */
213/* `graph_utils.cc` */
214
225
246
247/* ***************************************** */
248/* `graph_ops.cc` */
249
250void graphedit_keymap(wmKeyConfig *keyconf);
eEditKeyframes_Select
void GRAPH_OT_delete(wmOperatorType *ot)
eGraphKeys_ColumnSelect_Mode
@ GRAPHKEYS_COLUMNSEL_MARKERS_BETWEEN
@ GRAPHKEYS_COLUMNSEL_KEYS
@ GRAPHKEYS_COLUMNSEL_MARKERS_COLUMN
@ GRAPHKEYS_COLUMNSEL_CFRA
void GRAPH_OT_butterworth_smooth(wmOperatorType *ot)
bool graphop_visible_keyframes_poll(bContext *C)
void GRAPH_OT_click_insert(wmOperatorType *ot)
void GRAPH_OT_fmodifier_paste(wmOperatorType *ot)
void GRAPH_OT_smooth(wmOperatorType *ot)
void GRAPH_OT_select_box(wmOperatorType *ot)
void GRAPH_OT_select_column(wmOperatorType *ot)
void graphedit_operatortypes()
Definition graph_ops.cc:420
void GRAPH_OT_time_offset(wmOperatorType *ot)
void GRAPH_OT_blend_to_neighbor(wmOperatorType *ot)
void GRAPH_OT_equalize_handles(wmOperatorType *ot)
void GRAPH_OT_blend_to_ease(wmOperatorType *ot)
void GRAPH_OT_keyframe_jump(wmOperatorType *ot)
void GRAPH_OT_snap_cursor_value(wmOperatorType *ot)
void graphedit_keymap(wmKeyConfig *keyconf)
Definition graph_ops.cc:524
eGraphKeys_Mirror_Mode
@ GRAPHKEYS_MIRROR_XAXIS
@ GRAPHKEYS_MIRROR_CFRA
@ GRAPHKEYS_MIRROR_VALUE
@ GRAPHKEYS_MIRROR_YAXIS
@ GRAPHKEYS_MIRROR_MARKER
bool graphop_active_editable_fcurve_ctx_poll(bContext *C)
void GRAPH_OT_bake_keys(wmOperatorType *ot)
void GRAPH_OT_select_lasso(wmOperatorType *ot)
bAnimListElem * get_active_fcurve_channel(bAnimContext *ac)
void GRAPH_OT_mirror(wmOperatorType *ot)
eGraphKeys_Snap_Mode
@ GRAPHKEYS_SNAP_NEAREST_MARKER
@ GRAPHKEYS_SNAP_VALUE
@ GRAPHKEYS_SNAP_NEAREST_SECOND
@ GRAPHKEYS_SNAP_HORIZONTAL
@ GRAPHKEYS_SNAP_CFRA
@ GRAPHKEYS_SNAP_NEAREST_FRAME
void GRAPH_OT_ghost_curves_create(wmOperatorType *ot)
void GRAPH_OT_gaussian_smooth(wmOperatorType *ot)
bool graphop_editable_keyframes_poll(bContext *C)
void graph_buttons_register(ARegionType *art)
void GRAPH_OT_keys_to_samples(wmOperatorType *ot)
void GRAPH_OT_fmodifier_copy(wmOperatorType *ot)
void GRAPH_OT_blend_offset(wmOperatorType *ot)
eGraphKey_SelectKeyHandles_Action
@ GRAPHKEYS_KEYHANDLESSEL_KEEP
@ GRAPHKEYS_KEYHANDLESSEL_SELECT
@ GRAPHKEYS_KEYHANDLESSEL_DESELECT
void GRAPH_OT_samples_to_keys(wmOperatorType *ot)
void get_graph_keyframe_extents(bAnimContext *ac, float *xmin, float *xmax, float *ymin, float *ymax, bool do_sel_only, bool include_handles)
Definition graph_view.cc:42
void GRAPH_OT_handle_type(wmOperatorType *ot)
void graph_draw_ghost_curves(bAnimContext *ac, SpaceGraph *sipo, ARegion *region)
void GRAPH_OT_select_circle(wmOperatorType *ot)
eGraphKeys_LeftRightSelect_Mode
@ GRAPHKEYS_LRSEL_TEST
@ GRAPHKEYS_LRSEL_RIGHT
@ GRAPHKEYS_LRSEL_LEFT
void GRAPH_OT_clickselect(wmOperatorType *ot)
eGraphKeys_Equalize_Mode
@ GRAPHKEYS_EQUALIZE_RIGHT
@ GRAPHKEYS_EQUALIZE_BOTH
@ GRAPHKEYS_EQUALIZE_LEFT
void GRAPH_OT_frame_jump(wmOperatorType *ot)
void GRAPH_OT_driver_variables_copy(wmOperatorType *ot)
void GRAPH_OT_select_more(wmOperatorType *ot)
void GRAPH_OT_breakdown(wmOperatorType *ot)
void GRAPH_OT_extrapolation_type(wmOperatorType *ot)
void GRAPH_OT_sound_to_samples(wmOperatorType *ot)
void GRAPH_OT_driver_variables_paste(wmOperatorType *ot)
void GRAPH_OT_push_pull(wmOperatorType *ot)
void GRAPH_OT_interpolation_type(wmOperatorType *ot)
void GRAPH_OT_select_linked(wmOperatorType *ot)
void GRAPH_OT_view_all(wmOperatorType *ot)
void GRAPH_OT_scale_average(wmOperatorType *ot)
void GRAPH_OT_view_frame(wmOperatorType *ot)
void GRAPH_OT_view_selected(wmOperatorType *ot)
bool graphop_active_fcurve_poll(bContext *C)
void deselect_graph_keys(bAnimContext *ac, bool test, eEditKeyframes_Select sel, bool do_channels)
void GRAPH_OT_match_slope(wmOperatorType *ot)
void GRAPH_OT_select_key_handles(wmOperatorType *ot)
void GRAPH_OT_easing_type(wmOperatorType *ot)
void GRAPH_OT_previewrange_set(wmOperatorType *ot)
void GRAPH_OT_ghost_curves_clear(wmOperatorType *ot)
void GRAPH_OT_select_leftright(wmOperatorType *ot)
void GRAPH_OT_decimate(wmOperatorType *ot)
void GRAPH_OT_ease(wmOperatorType *ot)
void graph_draw_channel_names(bContext *C, bAnimContext *ac, ARegion *region, const ListBase &anim_data)
void GRAPH_OT_copy(wmOperatorType *ot)
bool graphop_selected_fcurve_poll(bContext *C)
void GRAPH_OT_driver_delete_invalid(wmOperatorType *ot)
void GRAPH_OT_keyframe_insert(wmOperatorType *ot)
void GRAPH_OT_scale_from_neighbor(wmOperatorType *ot)
void GRAPH_OT_shear(wmOperatorType *ot)
void GRAPH_OT_blend_to_default(wmOperatorType *ot)
void GRAPH_OT_duplicate(wmOperatorType *ot)
void GRAPH_OT_euler_filter(wmOperatorType *ot)
void graph_draw_curves(bAnimContext *ac, SpaceGraph *sipo, ARegion *region, short sel)
void GRAPH_OT_clean(wmOperatorType *ot)
void GRAPH_OT_select_all(wmOperatorType *ot)
void GRAPH_OT_snap(wmOperatorType *ot)
void GRAPH_OT_select_less(wmOperatorType *ot)
void GRAPH_OT_fmodifier_add(wmOperatorType *ot)
void GRAPH_OT_paste(wmOperatorType *ot)
wmOperatorType * ot
Definition wm_files.cc:4125