Blender V2.61 - r43446
Functions

clip_editor.c File Reference

#include <stddef.h>
#include "BKE_main.h"
#include "BKE_movieclip.h"
#include "BKE_context.h"
#include "BKE_tracking.h"
#include "DNA_object_types.h"
#include "BLI_utildefines.h"
#include "BLI_math.h"
#include "IMB_imbuf_types.h"
#include "IMB_imbuf.h"
#include "ED_screen.h"
#include "ED_clip.h"
#include "BIF_gl.h"
#include "WM_api.h"
#include "WM_types.h"
#include "UI_view2d.h"
#include "clip_intern.h"

Go to the source code of this file.

Functions

int ED_space_clip_poll (bContext *C)
void ED_space_clip_set (bContext *C, SpaceClip *sc, MovieClip *clip)
MovieClipED_space_clip (SpaceClip *sc)
ImBufED_space_clip_get_buffer (SpaceClip *sc)
ImBufED_space_clip_get_stable_buffer (SpaceClip *sc, float loc[2], float *scale, float *angle)
void ED_space_clip_size (SpaceClip *sc, int *width, int *height)
void ED_space_clip_zoom (SpaceClip *sc, ARegion *ar, float *zoomx, float *zoomy)
void ED_space_clip_aspect (SpaceClip *sc, float *aspx, float *aspy)
void ED_clip_update_frame (const Main *mainp, int cfra)
static int selected_boundbox (SpaceClip *sc, float min[2], float max[2])
int ED_clip_view_selection (SpaceClip *sc, ARegion *ar, int fit)
void ED_clip_point_undistorted_pos (SpaceClip *sc, float co[2], float nco[2])
void ED_clip_point_stable_pos (bContext *C, float x, float y, float *xr, float *yr)
void ED_clip_mouse_pos (bContext *C, wmEvent *event, float co[2])

Detailed Description

Definition in file clip_editor.c.


Function Documentation

void ED_clip_mouse_pos ( bContext C,
wmEvent event,
float  co[2] 
)
void ED_clip_point_stable_pos ( bContext C,
float  x,
float  y,
float *  xr,
float *  yr 
)
void ED_clip_point_undistorted_pos ( SpaceClip sc,
float  co[2],
float  nco[2] 
)
void ED_clip_update_frame ( const Main mainp,
int  cfra 
)
int ED_clip_view_selection ( SpaceClip sc,
ARegion ar,
int  fit 
)
MovieClip* ED_space_clip ( SpaceClip sc) [read]

Definition at line 79 of file clip_editor.c.

References SpaceClip::clip.

Referenced by add_marker(), add_marker_exec(), border_select_exec(), circle_select_exec(), clean_tracks_exec(), clean_tracks_invoke(), clear_solution_exec(), clear_track_path_exec(), clip_draw_graph(), clip_draw_grease_pencil(), clip_draw_main(), clip_graph_tracking_iterate(), clip_graph_tracking_values_iterate(), clip_graph_tracking_values_iterate_track(), clip_main_area_draw(), clip_rebuild_proxy_exec(), clip_stabilization_tag_refresh(), copy_tracks_exec(), count_selected_bundles(), createTransTrackingData(), delete_curve_exec(), delete_knot_exec(), delete_marker_exec(), delete_track_exec(), detect_features_exec(), disable_markers_exec(), do_set_scale(), draw_frame_curves(), draw_movieclip_buffer(), draw_movieclip_notes(), draw_tracks_curves(), ED_clip_point_stable_pos(), ED_clip_point_undistorted_pos(), ED_space_clip_aspect(), frame_jump_exec(), get_orientation_object(), gpencil_data_get_pointers(), hide_tracks_clear_exec(), hide_tracks_exec(), join_tracks_exec(), lock_tracks_exec(), mouse_select(), mouse_select_curve(), mouse_select_knot(), movieclip_main_area_set_view2d(), open_invoke(), paste_tracks_exec(), recalcData_clip(), select_all_exec(), select_groped_exec(), select_invoke(), selected_boundbox(), set_axis_exec(), set_center_principal_exec(), set_floor_exec(), set_orientation_poll(), set_origin_exec(), set_scale_invoke(), set_solution_scale_invoke(), set_solution_scale_poll(), slide_marker_customdata(), slide_marker_invoke(), solve_camera_initjob(), solve_camera_invoke(), space_clip_frame_poll(), special_aftertrans_update(), stabilize_2d_add_exec(), stabilize_2d_remove_exec(), stabilize_2d_select_exec(), stabilize_2d_set_rotation_exec(), track_copy_color_exec(), track_markers_exec(), track_markers_initjob(), track_markers_invoke(), tracking_object_new_exec(), tracking_object_remove_exec(), and viewRedrawForce().

void ED_space_clip_aspect ( SpaceClip sc,
float *  aspx,
float *  aspy 
)
ImBuf* ED_space_clip_get_buffer ( SpaceClip sc) [read]
ImBuf* ED_space_clip_get_stable_buffer ( SpaceClip sc,
float  loc[2],
float *  scale,
float *  angle 
) [read]
int ED_space_clip_poll ( bContext C)
void ED_space_clip_set ( bContext C,
SpaceClip sc,
MovieClip clip 
)

Definition at line 68 of file clip_editor.c.

References SpaceClip::clip, MovieClip::id, NA_SELECTED, NC_MOVIECLIP, ID::us, and WM_event_add_notifier().

Referenced by open_exec().

void ED_space_clip_size ( SpaceClip sc,
int *  width,
int *  height 
)
void ED_space_clip_zoom ( SpaceClip sc,
ARegion ar,
float *  zoomx,
float *  zoomy 
)
static int selected_boundbox ( SpaceClip sc,
float  min[2],
float  max[2] 
) [static]