|
Blender V5.3
|
#include <cfloat>#include <cmath>#include <cstdlib>#include <cstring>#include "MEM_guardedalloc.h"#include "BLI_lasso_2d.hh"#include "BLI_listbase.hh"#include "BLI_utildefines.hh"#include "DNA_anim_types.h"#include "DNA_gpencil_legacy_types.h"#include "DNA_mask_types.h"#include "DNA_object_types.h"#include "DNA_scene_types.h"#include "RNA_access.hh"#include "RNA_define.hh"#include "RNA_enum_types.hh"#include "BKE_context.hh"#include "BKE_fcurve.hh"#include "BKE_grease_pencil.hh"#include "BKE_nla.hh"#include "UI_view2d.hh"#include "ED_anim_api.hh"#include "ED_gpencil_legacy.hh"#include "ED_grease_pencil.hh"#include "ED_keyframes_edit.hh"#include "ED_keyframes_keylist.hh"#include "ED_markers.hh"#include "ED_mask.hh"#include "ED_screen.hh"#include "ED_select_utils.hh"#include "WM_api.hh"#include "WM_types.hh"#include "action_intern.hh"Go to the source code of this file.
Classes | |
| struct | blender::BoxSelectData |
| struct | blender::RegionSelectData |
Namespaces | |
| namespace | blender |
| BMesh Iterators. | |
Functions | |
Keyframes Stuff | |
| static bAnimListElem * | blender::actkeys_find_list_element_at_position (bAnimContext *ac, eAnimFilter_Flags filter, float region_x, float region_y) |
| static void | blender::actkeys_list_element_to_keylist (bAnimContext *ac, AnimKeylist *keylist, bAnimListElem *ale) |
| static void | blender::actkeys_find_key_in_list_element (bAnimContext *ac, bAnimListElem *ale, float region_x, float *r_selx, float *r_frame, bool *r_found, bool *r_is_selected) |
| static void | blender::actkeys_find_key_at_position (bAnimContext *ac, eAnimFilter_Flags filter, float region_x, float region_y, bAnimListElem **r_ale, float *r_selx, float *r_frame, bool *r_found, bool *r_is_selected) |
| static bool | blender::actkeys_is_key_at_position (bAnimContext *ac, float region_x, float region_y) |
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... | |
| static void | blender::deselect_action_keys (bAnimContext *ac, short test, eEditKeyframes_Select sel) |
| static wmOperatorStatus | blender::actkeys_deselectall_exec (bContext *C, wmOperator *op) |
| void | blender::ACTION_OT_select_all (wmOperatorType *ot) |
Region Select Operators | |
"Region Select" operators include the Lasso and Circle Select operators. These two ended up being lumped together, as it was easier in the original Graph Editor implementation of these to do it this way. | |
| static void | blender::region_select_elem (RegionSelectData *sel_data, bAnimListElem *ale, bool summary) |
| static void | blender::region_select_action_keys (bAnimContext *ac, const rctf *rectf_view, short mode, eEditKeyframes_Select selectmode, void *data) |
| static wmOperatorStatus | blender::actkeys_lassoselect_exec (bContext *C, wmOperator *op) |
| void | blender::ACTION_OT_select_lasso (wmOperatorType *ot) |
| static wmOperatorStatus | blender::action_circle_select_exec (bContext *C, wmOperator *op) |
| void | blender::ACTION_OT_select_circle (wmOperatorType *ot) |
Select Linked Operator | |
| static wmOperatorStatus | blender::actkeys_select_linked_exec (bContext *C, wmOperator *) |
| void | blender::ACTION_OT_select_linked (wmOperatorType *ot) |
Select More/Less Operators | |
| static void | blender::select_moreless_action_keys (bAnimContext *ac, short mode) |
| static wmOperatorStatus | blender::actkeys_select_more_exec (bContext *C, wmOperator *) |
| void | blender::ACTION_OT_select_more (wmOperatorType *ot) |
| static wmOperatorStatus | blender::actkeys_select_less_exec (bContext *C, wmOperator *) |
| void | blender::ACTION_OT_select_less (wmOperatorType *ot) |
Mouse-Click Select Operator | |
This operator works in one of three ways:
In addition to these basic options, the SHIFT modifier can be used to toggle the selection mode between replacing the selection (without) and inverting the selection (with). | |
| static void | blender::actkeys_mselect_single (bAnimContext *ac, bAnimListElem *ale, const eEditKeyframes_Select select_mode, float selx) |
| static void | blender::actkeys_mselect_column (bAnimContext *ac, eEditKeyframes_Select select_mode, float selx) |
| static void | blender::actkeys_mselect_channel_only (bAnimContext *ac, bAnimListElem *ale, eEditKeyframes_Select select_mode) |
| static wmOperatorStatus | blender::mouse_action_keys (bAnimContext *ac, const int mval[2], eEditKeyframes_Select select_mode, const bool deselect_all, const bool column, const bool same_channel, bool wait_to_deselect_others) |
| static wmOperatorStatus | blender::actkeys_clickselect_exec (bContext *C, wmOperator *op) |
| void | blender::ACTION_OT_clickselect (wmOperatorType *ot) |
Select by Keyframe Type operator | |
| static wmOperatorStatus | blender::select_by_type_exec (bContext *C, wmOperator *op) |
| static bool | blender::select_by_type_poll (bContext *C) |
| void | blender::ACTION_OT_select_by_type (wmOperatorType *ot) |
Box Select Operator | |
| enum | { blender::ACTKEYS_BORDERSEL_ALLKEYS = 0 , blender::ACTKEYS_BORDERSEL_FRAMERANGE , blender::ACTKEYS_BORDERSEL_CHANNELS } |
| static void | blender::box_select_elem (BoxSelectData *sel_data, bAnimListElem *ale, float xmin, float xmax, bool summary) |
| static void | blender::box_select_action (bAnimContext *ac, const rcti rect, short mode, const eEditKeyframes_Select selectmode) |
| static wmOperatorStatus | blender::actkeys_box_select_invoke (bContext *C, wmOperator *op, const wmEvent *event) |
| static wmOperatorStatus | blender::actkeys_box_select_exec (bContext *C, wmOperator *op) |
| void | blender::ACTION_OT_select_box (wmOperatorType *ot) |
Column Select Operator | |
This operator works in one of four ways:
| |
| static const EnumPropertyItem | blender::prop_column_select_types [] |
| static void | blender::markers_selectkeys_between (bAnimContext *ac) |
| static void | blender::columnselect_action_keys (bAnimContext *ac, short mode) |
| static wmOperatorStatus | blender::actkeys_columnselect_exec (bContext *C, wmOperator *op) |
| void | blender::ACTION_OT_select_column (wmOperatorType *ot) |
Select Left/Right Operator | |
Select keyframes left/right of the current frame indicator. | |
| static const EnumPropertyItem | blender::prop_actkeys_leftright_select_types [] |
| static void | blender::actkeys_select_leftright (bAnimContext *ac, short leftright, eEditKeyframes_Select select_mode) |
| static wmOperatorStatus | blender::actkeys_select_leftright_exec (bContext *C, wmOperator *op) |
| static wmOperatorStatus | blender::actkeys_select_leftright_invoke (bContext *C, wmOperator *op, const wmEvent *event) |
| void | blender::ACTION_OT_select_leftright (wmOperatorType *ot) |