Blender V2.61 - r43446
|
00001 /* 00002 * ***** BEGIN GPL LICENSE BLOCK ***** 00003 * 00004 * This program is free software; you can redistribute it and/or 00005 * modify it under the terms of the GNU General Public License 00006 * as published by the Free Software Foundation; either version 2 00007 * of the License, or (at your option) any later version. 00008 * 00009 * This program is distributed in the hope that it will be useful, 00010 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00011 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00012 * GNU General Public License for more details. 00013 * 00014 * You should have received a copy of the GNU General Public License 00015 * along with this program; if not, write to the Free Software Foundation, 00016 * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 00017 * 00018 * The Original Code is Copyright (C) 2011 Blender Foundation. 00019 * All rights reserved. 00020 * 00021 * 00022 * Contributor(s): Blender Foundation, 00023 * Sergey Sharybin 00024 * 00025 * ***** END GPL LICENSE BLOCK ***** 00026 */ 00027 00032 #ifndef ED_CLIP_INTERN_H 00033 #define ED_CLIP_INTERN_H 00034 00035 struct bContext; 00036 struct ARegion; 00037 struct MovieClip; 00038 struct MovieTrackingMarker; 00039 struct MovieTrackingTrack; 00040 struct Scene; 00041 struct SpaceClip; 00042 struct wmOperatorType; 00043 00044 /* internal exports only */ 00045 00046 /* clip_buttons.c */ 00047 void ED_clip_buttons_register(struct ARegionType *art); 00048 00049 /* clip_draw.c */ 00050 void clip_draw_main(struct SpaceClip *sc, struct ARegion *ar, struct Scene *scene); 00051 void clip_draw_grease_pencil(struct bContext *C, int onlyv2d); 00052 void clip_draw_curfra_label(struct SpaceClip *sc, float x, float y); 00053 00054 /* clip_graph_draw.c */ 00055 void clip_draw_graph(struct SpaceClip *sc, struct ARegion *ar, struct Scene *scene); 00056 00057 /* clip_graph_ops.c */ 00058 void CLIP_OT_graph_select(struct wmOperatorType *ot); 00059 void CLIP_OT_graph_delete_curve(struct wmOperatorType *ot); 00060 void CLIP_OT_graph_delete_knot(struct wmOperatorType *ot); 00061 00062 /* clip_ops.c */ 00063 void CLIP_OT_open(struct wmOperatorType *ot); 00064 void CLIP_OT_reload(struct wmOperatorType *ot); 00065 void CLIP_OT_view_pan(struct wmOperatorType *ot); 00066 void CLIP_OT_view_zoom(wmOperatorType *ot); 00067 void CLIP_OT_view_zoom_in(struct wmOperatorType *ot); 00068 void CLIP_OT_view_zoom_out(struct wmOperatorType *ot); 00069 void CLIP_OT_view_zoom_ratio(struct wmOperatorType *ot); 00070 void CLIP_OT_view_all(struct wmOperatorType *ot); 00071 void CLIP_OT_view_selected(struct wmOperatorType *ot); 00072 void CLIP_OT_change_frame(wmOperatorType *ot); 00073 void CLIP_OT_rebuild_proxy(struct wmOperatorType *ot); 00074 void CLIP_OT_mode_set(struct wmOperatorType *ot); 00075 00076 /* clip_toolbar.c */ 00077 void CLIP_OT_tools(struct wmOperatorType *ot); 00078 void CLIP_OT_properties(struct wmOperatorType *ot); 00079 void ED_clip_tool_props_register(struct ARegionType *art); 00080 00081 /* clip_utils.c */ 00082 void clip_graph_tracking_values_iterate_track(struct SpaceClip *sc, struct MovieTrackingTrack *track, void *userdata, 00083 void (*func) (void *userdata, struct MovieTrackingTrack *track, struct MovieTrackingMarker *marker, int coord, float val), 00084 void (*segment_start) (void *userdata, struct MovieTrackingTrack *track, int coord), 00085 void (*segment_end) (void *userdata)); 00086 00087 void clip_graph_tracking_values_iterate(struct SpaceClip *sc, void *userdata, 00088 void (*func) (void *userdata, struct MovieTrackingTrack *track, struct MovieTrackingMarker *marker, int coord, float val), 00089 void (*segment_start) (void *userdata, struct MovieTrackingTrack *track, int coord), 00090 void (*segment_end) (void *userdata)); 00091 00092 void clip_graph_tracking_iterate(struct SpaceClip *sc, void *userdata, 00093 void (*func) (void *userdata, struct MovieTrackingMarker *marker)); 00094 00095 void clip_delete_track(struct bContext *C, struct MovieClip *clip, struct ListBase *tracksbase, struct MovieTrackingTrack *track); 00096 void clip_delete_marker(struct bContext *C, struct MovieClip *clip, struct ListBase *tracksbase, struct MovieTrackingTrack *track, struct MovieTrackingMarker *marker); 00097 00098 void clip_view_center_to_point(struct SpaceClip *sc, float x, float y); 00099 00100 /* tracking_ops.c */ 00101 void CLIP_OT_select(struct wmOperatorType *ot); 00102 void CLIP_OT_select_all(struct wmOperatorType *ot); 00103 void CLIP_OT_select_border(struct wmOperatorType *ot); 00104 void CLIP_OT_select_circle(struct wmOperatorType *ot); 00105 void CLIP_OT_select_grouped(struct wmOperatorType *ot); 00106 00107 void CLIP_OT_add_marker(struct wmOperatorType *ot); 00108 void CLIP_OT_delete_track(struct wmOperatorType *ot); 00109 void CLIP_OT_delete_marker(struct wmOperatorType *ot); 00110 00111 void CLIP_OT_track_markers(struct wmOperatorType *ot); 00112 void CLIP_OT_solve_camera(struct wmOperatorType *ot); 00113 void CLIP_OT_clear_solution(struct wmOperatorType *ot); 00114 00115 void CLIP_OT_clear_track_path(struct wmOperatorType *ot); 00116 void CLIP_OT_join_tracks(struct wmOperatorType *ot); 00117 00118 void CLIP_OT_disable_markers(struct wmOperatorType *ot); 00119 void CLIP_OT_hide_tracks(struct wmOperatorType *ot); 00120 void CLIP_OT_hide_tracks_clear(struct wmOperatorType *ot); 00121 void CLIP_OT_lock_tracks(struct wmOperatorType *ot); 00122 00123 void CLIP_OT_set_origin(struct wmOperatorType *ot); 00124 void CLIP_OT_set_floor(struct wmOperatorType *ot); 00125 void CLIP_OT_set_axis(struct wmOperatorType *ot); 00126 void CLIP_OT_set_scale(struct wmOperatorType *ot); 00127 void CLIP_OT_set_solution_scale(struct wmOperatorType *ot); 00128 00129 void CLIP_OT_set_center_principal(struct wmOperatorType *ot); 00130 00131 void CLIP_OT_slide_marker(struct wmOperatorType *ot); 00132 00133 void CLIP_OT_frame_jump(struct wmOperatorType *ot); 00134 void CLIP_OT_track_copy_color(struct wmOperatorType *ot); 00135 00136 void CLIP_OT_detect_features(struct wmOperatorType *ot); 00137 00138 void CLIP_OT_stabilize_2d_add(struct wmOperatorType *ot); 00139 void CLIP_OT_stabilize_2d_remove(struct wmOperatorType *ot); 00140 void CLIP_OT_stabilize_2d_select(struct wmOperatorType *ot); 00141 void CLIP_OT_stabilize_2d_set_rotation(struct wmOperatorType *ot); 00142 00143 void CLIP_OT_clean_tracks(struct wmOperatorType *ot); 00144 00145 void CLIP_OT_tracking_object_new(struct wmOperatorType *ot); 00146 void CLIP_OT_tracking_object_remove(struct wmOperatorType *ot); 00147 00148 void CLIP_OT_copy_tracks(struct wmOperatorType *ot); 00149 void CLIP_OT_paste_tracks(struct wmOperatorType *ot); 00150 00151 #endif /* ED_CLIP_INTERN_H */