Beispiel #1
0
 internal DepthGenerator(IntPtr nodeHandle, bool addRef)
     : base(nodeHandle, addRef)
 {
     this.fovChanged = new StateChangedEvent(this,
         OpenNIImporter.xnRegisterToDepthFieldOfViewChange,
         OpenNIImporter.xnUnregisterFromDepthFieldOfViewChange);
 }
Beispiel #2
0
 public CroppingCapability(ProductionNode node)
     : base(node)
 {
     this.croppingChanged = new StateChangedEvent(node,
         OpenNIImporter.xnRegisterToCroppingChange,
         OpenNIImporter.xnUnregisterFromCroppingChange);
 }
Beispiel #3
0
 internal ImageGenerator(IntPtr nodeHandle, bool addRef)
     : base(nodeHandle, addRef)
 {
     this.pixelFormatChanged = new StateChangedEvent(this,
         OpenNIImporter.xnRegisterToPixelFormatChange,
         OpenNIImporter.xnUnregisterFromPixelFormatChange);
 }
Beispiel #4
0
 public UserPositionCapability(ProductionNode node)
     : base(node)
 {
     this.userPositionChanged = new StateChangedEvent(node,
         OpenNIImporter.xnRegisterToUserPositionChange,
         OpenNIImporter.xnUnregisterFromUserPositionChange);
 }
Beispiel #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);
 }
Beispiel #7
0
 internal AudioGenerator(IntPtr nodeHandle, bool addRef)
     : base(nodeHandle, addRef)
 {
     this.outputModeChanged = new StateChangedEvent(this,
         OpenNIImporter.xnRegisterToWaveOutputModeChanges,
         OpenNIImporter.xnUnregisterFromWaveOutputModeChanges);
 }
Beispiel #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);
Beispiel #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);
        }