internal static OniImageRegistrationMode ToNative(this ImageRegistrationMode imageRegistrationMode) { switch (imageRegistrationMode) { case ImageRegistrationMode.Off: return(OniImageRegistrationMode.ONI_IMAGE_REGISTRATION_OFF); case ImageRegistrationMode.DepthToColor: return(OniImageRegistrationMode.ONI_IMAGE_REGISTRATION_DEPTH_TO_COLOR); default: throw new ArgumentOutOfRangeException("imageRegistrationMode"); } }
private static extern OpenNI.Status Device_setImageRegistrationMode( IntPtr objectHandler, ImageRegistrationMode mode);
private static extern bool Device_isImageRegistrationModeSupported( IntPtr objectHandler, ImageRegistrationMode mode);
public bool IsImageRegistrationModeSupported(ImageRegistrationMode mode) { return(Device_isImageRegistrationModeSupported(this.Handle, mode)); }
public bool IsImageRegistrationModeSupported(ImageRegistrationMode mode) { return Device_isImageRegistrationModeSupported(this.Handle, mode); }