![]() |
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.
|
Public Member Functions | |
GRTBase (void) | |
virtual | ~GRTBase (void) |
bool | copyGRTBaseVariables (const GRTBase *GRTBase) |
string | getClassType () const |
string | getLastWarningMessage () const |
string | getLastErrorMessage () const |
string | getLastInfoMessage () const |
GRTBase * | getGRTBasePointer () |
const GRTBase * | getGRTBasePointer () const |
Static Public Member Functions | |
static string | getGRTVersion (bool returnRevision=true) |
static string | getGRTRevison () |
Protected Member Functions | |
double | SQR (const double &x) const |
Protected Attributes | |
string | classType |
DebugLog | debugLog |
ErrorLog | errorLog |
InfoLog | infoLog |
TrainingLog | trainingLog |
TestingLog | testingLog |
WarningLog | warningLog |
GRT::GRTBase::GRTBase | ( | void | ) |
Default GRTBase Constructor
Definition at line 25 of file GRTBase.cpp.
|
virtual |
Default GRTBase Destructor
Definition at line 29 of file GRTBase.cpp.
bool GRT::GRTBase::copyGRTBaseVariables | ( | const GRTBase * | GRTBase | ) |
This copies the GRTBase variables from the GRTBase pointer to the instance that calls the function.
const | GRTBase *GRTBase: a pointer to a GRTBase from which the values will be copied to the instance that calls the function |
Definition at line 32 of file GRTBase.cpp.
string GRT::GRTBase::getClassType | ( | ) | const |
This function returns the name of the current class as a string. For example, if you asked AdaBoost for the class type then this function would return "AdaBoost".
return returns a string representing the class type
Definition at line 72 of file GRTBase.cpp.
GRTBase * GRT::GRTBase::getGRTBasePointer | ( | ) |
This functions returns a pointer to the current instance.
Definition at line 76 of file GRTBase.cpp.
const GRTBase * GRT::GRTBase::getGRTBasePointer | ( | ) | const |
This functions returns a const pointer to the current instance.
Definition at line 80 of file GRTBase.cpp.
|
static |
This functions returns the current GRT revision as a string.
Definition at line 68 of file GRTBase.cpp.
|
static |
This functions the GRT version number and revision as a string. If you do not want the revision number then set the returnRevision parameter to false.
bool | returnRevision: sets if the revision number should be added to the string that is returned. Default value is true. |
Definition at line 62 of file GRTBase.cpp.
string GRT::GRTBase::getLastErrorMessage | ( | ) | const |
This function returns the last error message as a string. If no errors have occured, the string will be empty.
Definition at line 54 of file GRTBase.cpp.
string GRT::GRTBase::getLastInfoMessage | ( | ) | const |
This function returns the last info message as a string. If no info have occured, the string will be empty.
Definition at line 58 of file GRTBase.cpp.
string GRT::GRTBase::getLastWarningMessage | ( | ) | const |
This function returns the last warning message as a string. If no warnings have occured, the string will be empty.
Definition at line 50 of file GRTBase.cpp.