#include <TuioCursor.h>
List of all members.
Detailed Description
The TuioCursor class encapsulates /tuio/2Dcur TUIO cursors.
- Author:
- Martin Kaltenbrunner
- Version:
- 1.4
Constructor & Destructor Documentation
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.
- Parameters:
-
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.
- Parameters:
-
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.
- Parameters:
-
TUIO::TuioCursor::~TuioCursor |
( |
) |
[inline] |
The destructor is doing nothing in particular.
Member Function Documentation
int TUIO::TuioCursor::getCursorID |
( |
) |
[inline] |
Member Data Documentation
The individual cursor ID number that is assigned to each TuioCursor.
The documentation for this class was generated from the following file: