Bela
Real-time, ultra-low-latency audio and sensor processing system for BeagleBone Black
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups
Classes | Public Types | Public Member Functions | List of all members
CentroidDetection Class Reference

Classes

class  CalculateCentroids
 

Public Types

typedef float DATA_T
 

Public Member Functions

 CentroidDetection (unsigned int numReadings, unsigned int maxNumCentroids, float sizeScale)
 
 CentroidDetection (const std::vector< unsigned int > &order, unsigned int maxNumCentroids, float sizeScale)
 
int setup (unsigned int numReadings, unsigned int maxNumCentroids, float sizeScale)
 
int setup (const std::vector< unsigned int > &order, unsigned int maxNumCentroids, float sizeScale)
 
void process (const DATA_T *rawData)
 
void setSizeScale (float sizeScale)
 
void setMinimumTouchSize (DATA_T minSize)
 
unsigned int getNumTouches ()
 
DATA_T touchLocation (unsigned int touch_num)
 
DATA_T touchSize (unsigned int touch_num)
 
DATA_T compoundTouchLocation ()
 
DATA_T compoundTouchSize ()
 

Detailed Description

Examples:
Trill/flex-visual/render.cpp.

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