Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2011-06-14 20:22:06 +0400
committerSergey Sharybin <sergey.vfx@gmail.com>2011-06-14 20:22:06 +0400
commit02ace953a93a1b503776446caa4d9131fb2a9afa (patch)
treea9cb28eab7583c4d87d1690ea9067648e6f49a68 /source/blender/editors/space_clip/clip_intern.h
parent7b40210025f47b871792083c7ce639dc0572ba8e (diff)
Camera tracking integration
=========================== - itasc adopted for Eigen3 library. It compiles well, but need deeper testing for regressions. - Removed Eigen2 library. - Added settings to tracker which could be changed from UI. - Pattern area is now affects on tracker. Currently libmv supports square patterns which are centered to marker's position. Maximal pattern dimensions is sending to libmv as pattern size. Would be changed when libmv would support non-centered and non-square patterns. - Fixed bug with syncing pattern's flags when tracking. - Current frame in cache line became a bit more visible. It's useful for me to when debugging. - Changed behaviour of "Add Marekr" operator: not it's non-modal and places marker on mouse position at click. - Added macro "Add Marekr and Move" which is used to place markers from toolbar button. - Added some utility functions to get image buffer under search and pattern area which also returns relative position of marker center for this images. Generated images are more "correct" from coords rounding POV, but re-calculation of marker position back to frame coords is more complicated and not implemented yet, so old not very accurate logic is still used. - Added preview widget with content of pattern area. NOTE: files saved in previous versions of this branch could easily crash on tracking. Use "Reset To Settings" button from Tracking Settings before tracking selected markers for such files. TODO: - Implement adjusting marker position from marker's preview widget. - We've got an idea of sliding marker after click before releasing mouse button.
Diffstat (limited to 'source/blender/editors/space_clip/clip_intern.h')
-rw-r--r--source/blender/editors/space_clip/clip_intern.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/editors/space_clip/clip_intern.h b/source/blender/editors/space_clip/clip_intern.h
index 4846a2bca0a..dea3110ec2a 100644
--- a/source/blender/editors/space_clip/clip_intern.h
+++ b/source/blender/editors/space_clip/clip_intern.h
@@ -35,6 +35,7 @@
#ifndef ED_CLIP_INTERN_H
#define ED_CLIP_INTERN_H
+struct bContext;
struct ARegion;
struct Scene;
struct SpaceClip;
@@ -66,8 +67,11 @@ void CLIP_OT_delete(struct wmOperatorType *ot);
void CLIP_OT_track_markers(struct wmOperatorType *ot);
+void CLIP_OT_reset_tracking_settings(struct wmOperatorType *ot);
+
/* clip_draw.c */
void draw_clip_main(struct SpaceClip *sc, struct ARegion *ar, struct Scene *scene);
+void draw_clip_track_widget(const struct bContext *C, void *trackp, void *userp, void *clipp, rcti *rect);
/* clip_buttons.c */
void ED_clip_buttons_register(struct ARegionType *art);