Mech-Eye API 2.5.1
API reference documentation for Mech-Eye 3D Laser Profiler
|
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.
MechEyeDevice | ( | ) |
Constructor.
~MechEyeDevice | ( | ) |
Destructor.
ErrorStatus 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 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 calculateExtrinsics | ( | std::string & | extrinsic | ) | const |
Start to calculate the result of handeye calibration.
[out] | value | See extrinsic. |
ErrorStatus captureCalibrationFeatureImage | ( | ColorMap & | colorMap | ) | const |
Only capture current image with feature recognition result for test.
[in] | value | See colorMap. |
ErrorStatus captureColorMap | ( | ColorMap & | colorMap | ) | const |
Captures a color image.
[out] | colorMap | See Frame for details. |
ErrorStatus captureDepthMap | ( | DepthMap & | depthMap | ) | const |
Captures a depth image.
[out] | depthMap | See Frame for details. |
ErrorStatus 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 capturePointXYZBGRMap | ( | PointXYZBGRMap & | pointXYZBGRMap | ) | const |
Captures a colored point cloud image.
[out] | pointXYZBGRMap | See Frame for details. |
ErrorStatus capturePointXYZMap | ( | PointXYZMap & | pointXYZMap | ) | const |
Captures a point cloud image.
[out] | pointXYZMap | See Frame for details. |
ErrorStatus 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 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 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 |
void disconnect | ( | ) |
Disconnects from the device.
|
static |
Enumerates Mech-Eye Industrial 3D Camera by the type of MechEyeDeviceInfo identifying the device.
ErrorStatus getAllUserSets | ( | std::vector< std::string > & | userSetNames | ) | const |
Gets the names of all user sets.
[out] | userSetNames |
ErrorStatus 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 getCloudNoiseRemovalMode | ( | PointCloudProcessingSettings::PointCloudNoiseRemoval & | value | ) | const |
Gets the point cloud noise removal mode.
[out] | value | See PointCloudProcessingSettings::noiseRemoval for details. |
ErrorStatus getCloudOutlierFilterMode | ( | PointCloudProcessingSettings::CloudOutlierFilterMode & | value | ) | const |
Gets the point cloud outliers removal algorithm.
[out] | value | See PointCloudProcessingSettings::outlierFilterMode for details. |
ErrorStatus getCloudOutlierRemovalMode | ( | PointCloudProcessingSettings::PointCloudOutlierRemoval & | value | ) | const |
Gets the point cloud outlier removal mode.
[out] | value | See PointCloudProcessingSettings::outlierRemoval for details. |
ErrorStatus getCloudSmoothMode | ( | PointCloudProcessingSettings::CloudSmoothMode & | value | ) | const |
Gets the point cloud smoothing algorithm.
[out] | value | See PointCloudProcessingSettings::smoothMode for details. |
ErrorStatus getCloudSurfaceSmoothingMode | ( | PointCloudProcessingSettings::PointCloudSurfaceSmoothing & | value | ) | const |
Gets the point cloud surface smoothing mode.
[out] | value | See PointCloudProcessingSettings::surfaceSmoothing for details. |
ErrorStatus getCurrentUserSet | ( | std::string & | userSetName | ) | const |
Gets the name of the current user set.
[out] | userSetName |
ErrorStatus getDepthRange | ( | DepthRange & | value | ) | const |
Gets depth range in 3D image.
[out] | value | See Scanning3DSettings::depthRange for details. |
ErrorStatus getDeviceInfo | ( | MechEyeDeviceInfo & | info | ) | const |
Gets the basic information about the connected device.
[out] | info | See MechEyeDeviceInfo for details. |
ErrorStatus getDeviceIntri | ( | DeviceIntri & | intri | ) | const |
Gets the intrinsic camera parameter about the connected device.
[out] | intri | See DeviceIntri for details. |
ErrorStatus getDeviceResolution | ( | DeviceResolution & | imageResolution | ) | const |
Gets the device resolution.
[out] | imageResolution | See DeviceResolution for details. |
ErrorStatus getDeviceTemperature | ( | DeviceTemperature & | temperature | ) | const |
Gets the temperature information about the connected device.
[out] | temperature | See DeviceTemperature for details. |
ErrorStatus getFringeContrastThreshold | ( | int & | value | ) | const |
Gets the signal contrast threshold for effective pixels.
[out] | value | See PointCloudProcessingSettings::fringeContrastThreshold for details. |
ErrorStatus getFringeMinThreshold | ( | int & | value | ) | const |
Gets the signal minimum threshold for effective pixels.
[out] | value | See PointCloudProcessingSettings::fringeMinThreshold for details. |
ErrorStatus 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 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 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 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 getScan2DExpectedGrayValue | ( | int & | value | ) | const |
Gets the expected gray value in Scanning2DSettings::Auto exposure mode.
[out] | valus | See Scanning2DSettings::expectedGrayValue for details. |
ErrorStatus getScan2DExposureMode | ( | Scanning2DSettings::Scan2DExposureMode & | value | ) | const |
Gets the camera exposure mode to capture the 2D images.
[out] | value | See Scanning2DSettings::exposureMode for details. |
ErrorStatus getScan2DExposureTime | ( | double & | value | ) | const |
Gets the camera exposure time in Scanning2DSettings::Timed exposure mode.
[out] | value | See Scanning2DSettings::exposureTime for details. |
ErrorStatus 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 getScan2DROI | ( | ROI & | value | ) | const |
Gets ROI to capture the 2D image.
[out] | value | See Scanning2DSettings::scan2DROI for details. |
ErrorStatus getScan2DSharpenFactor | ( | double & | value | ) | const |
Gets the image sharpen factor.
[out] | value | See Scanning2DSettings::sharpenFactor for details. |
ErrorStatus getScan2DToneMappingEnable | ( | bool & | value | ) | const |
Gets whether gray level transformation algorithm is used or not.
[out] | value | See Scanning2DSettings::toneMappingEnable for details. |
ErrorStatus 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 getScan3DGain | ( | double & | value | ) | const |
Gets gain to capture the 3d image.
[out] | value | See Scanning3DSettings::gain for details. |
ErrorStatus 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 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 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 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 saveAllSettingsToUserSets | ( | ) | const |
Saves all parameters to the current user set.
ErrorStatus setBoardType | ( | HandeyeCalibrationSettings::boardType | boardType | ) | const |
Set the board type for this calibration.
[in] | value | See boardType. |
ErrorStatus setCalibrateType | ( | HandeyeCalibrationSettings::calibrationType | calibrationType | ) | const |
Set the calibration type for this calibration.
[in] | value | See calibrationType. |
ErrorStatus setCloudEdgePreservationMode | ( | PointCloudProcessingSettings::PointCloudEdgePreservation | value | ) | const |
Sets the point cloud edge preservation mode.
[in] | value | See PointCloudProcessingSettings::edgePreservation for details. |
ErrorStatus setCloudNoiseRemovalMode | ( | PointCloudProcessingSettings::PointCloudNoiseRemoval | value | ) | const |
Sets the point cloud noise removal mode.
[in] | value | See PointCloudProcessingSettings::noiseRemoval for details. |
ErrorStatus setCloudOutlierFilterMode | ( | PointCloudProcessingSettings::CloudOutlierFilterMode | value | ) | const |
Sets the point cloud outliers removal algorithm.
[in] | value | See PointCloudProcessingSettings::outlierFilterMode for details. |
ErrorStatus setCloudOutlierRemovalMode | ( | PointCloudProcessingSettings::PointCloudOutlierRemoval | value | ) | const |
Sets the point cloud outlier removal mode.
[in] | value | See PointCloudProcessingSettings::outlierRemoval for details. |
ErrorStatus setCloudSmoothMode | ( | PointCloudProcessingSettings::CloudSmoothMode | value | ) | const |
Sets the point cloud smoothing algorithm.
[in] | value | See PointCloudProcessingSettings::smoothMode for details. |
ErrorStatus setCloudSurfaceSmoothingMode | ( | PointCloudProcessingSettings::PointCloudSurfaceSmoothing | value | ) | const |
Sets the point cloud surface smoothing mode.
[in] | value | See PointCloudProcessingSettings::surfaceSmoothing for details. |
ErrorStatus 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 setDepthRange | ( | const DepthRange & | value | ) | const |
Sets depth range in 3D image.
[in] | value | See Scanning3DSettings::depthRange for details. |
ErrorStatus setFringeContrastThreshold | ( | int | value | ) | const |
Sets the signal contrast threshold for effective pixels.
[in] | value | See PointCloudProcessingSettings::fringeContrastThreshold for details. |
ErrorStatus setFringeMinThreshold | ( | int | value | ) | const |
Sets the signal minimum threshold for effective pixels.
[in] | value | See PointCloudProcessingSettings::fringeMinThreshold for details. |
ErrorStatus 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 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 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 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 setScan2DExpectedGrayValue | ( | int | value | ) | const |
Sets the expected gray value in Scanning2DSettings::Auto exposure mode.
[in] | value | See Scanning2DSettings::expectedGrayValue for details. |
ErrorStatus setScan2DExposureMode | ( | Scanning2DSettings::Scan2DExposureMode | value | ) | const |
Sets the camera exposure mode to capture the 2D images.
[in] | value | See Scanning2DSettings::exposureMode for details. |
ErrorStatus setScan2DExposureTime | ( | double | value | ) | const |
Sets the camera exposure time in Scanning2DSettings::Timed exposure mode.
[in] | value | See Scanning2DSettings::exposureTime for details. |
ErrorStatus 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 setScan2DROI | ( | const ROI & | value | ) | const |
Sets ROI to capture the 2D image.
[in] | value | See Scanning2DSettings::scan2DROI for details. |
ErrorStatus setScan2DSharpenFactor | ( | double | value | ) | const |
Sets the image sharpen factor.
[in] | value | See Scanning2DSettings::sharpenFactor for details. |
ErrorStatus setScan2DToneMappingEnable | ( | bool | value | ) | const |
Sets whether gray level transformation algorithm is used or not.
[in] | value | See Scanning2DSettings::toneMappingEnable for details. |
ErrorStatus 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 setScan3DGain | ( | double | value | ) | const |
Sets gain to capture the 3d image.
[in] | value | See Scanning3DSettings::gain for details. |
ErrorStatus setScan3DROI | ( | const ROI & | value | ) | const |
Sets ROI to capture the 3D image.
[in] | value | See Scanning3DSettings::scan3DROI for details. |
ErrorStatus 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 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 setUhpSettings | ( | UhpSettings | value | ) | const |
Sets UHP device settings. Only support with Mech-Eye UHP series industrial 3D camera.
[in] | value | See UhpSettings for details. |