Blender V5.3
graph_intern.hh File Reference

Go to the source code of this file.

Namespaces

namespace  blender
 BMesh Iterators.

Enumerations

enum  blender::eGraphKeys_LeftRightSelect_Mode { blender::GRAPHKEYS_LRSEL_TEST = 0 , blender::GRAPHKEYS_LRSEL_LEFT , blender::GRAPHKEYS_LRSEL_RIGHT }
enum  blender::eGraphKey_SelectKeyHandles_Action { blender::GRAPHKEYS_KEYHANDLESSEL_SELECT = 0 , blender::GRAPHKEYS_KEYHANDLESSEL_DESELECT , blender::GRAPHKEYS_KEYHANDLESSEL_KEEP }
enum  blender::eGraphKeys_ColumnSelect_Mode { blender::GRAPHKEYS_COLUMNSEL_KEYS = 0 , blender::GRAPHKEYS_COLUMNSEL_CFRA , blender::GRAPHKEYS_COLUMNSEL_MARKERS_COLUMN , blender::GRAPHKEYS_COLUMNSEL_MARKERS_BETWEEN }
enum  blender::eGraphKeys_Snap_Mode {
  blender::GRAPHKEYS_SNAP_CFRA = 1 , blender::GRAPHKEYS_SNAP_NEAREST_FRAME , blender::GRAPHKEYS_SNAP_NEAREST_SECOND , blender::GRAPHKEYS_SNAP_NEAREST_MARKER ,
  blender::GRAPHKEYS_SNAP_HORIZONTAL , blender::GRAPHKEYS_SNAP_VALUE
}
enum  blender::eGraphKeys_Equalize_Mode { blender::GRAPHKEYS_EQUALIZE_LEFT = 1 , blender::GRAPHKEYS_EQUALIZE_RIGHT , blender::GRAPHKEYS_EQUALIZE_BOTH }
enum  blender::eGraphKeys_Mirror_Mode {
  blender::GRAPHKEYS_MIRROR_CFRA = 1 , blender::GRAPHKEYS_MIRROR_YAXIS , blender::GRAPHKEYS_MIRROR_XAXIS , blender::GRAPHKEYS_MIRROR_MARKER ,
  blender::GRAPHKEYS_MIRROR_VALUE
}

Functions

Channel List
void blender::graph_draw_channel_names (bContext *C, bAnimContext *ac, ARegion *region, const ListBaseT< bAnimListElem > &anim_data)
Public Curve-Drawing API
void blender::graph_draw_curves (bAnimContext *ac, SpaceGraph *sipo, ARegion *region, short sel)
void blender::graph_draw_ghost_curves (bAnimContext *ac, SpaceGraph *sipo, ARegion *region)
Deselect All Operator

This operator works in one of three ways: 1) (de)select all (AKEY) - test if select all or deselect all 2) invert all (CTRL-IKEY) - invert selection of all keyframes 3) (de)select all - no testing is done; only for use internal tools as normal function...

void blender::deselect_graph_keys (bAnimContext *ac, bool test, eEditKeyframes_Select sel, bool do_channels)
void blender::GRAPH_OT_select_all (wmOperatorType *ot)
Box Select Operator
void blender::GRAPH_OT_select_box (wmOperatorType *ot)
void blender::GRAPH_OT_select_lasso (wmOperatorType *ot)
void blender::GRAPH_OT_select_circle (wmOperatorType *ot)
Column Select Operator

This operator works in one of four ways:

  • 1) select all keyframes in the same frame as a selected one (KKEY)
  • 2) select all keyframes in the same frame as the current frame marker (CTRL-KKEY)
  • 3) select all keyframes in the same frame as a selected markers (SHIFT-KKEY)
  • 4) select all keyframes that occur between selected markers (ALT-KKEY)
