Ejemplo n.º 1
0
 public KinectCalibrationWindow(RemotingServer remotingServer)
 {
     InitializeComponent();
     Remote = remotingServer;
     Remote.StoreOption("Save.Directory");
     Remote.StoreOption("Save.Label");
     Remote.StoreOption("Save.NoTimestamp");
     Remote.StoreOption("Kinect.Mode");
     TBPath.Text          = PathSetting.GetAbsolutePath(Remote.GetOption("Save.CalibrationDirectory"));
     CheckBoxes           = new CheckBox[] { CBInfrared, CBColor, CBDepth };
     Modes                = new string[] { "Infrared", "Color", "Depth" };
     Commands             = new string[] { "Export", "Export", "Save" };
     Arguments            = new string[] { "PNG/raw", "PNG/raw", "" };
     Labels               = new string[] { "Infrared", "Color", "Depth" };
     SAngle.ValueChanged += SAngle_ValueChanged;
 }