C# Method and Parameter Name Changes (2.0.0)

You are viewing an old version of the documentation. You can switch to the documentation of the latest version by clicking the top-right corner of the page.

Mech-Eye API 2.0.0 changed C# method and parameter names. If you have installed Mech-Eye SDK 2.0.0 but still use programs written before, please modify the method and parameter names in your programs according to the following tables.

Method Name Changes

Before 2.0.0 2.0.0

ColorMap.at(uint, uint)

ColorMap.At(uint, uint)

ColorMap.data()

ColorMap.Data()

ColorMap.empty()

ColorMap.Empty()

ColorMap.height()

ColorMap.Height()

ColorMap.release()

ColorMap.Release()

ColorMap.resize(uint, uint)

ColorMap.Resize(uint, uint)

ColorMap.width()

ColorMap.Width()

DepthMap.at(uint, uint)

DepthMap.At(uint, uint)

DepthMap.data()

DepthMap.Data()

DepthMap.empty()

DepthMap.Empty()

DepthMap.height()

DepthMap.Height()

DepthMap.release()

DepthMap.Release()

DepthMap.resize(uint, uint)

DepthMap.Resize(uint, uint)

DepthMap.width()

DepthMap.Width()

MechEyeDevice.addUserSet(string)

MechEyeDevice.AddUserSet(string)

MechEyeDevice.captureColorMap(mmind.apiSharp.ColorMap)

MechEyeDevice.CaptureColorMap(mmind.apiSharp.ColorMap)

MechEyeDevice.captureDepthMap(mmind.apiSharp.DepthMap)

MechEyeDevice.CaptureDepthMap(mmind.apiSharp.DepthMap)

MechEyeDevice.capturePointXYZBGRMap(mmind.apiSharp.PointXYZBGRMap)

MechEyeDevice.CapturePointXYZBGRMap(mmind.apiSharp.PointXYZBGRMap)

MechEyeDevice.capturePointXYZMap(mmind.apiSharp.PointXYZMap)

MechEyeDevice.CapturePointXYZMap(mmind.apiSharp.PointXYZMap)

MechEyeDevice.connect(mmind.apiSharp.MechEyeDeviceInfo)

MechEyeDevice.Connect(mmind.apiSharp.MechEyeDeviceInfo)

MechEyeDevice.connect(string)

MechEyeDevice.Connect(string)

MechEyeDevice.connect(string, ushort)

MechEyeDevice.Connect(string, ushort)

MechEyeDevice.deleteUserSet(string)

MechEyeDevice.DeleteUserSet(string)

MechEyeDevice.disconnect()

MechEyeDevice.Disconnect()

MechEyeDevice.enumerateMechEyeDeviceList()

MechEyeDevice.EnumerateMechEyeDeviceList()

MechEyeDevice.getAllUserSets(System.Collections.Generic.List<string>)

MechEyeDevice.GetAllUserSets(System.Collections.Generic.List<string>)

MechEyeDevice.getApiInformation()

MechEyeDevice.GetApiInformation()

MechEyeDevice.getCloudOutlierFilterMode(mmind.apiSharp.CloudOutlierFilterMode)

MechEyeDevice.GetCloudOutlierFilterMode(mmind.apiSharp.CloudOutlierFilterMode)

MechEyeDevice.getCloudSmoothMode(mmind.apiSharp.CloudSmoothMode)

MechEyeDevice.GetCloudSmoothMode(mmind.apiSharp.CloudSmoothMode)

MechEyeDevice.getCurrentUserSet(string)

MechEyeDevice.GetCurrentUserSet(string)

MechEyeDevice.getDepthRange(mmind.apiSharp.DepthRange)

MechEyeDevice.GetDepthRange(mmind.apiSharp.DepthRange)

MechEyeDevice.getDeviceInfo(mmind.apiSharp.MechEyeDeviceInfo)

MechEyeDevice.GetDeviceInfo(mmind.apiSharp.MechEyeDeviceInfo)

MechEyeDevice.getDeviceIntri(mmind.apiSharp.DeviceIntri)

MechEyeDevice.GetDeviceIntri(mmind.apiSharp.DeviceIntri)

MechEyeDevice.getDeviceResolution(mmind.apiSharp.DeviceResolution)

MechEyeDevice.GetDeviceResolution(mmind.apiSharp.DeviceResolution)

MechEyeDevice.getFringeContrastThreshold(int)

MechEyeDevice.GetFringeContrastThreshold(int)

MechEyeDevice.getFringeMinThreshold(int)

