コード例 #1
0
        public static CameraSettings ReadFrom(PXCMCapture.Device device)
        {
            CameraSettings result = new CameraSettings();

            result.DepthConfidenceThreshold = device.QueryDepthConfidenceThreshold();
            result.IVCAMAccuracy            = (int)device.QueryIVCAMAccuracy();
            result.IVCAMFilterOption        = device.QueryIVCAMFilterOption();
            result.IVCAMLaserPower          = device.QueryIVCAMLaserPower();
            result.IVCAMMotionRangeTradeOff = device.QueryIVCAMMotionRangeTradeOff();
            result.changed = false;
            return(result);
        }