Blender V4.3
tracking_ops_orient.cc File Reference
#include "MEM_guardedalloc.h"
#include "DNA_constraint_types.h"
#include "DNA_object_types.h"
#include "DNA_screen_types.h"
#include "DNA_space_types.h"
#include "BLI_math_matrix.h"
#include "BLI_math_vector.h"
#include "BLI_utildefines.h"
#include "BKE_constraint.h"
#include "BKE_context.hh"
#include "BKE_layer.hh"
#include "BKE_object.hh"
#include "BKE_report.hh"
#include "BKE_tracking.h"
#include "DEG_depsgraph.hh"
#include "DEG_depsgraph_query.hh"
#include "WM_api.hh"
#include "WM_types.hh"
#include "ED_clip.hh"
#include "RNA_access.hh"
#include "RNA_define.hh"
#include "clip_intern.hh"

Go to the source code of this file.

Functions

static Objectget_camera_with_movieclip (Scene *scene, const MovieClip *clip)
 
static Objectget_orientation_object (bContext *C)
 
static bool set_orientation_poll (bContext *C)
 
static int count_selected_bundles (bContext *C)
 
static void object_solver_inverted_matrix (Scene *scene, Object *ob, float invmat[4][4])
 
static Objectobject_solver_camera (Scene *scene, Object *ob)
 
static int set_origin_exec (bContext *C, wmOperator *op)
 
void CLIP_OT_set_origin (wmOperatorType *ot)
 
static void set_axis (Scene *scene, Object *ob, const MovieClip *clip, const MovieTrackingObject *tracking_object, const MovieTrackingTrack *track, char axis)
 
static int set_plane_exec (bContext *C, wmOperator *op)
 
void CLIP_OT_set_plane (wmOperatorType *ot)
 
static int set_axis_exec (bContext *C, wmOperator *op)
 
void CLIP_OT_set_axis (wmOperatorType *ot)
 
static int do_set_scale (bContext *C, wmOperator *op, bool scale_solution, bool apply_scale)
 
static int set_scale_exec (bContext *C, wmOperator *op)
 
static int set_scale_invoke (bContext *C, wmOperator *op, const wmEvent *)
 
void CLIP_OT_set_scale (wmOperatorType *ot)
 
static bool set_solution_scale_poll (bContext *C)
 
static int set_solution_scale_exec (bContext *C, wmOperator *op)
 
static int set_solution_scale_invoke (bContext *C, wmOperator *op, const wmEvent *)
 
void CLIP_OT_set_solution_scale (wmOperatorType *ot)
 
static bool apply_solution_scale_poll (bContext *C)
 
static int apply_solution_scale_exec (bContext *C, wmOperator *op)
 
static int apply_solution_scale_invoke (bContext *C, wmOperator *op, const wmEvent *)
 
void CLIP_OT_apply_solution_scale (wmOperatorType *ot)
 

Function Documentation

◆ apply_solution_scale_exec()

static int apply_solution_scale_exec ( bContext * C,
wmOperator * op )
static

Definition at line 806 of file tracking_ops_orient.cc.

References do_set_scale().

Referenced by apply_solution_scale_invoke(), and CLIP_OT_apply_solution_scale().

◆ apply_solution_scale_invoke()

static int apply_solution_scale_invoke ( bContext * C,
wmOperator * op,
const wmEvent *  )
static

◆ apply_solution_scale_poll()

static bool apply_solution_scale_poll ( bContext * C)
static

◆ CLIP_OT_apply_solution_scale()

◆ CLIP_OT_set_axis()

◆ CLIP_OT_set_origin()

◆ CLIP_OT_set_plane()

◆ CLIP_OT_set_scale()

◆ CLIP_OT_set_solution_scale()

◆ count_selected_bundles()

◆ do_set_scale()

◆ get_camera_with_movieclip()

static Object * get_camera_with_movieclip ( Scene * scene,
const MovieClip * clip )
static

◆ get_orientation_object()

◆ object_solver_camera()

static Object * object_solver_camera ( Scene * scene,
Object * ob )
static

◆ object_solver_inverted_matrix()

static void object_solver_inverted_matrix ( Scene * scene,
Object * ob,
float invmat[4][4] )
static

◆ set_axis()

◆ set_axis_exec()

◆ set_orientation_poll()

◆ set_origin_exec()

◆ set_plane_exec()

◆ set_scale_exec()

static int set_scale_exec ( bContext * C,
wmOperator * op )
static

Definition at line 684 of file tracking_ops_orient.cc.

References do_set_scale().

Referenced by CLIP_OT_set_scale(), and set_scale_invoke().

◆ set_scale_invoke()

static int set_scale_invoke ( bContext * C,
wmOperator * op,
const wmEvent *  )
static

◆ set_solution_scale_exec()

static int set_solution_scale_exec ( bContext * C,
wmOperator * op )
static

Definition at line 744 of file tracking_ops_orient.cc.

References do_set_scale().

Referenced by CLIP_OT_set_solution_scale(), and set_solution_scale_invoke().

◆ set_solution_scale_invoke()

static int set_solution_scale_invoke ( bContext * C,
wmOperator * op,
const wmEvent *  )
static

◆ set_solution_scale_poll()

static bool set_solution_scale_poll ( bContext * C)
static