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::ClassificationSample Class Reference

Public Member Functions

 ClassificationSample (const UINT numDimensions)
 
 ClassificationSample (const UINT classLabel, const VectorDouble &sample)
 
 ClassificationSample (const ClassificationSample &rhs)
 
ClassificationSampleoperator= (const ClassificationSample &rhs)
 
double & operator[] (const UINT &n)
 
const double & operator[] (const UINT &n) const
 
bool clear ()
 
UINT getNumDimensions () const
 
UINT getClassLabel () const
 
VectorDouble getSample () const
 
bool set (UINT classLabel, const VectorDouble &sample)
 
bool setClassLabel (const UINT classLabel)
 
bool setSample (const VectorDouble &sample)
 

Protected Attributes

UINT numDimensions
 
UINT classLabel
 
VectorDouble sample
 

Detailed Description

Definition at line 36 of file ClassificationSample.h.


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