C# Class GrafitiDemo.Viewer

Inheritance: TuioListener, IGrafitiClientGUIManager, IGestureListener
Afficher le fichier Open project: nuigroup/grafiti Class Usage Examples

Méthodes publiques

Méthode 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

Méthode 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 méthode

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

OnCircleGesture() public méthode

public OnCircleGesture ( object gr, GestureEventArgs args ) : void
gr object
args Grafiti.GestureEventArgs
Résultat void

PointToClient() public méthode

public PointToClient ( IGestureListener target, float x, float y, float &cx, float &cy ) : void
target IGestureListener
x float
y float
cx float
cy float
Résultat void

addTuioCursor() public méthode

public addTuioCursor ( TuioCursor c ) : void
c TUIO.TuioCursor
Résultat void

addTuioObject() public méthode

public addTuioObject ( TuioObject o ) : void
o TUIO.TuioObject
Résultat void

refresh() public méthode

public refresh ( long timestamp ) : void
timestamp long
Résultat void

removeTuioCursor() public méthode

public removeTuioCursor ( TuioCursor c ) : void
c TUIO.TuioCursor
Résultat void

removeTuioObject() public méthode

public removeTuioObject ( TuioObject o ) : void
o TUIO.TuioObject
Résultat void

updateTuioCursor() public méthode

public updateTuioCursor ( TuioCursor c ) : void
c TUIO.TuioCursor
Résultat void

updateTuioObject() public méthode

public updateTuioObject ( TuioObject o ) : void
o TUIO.TuioObject
Résultat void