Inheritance: IDisposable
Example #1
0
        private void CreateControllerInTrackingMode()
        {
            //this.handDataSource = new HandDataSource(this.factory.CreateShapeDataSource(this.trackingClusterDataSource));
            //this.mouseController = new MouseController(this.handDataSource, this.trackingClusterDataSource);
            this.clusterDataSource = this.factory.CreateClusterDataSource(new ClusterDataSourceSettings { MaximumDepthThreshold = 900 });
            this.handDataSource = new HandDataSource(this.factory.CreateShapeDataSource(this.clusterDataSource, new Core.Shape.ShapeDataSourceSettings()));
            this.mouseController = new MouseController(this.handDataSource);

            this.mouseController.Enabled = this.buttonToggle.IsChecked.Value;
            this.handDataSource.Start();
        }
Example #2
0
 private void CreateController()
 {
     this.handDataSource = new HandDataSource(this.factory.CreateShapeDataSource(this.factory.CreateClusterDataSource(new Core.Clustering.ClusterDataSourceSettings { MaximumDepthThreshold = 900 }), new Core.Shape.ShapeDataSourceSettings()));
     this.mouseController = new MouseController(this.handDataSource, this.buttonToggle.IsChecked.Value);
     this.handDataSource.Start();
 }