Blender V5.3
pose_select.cc File Reference
#include <cstring>
#include "DNA_action_types.h"
#include "DNA_anim_types.h"
#include "DNA_armature_types.h"
#include "DNA_constraint_types.h"
#include "DNA_object_types.h"
#include "DNA_scene_types.h"
#include "DNA_windowmanager_enums.h"
#include "BLI_assert.hh"
#include "BLI_listbase.hh"
#include "BLI_map.hh"
#include "BLI_string.hh"
#include "BKE_action.hh"
#include "BKE_armature.hh"
#include "BKE_constraint.h"
#include "BKE_context.hh"
#include "BKE_layer.hh"
#include "BKE_modifier.hh"
#include "BKE_object.hh"
#include "BKE_pose.hh"
#include "BKE_report.hh"
#include "DEG_depsgraph.hh"
#include "RNA_access.hh"
#include "RNA_define.hh"
#include "RNA_types.hh"
#include "WM_api.hh"
#include "WM_types.hh"
#include "ED_armature.hh"
#include "ED_keyframing.hh"
#include "ED_mesh.hh"
#include "ED_object.hh"
#include "ED_object_vgroup.hh"
#include "ED_outliner.hh"
#include "ED_screen.hh"
#include "ED_select_utils.hh"
#include "ED_view3d.hh"
#include "ANIM_armature.hh"
#include "ANIM_bonecolor.hh"
#include "ANIM_keyingsets.hh"
#include "armature_intern.hh"

Go to the source code of this file.

Namespaces

namespace  blender
 BMesh Iterators.

Enumerations

enum class  blender::SelectRelatedMode {
  blender::SAME_COLLECTION = 0 , blender::SAME_COLOR , blender::SAME_KEYINGSET , blender::CHILDREN ,
  blender::IMMEDIATE_CHILDREN , blender::PARENT , blender::SIBLINGS
}

Functions

static void blender::pose_do_bone_select (const bke::PChanBone pchanbone, const int select_mode)
static Set< bPoseChannel * > blender::get_selected_pose_bones (Object &pose_object)
static bool blender::pose_bone_is_below_one_of (bPoseChannel &bone, const Set< bPoseChannel * > &potential_parents)
static void blender::deselect_pose_bones (const Set< bPoseChannel * > &pose_bones)
static bool blender::any_parent_to_select (const Set< bPoseChannel * > &pose_bones)
static bool blender::any_child_to_select (const Set< bPoseChannel * > &pose_bones, const bArmature &armature)
static bool blender::pose_select_parents (bContext *C, const bool extend, const bool stop_at_root, const bool modify_active)
static Bone * blender::get_new_active_child (Bone &parent_bone)
static bool blender::pose_select_children (bContext *C, const bool all, const bool extend, const bool stop_at_leaf, const bool modify_active)
void blender::ED_pose_bone_select_tag_update (Object *ob)
void blender::ED_pose_bone_select (Object *ob, bPoseChannel *pchan, bool select, bool change_active)
bool blender::ED_armature_pose_select_pick_bone (const Main &bmain, const Scene *scene, ViewLayer *view_layer, View3D *v3d, Object *ob, bPoseChannel *pchan, const SelectPick_Params &params)
bool blender::ED_armature_pose_select_pick_with_buffer (const Main &bmain, const Scene *scene, ViewLayer *view_layer, View3D *v3d, Base *base, const GPUSelectResult *hit_results, const int hits, const SelectPick_Params &params, bool do_nearest)
void blender::ED_armature_pose_select_in_wpaint_mode (const Main &bmain, const Scene *scene, ViewLayer *view_layer, Base *base_select)
bool blender::ED_pose_deselect_all (Object *ob, int select_mode, const bool ignore_visibility)
static bool blender::ed_pose_is_any_selected (Object *ob, bool ignore_visibility)
static bool blender::ed_pose_is_any_selected_multi (const Span< Base * > bases, bool ignore_visibility)
bool blender::ED_pose_deselect_all_multi_ex (const Span< Base * > bases, int select_mode, const bool ignore_visibility)
bool blender::ED_pose_deselect_all_multi (bContext *C, int select_mode, const bool ignore_visibility)
static void blender::selectconnected_posebonechildren (Object &ob, bPoseChannel &pose_bone, const bool extend)
static wmOperatorStatus blender::pose_select_connected_invoke (bContext *C, wmOperator *op, const wmEvent *event)
static bool blender::pose_select_linked_pick_poll (bContext *C)
static wmOperatorStatus blender::pose_select_linked_exec (bContext *C, wmOperator *)
static wmOperatorStatus blender::pose_de_select_all_exec (bContext *C, wmOperator *op)
static wmOperatorStatus blender::pose_select_parent_exec (bContext *C, wmOperator *)
static wmOperatorStatus blender::pose_select_constraint_target_exec (bContext *C, wmOperator *)
static wmOperatorStatus blender::pose_select_hierarchy_exec (bContext *C, wmOperator *op)
static bool blender::pose_select_same_color (bContext *C, const bool extend)
static bool blender::pose_select_same_collection (bContext *C, const bool extend)
static bool blender::pose_select_siblings (bContext *C, const bool extend)
static bool blender::pose_select_same_keyingset (bContext *C, ReportList *reports, bool extend)
static wmOperatorStatus blender::pose_select_grouped_exec (bContext *C, wmOperator *op)
static void blender::bone_selection_flags_add (bPoseChannel *pchan, const ePchan_Flag new_selection_flags)
static void blender::bone_selection_flags_set (bPoseChannel *pchan, const ePchan_Flag new_selection_flags)
static wmOperatorStatus blender::pose_select_mirror_exec (bContext *C, wmOperator *op)
Pose-Mode Operators
void blender::POSE_OT_select_linked_pick (wmOperatorType *ot)
void blender::POSE_OT_select_linked (wmOperatorType *ot)
void blender::POSE_OT_select_all (wmOperatorType *ot)
void blender::POSE_OT_select_parent (wmOperatorType *ot)
void blender::POSE_OT_select_constraint_target (wmOperatorType *ot)
void blender::POSE_OT_select_hierarchy (wmOperatorType *ot)
void blender::POSE_OT_select_grouped (wmOperatorType *ot)
void blender::POSE_OT_select_mirror (wmOperatorType *ot)