C# Class GrafitiDemo.Viewer

Inheritance: TuioListener, IGrafitiClientGUIManager, IGestureListener
Show file Open project: nuigroup/grafiti Class Usage Examples

Public Methods

Method Description
GetVisualsAt ( float x, float y, IGestureListener &zGestureListener, object &zControl, List &tangibleListeners ) : void
OnCircleGesture ( object gr, GestureEventArgs args ) : void
PointToClient ( IGestureListener target, float x, float y, float &cx, float &cy ) : void
addTuioCursor ( TuioCursor c ) : void
addTuioObject ( TuioObject o ) : void
refresh ( long timestamp ) : void
removeTuioCursor ( TuioCursor c ) : void
removeTuioObject ( TuioObject o ) : void
updateTuioCursor ( TuioCursor c ) : void
updateTuioObject ( TuioObject o ) : void

Private Methods

Method Description
Display ( ) : void
DrawCalibrationGrid ( ) : void
Exit ( ) : void
Init ( ) : void

Initializes graphics

KeyPressed ( byte key, int x, int y ) : void
Main ( String argv ) : void
PrintProjectionParameters ( ) : void
Reshape ( int w, int h ) : void
S_Display ( ) : void

Display callback function

S_KeyPressed ( byte key, int x, int y ) : void
S_Reshape ( int w, int h ) : void

Called when the window changes size

S_SpecialKeyPressed ( int key, int x, int y ) : void
S_Timer ( int val ) : void

Redraws periodically the screen.

SpecialKeyPressed ( int key, int x, int y ) : void
ToggleFullScreen ( ) : void
Viewer ( ) : System
Viewer ( float x, float y, float w, float h, float a ) : System

Method Details

GetVisualsAt() public method

public GetVisualsAt ( float x, float y, IGestureListener &zGestureListener, object &zControl, List &tangibleListeners ) : void
x float
y float
zGestureListener IGestureListener
zControl object
tangibleListeners List
return void

OnCircleGesture() public method

public OnCircleGesture ( object gr, GestureEventArgs args ) : void
gr object
args Grafiti.GestureEventArgs
return void

PointToClient() public method

public PointToClient ( IGestureListener target, float x, float y, float &cx, float &cy ) : void
target IGestureListener
x float
y float
cx float
cy float
return void

addTuioCursor() public method

public addTuioCursor ( TuioCursor c ) : void
c TUIO.TuioCursor
return void

addTuioObject() public method

public addTuioObject ( TuioObject o ) : void
o TUIO.TuioObject
return void

refresh() public method

public refresh ( long timestamp ) : void
timestamp long
return void

removeTuioCursor() public method

public removeTuioCursor ( TuioCursor c ) : void
c TUIO.TuioCursor
return void

removeTuioObject() public method

public removeTuioObject ( TuioObject o ) : void
o TUIO.TuioObject
return void

updateTuioCursor() public method

public updateTuioCursor ( TuioCursor c ) : void
c TUIO.TuioCursor
return void

updateTuioObject() public method

public updateTuioObject ( TuioObject o ) : void
o TUIO.TuioObject
return void