TUIO Scol plugin
Functions
Scol functions definition

Functions

int _CRTuioClient (mmachine m)
 _CRTuioClient : This function create a TUIO object More...
 
int _DSTuioClient (mmachine m)
 _DSTuioClient : Destroy TUIO object More...
 
int _CONNECTTuioClient (mmachine m)
 _CONNECTTuioClient : This function connect the TUIO client More...
 
int _DISCONNECTTuioClient (mmachine m)
 _DISCONNECTTuioClient : This function disconnect the TUIO client More...
 
int _CBTuioAddCursor (mmachine m)
 _CBTuioAddCursor : defines callback for TUIO add cursor event More...
 
int _CBTuioUpdateCursor (mmachine m)
 _CBTuioUpdateCursor : defines callback for TUIO update cursor event More...
 
int _CBTuioRemoveCursor (mmachine m)
 _CBTuioRemoveCursor : defines callback for TUIO remove cursor event More...
 
int _CBTuioAddObject (mmachine m)
 _CBTuioAddObject : defines callback for TUIO add object event More...
 
int _CBTuioUpdateObject (mmachine m)
 _CBTuioUpdateObject : defines callback for TUIO update cursor event More...
 
int _CBTuioRemoveObject (mmachine m)
 _CBTuioRemoveObject : defines callback for TUIO remove object event More...
 

Detailed Description

Scol functions definition

Function Documentation

◆ _CBTuioAddCursor()

int _CBTuioAddCursor ( mmachine  m)

_CBTuioAddCursor : defines callback for TUIO add cursor event

Prototype: fun [ObjTUIO fun [ObjTUIO u0 I F F F F] u1 u0] ObjTUIO

Parameters
ObjTUIO: the TUIO object
fun[ObjTUIO u0 I F F F F] u1 : scol function to call
I: Cursor index
F: X position
F: Y position
F: X velocity
F: Y velocity
u0: user parameter
Returns
ObjTUIO : TUIO object if success

Definition at line 274 of file scolplugin.cpp.

◆ _CBTuioAddObject()

int _CBTuioAddObject ( mmachine  m)

_CBTuioAddObject : defines callback for TUIO add object event

Prototype: fun [ObjTUIO fun [ObjTUIO u0 I F F F F F F] u1 u0] ObjTUIO

Parameters
ObjTUIO: the TUIO object
fun[ObjTUIO u0 I F F F F F F] u1 : scol function to call
I: Object index
F: X position
F: Y position
F: Angle
F: X velocity
F: Y velocity
F: Rotation speed
u0: user parameter
Returns
ObjTUIO : TUIO object if success

Definition at line 417 of file scolplugin.cpp.

◆ _CBTuioRemoveCursor()

int _CBTuioRemoveCursor ( mmachine  m)

_CBTuioRemoveCursor : defines callback for TUIO remove cursor event

Prototype: fun [ObjTUIO fun [ObjTUIO u0 I] u1 u0] ObjTUIO

Parameters
ObjTUIO: the TUIO object
fun[ObjTUIO u0 I] u1 : scol function to call
I: Cursor index
u0: user parameter
Returns
ObjTUIO : TUIO object if success

Definition at line 371 of file scolplugin.cpp.

◆ _CBTuioRemoveObject()

int _CBTuioRemoveObject ( mmachine  m)

_CBTuioRemoveObject : defines callback for TUIO remove object event

Prototype: fun [ObjTUIO fun [ObjTUIO u0 I] u1 u0] ObjTUIO

Parameters
ObjTUIO: the TUIO object
fun[ObjTUIO u0 I] u1 : scol function to call
I: Object index
u0: user parameter
Returns
ObjTUIO : TUIO object if success

Definition at line 520 of file scolplugin.cpp.

◆ _CBTuioUpdateCursor()

int _CBTuioUpdateCursor ( mmachine  m)

_CBTuioUpdateCursor : defines callback for TUIO update cursor event

Prototype: fun [ObjTUIO fun [ObjTUIO u0 I F F F F] u1 u0] ObjTUIO

Parameters
ObjTUIO: the TUIO object
fun[ObjTUIO u0 I F F F F] u1 : scol function to call
I: Cursor index
F: X position
F: Y position
F: X velocity
F: Y velocity
u0: user parameter
Returns
ObjTUIO : TUIO object if success

Definition at line 325 of file scolplugin.cpp.

◆ _CBTuioUpdateObject()

int _CBTuioUpdateObject ( mmachine  m)

_CBTuioUpdateObject : defines callback for TUIO update cursor event

Prototype: fun [ObjTUIO fun [ObjTUIO u0 I F F F F F F] u1 u0] ObjTUIO

Parameters
ObjTUIO: the TUIO object
fun[ObjTUIO u0 I F F F F F F] u1 : scol function to call
I: Object index
F: X position
F: Y position
F: Angle
F: X velocity
F: Y velocity
F: Rotation speed
u0: user parameter
Returns
ObjTUIO : TUIO object if success

Definition at line 472 of file scolplugin.cpp.

◆ _CONNECTTuioClient()

int _CONNECTTuioClient ( mmachine  m)

_CONNECTTuioClient : This function connect the TUIO client

Prototype: fun [ObjTUIO] I

Parameters
ObjTUIO: the TUIO object
Returns
I : return the 1 on success, 0 on fail, NIL otherwise

Definition at line 191 of file scolplugin.cpp.

◆ _CRTuioClient()

int _CRTuioClient ( mmachine  m)

_CRTuioClient : This function create a TUIO object

Prototype: fun [Chn I] ObjTUIO

Parameters
Chn: channel
I: communication port (default : 3333)
Returns
ObjTUIO : the TUIO object if success, NIL otherwise

Definition at line 103 of file scolplugin.cpp.

◆ _DISCONNECTTuioClient()

int _DISCONNECTTuioClient ( mmachine  m)

_DISCONNECTTuioClient : This function disconnect the TUIO client

Prototype: fun [ObjTUIO] I

Parameters
ObjTUIO: the TUIO object
Returns
I : return the 1 on success, NIL otherwise

Definition at line 229 of file scolplugin.cpp.

◆ _DSTuioClient()

int _DSTuioClient ( mmachine  m)

_DSTuioClient : Destroy TUIO object

Prototype: fun [ObjTUIO] I

Parameters
ObjTUIO: TUIO Object to destroy
Returns
I : 0 if success, NIL otherwise

Definition at line 162 of file scolplugin.cpp.