|
Blender V4.3
|
Go to the source code of this file.
Classes | |
| struct | TrackPickOptions |
| struct | PointTrackPick |
| struct | PlaneTrackPick |
| struct | TrackingPick |
| enum eTrackPickAreaDetail |
| Enumerator | |
|---|---|
| TRACK_PICK_AREA_DETAIL_NONE | |
| TRACK_PICK_AREA_DETAIL_POSITION | |
| TRACK_PICK_AREA_DETAIL_SIZE | |
| TRACK_PICK_AREA_DETAIL_OFFSET | |
| TRACK_PICK_AREA_DETAIL_TILT_SIZE | |
| TRACK_PICK_AREA_DETAIL_EDGE | |
Definition at line 53 of file tracking_ops_intern.hh.
Definition at line 19 of file tracking_ops_utils.cc.
References BKE_tracking_object_get_active(), BKE_tracking_track_flag_clear(), SpaceClip::flag, LISTBASE_FOREACH, SC_SHOW_MARKER_PATTERN, SC_SHOW_MARKER_SEARCH, SELECT, TRACK_AREA_PAT, TRACK_AREA_SEARCH, TRACK_HIDDEN, and MovieTrackingObject::tracks.
Referenced by copy_tracks_exec(), and track_init_markers().
| void clip_tracking_hide_cursor | ( | bContext * | C | ) |
Definition at line 40 of file tracking_ops_utils.cc.
References CTX_wm_window(), WM_CURSOR_NONE, and WM_cursor_set().
Referenced by slide_marker_invoke(), and slide_plane_marker_invoke().
| void clip_tracking_show_cursor | ( | bContext * | C | ) |
Definition at line 46 of file tracking_ops_utils.cc.
References CTX_wm_window(), WM_CURSOR_DEFAULT, and WM_cursor_set().
Referenced by slide_marker_modal(), and slide_plane_marker_modal().
| void ed_tracking_deselect_all_plane_tracks | ( | ListBase * | plane_tracks_base | ) |
Definition at line 542 of file tracking_select.cc.
References LISTBASE_FOREACH.
Referenced by select_exec().
| void ed_tracking_deselect_all_tracks | ( | ListBase * | tracks_base | ) |
Definition at line 535 of file tracking_select.cc.
References BKE_tracking_track_flag_clear(), LISTBASE_FOREACH, SELECT, and TRACK_AREA_ALL.
Referenced by detect_features_exec(), and select_exec().
| BLI_INLINE bool ed_tracking_pick_can_slide | ( | const SpaceClip * | space_clip, |
| const TrackingPick * | pick ) |
Definition at line 153 of file tracking_ops_intern.hh.
References ed_tracking_plane_track_pick_can_slide(), ed_tracking_point_track_pick_can_slide(), TrackingPick::plane_track_pick, and TrackingPick::point_track_pick.
Referenced by select_exec().
| TrackingPick ed_tracking_pick_closest | ( | const TrackPickOptions * | options, |
| bContext * | C, | ||
| const float | co[2] ) |
Definition at line 512 of file tracking_select.cc.
References ed_tracking_pick_plane_track(), ed_tracking_pick_point_track(), options, TrackingPick::plane_track_pick, plane_track_pick_make_null(), TrackingPick::point_track_pick, point_track_pick_make_null(), and tracking_should_prefer_point_track().
Referenced by select_exec().
| BLI_INLINE bool ed_tracking_pick_empty | ( | const TrackingPick * | pick | ) |
Definition at line 146 of file tracking_ops_intern.hh.
References ed_tracking_plane_track_pick_empty(), ed_tracking_point_track_pick_empty(), TrackingPick::plane_track_pick, and TrackingPick::point_track_pick.
| BLI_INLINE TrackPickOptions ed_tracking_pick_options_defaults | ( | ) |
Definition at line 47 of file tracking_ops_intern.hh.
References options.
Referenced by select_exec(), tracking_marker_check_slide(), and tracking_plane_marker_check_slide().
| PlaneTrackPick ed_tracking_pick_plane_track | ( | const TrackPickOptions * | options, |
| struct bContext * | C, | ||
| const float | co[2] ) |
Definition at line 386 of file tracking_select.cc.
References BKE_tracking_object_get_active(), BKE_tracking_plane_marker_get(), PlaneTrackPick::corner_index, MovieTrackingPlaneMarker::corners, CTX_wm_space_clip(), PlaneTrackPick::distance_px_squared, ED_space_clip_get_clip(), ED_space_clip_get_clip_frame_number(), ED_space_clip_get_size(), LISTBASE_FOREACH, mouse_to_closest_corners_edge_distance_squared(), mouse_to_plane_slide_zone_distance_squared(), options, PlaneTrackPick::plane_marker, PlaneTrackPick::plane_track, plane_track_pick_make_null(), PLANE_TRACK_VIEW_SELECTED, MovieTrackingObject::plane_tracks, blender::math::square(), UI_SCALE_FAC, and SpaceClip::zoom.
Referenced by ed_tracking_pick_closest(), and tracking_plane_marker_check_slide().
| PointTrackPick ed_tracking_pick_point_track | ( | const TrackPickOptions * | options, |
| bContext * | C, | ||
| const float | co[2] ) |
Definition at line 197 of file tracking_select.cc.
References MovieTrackingObject::active_track, PointTrackPick::area, PointTrackPick::area_detail, BKE_tracking_marker_get(), BKE_tracking_object_get_active(), PointTrackPick::corner_index, CTX_wm_space_clip(), PointTrackPick::distance_px_squared, ED_space_clip_get_clip(), ED_space_clip_get_clip_frame_number(), ED_space_clip_get_size(), MovieTrackingMarker::flag, SpaceClip::flag, LISTBASE_FOREACH, PointTrackPick::marker, MARKER_DISABLED, mouse_to_closest_pattern_corner_distance_squared(), mouse_to_closest_pattern_edge_distance_squared(), mouse_to_closest_search_edge_distance_squared(), mouse_to_offset_distance_squared(), mouse_to_search_corner_distance_squared(), mouse_to_tilt_distance_squared(), options, point_track_pick_make_null(), SC_HIDE_DISABLED, SC_SHOW_MARKER_PATTERN, SC_SHOW_MARKER_SEARCH, blender::math::square(), PointTrackPick::track, TRACK_AREA_PAT, TRACK_AREA_POINT, TRACK_AREA_SEARCH, TRACK_LOCKED, TRACK_PICK_AREA_DETAIL_EDGE, TRACK_PICK_AREA_DETAIL_OFFSET, TRACK_PICK_AREA_DETAIL_POSITION, TRACK_PICK_AREA_DETAIL_SIZE, TRACK_PICK_AREA_DETAIL_TILT_SIZE, TRACK_VIEW_SELECTED, MovieTrackingObject::tracks, UI_SCALE_FAC, and SpaceClip::zoom.
Referenced by ed_tracking_pick_closest(), and tracking_marker_check_slide().
| bool ed_tracking_plane_track_pick_can_slide | ( | const PlaneTrackPick * | pick | ) |
Definition at line 449 of file tracking_select.cc.
References BLI_assert, PlaneTrackPick::corner_index, PlaneTrackPick::plane_marker, PlaneTrackPick::plane_track, and PLANE_TRACK_VIEW_SELECTED.
Referenced by ed_tracking_pick_can_slide(), tracking_plane_marker_check_slide(), and tracking_should_prefer_point_track().
| BLI_INLINE bool ed_tracking_plane_track_pick_empty | ( | const PlaneTrackPick * | pick | ) |
Definition at line 124 of file tracking_ops_intern.hh.
References PlaneTrackPick::plane_track.
Referenced by ed_tracking_pick_empty(), and tracking_plane_marker_check_slide().
| bool ed_tracking_point_track_pick_can_slide | ( | const SpaceClip * | space_clip, |
| const PointTrackPick * | pick ) |
Definition at line 337 of file tracking_select.cc.
References PointTrackPick::area_detail, BLI_assert, MovieTrackingMarker::flag, MovieTrackingTrack::flag, PointTrackPick::marker, MARKER_DISABLED, PointTrackPick::track, TRACK_LOCKED, TRACK_PICK_AREA_DETAIL_EDGE, and TRACK_VIEW_SELECTED.
Referenced by ed_tracking_pick_can_slide(), tracking_marker_check_slide(), and tracking_should_prefer_point_track().
| BLI_INLINE bool ed_tracking_point_track_pick_empty | ( | const PointTrackPick * | pick | ) |
Definition at line 95 of file tracking_ops_intern.hh.
References PointTrackPick::track.
Referenced by ed_tracking_pick_empty(), and tracking_marker_check_slide().