OpenNI.Context.OpenFileRecording C# (CSharp) Method

OpenFileRecording() private method

private OpenFileRecording ( string fileName ) : void
fileName string
return void
        public void OpenFileRecording(string fileName)
        {
            this.usingDeprecatedAPI = true;
            int status = SafeNativeMethods.xnContextOpenFileRecording(this.InternalObject, fileName);
            WrapperUtils.ThrowOnError(status);
        }

Usage Example

コード例 #1
0
    // private ctor for singleton
    private OpenNIContext()
    {
        this.context = new Context();
        if (null == context)
        {
            return;
        }

        if (oniFile != "") {
            context.OpenFileRecording(oniFile);
        }

        // NITE license from OpenNI.org
        License ll = new License();
        ll.Key = "0KOIk2JeIBYClPWVnMoRKn5cdY4=";
        ll.Vendor = "PrimeSense";
        context.AddLicense(ll);

        this.Depth = openNode(NodeType.Depth) as DepthGenerator;
        this.mirror = this.Depth.MirrorCapability;
        if (oniFile == "") {
            this.Mirror = true;
        }
    }
All Usage Examples Of OpenNI.Context::OpenFileRecording