Beispiel #1
0
        public MainWindow()
        {
            InitializeComponent();

            this.DataContext  = KinectDataContext.Instance;
            this.imageBuilder = new ImageBuilder(640, 480);
            this.udpSender    = new UdpSender();

            initSensor();

            worker.DoWork             += worker_DoWork;
            worker.RunWorkerCompleted += worker_Completed;
        }
Beispiel #2
0
 public void AttachBuilder(ImageBuilder builder)
 {
     this.imgBuilder = builder;
 }