internal AntiFlickerCapability(MapGenerator node) : base(node) { this.frequencyChangedEvent = new StateChangedEvent(node, SafeNativeMethods.xnRegisterToPowerLineFrequencyChange, SafeNativeMethods.xnUnregisterFromPowerLineFrequencyChange); }
internal AlternativeViewpointCapability(ProductionNode node) : base(node) { this.viewpointChangedEvent = new StateChangedEvent(node, SafeNativeMethods.xnRegisterToViewPointChange, SafeNativeMethods.xnUnregisterFromViewPointChange); }
internal AudioGenerator(Context context, IntPtr nodeHandle, bool addRef) : base(context, nodeHandle, addRef) { this.outputModeChanged = new StateChangedEvent(this, SafeNativeMethods.xnRegisterToWaveOutputModeChanges, SafeNativeMethods.xnUnregisterFromWaveOutputModeChanges); }
internal FrameSyncCapability(Generator node) : base(node) { this.frameSyncChangedEvent = new StateChangedEvent(node, SafeNativeMethods.xnRegisterToFrameSyncChange, SafeNativeMethods.xnUnregisterFromFrameSyncChange); }
internal Player(Context context, IntPtr nodeHandle, bool addRef) : base(context, nodeHandle, addRef) { this.endOfFileReachedEvent = new StateChangedEvent(this, SafeNativeMethods.xnRegisterToEndOfFileReached, SafeNativeMethods.xnUnregisterFromEndOfFileReached); }
internal DepthGenerator(Context context, IntPtr nodeHandle, bool addRef) : base(context, nodeHandle, addRef) { this.fovChanged = new StateChangedEvent(this, SafeNativeMethods.xnRegisterToDepthFieldOfViewChange, SafeNativeMethods.xnUnregisterFromDepthFieldOfViewChange); }
internal CroppingCapability(ProductionNode node) : base(node) { this.croppingChanged = new StateChangedEvent(node, SafeNativeMethods.xnRegisterToCroppingChange, SafeNativeMethods.xnUnregisterFromCroppingChange); }
internal ImageGenerator(Context context, IntPtr nodeHandle, bool addRef) : base(context, nodeHandle, addRef) { this.pixelFormatChanged = new StateChangedEvent(this, SafeNativeMethods.xnRegisterToPixelFormatChange, SafeNativeMethods.xnUnregisterFromPixelFormatChange); }
internal UserPositionCapability(ProductionNode node) : base(node) { this.userPositionChanged = new StateChangedEvent(node, SafeNativeMethods.xnRegisterToUserPositionChange, SafeNativeMethods.xnUnregisterFromUserPositionChange); }
internal MirrorCapability(ProductionNode node) : base(node) { this.mirrorChangedEvent = new StateChangedEvent(node, SafeNativeMethods.xnRegisterToMirrorChange, SafeNativeMethods.xnUnregisterFromMirrorChange); }
internal SkeletonCapability(ProductionNode node) : base(node) { this.jointConfigurationChangedEvent = new StateChangedEvent(node, SafeNativeMethods.xnRegisterToJointConfigurationChange, SafeNativeMethods.xnUnregisterFromJointConfigurationChange); this.internalCalibrationStart = new SafeNativeMethods.XnCalibrationStart(this.InternalCalibrationStart); this.internalCalibrationEnd = new SafeNativeMethods.XnCalibrationEnd(this.InternalCalibrationEnd); }
internal GestureGenerator(Context context, IntPtr nodeHandle, bool addRef) : base(context, nodeHandle, addRef) { this.gestureChanged = new StateChangedEvent(this, SafeNativeMethods.xnRegisterToGestureChange, SafeNativeMethods.xnUnregisterFromGestureChange); this.internalGestureRecognized = new SafeNativeMethods.XnGestureRecognized(this.InternalGestureRecognized); this.internalGestureProgress = new SafeNativeMethods.XnGestureProgress(this.InternalGestureProgress); }
internal DepthGenerator(Context context, IntPtr nodeHandle, bool addRef) : base(context, nodeHandle, addRef) { this.fovChanged = new StateChangedEvent(this, SafeNativeMethods.xnRegisterToDepthFieldOfViewChange, SafeNativeMethods.xnUnregisterFromDepthFieldOfViewChange); if (IsCapabilitySupported(Capabilities.UserPosition)) m_userPositionCapability = new UserPositionCapability(this); else m_userPositionCapability = null; }
internal Generator(Context context, IntPtr pNode, bool addRef) : base(context, pNode, addRef) { this.generationRunningChanged = new StateChangedEvent(this, SafeNativeMethods.xnRegisterToGenerationRunningChange, SafeNativeMethods.xnUnregisterFromGenerationRunningChange); this.newDataAvailable = new StateChangedEvent(this, SafeNativeMethods.xnRegisterToNewDataAvailable, SafeNativeMethods.xnUnregisterFromNewDataAvailable); }
internal Generator(Context context, IntPtr pNode, bool addRef) : base(context, pNode, addRef) { this.generationRunningChanged = new StateChangedEvent(this, SafeNativeMethods.xnRegisterToGenerationRunningChange, SafeNativeMethods.xnUnregisterFromGenerationRunningChange); this.newDataAvailable = new StateChangedEvent(this, SafeNativeMethods.xnRegisterToNewDataAvailable, SafeNativeMethods.xnUnregisterFromNewDataAvailable); if(IsCapabilitySupported(Capabilities.AlternativeViewPoint)) m_alternativeViewpointCapability = new AlternativeViewpointCapability(this); else m_alternativeViewpointCapability = null; if(IsCapabilitySupported(Capabilities.FrameSync)) m_frameSyncCapability = new FrameSyncCapability(this); else m_frameSyncCapability = null; if (IsCapabilitySupported(Capabilities.Mirror)) m_mirrorCapability = new MirrorCapability(this); else m_mirrorCapability = null; }