Browse Source

Put DataSource Classes in namespace bbiwarg.DataSource.

Daniel Kauth 11 years ago
parent
commit
87e329a90a

+ 5 - 1
bbiwarg/DataSource/IVideoDataSource.cs

@@ -2,7 +2,7 @@
 
 using MathNet.Numerics.LinearAlgebra.Single;
 
-namespace bbiwarg
+namespace bbiwarg.DataSource
 {
     public enum FingerStatus
     {
@@ -59,6 +59,10 @@ namespace bbiwarg
          */
         DepthImage getDepthImage();
 
+        /**
+         * 
+         */
+        ColorImage getColorImage();
         /*
          * all handIndices have to be 1 or 2
          */

+ 1 - 1
bbiwarg/DataSource/IisuDataSource.cs

@@ -4,7 +4,7 @@ using System.Runtime.InteropServices;
 using Iisu;
 using MathNet.Numerics.LinearAlgebra.Single;
 
-namespace bbiwarg
+namespace bbiwarg.DataSource
 {
     class IIsuDataSource: IVideoDataSource
     {

+ 2 - 2
bbiwarg/TestDataSource.cs

@@ -8,7 +8,7 @@ namespace bbiwarg
     {
         static void Main(string[] args)
         {
-            IVideoDataSource source = new IIsuDataSource("..\\..\\videos\\2.skv");
+            DataSource.IVideoDataSource source = new DataSource.IIsuDataSource("..\\..\\videos\\2.skv");
 
             source.init();
             source.start();
@@ -21,7 +21,7 @@ namespace bbiwarg
 
                 if ((i % 30) == 0)
                 {
-                    DepthImage image = source.getDepthImage();
+                    DataSource.DepthImage image = source.getDepthImage();
 
                     Bitmap bm = new Bitmap(image.getWidth(), image.getHeight());
                     for (int x = 0; x < image.getWidth(); ++x)