CCT.NUI.Core.DepthFramePointerDataSource.Push C# (CSharp) Method

Push() public method

public Push ( ) : void
return void
        public void Push()
        {
            if (this.NewDataAvailable != null)
            {
                this.NewDataAvailable(this.CurrentValue);
            }
        }

Usage Example

Ejemplo n.º 1
0
        private void RunTest(string framePath, Action<HandCollection> assertions)
        {
            var frameSize = new IntSize(640, 480);
            var frame = new DepthDataFrameRepository(frameSize).Load(framePath);
            using (var frameDataSource = new DepthFramePointerDataSource(frame))
            {
                var src = new HandDataSource(new ClusterShapeDataSource(new OpenNIClusterDataSource(frameDataSource, new ClusterDataSourceSettings())));
                frameDataSource.Push();

                assertions(src.CurrentValue);
            }
        }
All Usage Examples Of CCT.NUI.Core.DepthFramePointerDataSource::Push