Blender V5.3
pose_slide.cc File Reference
#include "MEM_guardedalloc.h"
#include "BLI_array.hh"
#include "BLI_listbase.hh"
#include "BLI_math_rotation_c.hh"
#include "BLI_string.hh"
#include "BLT_translation.hh"
#include "DNA_anim_types.h"
#include "DNA_object_types.h"
#include "DNA_scene_types.h"
#include "BKE_fcurve.hh"
#include "BKE_nla.hh"
#include "BKE_context.hh"
#include "BKE_layer.hh"
#include "BKE_object.hh"
#include "BKE_report.hh"
#include "BKE_scene.hh"
#include "BKE_unit.hh"
#include "RNA_access.hh"
#include "RNA_define.hh"
#include "RNA_prototypes.hh"
#include "WM_api.hh"
#include "WM_types.hh"
#include "UI_interface.hh"
#include "ED_anim_transformable.hh"
#include "ED_keyframes_edit.hh"
#include "ED_keyframes_keylist.hh"
#include "ED_markers.hh"
#include "ED_numinput.hh"
#include "ED_screen.hh"
#include "ED_util.hh"
#include "ANIM_fcurve.hh"
#include "ANIM_rna.hh"
#include "armature_intern.hh"

Go to the source code of this file.

Classes

struct  blender::ObjectFrameRange
struct  blender::tPoseSlideOp

Namespaces

namespace  blender
 BMesh Iterators.

Enumerations

enum  blender::ePoseSlide_Modes {
  blender::POSESLIDE_PUSH = 0 , blender::POSESLIDE_RELAX , blender::POSESLIDE_BREAKDOWN , blender::POSESLIDE_BLEND_REST ,
  blender::POSESLIDE_BLEND
}
enum  blender::ePoseSlide_Channels {
  blender::PS_TFM_ALL = 0 , blender::PS_TFM_LOC , blender::PS_TFM_ROT , blender::PS_TFM_SCALE ,
  blender::PS_TFM_BBONE_SHAPE , blender::PS_TFM_PROPS
}
enum  blender::ePosePropagate_Termination {
  blender::POSE_PROPAGATE_LAST_KEY = 0 , blender::POSE_PROPAGATE_NEXT_KEY , blender::POSE_PROPAGATE_BEFORE_FRAME , blender::POSE_PROPAGATE_BEFORE_END ,
  blender::POSE_PROPAGATE_SELECTED_KEYS , blender::POSE_PROPAGATE_SELECTED_MARKERS
}

Functions

