Mech-Eye API 2.4.0
API reference documentation for Mech-Eye Industrial 3D Camera
|
Interface that is used to connect the Mech-Eye Industrial 3D Camera and access basic information of the device. More...
#include <MechEyeApi.h>
Public Member Functions | |
MechEyeDevice () | |
~MechEyeDevice () | |
ErrorStatus | connect (const MechEyeDeviceInfo &info, int timeout=10000) |
Connects to the device by the MechEyeDeviceInfo identifying a device. | |
ErrorStatus | connect (const std::string &ipAddress, int port=5577, int timeout=10000) |
Connects to the device by the ip address and port identifying a device. | |
void | disconnect () |
Disconnects from the device. | |
ErrorStatus | getDeviceTemperature (DeviceTemperature &temperature) const |
Gets the temperature information about the connected device. | |
ErrorStatus | getDeviceInfo (MechEyeDeviceInfo &info) const |
Gets the basic information about the connected device. | |
ErrorStatus | getDeviceIntri (DeviceIntri &intri) const |
Gets the intrinsic camera parameter about the connected device. | |
ErrorStatus | getDeviceResolution (DeviceResolution &imageResolution) const |
Gets the device resolution. | |
ErrorStatus | captureColorMap (ColorMap &colorMap) const |
Captures a color image. | |
ErrorStatus | captureDepthMap (DepthMap &depthMap) const |
Captures a depth image. | |
ErrorStatus | capturePointXYZMap (PointXYZMap &pointXYZMap) const |
Captures a point cloud image. | |
ErrorStatus | captureOrthogonalDepthMap (DepthMap &depthMap, double &xScale, double &yScale, double &xOffset, double &yOffset) const |
Captures an orthogonal depth image. | |
ErrorStatus | capturePointXYZBGRMap (PointXYZBGRMap &pointXYZBGRMap) const |
Captures a colored point cloud image. | |
ErrorStatus | setScan2DExposureMode (Scanning2DSettings::Scan2DExposureMode value) const |
Sets the camera exposure mode to capture the 2D images. | |
ErrorStatus | getScan2DExposureMode (Scanning2DSettings::Scan2DExposureMode &value) const |
Gets the camera exposure mode to capture the 2D images. | |
ErrorStatus | setScan2DExposureTime (double value) const |
Sets the camera exposure time in Scanning2DSettings::Timed exposure mode. | |
ErrorStatus | getScan2DExposureTime (double &value) const |
Gets the camera exposure time in Scanning2DSettings::Timed exposure mode. | |
ErrorStatus | setScan2DHDRExposureSequence (std::vector< double > &values) const |
Sets the camera HDR exposure sequence in Scanning2DSettings::HDR exposure mode. | |
ErrorStatus | getScan2DHDRExposureSequence (std::vector< double > &values) const |
Gets the camera HDR exposure sequence in Scanning2DSettings::HDR exposure mode. | |
ErrorStatus | setScan2DExpectedGrayValue (int value) const |
Sets the expected gray value in Scanning2DSettings::Auto exposure mode. | |
ErrorStatus | getScan2DExpectedGrayValue (int &value) const |
Gets the expected gray value in Scanning2DSettings::Auto exposure mode. | |
ErrorStatus | setScan2DToneMappingEnable (bool value) const |
Sets whether gray level transformation algorithm is used or not. | |
ErrorStatus | getScan2DToneMappingEnable (bool &value) const |
Gets whether gray level transformation algorithm is used or not. | |
ErrorStatus | setScan2DSharpenFactor (double value) const |
Sets the image sharpen factor. | |
ErrorStatus | getScan2DSharpenFactor (double &value) const |
Gets the image sharpen factor. | |
ErrorStatus | setScan2DROI (const ROI &value) const |
Sets ROI to capture the 2D image. | |
ErrorStatus | getScan2DROI (ROI &value) const |
Gets ROI to capture the 2D image. | |
ErrorStatus | setScan3DExposure (const std::vector< double > &valueSequence) const |
Sets the exposure time of the camera to capture the 3D image. | |
ErrorStatus | getScan3DExposure (std::vector< double > &valueSequence) const |
Gets the exposure time sequence of the camera to capture the 3D image. | |
ErrorStatus | setScan3DGain (double value) const |
Sets gain to capture the 3d image. | |
ErrorStatus | getScan3DGain (double &value) const |
Gets gain to capture the 3d image. | |
ErrorStatus | setScan3DROI (const ROI &value) const |
Sets ROI to capture the 3D image. | |
ErrorStatus | getScan3DROI (ROI &value) const |
Gets ROI to capture the 3D image. MechEye UHP serials in capture mode 'Merge' does not support this parameter. | |
ErrorStatus | setDepthRange (const DepthRange &value) const |
Sets depth range in 3D image. | |
ErrorStatus | getDepthRange (DepthRange &value) const |
Gets depth range in 3D image. | |
ErrorStatus | setFringeContrastThreshold (int value) const |
Sets the signal contrast threshold for effective pixels. | |
ErrorStatus | getFringeContrastThreshold (int &value) const |
Gets the signal contrast threshold for effective pixels. | |
ErrorStatus | setFringeMinThreshold (int value) const |
Sets the signal minimum threshold for effective pixels. | |
ErrorStatus | getFringeMinThreshold (int &value) const |
Gets the signal minimum threshold for effective pixels. | |
ErrorStatus | setCloudOutlierFilterMode (PointCloudProcessingSettings::CloudOutlierFilterMode value) const |
Sets the point cloud outliers removal algorithm. | |
ErrorStatus | getCloudOutlierFilterMode (PointCloudProcessingSettings::CloudOutlierFilterMode &value) const |
Gets the point cloud outliers removal algorithm. | |
ErrorStatus | setCloudSmoothMode (PointCloudProcessingSettings::CloudSmoothMode value) const |
Sets the point cloud smoothing algorithm. | |
ErrorStatus | getCloudSmoothMode (PointCloudProcessingSettings::CloudSmoothMode &value) const |
Gets the point cloud smoothing algorithm. | |
ErrorStatus | setCloudSurfaceSmoothingMode (PointCloudProcessingSettings::PointCloudSurfaceSmoothing value) const |
Sets the point cloud surface smoothing mode. | |
ErrorStatus | getCloudSurfaceSmoothingMode (PointCloudProcessingSettings::PointCloudSurfaceSmoothing &value) const |
Gets the point cloud surface smoothing mode. | |
ErrorStatus | setCloudNoiseRemovalMode (PointCloudProcessingSettings::PointCloudNoiseRemoval value) const |
Sets the point cloud noise removal mode. | |
ErrorStatus | getCloudNoiseRemovalMode (PointCloudProcessingSettings::PointCloudNoiseRemoval &value) const |
Gets the point cloud noise removal mode. | |
ErrorStatus | setCloudOutlierRemovalMode (PointCloudProcessingSettings::PointCloudOutlierRemoval value) const |
Sets the point cloud outlier removal mode. | |
ErrorStatus | getCloudOutlierRemovalMode (PointCloudProcessingSettings::PointCloudOutlierRemoval &value) const |
Gets the point cloud outlier removal mode. | |
ErrorStatus | setCloudEdgePreservationMode (PointCloudProcessingSettings::PointCloudEdgePreservation value) const |
Sets the point cloud edge preservation mode. | |
ErrorStatus | getCloudEdgePreservationMode (PointCloudProcessingSettings::PointCloudEdgePreservation &value) const |
Gets the point cloud edge preservation mode. | |
ErrorStatus | setProjectorFringeCodingMode (ProjectorSettings::FringeCodingMode value) const |
Sets projector's fringe coding mode. Only support with Mech-Eye NANO and PRO series industrial 3D cameras. | |
ErrorStatus | getProjectorFringeCodingMode (ProjectorSettings::FringeCodingMode &value) const |
Gets projector's fringe coding mode. Only support with Mech-Eye NANO and PRO series industrial 3D cameras. | |
ErrorStatus | setProjectorPowerLevel (ProjectorSettings::PowerLevel value) const |
Sets projector's powerl level. Only support with Mech-Eye NANO, LOG and PRO series industrial 3D cameras. | |
ErrorStatus | getProjectorPowerLevel (ProjectorSettings::PowerLevel &value) const |
Gets projector's powerl level. Only support with Mech-Eye NANO, LOG and PRO series industrial 3D cameras. | |
ErrorStatus | setProjectorAntiFlickerMode (ProjectorSettings::AntiFlickerMode value) const |
Sets projector's anti-flicker mode. Only support with Mech-Eye NANO and PRO series industrial 3D camera. | |
ErrorStatus | getProjectorAntiFlickerMode (ProjectorSettings::AntiFlickerMode &value) const |
Gets projector's anti-flicker mode. Only support with Mech-Eye NANO and PRO series industrial 3D camera. | |
ErrorStatus | setLaserSettings (const LaserSettings &value) const |
Sets laser device settings. Only support with Mech-Eye Laser series industrial 3D camera. | |
ErrorStatus | getLaserSettings (LaserSettings &value) const |
Gets laser device settings. Only support with Mech-Eye Laser series industrial 3D camera. | |
ErrorStatus | setUhpSettings (UhpSettings value) const |
Sets UHP device settings. Only support with Mech-Eye UHP series industrial 3D camera. | |
ErrorStatus | getUhpSettings (UhpSettings &value) const |
Gets UHP device settings. Only support with Mech-Eye UHP series industrial 3D camera. | |
ErrorStatus | setUhpCaptureMode (UhpSettings::UhpCaptureMode value) const |
Sets UHP camera capture mode. Only support with Mech-Eye UHP series industrial 3D camera. | |
ErrorStatus | getUhpCaptureMode (UhpSettings::UhpCaptureMode &value) const |
Gets UHP camera capture mode. Only support with Mech-Eye UHP series industrial 3D camera. | |
ErrorStatus | setUhpFringeCodingMode (UhpSettings::UhpFringeCodingMode value) const |
Sets UHP camera fringe coding mode. Only support with Mech-Eye UHP series industrial 3D camera. | |
ErrorStatus | getUhpFringeCodingMode (UhpSettings::UhpFringeCodingMode &value) const |
Gets UHP camera fringe coding mode. Only support with Mech-Eye UHP series industrial 3D camera. | |
ErrorStatus | saveAllSettingsToUserSets () const |
Saves all parameters to the current user set. | |
ErrorStatus | setBoardType (HandeyeCalibrationSettings::boardType boardType) const |
Set the board type for this calibration. | |
ErrorStatus | setCalibrateType (HandeyeCalibrationSettings::calibrationType calibrationType) const |
Set the calibration type for this calibration. | |
ErrorStatus | addPoseAndDetect (const std::vector< double > &poseData) const |
Add current pose of robot, capture the image and calculate necessary parameters prepared for calibration. | |
ErrorStatus | calculateExtrinsics (std::string &extrinsic) const |
Start to calculate the result of handeye calibration. | |
ErrorStatus | captureCalibrationFeatureImage (ColorMap &colorMap) const |
Only capture current image with feature recognition result for test. | |
ErrorStatus | setCurrentUserSet (const std::string &userSetName) const |
ErrorStatus | getCurrentUserSet (std::string &userSetName) const |
Gets the name of the current user set. | |
ErrorStatus | getAllUserSets (std::vector< std::string > &userSetNames) const |
Gets the names of all user sets. | |
ErrorStatus | deleteUserSet (const std::string &userSetName) const |
ErrorStatus | addUserSet (const std::string &userSetName) const |
Static Public Member Functions | |
static std::vector< MechEyeDeviceInfo > | enumerateMechEyeDeviceList () |
Enumerates Mech-Eye Industrial 3D Camera by the type of MechEyeDeviceInfo identifying the device. | |
static ErrorStatus | getCloudFromTextureMask (const DepthMap &depthMap, const ColorMap &textureMask, const DeviceIntri &intri, PointXYZMap &pointXYZMask) |
Gets the point cloud image within the mask specified by the texture map. | |
static ErrorStatus | getCloudFromTextureMask (const DepthMap &depthMap, const ColorMap &textureMask, const ColorMap &texture, const DeviceIntri &intri, PointXYZBGRMap &pointXYZBGRMask) |
Gets the colored point cloud image within the mask specified by the texture map. | |
Interface that is used to connect the Mech-Eye Industrial 3D Camera and access basic information of the device.
Definition at line 57 of file MechEyeApi.h.
mmind::api::MechEyeDevice::MechEyeDevice | ( | ) |
Constructor.
mmind::api::MechEyeDevice::~MechEyeDevice | ( | ) |
Destructor.
ErrorStatus mmind::api::MechEyeDevice::addPoseAndDetect | ( | const std::vector< double > & | poseData | ) | const |
Add current pose of robot, capture the image and calculate necessary parameters prepared for calibration.
[in] | value | See poseData. |
ErrorStatus mmind::api::MechEyeDevice::addUserSet | ( | const std::string & | userSetName | ) | const |
Adds a new user set by the user set name and sets all the current device settings to it. It will also change the current user set to the input value if adds success.
Call saveAllSettingsToUserSets to take effect permanently on the device.
[in] | userSetName |
ErrorStatus mmind::api::MechEyeDevice::calculateExtrinsics | ( | std::string & | extrinsic | ) | const |
Start to calculate the result of handeye calibration.
[out] | value | See extrinsic. |
ErrorStatus mmind::api::MechEyeDevice::captureCalibrationFeatureImage | ( | ColorMap & | colorMap | ) | const |
Only capture current image with feature recognition result for test.
[in] | value | See colorMap. |
ErrorStatus mmind::api::MechEyeDevice::captureColorMap | ( | ColorMap & | colorMap | ) | const |
Captures a color image.
[out] | colorMap | See Frame for details. |
ErrorStatus mmind::api::MechEyeDevice::captureDepthMap | ( | DepthMap & | depthMap | ) | const |
Captures a depth image.
[out] | depthMap | See Frame for details. |
ErrorStatus mmind::api::MechEyeDevice::captureOrthogonalDepthMap | ( | DepthMap & | depthMap, |
double & | xScale, | ||
double & | yScale, | ||
double & | xOffset, | ||
double & | yOffset ) const |
Captures an orthogonal depth image.
[out] | depthMap | See Frame for details. |
[out] | xScale | Scale value in x axis. |
[out] | yScale | Scale value in y axis. |
[out] | xOffset | Offset value in x axis. |
[out] | yOffset | Offset value in y axis. |
ErrorStatus mmind::api::MechEyeDevice::capturePointXYZBGRMap | ( | PointXYZBGRMap & | pointXYZBGRMap | ) | const |
Captures a colored point cloud image.
[out] | pointXYZBGRMap | See Frame for details. |
ErrorStatus mmind::api::MechEyeDevice::capturePointXYZMap | ( | PointXYZMap & | pointXYZMap | ) | const |
Captures a point cloud image.
[out] | pointXYZMap | See Frame for details. |
ErrorStatus mmind::api::MechEyeDevice::connect | ( | const MechEyeDeviceInfo & | info, |
int | timeout = 10000 ) |
Connects to the device by the MechEyeDeviceInfo identifying a device.
[in] | info | the device information used to connect the device which can be obtained by enumerateMechEyeDeviceList function. |
[in] | timeout | the timeout value (ms) |
ErrorStatus mmind::api::MechEyeDevice::connect | ( | const std::string & | ipAddress, |
int | port = 5577, | ||
int | timeout = 10000 ) |
Connects to the device by the ip address and port identifying a device.
[in] | ipAddress | the device ip address used to connect the device |
[in] | port | the device port used to connect the device |
[in] | timeout | the timeout value (ms) |
ErrorStatus mmind::api::MechEyeDevice::deleteUserSet | ( | const std::string & | userSetName | ) | const |
Deletes the user set by the user set name. If input name is the current user set it will change the current user set to the previous index value in the user set list.
Call saveAllSettingsToUserSets to take effect permanently on the device.
[in] | userSetName |
|
static |
Enumerates Mech-Eye Industrial 3D Camera by the type of MechEyeDeviceInfo identifying the device.
ErrorStatus mmind::api::MechEyeDevice::getAllUserSets | ( | std::vector< std::string > & | userSetNames | ) | const |
Gets the names of all user sets.
[out] | userSetNames |
ErrorStatus mmind::api::MechEyeDevice::getCloudEdgePreservationMode | ( | PointCloudProcessingSettings::PointCloudEdgePreservation & | value | ) | const |
Gets the point cloud edge preservation mode.
[out] | value | See PointCloudProcessingSettings::edgePreservation for details. |
|
static |
Gets the colored point cloud image within the mask specified by the texture map.
[in] | depthMap | See Frame for details. |
[in] | textureMask | See Frame for details. |
[in] | texture | See Frame for details. |
[in] | intri | See DeviceIntri for details. |
[out] | pointXYZBGRMask | See Frame for details. |
|
static |
Gets the point cloud image within the mask specified by the texture map.
[in] | depthMap | See Frame for details. |
[in] | textureMask | See Frame for details. |
[in] | intri | See DeviceIntri for details. |
[out] | pointXYZMask | See Frame for details. |
ErrorStatus mmind::api::MechEyeDevice::getCloudNoiseRemovalMode | ( | PointCloudProcessingSettings::PointCloudNoiseRemoval & | value | ) | const |
Gets the point cloud noise removal mode.
[out] | value | See PointCloudProcessingSettings::noiseRemoval for details. |
ErrorStatus mmind::api::MechEyeDevice::getCloudOutlierFilterMode | ( | PointCloudProcessingSettings::CloudOutlierFilterMode & | value | ) | const |
Gets the point cloud outliers removal algorithm.
[out] | value | See PointCloudProcessingSettings::outlierFilterMode for details. |
ErrorStatus mmind::api::MechEyeDevice::getCloudOutlierRemovalMode | ( | PointCloudProcessingSettings::PointCloudOutlierRemoval & | value | ) | const |
Gets the point cloud outlier removal mode.
[out] | value | See PointCloudProcessingSettings::outlierRemoval for details. |
ErrorStatus mmind::api::MechEyeDevice::getCloudSmoothMode | ( | PointCloudProcessingSettings::CloudSmoothMode & | value | ) | const |
Gets the point cloud smoothing algorithm.
[out] | value | See PointCloudProcessingSettings::smoothMode for details. |
ErrorStatus mmind::api::MechEyeDevice::getCloudSurfaceSmoothingMode | ( | PointCloudProcessingSettings::PointCloudSurfaceSmoothing & | value | ) | const |
Gets the point cloud surface smoothing mode.
[out] | value | See PointCloudProcessingSettings::surfaceSmoothing for details. |
ErrorStatus mmind::api::MechEyeDevice::getCurrentUserSet | ( | std::string & | userSetName | ) | const |
Gets the name of the current user set.
[out] | userSetName |
ErrorStatus mmind::api::MechEyeDevice::getDepthRange | ( | DepthRange & | value | ) | const |
Gets depth range in 3D image.
[out] | value | See Scanning3DSettings::depthRange for details. |
ErrorStatus mmind::api::MechEyeDevice::getDeviceInfo | ( | MechEyeDeviceInfo & | info | ) | const |
Gets the basic information about the connected device.
[out] | info | See MechEyeDeviceInfo for details. |
ErrorStatus mmind::api::MechEyeDevice::getDeviceIntri | ( | DeviceIntri & | intri | ) | const |
Gets the intrinsic camera parameter about the connected device.
[out] | intri | See DeviceIntri for details. |
ErrorStatus mmind::api::MechEyeDevice::getDeviceResolution | ( | DeviceResolution & | imageResolution | ) | const |
Gets the device resolution.
[out] | imageResolution | See DeviceResolution for details. |
ErrorStatus mmind::api::MechEyeDevice::getDeviceTemperature | ( | DeviceTemperature & | temperature | ) | const |
Gets the temperature information about the connected device.
[out] | temperature | See DeviceTemperature for details. |
ErrorStatus mmind::api::MechEyeDevice::getFringeContrastThreshold | ( | int & | value | ) | const |
Gets the signal contrast threshold for effective pixels.
[out] | value | See PointCloudProcessingSettings::fringeContrastThreshold for details. |
ErrorStatus mmind::api::MechEyeDevice::getFringeMinThreshold | ( | int & | value | ) | const |
Gets the signal minimum threshold for effective pixels.
[out] | value | See PointCloudProcessingSettings::fringeMinThreshold for details. |
ErrorStatus mmind::api::MechEyeDevice::getLaserSettings | ( | LaserSettings & | value | ) | const |
Gets laser device settings. Only support with Mech-Eye Laser series industrial 3D camera.
[out] | value | See LaserSettings for details. |
ErrorStatus mmind::api::MechEyeDevice::getProjectorAntiFlickerMode | ( | ProjectorSettings::AntiFlickerMode & | value | ) | const |
Gets projector's anti-flicker mode. Only support with Mech-Eye NANO and PRO series industrial 3D camera.
[out] | value | See ProjectorSettings::antiFlickerMode for details. |
ErrorStatus mmind::api::MechEyeDevice::getProjectorFringeCodingMode | ( | ProjectorSettings::FringeCodingMode & | value | ) | const |
Gets projector's fringe coding mode. Only support with Mech-Eye NANO and PRO series industrial 3D cameras.
[out] | value | See ProjectorSettings::fringeCodingMode for details. |
ErrorStatus mmind::api::MechEyeDevice::getProjectorPowerLevel | ( | ProjectorSettings::PowerLevel & | value | ) | const |
Gets projector's powerl level. Only support with Mech-Eye NANO, LOG and PRO series industrial 3D cameras.
[out] | value | See ProjectorSettings::powerLevel for details. |
ErrorStatus mmind::api::MechEyeDevice::getScan2DExpectedGrayValue | ( | int & | value | ) | const |
Gets the expected gray value in Scanning2DSettings::Auto exposure mode.
[out] | valus | See Scanning2DSettings::expectedGrayValue for details. |
ErrorStatus mmind::api::MechEyeDevice::getScan2DExposureMode | ( | Scanning2DSettings::Scan2DExposureMode & | value | ) | const |
Gets the camera exposure mode to capture the 2D images.
[out] | value | See Scanning2DSettings::exposureMode for details. |
ErrorStatus mmind::api::MechEyeDevice::getScan2DExposureTime | ( | double & | value | ) | const |
Gets the camera exposure time in Scanning2DSettings::Timed exposure mode.
[out] | value | See Scanning2DSettings::exposureTime for details. |
ErrorStatus mmind::api::MechEyeDevice::getScan2DHDRExposureSequence | ( | std::vector< double > & | values | ) | const |
Gets the camera HDR exposure sequence in Scanning2DSettings::HDR exposure mode.
[out] | values | See Scanning2DSettings::hdrExposureSequence for details. |
ErrorStatus mmind::api::MechEyeDevice::getScan2DROI | ( | ROI & | value | ) | const |
Gets ROI to capture the 2D image.
[out] | value | See Scanning2DSettings::scan2DROI for details. |
ErrorStatus mmind::api::MechEyeDevice::getScan2DSharpenFactor | ( | double & | value | ) | const |
Gets the image sharpen factor.
[out] | value | See Scanning2DSettings::sharpenFactor for details. |
ErrorStatus mmind::api::MechEyeDevice::getScan2DToneMappingEnable | ( | bool & | value | ) | const |
Gets whether gray level transformation algorithm is used or not.
[out] | value | See Scanning2DSettings::toneMappingEnable for details. |
ErrorStatus mmind::api::MechEyeDevice::getScan3DExposure | ( | std::vector< double > & | valueSequence | ) | const |
Gets the exposure time sequence of the camera to capture the 3D image.
[out] | valueSequence | See Scanning3DSettings::exposureSequence for details. |
ErrorStatus mmind::api::MechEyeDevice::getScan3DGain | ( | double & | value | ) | const |
Gets gain to capture the 3d image.
[out] | value | See Scanning3DSettings::gain for details. |
ErrorStatus mmind::api::MechEyeDevice::getScan3DROI | ( | ROI & | value | ) | const |
Gets ROI to capture the 3D image. MechEye UHP serials in capture mode 'Merge' does not support this parameter.
[out] | value | See Scanning3DSettings::scan3DROI for details. |
ErrorStatus mmind::api::MechEyeDevice::getUhpCaptureMode | ( | UhpSettings::UhpCaptureMode & | value | ) | const |
Gets UHP camera capture mode. Only support with Mech-Eye UHP series industrial 3D camera.
[out] | value | See UhpSettings::captureMode and UhpSettings::UhpCaptureMode for details. |
ErrorStatus mmind::api::MechEyeDevice::getUhpFringeCodingMode | ( | UhpSettings::UhpFringeCodingMode & | value | ) | const |
Gets UHP camera fringe coding mode. Only support with Mech-Eye UHP series industrial 3D camera.
[out] | value | See UhpSettings::fringeCodingMode and UhpSettings::UhpFringeCodingMode for details. |
ErrorStatus mmind::api::MechEyeDevice::getUhpSettings | ( | UhpSettings & | value | ) | const |
Gets UHP device settings. Only support with Mech-Eye UHP series industrial 3D camera.
[out] | value | See UhpSettings for details. |
ErrorStatus mmind::api::MechEyeDevice::saveAllSettingsToUserSets | ( | ) | const |
Saves all parameters to the current user set.
ErrorStatus mmind::api::MechEyeDevice::setBoardType | ( | HandeyeCalibrationSettings::boardType | boardType | ) | const |
Set the board type for this calibration.
[in] | value | See boardType. |
ErrorStatus mmind::api::MechEyeDevice::setCalibrateType | ( | HandeyeCalibrationSettings::calibrationType | calibrationType | ) | const |
Set the calibration type for this calibration.
[in] | value | See calibrationType. |
ErrorStatus mmind::api::MechEyeDevice::setCloudEdgePreservationMode | ( | PointCloudProcessingSettings::PointCloudEdgePreservation | value | ) | const |
Sets the point cloud edge preservation mode.
[in] | value | See PointCloudProcessingSettings::edgePreservation for details. |
ErrorStatus mmind::api::MechEyeDevice::setCloudNoiseRemovalMode | ( | PointCloudProcessingSettings::PointCloudNoiseRemoval | value | ) | const |
Sets the point cloud noise removal mode.
[in] | value | See PointCloudProcessingSettings::noiseRemoval for details. |
ErrorStatus mmind::api::MechEyeDevice::setCloudOutlierFilterMode | ( | PointCloudProcessingSettings::CloudOutlierFilterMode | value | ) | const |
Sets the point cloud outliers removal algorithm.
[in] | value | See PointCloudProcessingSettings::outlierFilterMode for details. |
ErrorStatus mmind::api::MechEyeDevice::setCloudOutlierRemovalMode | ( | PointCloudProcessingSettings::PointCloudOutlierRemoval | value | ) | const |
Sets the point cloud outlier removal mode.
[in] | value | See PointCloudProcessingSettings::outlierRemoval for details. |
ErrorStatus mmind::api::MechEyeDevice::setCloudSmoothMode | ( | PointCloudProcessingSettings::CloudSmoothMode | value | ) | const |
Sets the point cloud smoothing algorithm.
[in] | value | See PointCloudProcessingSettings::smoothMode for details. |
ErrorStatus mmind::api::MechEyeDevice::setCloudSurfaceSmoothingMode | ( | PointCloudProcessingSettings::PointCloudSurfaceSmoothing | value | ) | const |
Sets the point cloud surface smoothing mode.
[in] | value | See PointCloudProcessingSettings::surfaceSmoothing for details. |
ErrorStatus mmind::api::MechEyeDevice::setCurrentUserSet | ( | const std::string & | userSetName | ) | const |
Sets the current user set by user set name.
Call saveAllSettingsToUserSets to take effect permanently on the device.
[in] | userSetName |
ErrorStatus mmind::api::MechEyeDevice::setDepthRange | ( | const DepthRange & | value | ) | const |
Sets depth range in 3D image.
[in] | value | See Scanning3DSettings::depthRange for details. |
ErrorStatus mmind::api::MechEyeDevice::setFringeContrastThreshold | ( | int | value | ) | const |
Sets the signal contrast threshold for effective pixels.
[in] | value | See PointCloudProcessingSettings::fringeContrastThreshold for details. |
ErrorStatus mmind::api::MechEyeDevice::setFringeMinThreshold | ( | int | value | ) | const |
Sets the signal minimum threshold for effective pixels.
[in] | value | See PointCloudProcessingSettings::fringeMinThreshold for details. |
ErrorStatus mmind::api::MechEyeDevice::setLaserSettings | ( | const LaserSettings & | value | ) | const |
Sets laser device settings. Only support with Mech-Eye Laser series industrial 3D camera.
[in] | value | See LaserSettings for details. |
ErrorStatus mmind::api::MechEyeDevice::setProjectorAntiFlickerMode | ( | ProjectorSettings::AntiFlickerMode | value | ) | const |
Sets projector's anti-flicker mode. Only support with Mech-Eye NANO and PRO series industrial 3D camera.
[in] | value | See ProjectorSettings::antiFlickerMode for details. |
ErrorStatus mmind::api::MechEyeDevice::setProjectorFringeCodingMode | ( | ProjectorSettings::FringeCodingMode | value | ) | const |
Sets projector's fringe coding mode. Only support with Mech-Eye NANO and PRO series industrial 3D cameras.
[in] | value | See ProjectorSettings::fringeCodingMode for details. |
ErrorStatus mmind::api::MechEyeDevice::setProjectorPowerLevel | ( | ProjectorSettings::PowerLevel | value | ) | const |
Sets projector's powerl level. Only support with Mech-Eye NANO, LOG and PRO series industrial 3D cameras.
[in] | value | See ProjectorSettings::powerLevel for details. |
ErrorStatus mmind::api::MechEyeDevice::setScan2DExpectedGrayValue | ( | int | value | ) | const |
Sets the expected gray value in Scanning2DSettings::Auto exposure mode.
[in] | value | See Scanning2DSettings::expectedGrayValue for details. |
ErrorStatus mmind::api::MechEyeDevice::setScan2DExposureMode | ( | Scanning2DSettings::Scan2DExposureMode | value | ) | const |
Sets the camera exposure mode to capture the 2D images.
[in] | value | See Scanning2DSettings::exposureMode for details. |
ErrorStatus mmind::api::MechEyeDevice::setScan2DExposureTime | ( | double | value | ) | const |
Sets the camera exposure time in Scanning2DSettings::Timed exposure mode.
[in] | value | See Scanning2DSettings::exposureTime for details. |
ErrorStatus mmind::api::MechEyeDevice::setScan2DHDRExposureSequence | ( | std::vector< double > & | values | ) | const |
Sets the camera HDR exposure sequence in Scanning2DSettings::HDR exposure mode.
[in] | values | See Scanning2DSettings::hdrExposureSequence for details. |
ErrorStatus mmind::api::MechEyeDevice::setScan2DROI | ( | const ROI & | value | ) | const |
Sets ROI to capture the 2D image.
[in] | value | See Scanning2DSettings::scan2DROI for details. |
ErrorStatus mmind::api::MechEyeDevice::setScan2DSharpenFactor | ( | double | value | ) | const |
Sets the image sharpen factor.
[in] | value | See Scanning2DSettings::sharpenFactor for details. |
ErrorStatus mmind::api::MechEyeDevice::setScan2DToneMappingEnable | ( | bool | value | ) | const |
Sets whether gray level transformation algorithm is used or not.
[in] | value | See Scanning2DSettings::toneMappingEnable for details. |
ErrorStatus mmind::api::MechEyeDevice::setScan3DExposure | ( | const std::vector< double > & | valueSequence | ) | const |
Sets the exposure time of the camera to capture the 3D image.
[in] | valueSequence | See Scanning3DSettings::exposureSequence for details. |
ErrorStatus mmind::api::MechEyeDevice::setScan3DGain | ( | double | value | ) | const |
Sets gain to capture the 3d image.
[in] | value | See Scanning3DSettings::gain for details. |
ErrorStatus mmind::api::MechEyeDevice::setScan3DROI | ( | const ROI & | value | ) | const |
Sets ROI to capture the 3D image.
[in] | value | See Scanning3DSettings::scan3DROI for details. |
ErrorStatus mmind::api::MechEyeDevice::setUhpCaptureMode | ( | UhpSettings::UhpCaptureMode | value | ) | const |
Sets UHP camera capture mode. Only support with Mech-Eye UHP series industrial 3D camera.
[in] | value | See UhpSettings::captureMode and UhpSettings::UhpCaptureMode for details. |
ErrorStatus mmind::api::MechEyeDevice::setUhpFringeCodingMode | ( | UhpSettings::UhpFringeCodingMode | value | ) | const |
Sets UHP camera fringe coding mode. Only support with Mech-Eye UHP series industrial 3D camera.
[in] | value | See UhpSettings::fringeCodingMode and UhpSettings::UhpFringeCodingMode for details. |
ErrorStatus mmind::api::MechEyeDevice::setUhpSettings | ( | UhpSettings | value | ) | const |
Sets UHP device settings. Only support with Mech-Eye UHP series industrial 3D camera.
[in] | value | See UhpSettings for details. |