Gestro
Public Member Functions | Public Attributes | List of all members
GestureDetection::FingerAndCoordinates Class Reference

class to store the information detected by the FingerCounter. More...

#include <FingerAndCoordinates.h>

Collaboration diagram for GestureDetection::FingerAndCoordinates:
Collaboration graph

Public Member Functions

 FingerAndCoordinates ()
 
 FingerAndCoordinates (Commands, int x=0, int y=0)
 

Public Attributes

int command = 0
 stores the command ENUM More...
 
int x
 int to store the x coordinate of the highest point More...
 
int y
 int to store the y coordinate of the highest point More...
 

Detailed Description

class to store the information detected by the FingerCounter.

Definition at line 8 of file FingerAndCoordinates.h.

Constructor & Destructor Documentation

◆ FingerAndCoordinates() [1/2]

FingerAndCoordinates::FingerAndCoordinates ( )

Default constructor

Definition at line 5 of file FingerAndCoordinates.cpp.

◆ FingerAndCoordinates() [2/2]

FingerAndCoordinates::FingerAndCoordinates ( Commands  newCommand,
int  x = 0,
int  y = 0 
)

This function is a constructor for the FingerAndCoordinates class.

Parameters
newCommandThe command that was detected.
xThe x coordinate of the highest point
yThe y coordinate of the highest point.

Definition at line 8 of file FingerAndCoordinates.cpp.

Member Data Documentation

◆ command

int GestureDetection::FingerAndCoordinates::command = 0

stores the command ENUM

Definition at line 11 of file FingerAndCoordinates.h.

◆ x

int GestureDetection::FingerAndCoordinates::x

int to store the x coordinate of the highest point

Definition at line 13 of file FingerAndCoordinates.h.

◆ y

int GestureDetection::FingerAndCoordinates::y

int to store the y coordinate of the highest point

Definition at line 15 of file FingerAndCoordinates.h.


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