C# Class Controls.Menu

Interaction logic for Menu.xaml
Inheritance: System.Windows.Controls.UserControl
Afficher le fichier Open project: paigedr/swipenserve

Méthodes publiques

Свойство Type Description
canswipe System.Boolean

Protected Properties

Свойство Type Description
lastLeftHandX double
lastLeftHandY double
makingLeftHandSwipe bool
startingLeftHandX double
startingLeftHandY double

Méthodes publiques

Méthode Description
BoxGesture ( int X, int Y ) : void
DetectLeftHandSwipe ( Microsoft.Kinect.Skeleton first, AllFramesReadyEventArgs e ) : void
GetBox ( int X, int Y ) : System.Windows.Shapes.Rectangle
GetCameraPoint ( Microsoft.Kinect.Skeleton first, AllFramesReadyEventArgs e ) : void
Menu ( ) : System
kinectSensorChooser1_KinectSensorChanged ( object sender, System.Windows.DependencyPropertyChangedEventArgs e ) : void
sensor_AllFramesReady ( object sender, AllFramesReadyEventArgs e ) : void

Private Methods

Méthode Description
CameraPosition ( FrameworkElement element, ColorImagePoint point ) : void
GetFirstSkeleton ( AllFramesReadyEventArgs e ) : Microsoft.Kinect.Skeleton
InitializeComponent ( ) : void
ResetSwipe ( Object sender, EventArgs args ) : void
ScalePosition ( FrameworkElement element, Microsoft.Kinect.Joint joint ) : void
StopKinect ( Microsoft.Kinect.KinectSensor sensor ) : void
System ( int connectionId, object target ) : void
UserControl_Loaded ( object sender, RoutedEventArgs e ) : void
Window_Closing ( object sender, System e ) : void
addNewItem ( ) : void
addToOrder ( ) : void
check ( System.Windows.Shapes.Rectangle element, Point point ) : bool
clearAmountCol ( ) : void
clearOptionsCol ( ) : void
clearOrderSelections ( ) : void
clearSizeCol ( ) : void
currentItem ( ) : Food
down_Click ( object sender, RoutedEventArgs e ) : void
formatOrderItem ( Food item ) : String
handleOrderLeftClick ( ) : void
handleOrderRightClick ( ) : void
hideOrderOptions ( ) : void
left_Click ( object sender, RoutedEventArgs e ) : void
right_Click ( object sender, RoutedEventArgs e ) : void
selectAmountCol ( bool fromLeft ) : void
selectCatCol ( bool fromLeft ) : void
selectItemCol ( bool fromLeft ) : void
selectOptionsCol ( bool fromLeft ) : void
selectOrderCol ( ) : void
selectSizeCol ( bool fromLeft ) : void
showSelectedOrderItem ( ) : void
unhideOrderOptions ( ) : void
up_Click ( object sender, RoutedEventArgs e ) : void
updatePrice ( ) : void
updateTotalPrice ( ) : void
updownAmount ( bool up ) : void
updownCategory ( bool up ) : void
updownItem ( bool up ) : void
updownOptions ( bool up ) : void
updownOrderCol ( bool up ) : void
updownSize ( bool up ) : void

Method Details

BoxGesture() public méthode

public BoxGesture ( int X, int Y ) : void
X int
Y int
Résultat void

DetectLeftHandSwipe() public méthode

public DetectLeftHandSwipe ( Microsoft.Kinect.Skeleton first, AllFramesReadyEventArgs e ) : void
first Microsoft.Kinect.Skeleton
e AllFramesReadyEventArgs
Résultat void

GetBox() public méthode

public GetBox ( int X, int Y ) : System.Windows.Shapes.Rectangle
X int
Y int
Résultat System.Windows.Shapes.Rectangle

GetCameraPoint() public méthode

public GetCameraPoint ( Microsoft.Kinect.Skeleton first, AllFramesReadyEventArgs e ) : void
first Microsoft.Kinect.Skeleton
e AllFramesReadyEventArgs
Résultat void

Menu() public méthode

public Menu ( ) : System
Résultat System

kinectSensorChooser1_KinectSensorChanged() public méthode

public kinectSensorChooser1_KinectSensorChanged ( object sender, System.Windows.DependencyPropertyChangedEventArgs e ) : void
sender object
e System.Windows.DependencyPropertyChangedEventArgs
Résultat void

sensor_AllFramesReady() public méthode

public sensor_AllFramesReady ( object sender, AllFramesReadyEventArgs e ) : void
sender object
e AllFramesReadyEventArgs
Résultat void

Property Details

canswipe public_oe property

public Boolean,System canswipe
Résultat System.Boolean

lastLeftHandX protected_oe property

protected double lastLeftHandX
Résultat double

lastLeftHandY protected_oe property

protected double lastLeftHandY
Résultat double

makingLeftHandSwipe protected_oe property

protected bool makingLeftHandSwipe
Résultat bool

startingLeftHandX protected_oe property

protected double startingLeftHandX
Résultat double

startingLeftHandY protected_oe property

protected double startingLeftHandY
Résultat double