#include <lib_motiontracker.h>
Represents a single 2D track.
Contains a set of image positions for a set of frames. Provides information about which frames the track exists for, the status of the track, and position data for the frames on which the track exists.
This data represents the 2D motion of a single feature within the footage.
Public Member Functions | |
String | GetName () const |
MtTrkGid * | GetId () const |
Mt2dTrackStatus | GetStatus () const |
BaseSelect * | GetFramesWithTrackData () const |
MtData * | GetDataForFrame (Int32 frameNum) const |
MtData * | GetDataForCurrentFrame () const |
Static Public Member Functions | |
static Mt2dTrack * | Alloc () |
static void | Free (Mt2dTrack *&p) |
Private Member Functions | |
Mt2dTrack () | |
~Mt2dTrack () | |
|
private |
|
private |
|
static |
Internal.
|
static |
String GetName | ( | ) | const |
Queries the track name.
MtTrkGid* GetId | ( | ) | const |
Mt2dTrackStatus GetStatus | ( | ) | const |
Queries the track status.
BaseSelect* GetFramesWithTrackData | ( | ) | const |
Retrieves a BaseSelect containing the set of frames for which 2D tracking data exists.
Free()
on the returned selection when it is no longer needed. Retrieves the tracking data for given frame number.
Free()
on the returned tracking data when it is no longer needed. Returns a pointer to a copy of the data. Caller is owner, and is responsible for calling Free on the pointer when no longer needed. MtData* GetDataForCurrentFrame | ( | ) | const |
Retrieves the tracking data for current frame of active document.
Free()
on the returned tracking data when it is no longer needed.