ttrack Struct Reference
[Sparse point track structures]

A ttrack is a set of tkeypoints showing the same physical point on successive frames. More...

#include <tracks.h>

Inheritance diagram for ttrack:

Inheritance graph
[legend]
Collaboration diagram for ttrack:

Collaboration graph
[legend]

List of all members.

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< ttracktrack_node
 pointer to next/previous ttrack.
tkeypointkeypoints
 pointer to the latest point of the track, i.e.
tracksdb
 a pointer to the tracks structure the ttrack belongs to.
int length
 the number of keypoints in the track.


Detailed Description

A ttrack is a set of tkeypoints showing the same physical point on successive frames.

Definition at line 140 of file tracks.h.


Constructor & Destructor Documentation

ttrack::ttrack ( tracks db  )  [inline]

Definition at line 157 of file tracks.h.

References keypoints, and length.

Referenced by ttrack::factory_t::create().

virtual ttrack::~ttrack (  )  [inline, virtual]

Definition at line 158 of file tracks.h.


Member Function Documentation

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().


Member Data Documentation

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().

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().


The documentation for this struct was generated from the following file:

Generated on Tue Mar 30 15:53:26 2010 for Polyora by  doxygen 1.5.9