19 #ifndef INCLUDED_TUIOBLOB_H 20 #define INCLUDED_TUIOBLOB_H 22 #include "TuioContainer.h" 90 TuioBlob (
TuioTime ttime,
long si,
int bi,
float xp,
float yp,
float a,
float w,
float h,
float f);
104 TuioBlob (
long si,
int bi,
float xp,
float yp,
float a,
float w,
float h,
float f);
118 if (widthFilter)
delete widthFilter;
119 if (heightFilter)
delete heightFilter;
120 if (angleFilter)
delete angleFilter;
127 int getBlobID()
const;
133 void setBlobID(
int bi);
153 void update (
TuioTime ttime,
float xp,
float yp,
float a,
float w,
float h,
float f,
float xs,
float ys,
float rs,
float ma,
float ra);
172 void update (
float xp,
float yp,
float a,
float w,
float h,
float f,
float xs,
float ys,
float rs,
float ma,
float ra);
187 void update (
TuioTime ttime,
float xp,
float yp,
float a,
float w,
float h,
float f);
208 float getWidth()
const;
214 float getHeight()
const;
220 int getScreenWidth(
int w)
const;
226 int getScreenHeight(
int h)
const;
232 float getArea()
const;
238 float getAngle()
const;
244 float getAngleSum()
const;
250 float getAngleDegrees()
const;
256 float getRotationSpeed()
const;
262 float getRotationAccel()
const;
268 bool isMoving()
const;
270 void addAngleThreshold(
float thresh);
272 void removeAngleThreshold();
274 void addAngleFilter(
float mcut,
float beta);
276 void removeAngleFilter();
278 void addSizeThreshold(
float thresh);
280 void removeSizeThreshold();
282 void addSizeFilter(
float mcut,
float beta);
284 void removeSizeFilter();
Definition: OneEuroFilter.h:49
Definition: TuioContainer.h:44
float width
Definition: TuioBlob.h:50
float angle
Definition: TuioBlob.h:42
Definition: TuioTime.h:48
Definition: FlashSender.h:166
float height
Definition: TuioBlob.h:54
virtual void update(TuioTime ttime, float xp, float yp)
Definition: TuioContainer.cpp:95
int blob_id
Definition: TuioBlob.h:38
Definition: TuioBlob.h:32
float area
Definition: TuioBlob.h:58
float angle_sum
Definition: TuioBlob.h:46
virtual ~TuioBlob()
Definition: TuioBlob.h:117
float rotation_speed
Definition: TuioBlob.h:62
float rotation_accel
Definition: TuioBlob.h:66