C# Class GrafitiDemo.DemoObject

Inheritance: ITangibleGestureListener, IPinchable, ISelectable
Afficher le fichier Open project: nuigroup/grafiti Class Usage Examples

Private Properties

Свойство Type Description
Remove void
Update void

Méthodes publiques

Méthode Description
ContainsPoint ( float x, float y ) : bool
DemoObject ( DemoObjectManager objectManager, Viewer viewer, int fiducialId, float x, float y, float angle ) : System
Draw ( int layer ) : void
GetPinchReference ( float &x, float &y, float &size, float &rotation ) : void
GetSquareDistance ( float x, float y ) : float
OnDoubleTap ( object obj, GestureEventArgs args ) : void
OnEndHover ( object obj, GestureEventArgs args ) : void
OnHover ( object obj, GestureEventArgs args ) : void
OnPinch ( object obj, GestureEventArgs args ) : void
OnTap ( object obj, GestureEventArgs args ) : void
ToString ( ) : string

Private Methods

Méthode Description
Remove ( float x, float y, float angle ) : void
Update ( float x, float y, float angle ) : void

Method Details

ContainsPoint() public méthode

public ContainsPoint ( float x, float y ) : bool
x float
y float
Résultat bool

DemoObject() public méthode

public DemoObject ( DemoObjectManager objectManager, Viewer viewer, int fiducialId, float x, float y, float angle ) : System
objectManager DemoObjectManager
viewer Viewer
fiducialId int
x float
y float
angle float
Résultat System

Draw() public méthode

public Draw ( int layer ) : void
layer int
Résultat void

GetPinchReference() public méthode

public GetPinchReference ( float &x, float &y, float &size, float &rotation ) : void
x float
y float
size float
rotation float
Résultat void

GetSquareDistance() public méthode

public GetSquareDistance ( float x, float y ) : float
x float
y float
Résultat float

OnDoubleTap() public méthode

public OnDoubleTap ( object obj, GestureEventArgs args ) : void
obj object
args Grafiti.GestureEventArgs
Résultat void

OnEndHover() public méthode

public OnEndHover ( object obj, GestureEventArgs args ) : void
obj object
args Grafiti.GestureEventArgs
Résultat void

OnHover() public méthode

public OnHover ( object obj, GestureEventArgs args ) : void
obj object
args Grafiti.GestureEventArgs
Résultat void

OnPinch() public méthode

public OnPinch ( object obj, GestureEventArgs args ) : void
obj object
args Grafiti.GestureEventArgs
Résultat void

OnTap() public méthode

public OnTap ( object obj, GestureEventArgs args ) : void
obj object
args Grafiti.GestureEventArgs
Résultat void

ToString() public méthode

public ToString ( ) : string
Résultat string