Example #1
0
 internal DepthGenerator(IntPtr nodeHandle, bool addRef)
     : base(nodeHandle, addRef)
 {
     this.fovChanged = new StateChangedEvent(this,
         OpenNIImporter.xnRegisterToDepthFieldOfViewChange,
         OpenNIImporter.xnUnregisterFromDepthFieldOfViewChange);
 }
Example #2
0
 public CroppingCapability(ProductionNode node)
     : base(node)
 {
     this.croppingChanged = new StateChangedEvent(node,
         OpenNIImporter.xnRegisterToCroppingChange,
         OpenNIImporter.xnUnregisterFromCroppingChange);
 }
Example #3
0
 internal ImageGenerator(IntPtr nodeHandle, bool addRef)
     : base(nodeHandle, addRef)
 {
     this.pixelFormatChanged = new StateChangedEvent(this,
         OpenNIImporter.xnRegisterToPixelFormatChange,
         OpenNIImporter.xnUnregisterFromPixelFormatChange);
 }
Example #4
0
 public UserPositionCapability(ProductionNode node)
     : base(node)
 {
     this.userPositionChanged = new StateChangedEvent(node,
         OpenNIImporter.xnRegisterToUserPositionChange,
         OpenNIImporter.xnUnregisterFromUserPositionChange);
 }
Example #5
0
 public MirrorCapability(ProductionNode node)
     : base(node)
 {
     this.mirrorChangedEvent = new StateChangedEvent(node,
         OpenNIImporter.xnRegisterToMirrorChange,
         OpenNIImporter.xnUnregisterFromMirrorChange);
 }
 public AlternativeViewPointCapability(ProductionNode node)
     : base(node)
 {
     this.viewPointChangedEvent = new StateChangedEvent(node,
         OpenNIImporter.xnRegisterToViewPointChange,
         OpenNIImporter.xnUnregisterFromViewPointChange);
 }
Example #7
0
 internal AudioGenerator(IntPtr nodeHandle, bool addRef)
     : base(nodeHandle, addRef)
 {
     this.outputModeChanged = new StateChangedEvent(this,
         OpenNIImporter.xnRegisterToWaveOutputModeChanges,
         OpenNIImporter.xnUnregisterFromWaveOutputModeChanges);
 }
Example #8
0
 internal Player(IntPtr nodeHandle, bool addRef)
     : base(nodeHandle, addRef)
 {
     this.endOfFileReachedEvent = new StateChangedEvent(this,
         OpenNIImporter.xnRegisterToEndOfFileReached,
         OpenNIImporter.xnUnregisterFromEndOfFileReached);
 }
 public FrameSyncCapability(Generator node)
     : base(node)
 {
     this.frameSyncChangedEvent = new StateChangedEvent(node,
         OpenNIImporter.xnRegisterToFrameSyncChange,
         OpenNIImporter.xnUnregisterFromFrameSyncChange);
 }
        internal GestureGenerator(IntPtr nodeHandle, bool addRef)
            : base(nodeHandle, addRef)
        {
            this.gestureChanged = new StateChangedEvent(this,
                OpenNIImporter.xnRegisterToGestureChange,
                OpenNIImporter.xnUnregisterFromGestureChange);

            this.internalGestureRecognized = new OpenNIImporter.XnGestureRecognized(this.InternalGestureRecognized);
            this.internalGestureProgress = new OpenNIImporter.XnGestureProgress(this.InternalGestureProgress);
        }
            return OpenNIImporter.xnIsJointAvailable(this.InternalObject, joint);
        }
        public bool IsProfileAvailable(SkeletonProfile profile)
        {
            return OpenNIImporter.xnIsProfileAvailable(this.InternalObject, profile);
        }

        public void SetSkeletonProfile(SkeletonProfile profile)
        {
            UInt32 status = OpenNIImporter.xnSetSkeletonProfile(this.InternalObject, profile);
Example #12
0
        internal Generator(IntPtr pNode, bool addRef)
            : base(pNode, addRef)
        {
            this.generationRunningChanged = new StateChangedEvent(this,
                OpenNIImporter.xnRegisterToGenerationRunningChange,
                OpenNIImporter.xnUnregisterFromGenerationRunningChange);

            this.newDataAvailable = new StateChangedEvent(this,
                OpenNIImporter.xnRegisterToNewDataAvailable,
                OpenNIImporter.xnUnregisterFromNewDataAvailable);
        }