static bool blender::pose_slide_poll (bContext *C)
static Vector< FCurve * > blender::fcurves_filtered_by_path (const Span< FCurve * > input_fcurves, const StringRef path)
static int blender::pose_slide_init (bContext *C, wmOperator *op, ePoseSlide_Modes mode)
static void blender::pose_slide_exit (bContext *C, wmOperator *op)
static void blender::pose_slide_refresh (bContext *C, tPoseSlideOp *pso)
static bool blender::pose_frame_range_from_id_get (const tPoseSlideOp *pso, const ID *id, float *prev_frame, float *next_frame)
static void blender::pose_slide_apply_linear (tPoseSlideOp &pso, SlideSubject &slide_subject, const ed::AnimTransformable::PropertyType prop_type)
static void blender::pose_slide_apply_property_snapshots (tPoseSlideOp &pso, SlideSubject &slide_subject, const Span< PropertySnapshot > snapshots)
static void blender::pose_slide_apply_quat (tPoseSlideOp *pso, SlideSubject *slide_subject)
static void blender::pose_slide_rest_pose_apply (bContext *C, tPoseSlideOp *pso)
static void blender::pose_slide_apply (bContext *C, tPoseSlideOp *pso)
static void blender::pose_slide_autoKeyframe (bContext *C, tPoseSlideOp *pso)
static void blender::pose_slide_reset (tPoseSlideOp *pso)
static void blender::pose_slide_draw_status (bContext *C, tPoseSlideOp *pso)
static wmOperatorStatus blender::pose_slide_invoke_common (bContext *C, wmOperator *op, const wmEvent *event)
static void blender::pose_slide_toggle_channels_mode (wmOperator *op, tPoseSlideOp *pso, ePoseSlide_Channels channel)
static bool blender::pose_slide_toggle_axis_mutability (wmOperator *op, tPoseSlideOp *pso, const ed::AxisMutable axis)
static wmOperatorStatus blender::pose_slide_modal (bContext *C, wmOperator *op, const wmEvent *event)
static void blender::pose_slide_cancel (bContext *C, wmOperator *op)
static wmOperatorStatus blender::pose_slide_exec_common (bContext *C, wmOperator *op, tPoseSlideOp *pso)
static void blender::pose_slide_opdef_properties (wmOperatorType *ot)
static wmOperatorStatus blender::pose_slide_push_invoke (bContext *C, wmOperator *op, const wmEvent *event)
static wmOperatorStatus blender::pose_slide_push_exec (bContext *C, wmOperator *op)
static wmOperatorStatus blender::pose_slide_relax_invoke (bContext *C, wmOperator *op, const wmEvent *event)
static wmOperatorStatus blender::pose_slide_relax_exec (bContext *C, wmOperator *op)
static wmOperatorStatus blender::pose_slide_blend_rest_invoke (bContext *C, wmOperator *op, const wmEvent *event)
static wmOperatorStatus blender::pose_slide_blend_rest_exec (bContext *C, wmOperator *op)
static wmOperatorStatus blender::pose_slide_breakdown_invoke (bContext *C, wmOperator *op, const wmEvent *event)
static wmOperatorStatus blender::pose_slide_breakdown_exec (bContext *C, wmOperator *op)
static wmOperatorStatus blender::pose_slide_blend_to_neighbors_invoke (bContext *C, wmOperator *op, const wmEvent *event)
static wmOperatorStatus blender::pose_slide_blend_to_neighbors_exec (bContext *C, wmOperator *op)
static void blender::propagate_curve_values (ListBaseT< SlideSubject > *slide_subjects, const float source_frame, ListBaseT< FrameLink > *target_frames)
static float blender::find_next_key (const ListBaseT< SlideSubject > *slide_subjects, const float start_frame)
static float blender::find_last_key (const ListBaseT< SlideSubject > *slide_subjects)
static void blender::get_selected_marker_positions (Scene *scene, ListBaseT< FrameLink > *target_frames)
static void blender::get_keyed_frames_in_range (const ListBaseT< SlideSubject > *slide_subjects, const float start_frame, const float end_frame, ListBaseT< FrameLink > *target_frames)
static void blender::get_selected_frames (const ListBaseT< SlideSubject > *slide_subjects, ListBaseT< FrameLink > *target_frames)
static wmOperatorStatus blender::pose_propagate_exec (bContext *C, wmOperator *op)
Pose Sliding Tools
void blender::POSE_OT_push (wmOperatorType *ot)
void blender::POSE_OT_relax (wmOperatorType *ot)
void blender::POSE_OT_blend_with_rest (wmOperatorType *ot)
void blender::POSE_OT_breakdown (wmOperatorType *ot)
void blender::POSE_OT_blend_to_neighbors (wmOperatorType *ot)
void blender::POSE_OT_propagate (wmOperatorType *ot)

Variables

static const EnumPropertyItem blender::prop_channels_types []
static const EnumPropertyItem blender::prop_axis_lock_types []

Detailed Description

Pose 'Sliding' Tools

  • Push & Relax, Breakdowner

    These tools provide the animator with various capabilities for interactively controlling the spacing of poses, but also for 'pushing' and/or 'relaxing' extremes as they see fit.

  • Propagate

    This tool copies elements of the selected pose to successive keyframes, allowing the animator to go back and modify the poses for some "static" pose controls, without having to repeatedly doing a "next paste" dance.

  • Pose Sculpting (TODO)

    This is yet to be implemented, but the idea here is to use sculpting techniques to make it easier to pose rigs by allowing rigs to be manipulated using a familiar paint-based interface.

Definition in file pose_slide.cc.