19 #ifndef INCLUDED_TUIOCONTAINER_H 20 #define INCLUDED_TUIOCONTAINER_H 22 #include "TuioPoint.h" 28 #define TUIO_ACCELERATING 2 29 #define TUIO_DECELERATING 3 30 #define TUIO_ROTATING 4 31 #define TUIO_STOPPED 5 32 #define TUIO_REMOVED 6 34 #define MAX_PATH_SIZE 128 139 virtual void setTuioSource(
int src_id,
const char *src_name,
const char *src_addr);
144 virtual const char* getTuioSourceName()
const;
149 virtual const char* getTuioSourceAddress()
const;
154 virtual int getTuioSourceID()
const;
165 virtual void update (
TuioTime ttime,
float xp,
float yp);
185 virtual void update (
TuioTime ttime,
float xp,
float yp,
float xs,
float ys,
float ma);
197 virtual void update (
float xp,
float yp,
float xs,
float ys,
float ma);
214 virtual void remove(
TuioTime ttime);
220 virtual long getSessionID()
const;
226 virtual void setSessionID(
long s_id);
232 virtual float getXSpeed()
const;
238 virtual float getYSpeed()
const;
250 virtual std::list<TuioPoint> getPath()
const;
256 virtual float getMotionSpeed()
const;
262 virtual float getMotionAccel()
const;
268 virtual int getTuioState()
const;
274 virtual bool isMoving()
const;
int source_id
Definition: TuioContainer.h:85
Definition: TuioContainer.h:44
Definition: TuioTime.h:48
float x_speed
Definition: TuioContainer.h:59
Definition: FlashSender.h:166
Definition: TuioPoint.h:39
float motion_accel
Definition: TuioContainer.h:71
std::string source_name
Definition: TuioContainer.h:89
long session_id
Definition: TuioContainer.h:55
float y_speed
Definition: TuioContainer.h:63
void update(TuioPoint *tpoint)
Definition: TuioPoint.cpp:59
std::list< TuioPoint > path
Definition: TuioContainer.h:77
float motion_speed
Definition: TuioContainer.h:67
std::string source_addr
Definition: TuioContainer.h:93
virtual ~TuioContainer()
Definition: TuioContainer.h:130
int state
Definition: TuioContainer.h:81