public static CameraSettings ReadDefaultFrom(PXCMCapture.Device device)
 {
     CameraSettings result = new CameraSettings();
     result.DepthConfidenceThreshold = (ushort)device.QueryDepthConfidenceThresholdInfo().defaultValue;
     result.IVCAMAccuracy = (int)device.QueryIVCAMAccuracyDefaultValue();
     result.IVCAMFilterOption = (int)device.QueryIVCAMFilterOptionInfo().defaultValue;
     result.IVCAMLaserPower = (int)device.QueryIVCAMLaserPowerInfo().defaultValue;
     result.IVCAMMotionRangeTradeOff = (int)device.QueryIVCAMMotionRangeTradeOffInfo().defaultValue;
     result.changed = true;
     return result;
 }