Blender V5.3
tracking_ops.cc File Reference
#include "MEM_guardedalloc.h"
#include "DNA_screen_types.h"
#include "DNA_space_types.h"
#include "BLI_listbase.hh"
#include "BLI_math_geom_c.hh"
#include "BLI_math_vector_c.hh"
#include "BLI_set.hh"
#include "BLI_utildefines.hh"
#include "BKE_context.hh"
#include "BKE_image.hh"
#include "BKE_movieclip.hh"
#include "BKE_report.hh"
#include "BKE_tracking.hh"
#include "DEG_depsgraph.hh"
#include "UI_interface_icons.hh"
#include "UI_resources.hh"
#include "WM_api.hh"
#include "WM_types.hh"
#include "ED_clip.hh"
#include "ED_screen.hh"
#include "RNA_access.hh"
#include "RNA_define.hh"
#include "BLT_translation.hh"
#include "IMB_imbuf.hh"
#include "IMB_imbuf_types.hh"
#include "clip_intern.hh"
#include "tracking_ops_intern.hh"

Go to the source code of this file.

Classes

struct  blender::SlideMarkerData

Namespaces

namespace  blender
 BMesh Iterators.

Functions

Add Marker Operator
static bool blender::add_marker (const bContext *C, float x, float y)
static wmOperatorStatus blender::add_marker_exec (bContext *C, wmOperator *op)
static wmOperatorStatus blender::add_marker_invoke (bContext *C, wmOperator *op, const wmEvent *event)
void blender::CLIP_OT_add_marker (wmOperatorType *ot)
static wmOperatorStatus blender::add_marker_at_click_invoke (bContext *C, wmOperator *op, const wmEvent *)
static wmOperatorStatus blender::add_marker_at_click_modal (bContext *C, wmOperator *, const wmEvent *event)
void blender::CLIP_OT_add_marker_at_click (wmOperatorType *ot)
Delete Track Operator
static wmOperatorStatus blender::delete_track_exec (bContext *C, wmOperator *)
static wmOperatorStatus blender::delete_track_invoke (bContext *C, wmOperator *op, const wmEvent *)
void blender::CLIP_OT_delete_track (wmOperatorType *ot)
Delete Marker Operator
static wmOperatorStatus blender::delete_marker_exec (bContext *C, wmOperator *)
static wmOperatorStatus blender::delete_marker_invoke (bContext *C, wmOperator *op, const wmEvent *)
void blender::CLIP_OT_delete_marker (wmOperatorType *ot)
Clear Track Operator
static wmOperatorStatus blender::clear_track_path_exec (bContext *C, wmOperator *op)
void blender::CLIP_OT_clear_track_path (wmOperatorType *ot)
Hide Tracks Operator
static wmOperatorStatus blender::hide_tracks_exec (bContext *C, wmOperator *op)
void blender::CLIP_OT_hide_tracks (wmOperatorType *ot)
Hide Tracks Clear Operator
static wmOperatorStatus blender::hide_tracks_clear_exec (bContext *C, wmOperator *)
void blender::CLIP_OT_hide_tracks_clear (wmOperatorType *ot)
Frame Jump Operator
static bool blender::frame_jump_poll (bContext *C)
static wmOperatorStatus blender::frame_jump_exec (bContext *C, wmOperator *op)
void blender::CLIP_OT_frame_jump (wmOperatorType *ot)
Join Tracks Operator
static wmOperatorStatus blender::join_tracks_exec (bContext *C, wmOperator *op)
void blender::CLIP_OT_join_tracks (wmOperatorType *ot)
Average Tracks Operator
static wmOperatorStatus blender::average_tracks_exec (bContext *C, wmOperator *op)
static wmOperatorStatus blender::average_tracks_invoke (bContext *C, wmOperator *op, const wmEvent *)
void blender::CLIP_OT_average_tracks (wmOperatorType *ot)
Track Copy Color Operator
static wmOperatorStatus blender::track_copy_color_exec (bContext *C, wmOperator *)
void blender::CLIP_OT_track_copy_color (wmOperatorType *ot)
Clean Tracks Operator
static bool blender::is_track_clean (MovieTrackingTrack *track, int frames, int del)
static wmOperatorStatus blender::clean_tracks_exec (bContext *C, wmOperator *op)
static wmOperatorStatus blender::clean_tracks_invoke (bContext *C, wmOperator *op, const wmEvent *)
void blender::CLIP_OT_clean_tracks (wmOperatorType *ot)
Add Tracking Object
static wmOperatorStatus blender::tracking_object_new_exec (bContext *C, wmOperator *)
void blender::CLIP_OT_tracking_object_new (wmOperatorType *ot)
Remove Tracking Object
static wmOperatorStatus blender::tracking_object_remove_exec (bContext *C, wmOperator *op)
void blender::CLIP_OT_tracking_object_remove (wmOperatorType *ot)
Copy Tracks to Clipboard Operator
static wmOperatorStatus blender::copy_tracks_exec (bContext *C, wmOperator *)
void blender::CLIP_OT_copy_tracks (wmOperatorType *ot)
Paste Tracks From Clipboard Operator
static bool blender::paste_tracks_poll (bContext *C)
static wmOperatorStatus blender::paste_tracks_exec (bContext *C, wmOperator *)
void blender::CLIP_OT_paste_tracks (wmOperatorType *ot)
Insert Track Keyframe Operator
static void blender::keyframe_set_flag (bContext *C, bool set)
static wmOperatorStatus blender::keyframe_insert_exec (bContext *C, wmOperator *)
void blender::CLIP_OT_keyframe_insert (wmOperatorType *ot)
Delete Track Keyframe Operator
static wmOperatorStatus blender::keyframe_delete_exec (bContext *C, wmOperator *)
void blender::CLIP_OT_keyframe_delete (wmOperatorType *ot)
Image from plane track marker
static ImBuf * blender::sample_plane_marker_image_for_operator (bContext *C)
static bool blender::new_image_from_plane_marker_poll (bContext *C)
static wmOperatorStatus blender::new_image_from_plane_marker_exec (bContext *C, wmOperator *)
void blender::CLIP_OT_new_image_from_plane_marker (wmOperatorType *ot)
static bool blender::update_image_from_plane_marker_poll (bContext *C)
static wmOperatorStatus blender::update_image_from_plane_marker_exec (bContext *C, wmOperator *)
void blender::CLIP_OT_update_image_from_plane_marker (wmOperatorType *ot)

