C# Class WpfKinectHelper.KinectHelper

Afficher le fichier Open project: bencentra/WpfKinectHelper Class Usage Examples

Méthodes publiques

Свойство Type Description
AudioDataChanged AudioDataChangedEvent
ColorDataChanged ColorDataChangedEvent
DepthDataChanged DepthDataChangedEvent
SkeletonDataChanged SkeletonDataChangedEvent

Private Properties

Свойство Type Description
AudioReadingThread void
AudioSourceBeamChanged void
DrawBone void
DrawSkeletonBonesAndJoints void
DrawSkeletonPosition void
KinectColorFrameReady void
KinectDepthFrameReady void
KinectSkeletonFrameReady void
KinectStatusChanged void
SetNewKinect void
SoundSourceAngleChanged void
StartAudioStream void
StartColorStream void
StartDepthStream void
StartKinect void
StartSkeletonStream void
StopAudioStream void
StopColorStream void
StopDepthStream void
StopKinect void
StopSkeletonStream void

Méthodes publiques

Méthode Description
AdjustElevationAngle ( int newAngle ) : void
ChangeSkeletonBackgroundColor ( System.Windows.Media.Brush brush ) : void
InitializeKinectSensor ( ) : void
KinectHelper ( ) : System
KinectHelper ( bool useColor, bool useDepth, bool useSkeleton, bool useAudio, bool useInfrared ) : System
ShutdownHelper ( ) : void
SkeletonPointToScreen ( Microsoft.Kinect.SkeletonPoint point ) : Point
ToggleSeatedMode ( bool useSeatedMode ) : void

Méthodes protégées

Méthode Description
AudioDataChange ( AudioDataChangeEventArgs e ) : void
ColorDataChange ( ColorDataChangeEventArgs e ) : void
DepthDataChange ( DepthDataChangeEventArgs e ) : void
SkeletonDataChange ( SkeletonDataChangeEventArgs e ) : void

Private Methods

Méthode Description
AudioReadingThread ( ) : void
AudioSourceBeamChanged ( object sender, BeamAngleChangedEventArgs e ) : void
DrawBone ( System.Windows.Media.DrawingContext dc, Microsoft.Kinect.Joint from, Microsoft.Kinect.Joint to ) : void
DrawSkeletonBonesAndJoints ( System.Windows.Media.DrawingContext dc, JointCollection joints ) : void
DrawSkeletonPosition ( System.Windows.Media.DrawingContext dc, Microsoft.Kinect.SkeletonPoint position ) : void
KinectColorFrameReady ( object sender, Microsoft.Kinect.ColorImageFrameReadyEventArgs e ) : void
KinectDepthFrameReady ( object sender, Microsoft.Kinect.DepthImageFrameReadyEventArgs e ) : void
KinectSkeletonFrameReady ( object sender, Microsoft.Kinect.SkeletonFrameReadyEventArgs e ) : void
KinectStatusChanged ( object sender, StatusChangedEventArgs e ) : void
SetNewKinect ( Microsoft.Kinect.KinectSensor newKinect ) : void
SoundSourceAngleChanged ( object sender, SoundSourceAngleChangedEventArgs e ) : void
StartAudioStream ( Microsoft.Kinect.KinectSensor sensor ) : void
StartColorStream ( Microsoft.Kinect.KinectSensor sensor ) : void
StartDepthStream ( Microsoft.Kinect.KinectSensor sensor ) : void
StartKinect ( Microsoft.Kinect.KinectSensor newKinect ) : void
StartSkeletonStream ( Microsoft.Kinect.KinectSensor sensor ) : void
StopAudioStream ( Microsoft.Kinect.KinectSensor sensor ) : void
StopColorStream ( Microsoft.Kinect.KinectSensor sensor ) : void
StopDepthStream ( Microsoft.Kinect.KinectSensor sensor ) : void
StopKinect ( Microsoft.Kinect.KinectSensor oldKinect ) : void
StopSkeletonStream ( Microsoft.Kinect.KinectSensor sensor ) : void

Method Details

AdjustElevationAngle() public méthode

public AdjustElevationAngle ( int newAngle ) : void
newAngle int
Résultat void

AudioDataChange() protected méthode

protected AudioDataChange ( AudioDataChangeEventArgs e ) : void
e AudioDataChangeEventArgs
Résultat void

ChangeSkeletonBackgroundColor() public méthode

public ChangeSkeletonBackgroundColor ( System.Windows.Media.Brush brush ) : void
brush System.Windows.Media.Brush
Résultat void

ColorDataChange() protected méthode

protected ColorDataChange ( ColorDataChangeEventArgs e ) : void
e ColorDataChangeEventArgs
Résultat void

DepthDataChange() protected méthode

protected DepthDataChange ( DepthDataChangeEventArgs e ) : void
e DepthDataChangeEventArgs
Résultat void

InitializeKinectSensor() public méthode

public InitializeKinectSensor ( ) : void
Résultat void

KinectHelper() public méthode

public KinectHelper ( ) : System
Résultat System

KinectHelper() public méthode

public KinectHelper ( bool useColor, bool useDepth, bool useSkeleton, bool useAudio, bool useInfrared ) : System
useColor bool
useDepth bool
useSkeleton bool
useAudio bool
useInfrared bool
Résultat System

ShutdownHelper() public méthode

public ShutdownHelper ( ) : void
Résultat void

SkeletonDataChange() protected méthode

protected SkeletonDataChange ( SkeletonDataChangeEventArgs e ) : void
e SkeletonDataChangeEventArgs
Résultat void

SkeletonPointToScreen() public méthode

public SkeletonPointToScreen ( Microsoft.Kinect.SkeletonPoint point ) : Point
point Microsoft.Kinect.SkeletonPoint
Résultat Point

ToggleSeatedMode() public méthode

public ToggleSeatedMode ( bool useSeatedMode ) : void
useSeatedMode bool
Résultat void

Property Details

AudioDataChanged public_oe property

public AudioDataChangedEvent AudioDataChanged
Résultat AudioDataChangedEvent

ColorDataChanged public_oe property

public ColorDataChangedEvent ColorDataChanged
Résultat ColorDataChangedEvent

DepthDataChanged public_oe property

public DepthDataChangedEvent DepthDataChanged
Résultat DepthDataChangedEvent

SkeletonDataChanged public_oe property

public SkeletonDataChangedEvent SkeletonDataChanged
Résultat SkeletonDataChangedEvent