#include <TuioCursor.h>
Public Member Functions | |
TuioCursor (TuioTime ttime, long si, int ci, float xp, float yp) | |
TuioCursor (long si, int ci, float xp, float yp) | |
TuioCursor (TuioCursor *tcur) | |
~TuioCursor () | |
int | getCursorID () |
Protected Attributes | |
int | cursor_id |
TUIO::TuioCursor::TuioCursor | ( | TuioTime | ttime, | |
long | si, | |||
int | ci, | |||
float | xp, | |||
float | yp | |||
) | [inline] |
This constructor takes a TuioTime argument and assigns it along with the provided Session ID, Cursor ID, X and Y coordinate to the newly created TuioCursor.
ttime | the TuioTime to assign | |
si | the Session ID to assign | |
ci | the Cursor ID to assign | |
xp | the X coordinate to assign | |
yp | the Y coordinate to assign |
TUIO::TuioCursor::TuioCursor | ( | long | si, | |
int | ci, | |||
float | xp, | |||
float | yp | |||
) | [inline] |
This constructor takes the provided Session ID, Cursor ID, X and Y coordinate and assigs these values to the newly created TuioCursor.
si | the Session ID to assign | |
ci | the Cursor ID to assign | |
xp | the X coordinate to assign | |
yp | the Y coordinate to assign |
TUIO::TuioCursor::TuioCursor | ( | TuioCursor * | tcur | ) | [inline] |
This constructor takes the atttibutes of the provided TuioCursor and assigs these values to the newly created TuioCursor.
tcur | the TuioCursor to assign |
TUIO::TuioCursor::~TuioCursor | ( | ) | [inline] |
The destructor is doing nothing in particular.
int TUIO::TuioCursor::getCursorID | ( | ) | [inline] |
Returns the Cursor ID of this TuioCursor.
int TUIO::TuioCursor::cursor_id [protected] |
The individual cursor ID number that is assigned to each TuioCursor.