GestureRecognitionToolkit  Version: 1.0 Revision: 04-03-15
The Gesture Recognition Toolkit (GRT) is a cross-platform, open-source, c++ machine learning library for real-time gesture recognition.
GRT::TimeSeriesPositionTracker Class Reference

Public Member Functions

 TimeSeriesPositionTracker (UINT startIndex=0, UINT endIndex=0, UINT classLabel=0)
 
 TimeSeriesPositionTracker (const TimeSeriesPositionTracker &rhs)
 
 ~TimeSeriesPositionTracker ()
 
TimeSeriesPositionTrackeroperator= (const TimeSeriesPositionTracker &rhs)
 
void setTracker (UINT startIndex, UINT endIndex, UINT classLabel)
 
void setStartIndex (UINT startIndex)
 
void setEndIndex (UINT endIndex)
 
void setClassLabel (UINT classLabel)
 
UINT getStartIndex () const
 
UINT getEndIndex () const
 
UINT getLength () const
 
UINT getClassLabel () const
 

Protected Attributes

UINT startIndex
 
UINT endIndex
 
UINT classLabel
 

Detailed Description

Definition at line 36 of file TimeSeriesPositionTracker.h.

Constructor & Destructor Documentation

GRT::TimeSeriesPositionTracker::TimeSeriesPositionTracker ( UINT  startIndex = 0,
UINT  endIndex = 0,
UINT  classLabel = 0 
)
inline

Constructor, sets the start index, end index and class label of the timeseries that is to be tracked.

Parameters
UINTstartIndex: the index that the tracked timeseries starts in a given dataset. Default value is startIndex=0
UINTendIndex: the index that the tracked timeseries ends in a given dataset. Default value is endIndex=0
UINTclassLabel: the class label of the tracked timeseries. Default value is classLabel=0

Definition at line 45 of file TimeSeriesPositionTracker.h.

GRT::TimeSeriesPositionTracker::TimeSeriesPositionTracker ( const TimeSeriesPositionTracker rhs)
inline

Copy Constructor, copies the TimeSeriesPositionTracker from the rhs instance to this instance

Parameters
constTimeSeriesPositionTracker &rhs: another instance of the TimeSeriesPositionTracker class from which the data will be copied to this instance

Definition at line 56 of file TimeSeriesPositionTracker.h.

GRT::TimeSeriesPositionTracker::~TimeSeriesPositionTracker ( )
inline

Default Destructor

Definition at line 65 of file TimeSeriesPositionTracker.h.

Member Function Documentation

UINT GRT::TimeSeriesPositionTracker::getClassLabel ( ) const
inline

Gets the class label of the tracked timeseries

Returns
an UINT representing the class label of the tracked timeseries in a given dataset

Definition at line 147 of file TimeSeriesPositionTracker.h.

UINT GRT::TimeSeriesPositionTracker::getEndIndex ( ) const
inline

Gets the end index

Returns
an UINT representing the index that the tracked timeseries ends in a given dataset

Definition at line 133 of file TimeSeriesPositionTracker.h.

UINT GRT::TimeSeriesPositionTracker::getLength ( ) const
inline

Gets the length of the timeseries

Returns
an UINT representing the length of the tracked timeseries

Definition at line 140 of file TimeSeriesPositionTracker.h.

UINT GRT::TimeSeriesPositionTracker::getStartIndex ( ) const
inline

Gets the start index

Returns
an UINT representing the index that the tracked timeseries starts in a given dataset

Definition at line 126 of file TimeSeriesPositionTracker.h.

TimeSeriesPositionTracker& GRT::TimeSeriesPositionTracker::operator= ( const TimeSeriesPositionTracker rhs)
inline

Sets the equals operator, copies the data from the rhs instance to this instance

Parameters
constTimeSeriesPositionTracker &rhs: another instance of the TimeSeriesPositionTracker class from which the data will be copied to this instance
Returns
a reference to this instance of TimeSeriesPositionTracker

Definition at line 73 of file TimeSeriesPositionTracker.h.

void GRT::TimeSeriesPositionTracker::setClassLabel ( UINT  classLabel)
inline

Sets the class label

Parameters
UINTclassLabel: the class label of the tracked timeseries
Returns
void

Definition at line 119 of file TimeSeriesPositionTracker.h.

void GRT::TimeSeriesPositionTracker::setEndIndex ( UINT  endIndex)
inline

Sets the end index

Parameters
UINTendIndex: the index that the tracked timeseries ends in a given dataset
Returns
void

Definition at line 111 of file TimeSeriesPositionTracker.h.

void GRT::TimeSeriesPositionTracker::setStartIndex ( UINT  startIndex)
inline

Sets the start index

Parameters
UINTstartIndex: the index that the tracked timeseries starts in a given dataset
Returns
void

Definition at line 103 of file TimeSeriesPositionTracker.h.

void GRT::TimeSeriesPositionTracker::setTracker ( UINT  startIndex,
UINT  endIndex,
UINT  classLabel 
)
inline

Sets the tracker values

Parameters
UINTstartIndex: the index that the tracked timeseries starts in a given dataset
UINTendIndex: the index that the tracked timeseries ends in a given dataset
UINTclassLabel: the class label of the tracked timeseries
Returns
void

Definition at line 91 of file TimeSeriesPositionTracker.h.


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