Blender
V3.3
|
#include "DNA_screen_types.h"
#include "DNA_space_types.h"
#include "BLI_utildefines.h"
#include "BKE_context.h"
#include "BKE_tracking.h"
#include "DEG_depsgraph.h"
#include "WM_api.h"
#include "WM_types.h"
#include "ED_clip.h"
#include "clip_intern.h"
Go to the source code of this file.
Functions | |
static bool | stabilize_2d_poll (bContext *C) |
static int | stabilize_2d_add_exec (bContext *C, wmOperator *UNUSED(op)) |
void | CLIP_OT_stabilize_2d_add (wmOperatorType *ot) |
static int | stabilize_2d_remove_exec (bContext *C, wmOperator *UNUSED(op)) |
void | CLIP_OT_stabilize_2d_remove (wmOperatorType *ot) |
static int | stabilize_2d_select_exec (bContext *C, wmOperator *UNUSED(op)) |
void | CLIP_OT_stabilize_2d_select (wmOperatorType *ot) |
static int | stabilize_2d_rotation_add_exec (bContext *C, wmOperator *UNUSED(op)) |
void | CLIP_OT_stabilize_2d_rotation_add (wmOperatorType *ot) |
static int | stabilize_2d_rotation_remove_exec (bContext *C, wmOperator *UNUSED(op)) |
void | CLIP_OT_stabilize_2d_rotation_remove (wmOperatorType *ot) |
static int | stabilize_2d_rotation_select_exec (bContext *C, wmOperator *UNUSED(op)) |
void | CLIP_OT_stabilize_2d_rotation_select (wmOperatorType *ot) |
void CLIP_OT_stabilize_2d_add | ( | wmOperatorType * | ot | ) |
Definition at line 63 of file tracking_ops_stabilize.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, stabilize_2d_add_exec(), and stabilize_2d_poll().
Referenced by clip_operatortypes().
void CLIP_OT_stabilize_2d_remove | ( | wmOperatorType * | ot | ) |
Definition at line 114 of file tracking_ops_stabilize.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, stabilize_2d_poll(), and stabilize_2d_remove_exec().
Referenced by clip_operatortypes().
void CLIP_OT_stabilize_2d_rotation_add | ( | wmOperatorType * | ot | ) |
Definition at line 195 of file tracking_ops_stabilize.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, stabilize_2d_poll(), and stabilize_2d_rotation_add_exec().
Referenced by clip_operatortypes().
void CLIP_OT_stabilize_2d_rotation_remove | ( | wmOperatorType * | ot | ) |
Definition at line 246 of file tracking_ops_stabilize.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, stabilize_2d_poll(), and stabilize_2d_rotation_remove_exec().
Referenced by clip_operatortypes().
void CLIP_OT_stabilize_2d_rotation_select | ( | wmOperatorType * | ot | ) |
Definition at line 285 of file tracking_ops_stabilize.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, stabilize_2d_poll(), and stabilize_2d_rotation_select_exec().
Referenced by clip_operatortypes().
void CLIP_OT_stabilize_2d_select | ( | wmOperatorType * | ot | ) |
Definition at line 153 of file tracking_ops_stabilize.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, stabilize_2d_poll(), and stabilize_2d_select_exec().
Referenced by clip_operatortypes().
|
static |
Definition at line 38 of file tracking_ops_stabilize.c.
References BKE_tracking_get_active_tracks(), C, CTX_wm_space_clip(), DEG_id_tag_update(), ED_space_clip_get_clip(), ListBase::first, MovieClip::id, NC_MOVIECLIP, ND_DISPLAY, NULL, OPERATOR_FINISHED, MovieTracking::stabilization, MovieTrackingStabilization::tot_track, TRACK_USE_2D_STAB, TRACK_VIEW_SELECTED, MovieClip::tracking, update(), and WM_event_add_notifier().
Referenced by CLIP_OT_stabilize_2d_add().
Definition at line 27 of file tracking_ops_stabilize.c.
References BKE_tracking_object_get_active(), C, CTX_wm_space_clip(), ED_space_clip_get_clip(), ED_space_clip_tracking_poll(), MovieTrackingObject::flag, MovieClip::tracking, and TRACKING_OBJECT_CAMERA.
Referenced by CLIP_OT_stabilize_2d_add(), CLIP_OT_stabilize_2d_remove(), CLIP_OT_stabilize_2d_rotation_add(), CLIP_OT_stabilize_2d_rotation_remove(), CLIP_OT_stabilize_2d_rotation_select(), and CLIP_OT_stabilize_2d_select().
|
static |
Definition at line 80 of file tracking_ops_stabilize.c.
References Freestyle::a, MovieTrackingStabilization::act_track, BKE_tracking_get_active_tracks(), C, CTX_wm_space_clip(), DEG_id_tag_update(), ED_space_clip_get_clip(), ListBase::first, MovieClip::id, NC_MOVIECLIP, ND_DISPLAY, NULL, OPERATOR_FINISHED, MovieTracking::stabilization, MovieTrackingStabilization::tot_track, TRACK_USE_2D_STAB, MovieClip::tracking, update(), and WM_event_add_notifier().
Referenced by CLIP_OT_stabilize_2d_remove().
|
static |
Definition at line 170 of file tracking_ops_stabilize.c.
References BKE_tracking_get_active_tracks(), C, CTX_wm_space_clip(), DEG_id_tag_update(), ED_space_clip_get_clip(), ListBase::first, MovieClip::id, NC_MOVIECLIP, ND_DISPLAY, NULL, OPERATOR_FINISHED, MovieTracking::stabilization, MovieTrackingStabilization::tot_rot_track, TRACK_USE_2D_STAB_ROT, TRACK_VIEW_SELECTED, MovieClip::tracking, update(), and WM_event_add_notifier().
Referenced by CLIP_OT_stabilize_2d_rotation_add().
|
static |
Definition at line 212 of file tracking_ops_stabilize.c.
References Freestyle::a, MovieTrackingStabilization::act_rot_track, BKE_tracking_get_active_tracks(), C, CTX_wm_space_clip(), DEG_id_tag_update(), ED_space_clip_get_clip(), ListBase::first, MovieClip::id, NC_MOVIECLIP, ND_DISPLAY, NULL, OPERATOR_FINISHED, MovieTracking::stabilization, MovieTrackingStabilization::tot_rot_track, TRACK_USE_2D_STAB_ROT, MovieClip::tracking, update(), and WM_event_add_notifier().
Referenced by CLIP_OT_stabilize_2d_rotation_remove().
|
static |
Definition at line 263 of file tracking_ops_stabilize.c.
References BKE_tracking_get_active_tracks(), BKE_tracking_track_flag_set(), C, CTX_wm_space_clip(), ED_space_clip_get_clip(), ListBase::first, NC_MOVIECLIP, ND_SELECT, NULL, OPERATOR_FINISHED, SELECT, TRACK_AREA_ALL, TRACK_USE_2D_STAB_ROT, MovieClip::tracking, update(), and WM_event_add_notifier().
Referenced by CLIP_OT_stabilize_2d_rotation_select().
|
static |
Definition at line 131 of file tracking_ops_stabilize.c.
References BKE_tracking_get_active_tracks(), BKE_tracking_track_flag_set(), C, CTX_wm_space_clip(), ED_space_clip_get_clip(), ListBase::first, NC_MOVIECLIP, ND_SELECT, NULL, OPERATOR_FINISHED, SELECT, TRACK_AREA_ALL, TRACK_USE_2D_STAB, MovieClip::tracking, update(), and WM_event_add_notifier().
Referenced by CLIP_OT_stabilize_2d_select().