Slide Marker Operator

enum  blender::eSlideAction {
  blender::SLIDE_ACTION_NONE = 0 , blender::SLIDE_ACTION_POS , blender::SLIDE_ACTION_SIZE , blender::SLIDE_ACTION_OFFSET ,
  blender::SLIDE_ACTION_TILT_SIZE
}
static void blender::slide_marker_tilt_slider_relative (const float pattern_corners[4][2], float r_slider[2])
static SlideMarkerData * blender::create_slide_marker_data (SpaceClip *sc, MovieTrackingTrack *track, MovieTrackingMarker *marker, const wmEvent *event, eTrackArea area, int corner, eSlideAction action, int width, int height)
static bool blender::slide_check_corners (float(*corners)[2])
static MovieTrackingTrack * blender::tracking_marker_check_slide (bContext *C, const float co[2], eTrackArea *r_area, eSlideAction *r_action, int *r_corner)
MovieTrackingTrack * blender::tracking_find_slidable_track_in_proximity (bContext *C, const float co[2])
static SlideMarkerData * blender::slide_marker_customdata (bContext *C, const wmEvent *event)
static wmOperatorStatus blender::slide_marker_invoke (bContext *C, wmOperator *op, const wmEvent *event)
static void blender::cancel_mouse_slide (SlideMarkerData *data)
static void blender::apply_mouse_slide (bContext *C, SlideMarkerData *data)
static void blender::free_slide_data (SlideMarkerData *data)
static wmOperatorStatus blender::slide_marker_modal (bContext *C, wmOperator *op, const wmEvent *event)
void blender::CLIP_OT_slide_marker (wmOperatorType *ot)

Disable Markers Operator

enum  { blender::MARKER_OP_DISABLE = 0 , blender::MARKER_OP_ENABLE = 1 , blender::MARKER_OP_TOGGLE = 2 }
static wmOperatorStatus blender::disable_markers_exec (bContext *C, wmOperator *op)
void blender::CLIP_OT_disable_markers (wmOperatorType *ot)

Lock Tracks Operator

enum  { blender::TRACK_ACTION_LOCK = 0 , blender::TRACK_ACTION_UNLOCK = 1 , blender::TRACK_ACTION_TOGGLE = 2 }
static wmOperatorStatus blender::lock_tracks_exec (bContext *C, wmOperator *op)
void blender::CLIP_OT_lock_tracks (wmOperatorType *ot)

Set Keyframe Operator

enum  { blender::SOLVER_KEYFRAME_A = 0 , blender::SOLVER_KEYFRAME_B = 1 }
static wmOperatorStatus blender::set_solver_keyframe_exec (bContext *C, wmOperator *op)
void blender::CLIP_OT_set_solver_keyframe (wmOperatorType *ot)