Browse Source

fixed debugWindow positioniong

Alexander Hendrich 10 years ago
parent
commit
7f2eb39d1b

+ 7 - 6
bbiwarg/Output/DebugOutput/DebugWindow.Designer.cs

@@ -61,7 +61,7 @@
             // depthImageBox
             // 
             this.depthImageBox.FunctionalMode = Emgu.CV.UI.ImageBox.FunctionalModeOption.Minimum;
-            this.depthImageBox.Location = new System.Drawing.Point(-4, -3);
+            this.depthImageBox.Location = new System.Drawing.Point(0, 0);
             this.depthImageBox.Margin = new System.Windows.Forms.Padding(0);
             this.depthImageBox.Name = "depthImageBox";
             this.depthImageBox.Size = new System.Drawing.Size(320, 240);
@@ -71,7 +71,7 @@
             // fingerImageBox
             // 
             this.fingerImageBox.FunctionalMode = Emgu.CV.UI.ImageBox.FunctionalModeOption.Minimum;
-            this.fingerImageBox.Location = new System.Drawing.Point(316, -3);
+            this.fingerImageBox.Location = new System.Drawing.Point(320, 0);
             this.fingerImageBox.Margin = new System.Windows.Forms.Padding(0);
             this.fingerImageBox.Name = "fingerImageBox";
             this.fingerImageBox.Size = new System.Drawing.Size(320, 240);
@@ -81,7 +81,7 @@
             // handImageBox
             // 
             this.handImageBox.FunctionalMode = Emgu.CV.UI.ImageBox.FunctionalModeOption.Minimum;
-            this.handImageBox.Location = new System.Drawing.Point(636, -3);
+            this.handImageBox.Location = new System.Drawing.Point(640, 0);
             this.handImageBox.Margin = new System.Windows.Forms.Padding(0);
             this.handImageBox.Name = "handImageBox";
             this.handImageBox.Size = new System.Drawing.Size(320, 240);
@@ -91,7 +91,7 @@
             // palmImageBox
             // 
             this.palmImageBox.FunctionalMode = Emgu.CV.UI.ImageBox.FunctionalModeOption.Minimum;
-            this.palmImageBox.Location = new System.Drawing.Point(-4, 237);
+            this.palmImageBox.Location = new System.Drawing.Point(0, 240);
             this.palmImageBox.Margin = new System.Windows.Forms.Padding(0);
             this.palmImageBox.Name = "palmImageBox";
             this.palmImageBox.Size = new System.Drawing.Size(320, 240);
@@ -120,7 +120,8 @@
             this.panel1.Controls.Add(this.previousFrameButton);
             this.panel1.Controls.Add(this.nextFrameButton);
             this.panel1.Controls.Add(this.playPauseButton);
-            this.panel1.Location = new System.Drawing.Point(636, 237);
+            this.panel1.Location = new System.Drawing.Point(640, 240);
+            this.panel1.Margin = new System.Windows.Forms.Padding(0);
             this.panel1.Name = "panel1";
             this.panel1.Size = new System.Drawing.Size(320, 240);
             this.panel1.TabIndex = 3;
@@ -236,7 +237,7 @@
             // touchImageBox
             // 
             this.touchImageBox.FunctionalMode = Emgu.CV.UI.ImageBox.FunctionalModeOption.Minimum;
-            this.touchImageBox.Location = new System.Drawing.Point(316, 237);
+            this.touchImageBox.Location = new System.Drawing.Point(320, 240);
             this.touchImageBox.Margin = new System.Windows.Forms.Padding(0);
             this.touchImageBox.Name = "touchImageBox";
             this.touchImageBox.Size = new System.Drawing.Size(320, 240);

+ 3 - 3
bbiwarg/Parameters.cs

@@ -23,11 +23,11 @@ namespace bbiwarg
         public static readonly int ConsoleHeight = 30;
 
         // input
-        public static readonly InputType InputSource = InputType.Camera;
+        public static readonly InputType InputSource = InputType.Movie;
         public static readonly String InputMoviePath = "..\\..\\videos\\touch\\4.skv";
 
         // Logger
-        public static readonly bool LoggerTimerOutputEnabled = false;
+        public static readonly bool LoggerTimerOutputEnabled = true;
         public static readonly LogSubject LoggerEnabledSubjects = LogSubject.None;
 
         // Debug window
@@ -36,7 +36,7 @@ namespace bbiwarg
         public static readonly String DebugWindowTitle = "BBIWARG - DebugOutput";
 
         // glasses window
-        public static readonly bool GlassesWindowEnabled = true;
+        public static readonly bool GlassesWindowEnabled = false;
         public static readonly int GlassesWindowUpdateRate = 30;
         public static readonly int GlassesWindowUpdateInterval = 1000 / 30; // 30fps
         public static readonly ImageSize GlassesWindowOutputSize = new ImageSize(1024, 768);

+ 0 - 1
bbiwarg/bbiwarg.csproj

@@ -104,7 +104,6 @@
     </Compile>
     <Compile Include="Recognition\TouchRecognition\TouchEvent.cs" />
     <Compile Include="Utility\Projection2DTo2D.cs" />
-    <Compile Include="Output\GlassesOutput\GlassesWindowOld.cs" />
     <Compile Include="Parameters.cs" />
     <Compile Include="Input\InputHandling\InputHandler.cs" />
     <Compile Include="Input\InputProviding\InputProvider.cs" />