MechEyeDevice.GetFringeMinThreshold(int)

MechEyeDevice.getLaserSettings(mmind.apiSharp.LaserSettings)

MechEyeDevice.GetLaserSettings(mmind.apiSharp.LaserSettings)

MechEyeDevice.getScan2DExpectedGrayValue(int)

MechEyeDevice.GetScan2DExpectedGrayValue(int)

MechEyeDevice.getScan2DExposureMode(mmind.apiSharp.Scan2DExposureMode)

MechEyeDevice.GetScan2DExposureMode(mmind.apiSharp.Scan2DExposureMode)

MechEyeDevice.getScan2DExposureTime(double)

MechEyeDevice.GetScan2DExposureTime(double)

MechEyeDevice.getScan2DHDRExposureSequence(System.Collections.Generic.List<double>)

MechEyeDevice.GetScan2DHDRExposureSequence(System.Collections.Generic.List<double>)

MechEyeDevice.getScan2DROI(mmind.apiSharp.ROI)

MechEyeDevice.GetScan2DROI(mmind.apiSharp.ROI)

MechEyeDevice.getScan2DSharpenFactor(double)

MechEyeDevice.GetScan2DSharpenFactor(double)

MechEyeDevice.getScan2DToneMappingEnable(bool)

MechEyeDevice.GetScan2DToneMappingEnable(bool)

MechEyeDevice.getScan3DExposure(System.Collections.Generic.List<double>)

MechEyeDevice.GetScan3DExposure(System.Collections.Generic.List<double>)

MechEyeDevice.getScan3DGain(double)

MechEyeDevice.GetScan3DGain(double)

MechEyeDevice.getScan3DROI(mmind.apiSharp.ROI)

MechEyeDevice.GetScan3DROI(mmind.apiSharp.ROI)

MechEyeDevice.getUhpCaptureMode(mmind.apiSharp.UhpCaptureMode)

MechEyeDevice.GetUhpCaptureMode(mmind.apiSharp.UhpCaptureMode)

MechEyeDevice.getUhpFringeCodingMode(mmind.apiSharp.UhpFringeCodingMode)

MechEyeDevice.GetUhpFringeCodingMode(mmind.apiSharp.UhpFringeCodingMode)

MechEyeDevice.getUhpSettings(mmind.apiSharp.UhpSettings)

MechEyeDevice.GetUhpSettings(mmind.apiSharp.UhpSettings)

MechEyeDevice.saveAllSettingsToUserSets()

MechEyeDevice.SaveAllSettingsToUserSets()

MechEyeDevice.setCloudOutlierFilterMode(mmind.apiSharp.CloudOutlierFilterMode)

MechEyeDevice.SetCloudOutlierFilterMode(mmind.apiSharp.CloudOutlierFilterMode)

MechEyeDevice.setCloudSmoothMode(mmind.apiSharp.CloudSmoothMode)

MechEyeDevice.SetCloudSmoothMode(mmind.apiSharp.CloudSmoothMode)

MechEyeDevice.setCurrentUserSet(string)

MechEyeDevice.SetCurrentUserSet(string)

MechEyeDevice.setDepthRange(mmind.apiSharp.DepthRange)

MechEyeDevice.SetDepthRange(mmind.apiSharp.DepthRange)

MechEyeDevice.setFringeContrastThreshold(int)

MechEyeDevice.SetFringeContrastThreshold(int)

MechEyeDevice.setFringeMinThreshold(int)

MechEyeDevice.SetFringeMinThreshold(int)

MechEyeDevice.setLaserSettings(mmind.apiSharp.LaserSettings)

MechEyeDevice.SetLaserSettings(mmind.apiSharp.LaserSettings)

MechEyeDevice.setScan2DExpectedGrayValue(int)

MechEyeDevice.SetScan2DExpectedGrayValue(int)

MechEyeDevice.setScan2DExposureMode(mmind.apiSharp.Scan2DExposureMode)

MechEyeDevice.SetScan2DExposureMode(mmind.apiSharp.Scan2DExposureMode)

MechEyeDevice.setScan2DExposureTime(double)

MechEyeDevice.SetScan2DExposureTime(double)

MechEyeDevice.setScan2DHDRExposureSequence(System.Collections.Generic.List<double>)

MechEyeDevice.SetScan2DHDRExposureSequence(System.Collections.Generic.List<double>)

MechEyeDevice.setScan2DROI(mmind.apiSharp.ROI)

MechEyeDevice.SetScan2DROI(mmind.apiSharp.ROI)

