private void Start()
{
this.Cursor = Cursors.Wait;
this.checkClusterLayer.IsEnabled = true;
this.checkHandLayer.IsEnabled = true;
this.factory = new SDKDataSourceFactory();
this.clusterDataSource = this.factory.CreateClusterDataSource(new ClusterDataSourceSettings { MaximumDepthThreshold = 1000 });
this.handDataSource = new HandDataSource(this.factory.CreateShapeDataSource(this.clusterDataSource, new Core.Shape.ShapeDataSourceSettings()));
//this.rgbImageDataSource = this.factory.CreateRGBImageDataSource();
//this.rgbImageDataSource.Start();
var depthImageSource = this.factory.CreateDepthImageDataSource();
depthImageSource.NewDataAvailable += new NewDataHandler<ImageSource>(MainWindow_NewDataAvailable);
depthImageSource.Start();
handDataSource.Start();
//this.mouseController = new MouseController(handDataSource,true);
this.Cursor = Cursors.Arrow;
handDataSource.NewDataAvailable += new NewDataHandler<HandCollection>(handDataSource_NewDataAvailable);
}