#include <tracks.h>
Classes | |
struct | factory_t |
a ttrack factory to let the tracks structure use subclasses of ttrack. More... | |
Public Member Functions | |
ttrack (tracks *db) | |
virtual | ~ttrack () |
virtual void | point_added (tkeypoint *) |
An overloadable method that is called whenever a point is added to the track. | |
virtual void | point_removed (tkeypoint *) |
An overloadable method that is called whenever a point is removed from the track. | |
Public Attributes | |
mlist_elem< ttrack > | track_node |
pointer to next/previous ttrack. | |
tkeypoint * | keypoints |
pointer to the latest point of the track, i.e. | |
tracks * | db |
a pointer to the tracks structure the ttrack belongs to. | |
int | length |
the number of keypoints in the track. |
Definition at line 140 of file tracks.h.
ttrack::ttrack | ( | tracks * | db | ) | [inline] |
Definition at line 157 of file tracks.h.
References keypoints, and length.
Referenced by ttrack::factory_t::create().
virtual void ttrack::point_added | ( | tkeypoint * | ) | [inline, virtual] |
An overloadable method that is called whenever a point is added to the track.
The inserted point is assumed to be yet unmatched, i.e. it does not belong to another track.
Reimplemented in pyr_track.
Definition at line 163 of file tracks.h.
References length.
Referenced by tracks::set_match().
virtual void ttrack::point_removed | ( | tkeypoint * | ) | [inline, virtual] |
An overloadable method that is called whenever a point is removed from the track.
Reimplemented in pyr_track.
Definition at line 166 of file tracks.h.
References length.
Referenced by tkeypoint::unlink(), and tracks::unset_match().
a pointer to the tracks structure the ttrack belongs to.
Definition at line 152 of file tracks.h.
Referenced by tkeypoint::unlink().
pointer to the latest point of the track, i.e.
on the latest frame the point has been seen. keypoints->matches.next is always null.
Definition at line 149 of file tracks.h.
Referenced by tracks::set_match(), ttrack(), tkeypoint::unlink(), and tracks::unset_match().
int ttrack::length |
the number of keypoints in the track.
Definition at line 155 of file tracks.h.
Referenced by point_added(), point_removed(), VSView::segment_scene(), tkeypoint::track_is_longer(), and ttrack().
pointer to next/previous ttrack.
Definition at line 143 of file tracks.h.
Referenced by VSView::segment_scene(), and update_query_with_frame().