MechEyeDevice.setScan2DSharpenFactor(double)

MechEyeDevice.SetScan2DSharpenFactor(double)

MechEyeDevice.setScan2DToneMappingEnable(bool)

MechEyeDevice.SetScan2DToneMappingEnable(bool)

MechEyeDevice.setScan3DExposure(System.Collections.Generic.List<double>)

MechEyeDevice.SetScan3DExposure(System.Collections.Generic.List<double>)

MechEyeDevice.setScan3DGain(double)

MechEyeDevice.SetScan3DGain(double)

MechEyeDevice.setScan3DROI(mmind.apiSharp.ROI)

MechEyeDevice.SetScan3DROI(mmind.apiSharp.ROI)

MechEyeDevice.setUhpCaptureMode(mmind.apiSharp.UhpCaptureMode)

MechEyeDevice.SetUhpCaptureMode(mmind.apiSharp.UhpCaptureMode)

MechEyeDevice.setUhpFringeCodingMode(mmind.apiSharp.UhpFringeCodingMode)

MechEyeDevice.SetUhpFringeCodingMode(mmind.apiSharp.UhpFringeCodingMode)

MechEyeDevice.setUhpSettings(mmind.apiSharp.UhpSettings)

MechEyeDevice.SetUhpSettings(mmind.apiSharp.UhpSettings)

PointXYZBGRMap.at(uint, uint)

PointXYZBGRMap.At(uint, uint)

PointXYZBGRMap.data()

PointXYZBGRMap.Data()

PointXYZBGRMap.empty()

PointXYZBGRMap.Empty()

PointXYZBGRMap.height()

PointXYZBGRMap.Height()

PointXYZBGRMap.release()

PointXYZBGRMap.Release()

PointXYZBGRMap.resize(uint, uint)

PointXYZBGRMap.Resize(uint, uint)

PointXYZBGRMap.width()

PointXYZBGRMap.Width()

PointXYZMap.at(uint, uint)

PointXYZMap.At(uint, uint)

PointXYZMap.data()

PointXYZMap.Data()

PointXYZMap.empty()

PointXYZMap.Empty()

PointXYZMap.height()

PointXYZMap.Height()

PointXYZMap.release()

PointXYZMap.Release()

PointXYZMap.resize(uint, uint)

PointXYZMap.Resize(uint, uint)

PointXYZMap.width()

PointXYZMap.Width()

Parameter Name Changes

Before 2.0.0 2.0.0

LaserSettings.FramePartitionCount

LaserSettings.framePartitionCount

LaserSettings.FrameRangeEnd

LaserSettings.frameRangeEnd

LaserSettings.FrameRangeStart

LaserSettings.frameRangeStart

LaserSettings.FringeCodingMode

LaserSettings.fringeCodingMode

LaserSettings.PowerLevel

LaserSettings.powerLevel

PointCloudProcessingSettings.CloudSmoothMode

PointCloudProcessingSettings.cloudSmoothMode

PointCloudProcessingSettings.FringeContrastThreshold

PointCloudProcessingSettings.fringeContrastThreshold

PointCloudProcessingSettings.FringeMinThreshold

PointCloudProcessingSettings.fringeMinThreshold

PointCloudProcessingSettings.OutlierFilterMode

PointCloudProcessingSettings.outlierFilterMode

Scanning2DSettings.ExpectedGrayValue

Scanning2DSettings.expectedGrayValue

Scanning2DSettings.ExposureMode

Scanning2DSettings.exposureMode

Scanning2DSettings.ExposureTime

Scanning2DSettings.exposureTime

Scanning2DSettings.Scan2DROI

Scanning2DSettings.scan2DROI

Scanning2DSettings.SharpenFactor

Scanning2DSettings.sharpenFactor

Scanning2DSettings.ToneMappingEnable

Scanning2DSettings.toneMappingEnable

Scanning3DSettings.DepthRange

Scanning3DSettings.depthRange

Scanning3DSettings.ExposureSequence

Scanning3DSettings.exposureSequence

Scanning3DSettings.Gain

Scanning3DSettings.gain

Scanning3DSettings.Scan3DROI

Scanning3DSettings.scan3DROI

UhpSettings.CaptureMode

UhpSettings.captureMode

UhpSettings.FringeCodingMode

UhpSettings.fringeCodingMode

We Value Your Privacy

We use cookies to provide you with the best possible experience on our website. By continuing to use the site, you acknowledge that you agree to the use of cookies. If you decline, a single cookie will be used to ensure you're not tracked or remembered when you visit this website.