Blender V2.61 - r43446
Classes | Functions

clip_graph_ops.c File Reference

#include "DNA_object_types.h"
#include "MEM_guardedalloc.h"
#include "BLI_utildefines.h"
#include "BLI_math.h"
#include "BLI_listbase.h"
#include "BKE_context.h"
#include "BKE_movieclip.h"
#include "BKE_tracking.h"
#include "WM_api.h"
#include "WM_types.h"
#include "ED_screen.h"
#include "ED_clip.h"
#include "UI_interface.h"
#include "RNA_access.h"
#include "RNA_define.h"
#include "UI_view2d.h"
#include "clip_intern.h"

Go to the source code of this file.

Classes

struct  SelectUserData
struct  MouseSelectUserData

Functions

static void toggle_selection_cb (void *userdata, MovieTrackingMarker *marker)
static void find_nearest_tracking_segment_cb (void *userdata, MovieTrackingTrack *track, MovieTrackingMarker *marker, int coord, float val)
void find_nearest_tracking_segment_end_cb (void *userdata)
static void find_nearest_tracking_knot_cb (void *userdata, MovieTrackingTrack *track, MovieTrackingMarker *marker, int coord, float val)
static void mouse_select_init_data (MouseSelectUserData *userdata, float *co)
static int mouse_select_knot (bContext *C, float co[2], int extend)
static int mouse_select_curve (bContext *C, float co[2], int extend)
static int mouse_select (bContext *C, float co[2], int extend)
static int select_exec (bContext *C, wmOperator *op)
static int select_invoke (bContext *C, wmOperator *op, wmEvent *event)
void CLIP_OT_graph_select (wmOperatorType *ot)
static int delete_curve_exec (bContext *C, wmOperator *UNUSED(op))
void CLIP_OT_graph_delete_curve (wmOperatorType *ot)
static int delete_knot_exec (bContext *C, wmOperator *UNUSED(op))
void CLIP_OT_graph_delete_knot (wmOperatorType *ot)

Detailed Description

Definition in file clip_graph_ops.c.


Function Documentation

void CLIP_OT_graph_delete_curve ( wmOperatorType ot)
void CLIP_OT_graph_delete_knot ( wmOperatorType ot)
void CLIP_OT_graph_select ( wmOperatorType ot)
static int delete_curve_exec ( bContext C,
wmOperator UNUSEDop 
) [static]
static int delete_knot_exec ( bContext C,
wmOperator UNUSEDop 
) [static]
static void find_nearest_tracking_knot_cb ( void *  userdata,
MovieTrackingTrack track,
MovieTrackingMarker marker,
int  coord,
float  val 
) [static]
static void find_nearest_tracking_segment_cb ( void *  userdata,
MovieTrackingTrack track,
MovieTrackingMarker marker,
int  coord,
float  val 
) [static]
void find_nearest_tracking_segment_end_cb ( void *  userdata)

Definition at line 118 of file clip_graph_ops.c.

References data, and MouseSelectUserData::has_prev.

Referenced by mouse_select_curve().

static int mouse_select ( bContext C,
float  co[2],
int  extend 
) [static]
static int mouse_select_curve ( bContext C,
float  co[2],
int  extend 
) [static]
static void mouse_select_init_data ( MouseSelectUserData userdata,
float *  co 
) [static]
static int mouse_select_knot ( bContext C,
float  co[2],
int  extend 
) [static]
static int select_exec ( bContext C,
wmOperator op 
) [static]
static int select_invoke ( bContext C,
wmOperator op,
wmEvent event 
) [static]
static void toggle_selection_cb ( void *  userdata,
MovieTrackingMarker marker 
) [static]