Blender  V3.3
Functions
tracking_ops_orient.c 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.h"
#include "BLI_utildefines.h"
#include "BKE_constraint.h"
#include "BKE_context.h"
#include "BKE_layer.h"
#include "BKE_object.h"
#include "BKE_report.h"
#include "BKE_tracking.h"
#include "DEG_depsgraph.h"
#include "DEG_depsgraph_query.h"
#include "WM_api.h"
#include "WM_types.h"
#include "ED_clip.h"
#include "RNA_access.h"
#include "RNA_define.h"
#include "clip_intern.h"

Go to the source code of this file.

Functions

static Objectget_camera_with_movieclip (Scene *scene, 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, MovieClip *clip, MovieTrackingObject *tracking_object, 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 *UNUSED(event))
 
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 *UNUSED(event))
 
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 *UNUSED(event))
 
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 804 of file tracking_ops_orient.c.

References C, and 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 UNUSEDevent 
)
static

◆ apply_solution_scale_poll()

static bool apply_solution_scale_poll ( bContext C)
static

◆ CLIP_OT_apply_solution_scale()

void CLIP_OT_apply_solution_scale ( wmOperatorType ot)

◆ CLIP_OT_set_axis()

void CLIP_OT_set_axis ( wmOperatorType ot)

◆ CLIP_OT_set_origin()

void CLIP_OT_set_origin ( wmOperatorType ot)

◆ CLIP_OT_set_plane()

void CLIP_OT_set_plane ( wmOperatorType ot)

◆ CLIP_OT_set_scale()

void CLIP_OT_set_scale ( wmOperatorType ot)

◆ CLIP_OT_set_solution_scale()

void CLIP_OT_set_solution_scale ( wmOperatorType ot)

◆ count_selected_bundles()

static int count_selected_bundles ( bContext C)
static

◆ do_set_scale()

static int do_set_scale ( bContext C,
wmOperator op,
bool  scale_solution,
bool  apply_scale 
)
static

◆ get_camera_with_movieclip()

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

◆ get_orientation_object()

static Object* get_orientation_object ( bContext C)
static

◆ 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()

static void set_axis ( Scene scene,
Object ob,
MovieClip clip,
MovieTrackingObject tracking_object,
MovieTrackingTrack track,
char  axis 
)
static

◆ set_axis_exec()

static int set_axis_exec ( bContext C,
wmOperator op 
)
static

◆ set_orientation_poll()

static bool set_orientation_poll ( bContext C)
static

◆ set_origin_exec()

static int set_origin_exec ( bContext C,
wmOperator op 
)
static

◆ set_plane_exec()

static int set_plane_exec ( bContext C,
wmOperator op 
)
static

◆ set_scale_exec()

static int set_scale_exec ( bContext C,
wmOperator op 
)
static

Definition at line 682 of file tracking_ops_orient.c.

References C, and 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 UNUSEDevent 
)
static

◆ set_solution_scale_exec()

static int set_solution_scale_exec ( bContext C,
wmOperator op 
)
static

Definition at line 742 of file tracking_ops_orient.c.

References C, and 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 UNUSEDevent 
)
static

◆ set_solution_scale_poll()

static bool set_solution_scale_poll ( bContext C)
static