From 7c0db8cd7e89af9897180035a8d5ee050327655a Mon Sep 17 00:00:00 2001 From: nico Date: Sun, 14 Jan 2024 14:57:07 +0100 Subject: [PATCH] :construction: KinectStream subclasses setup --- KinectConnection/ColorImageStream.cs | 24 ++++++++++++++++++++++++ KinectConnection/DepthImageStream.cs | 24 ++++++++++++++++++++++++ KinectConnection/InfraredImgaeStream.cs | 24 ++++++++++++++++++++++++ KinectConnection/KinectStream.cs | 2 ++ 4 files changed, 74 insertions(+) create mode 100644 KinectConnection/ColorImageStream.cs create mode 100644 KinectConnection/DepthImageStream.cs create mode 100644 KinectConnection/InfraredImgaeStream.cs diff --git a/KinectConnection/ColorImageStream.cs b/KinectConnection/ColorImageStream.cs new file mode 100644 index 0000000..ab14316 --- /dev/null +++ b/KinectConnection/ColorImageStream.cs @@ -0,0 +1,24 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace KinectConnection +{ + /// + /// The color image stream. + /// + public class ColorImageStream : KinectStream + { + public override void Start() + { + throw new NotImplementedException(); + } + + public override void Stop() + { + throw new NotImplementedException(); + } + } +} diff --git a/KinectConnection/DepthImageStream.cs b/KinectConnection/DepthImageStream.cs new file mode 100644 index 0000000..017acde --- /dev/null +++ b/KinectConnection/DepthImageStream.cs @@ -0,0 +1,24 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace KinectConnection +{ + /// + /// The depth image stream. + /// + public class DepthImageStream : KinectStream + { + public override void Start() + { + throw new NotImplementedException(); + } + + public override void Stop() + { + throw new NotImplementedException(); + } + } +} diff --git a/KinectConnection/InfraredImgaeStream.cs b/KinectConnection/InfraredImgaeStream.cs new file mode 100644 index 0000000..cb79669 --- /dev/null +++ b/KinectConnection/InfraredImgaeStream.cs @@ -0,0 +1,24 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace KinectConnection +{ + /// + /// The infrared image stream. + /// + public class InfraredImgaeStream : KinectStream + { + public override void Start() + { + throw new NotImplementedException(); + } + + public override void Stop() + { + throw new NotImplementedException(); + } + } +} diff --git a/KinectConnection/KinectStream.cs b/KinectConnection/KinectStream.cs index e083345..1b84e83 100644 --- a/KinectConnection/KinectStream.cs +++ b/KinectConnection/KinectStream.cs @@ -12,7 +12,9 @@ namespace KinectConnection /// public abstract class KinectStream { + // Redondant d'avoir KinectSensor et KinectManager ici ? (car sensor dans manager) protected KinectSensor KinectSensor { get; set; } + protected KinectManager KinectManager { get; set; } public abstract void Start();