void blender::GRAPH_OT_select_column (wmOperatorType *ot)
Select Linked Operator
void blender::GRAPH_OT_select_linked (wmOperatorType *ot)
Select More/Less Operators
void blender::GRAPH_OT_select_more (wmOperatorType *ot)
void blender::GRAPH_OT_select_less (wmOperatorType *ot)
Select Left/Right Operator

Select keyframes left/right of the current frame indicator.

void blender::GRAPH_OT_select_leftright (wmOperatorType *ot)
Key/handles Selection Operator
void blender::GRAPH_OT_select_key_handles (wmOperatorType *ot)
Click Select Operator
void blender::GRAPH_OT_clickselect (wmOperatorType *ot)
Calculate Range
void blender::get_graph_keyframe_extents (bAnimContext *ac, float *xmin, float *xmax, float *ymin, float *ymax, bool do_sel_only, bool include_handles) ATTR_NONNULL(2
Automatic Preview-Range Operator
void void blender::GRAPH_OT_previewrange_set (wmOperatorType *ot)
View-All Operator
void blender::GRAPH_OT_view_all (wmOperatorType *ot)
void blender::GRAPH_OT_view_selected (wmOperatorType *ot)
View Frame Operator
void blender::GRAPH_OT_view_frame (wmOperatorType *ot)
Clear Ghost-Curves Operator

This operator clears the 'ghost curves' for the active Graph Editor.

void blender::GRAPH_OT_local_view (wmOperatorType *ot)
void blender::GRAPH_OT_ghost_curves_clear (wmOperatorType *ot)
Click-Insert Keyframes Operator
void blender::GRAPH_OT_click_insert (wmOperatorType *ot)
Insert Keyframes Operator
void blender::GRAPH_OT_keyframe_insert (wmOperatorType *ot)
Copy/Paste Keyframes Operator
Note
the back-end code for this is shared with the dope-sheet editor.
void blender::GRAPH_OT_copy (wmOperatorType *ot)
void blender::GRAPH_OT_paste (wmOperatorType *ot)
Duplicate Keyframes Operator
void blender::GRAPH_OT_duplicate (wmOperatorType *ot)
Delete Keyframes Operator
void blender::GRAPH_OT_delete (wmOperatorType *ot)
Clean Keyframes Operator
void blender::GRAPH_OT_clean (wmOperatorType *ot)
Blend to Neighbor Operator
void blender::GRAPH_OT_blend_to_neighbor (wmOperatorType *ot)
Breakdown Operator
void blender::GRAPH_OT_breakdown (wmOperatorType *ot)
Ease Operator
void blender::GRAPH_OT_ease (wmOperatorType *ot)
Blend Offset Operator
void blender::GRAPH_OT_blend_offset (wmOperatorType *ot)
Blend to Ease Operator
void blender::GRAPH_OT_blend_to_ease (wmOperatorType *ot)
Match Slope
void blender::GRAPH_OT_match_slope (wmOperatorType *ot)
Shear Operator
void blender::GRAPH_OT_shear (wmOperatorType *ot)
Scale Average Operator
void blender::GRAPH_OT_scale_average (wmOperatorType *ot)
Push-Pull Operator
void blender::GRAPH_OT_push_pull (wmOperatorType *ot)
Time Offset
void blender::GRAPH_OT_time_offset (wmOperatorType *ot)
Scale from Left Operator
void blender::GRAPH_OT_scale_from_neighbor (wmOperatorType *ot)
Decimate Keyframes Operator
void blender::GRAPH_OT_decimate (wmOperatorType *ot)
Blend to Default Value Operator
void blender::GRAPH_OT_blend_to_default (wmOperatorType *ot)
Butterworth Smooth Operator
void blender::GRAPH_OT_butterworth_smooth (wmOperatorType *ot)
Gauss Smooth Operator
void blender::GRAPH_OT_gaussian_smooth (wmOperatorType *ot)
Sample Keyframes Operator

This operator 'bakes' the values of the curve into new keyframes between pairs of selected keyframes. It is useful for creating keyframes for tweaking overlap.

void blender::GRAPH_OT_bake_keys (wmOperatorType *ot)
Keys to Samples Operator

This operator bakes the data of the selected F-Curves to F-Points.

void blender::GRAPH_OT_keys_to_samples (wmOperatorType *ot)
Samples to Keys Operator

This operator converts the data of the selected F-Points to F-Curves.

void blender::GRAPH_OT_samples_to_keys (wmOperatorType *ot)
void blender::GRAPH_OT_sound_to_samples (wmOperatorType *ot)
Smooth Keyframes Operator
void blender::GRAPH_OT_smooth (wmOperatorType *ot)
'Euler Filter' Operator

Euler filter tools (as seen in Maya), are necessary for working with 'baked' rotation curves (with Euler rotations). The main purpose of such tools is to resolve any discontinuities that may arise in the curves due to the clamping of values to -180 degrees to 180 degrees.

void blender::GRAPH_OT_euler_filter (wmOperatorType *ot)
Set Handle-Type Operator
void blender::GRAPH_OT_handle_type (wmOperatorType *ot)
Set Interpolation-Type Operator
void blender::GRAPH_OT_interpolation_type (wmOperatorType *ot)
Set Extrapolation-Type Operator
void blender::GRAPH_OT_extrapolation_type (wmOperatorType *ot)
Set Easing Operator
void blender::GRAPH_OT_easing_type (wmOperatorType *ot)
Jump to Selected Frames Operator
void blender::GRAPH_OT_frame_jump (wmOperatorType *ot)
Keyframe Jump Operator (Deprecated)
void blender::GRAPH_OT_keyframe_jump (wmOperatorType *ot)
Snap Cursor Value Operator
void blender::GRAPH_OT_snap_cursor_value (wmOperatorType *ot)
Snap Keyframes Operator
void blender::GRAPH_OT_snap (wmOperatorType *ot)
Equalize Handles Operator
void blender::GRAPH_OT_equalize_handles (wmOperatorType *ot)
Mirror Keyframes Operator
void blender::GRAPH_OT_mirror (wmOperatorType *ot)
Add F-Modifier Operator
void blender::GRAPH_OT_fmodifier_add (wmOperatorType *ot)
Delete F-Modifiers Operator
void blender::GRAPH_OT_fmodifier_delete (wmOperatorType *ot)
Copy F-Modifiers Operator
void blender::GRAPH_OT_fmodifier_copy (wmOperatorType *ot)
Paste F-Modifiers Operator
void blender::GRAPH_OT_fmodifier_paste (wmOperatorType *ot)
Copy Driver Variables Operator
void blender::GRAPH_OT_driver_variables_copy (wmOperatorType *ot)
Paste Driver Variables Operator
void blender::GRAPH_OT_driver_variables_paste (wmOperatorType *ot)
Delete Invalid Drivers Operator
void blender::GRAPH_OT_driver_delete_invalid (wmOperatorType *ot)
Create Ghost-Curves Operator

This operator samples the data of the selected F-Curves to F-Points, storing them as 'ghost curves' in the active Graph Editor.

void blender::GRAPH_OT_ghost_curves_create (wmOperatorType *ot)
Registration
void blender::graph_buttons_register (ARegionType *art)
Active F-Curve
bAnimListElem * blender::get_active_fcurve_channel (bAnimContext *ac)
Operator Polling Callbacks
bool blender::graphop_visible_keyframes_poll (bContext *C)
bool blender::graphop_editable_keyframes_poll (bContext *C)
bool blender::graphop_active_fcurve_poll (bContext *C)
bool blender::graphop_active_editable_fcurve_ctx_poll (bContext *C)
bool blender::graphop_selected_fcurve_poll (bContext *C)
Registration: Key-Maps
void blender::graphedit_keymap (wmKeyConfig *keyconf)
Registration: operator types
void blender::graphedit_operatortypes ()