45class MechEyeDeviceImpl;
186 double& xOffset,
double& yOffset)
const;
384 [[deprecated(
"please use setCloudOutlierRemovalMode() instead.")]]
ErrorStatus
393 [[deprecated(
"please use getCloudOutlierRemovalMode() instead.")]]
ErrorStatus
402 [[deprecated(
"please use setCloudSurfaceSmoothingMode() instead.")]]
ErrorStatus
411 [[deprecated(
"please use getCloudSurfaceSmoothingMode() instead.")]]
ErrorStatus
682 MechEyeDeviceImpl* _d;
#define MMIND_API_EXPORT
Definition api_global.h:48
Definition of data structure in device capturing image.
Definition MechEyeFrame.hpp:101
Interface that is used to connect the Mech-Eye Industrial 3D Camera and access basic information of t...
Definition MechEyeApi.h:58
ErrorStatus setProjectorAntiFlickerMode(ProjectorSettings::AntiFlickerMode value) const
Sets projector's anti-flicker mode. Only support with Mech-Eye NANO and PRO series industrial 3D came...
ErrorStatus getFringeMinThreshold(int &value) const
Gets the signal minimum threshold for effective pixels.
ErrorStatus addPoseAndDetect(const std::vector< double > &poseData) const
Add current pose of robot, capture the image and calculate necessary parameters prepared for calibrat...
ErrorStatus deleteUserSet(const std::string &userSetName) const
ErrorStatus captureCalibrationFeatureImage(ColorMap &colorMap) const
Only capture current image with feature recognition result for test.
ErrorStatus getAllUserSets(std::vector< std::string > &userSetNames) const
Gets the names of all user sets.
ErrorStatus getProjectorPowerLevel(ProjectorSettings::PowerLevel &value) const
Gets projector's powerl level. Only support with Mech-Eye NANO, LOG and PRO series industrial 3D came...
ErrorStatus setProjectorPowerLevel(ProjectorSettings::PowerLevel value) const
Sets projector's powerl level. Only support with Mech-Eye NANO, LOG and PRO series industrial 3D came...
ErrorStatus addUserSet(const std::string &userSetName) const
ErrorStatus getScan2DROI(ROI &value) const
Gets ROI to capture the 2D image.
ErrorStatus setLaserSettings(const LaserSettings &value) const
Sets laser device settings. Only support with Mech-Eye Laser 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 capturePointXYZBGRMap(PointXYZBGRMap &pointXYZBGRMap) const
Captures a colored point cloud image.
ErrorStatus getLaserSettings(LaserSettings &value) const
Gets laser device settings. Only support with Mech-Eye Laser series industrial 3D camera.
ErrorStatus setCloudSmoothMode(PointCloudProcessingSettings::CloudSmoothMode value) const
Sets the point cloud smoothing algorithm.
ErrorStatus capturePointXYZMap(PointXYZMap &pointXYZMap) const
Captures a point cloud image.
ErrorStatus setScan2DExposureMode(Scanning2DSettings::Scan2DExposureMode value) const
Sets the camera exposure mode to capture the 2D images.
ErrorStatus getDeviceTemperature(DeviceTemperature &temperature) const
Gets the temperature information about the connected device.
ErrorStatus setCurrentUserSet(const std::string &userSetName) const
ErrorStatus getCurrentUserSet(std::string &userSetName) const
Gets the name of the current user set.
ErrorStatus getDeviceInfo(MechEyeDeviceInfo &info) const
Gets the basic information about the connected device.
ErrorStatus saveAllSettingsToUserSets() const
Saves all parameters to the current user set.
ErrorStatus setCloudOutlierFilterMode(PointCloudProcessingSettings::CloudOutlierFilterMode value) const
Sets the point cloud outliers removal algorithm.
ErrorStatus setFringeContrastThreshold(int value) const
Sets the signal contrast threshold for effective pixels.
ErrorStatus setDepthRange(const DepthRange &value) const
Sets depth range in 3D image.
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.
static std::vector< MechEyeDeviceInfo > enumerateMechEyeDeviceList()
Enumerates Mech-Eye Industrial 3D Camera by the type of MechEyeDeviceInfo identifying the device.
ErrorStatus getCloudEdgePreservationMode(PointCloudProcessingSettings::PointCloudEdgePreservation &value) const
Gets the point cloud edge preservation mode.
ErrorStatus getCloudOutlierRemovalMode(PointCloudProcessingSettings::PointCloudOutlierRemoval &value) const
Gets the point cloud outlier removal mode.
ErrorStatus setFringeMinThreshold(int value) const
Sets the signal minimum threshold for effective pixels.
ErrorStatus getScan2DHDRExposureSequence(std::vector< double > &values) const
Gets the camera HDR exposure sequence in Scanning2DSettings::HDR exposure mode.
ErrorStatus getUhpFringeCodingMode(UhpSettings::UhpFringeCodingMode &value) const
Gets UHP camera fringe coding mode. Only support with Mech-Eye UHP series industrial 3D camera.
ErrorStatus getCloudSurfaceSmoothingMode(PointCloudProcessingSettings::PointCloudSurfaceSmoothing &value) const
Gets the point cloud surface smoothing mode.
ErrorStatus setUhpFringeCodingMode(UhpSettings::UhpFringeCodingMode value) const
Sets UHP camera fringe coding mode. Only support with Mech-Eye UHP series industrial 3D camera.
ErrorStatus getCloudNoiseRemovalMode(PointCloudProcessingSettings::PointCloudNoiseRemoval &value) const
Gets the point cloud noise removal mode.
ErrorStatus setScan3DGain(double value) const
Sets gain to capture the 3d image.
ErrorStatus setUhpCaptureMode(UhpSettings::UhpCaptureMode value) const
Sets UHP camera capture mode. Only support with Mech-Eye UHP series industrial 3D camera.
ErrorStatus setScan2DSharpenFactor(double value) const
Sets the image sharpen factor.
ErrorStatus connect(const MechEyeDeviceInfo &info, int timeout=10000)
Connects to the device by the MechEyeDeviceInfo identifying a device.
ErrorStatus getDeviceIntri(DeviceIntri &intri) const
Gets the intrinsic camera parameter about the connected device.
ErrorStatus getCloudOutlierFilterMode(PointCloudProcessingSettings::CloudOutlierFilterMode &value) const
Gets the point cloud outliers removal algorithm.
ErrorStatus setScan3DROI(const ROI &value) const
Sets ROI to capture the 3D image.
void disconnect()
Disconnects from the device.
ErrorStatus setScan2DROI(const ROI &value) const
Sets ROI to capture the 2D image.
ErrorStatus getDeviceResolution(DeviceResolution &imageResolution) const
Gets the device resolution.
ErrorStatus setCalibrateType(HandeyeCalibrationSettings::calibrationType calibrationType) const
Set the calibration type for this calibration.
ErrorStatus captureDepthMap(DepthMap &depthMap) const
Captures a depth image.
ErrorStatus getScan2DSharpenFactor(double &value) const
Gets the image sharpen factor.
ErrorStatus getScan3DGain(double &value) const
Gets gain to capture the 3d image.
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.
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 setScan2DHDRExposureSequence(std::vector< double > &values) const
Sets the camera HDR exposure sequence in Scanning2DSettings::HDR exposure mode.
ErrorStatus getDepthRange(DepthRange &value) const
Gets depth range in 3D image.
ErrorStatus setScan2DExposureTime(double value) const
Sets the camera exposure time in Scanning2DSettings::Timed exposure mode.
ErrorStatus setCloudOutlierRemovalMode(PointCloudProcessingSettings::PointCloudOutlierRemoval value) const
Sets the point cloud outlier removal mode.
ErrorStatus calculateExtrinsics(std::string &extrinsic) const
Start to calculate the result of handeye calibration.
ErrorStatus setCloudNoiseRemovalMode(PointCloudProcessingSettings::PointCloudNoiseRemoval value) const
Sets the point cloud noise removal mode.
ErrorStatus setBoardType(HandeyeCalibrationSettings::boardType boardType) const
Set the board type for this calibration.
ErrorStatus getCloudSmoothMode(PointCloudProcessingSettings::CloudSmoothMode &value) const
Gets the point cloud smoothing algorithm.
ErrorStatus captureColorMap(ColorMap &colorMap) const
Captures a color image.
ErrorStatus setCloudSurfaceSmoothingMode(PointCloudProcessingSettings::PointCloudSurfaceSmoothing value) const
Sets the point cloud surface smoothing mode.
ErrorStatus getProjectorAntiFlickerMode(ProjectorSettings::AntiFlickerMode &value) const
Gets projector's anti-flicker mode. Only support with Mech-Eye NANO and PRO series industrial 3D came...
ErrorStatus setProjectorFringeCodingMode(ProjectorSettings::FringeCodingMode value) const
Sets projector's fringe coding mode. Only support with Mech-Eye NANO and PRO series industrial 3D cam...
ErrorStatus setScan2DExpectedGrayValue(int value) const
Sets the expected gray value in Scanning2DSettings::Auto exposure mode.
ErrorStatus getScan3DROI(ROI &value) const
Gets ROI to capture the 3D image. MechEye UHP serials in capture mode 'Merge' does not support this p...
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.
ErrorStatus getScan2DExposureTime(double &value) const
Gets the camera exposure time in Scanning2DSettings::Timed exposure mode.
ErrorStatus getScan2DExposureMode(Scanning2DSettings::Scan2DExposureMode &value) const
Gets the camera exposure mode to capture the 2D images.
ErrorStatus getFringeContrastThreshold(int &value) const
Gets the signal contrast threshold for effective pixels.
ErrorStatus getProjectorFringeCodingMode(ProjectorSettings::FringeCodingMode &value) const
Gets projector's fringe coding mode. Only support with Mech-Eye NANO and PRO series industrial 3D cam...
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.
ErrorStatus getScan3DExposure(std::vector< double > &valueSequence) const
Gets the exposure time sequence of the camera to capture the 3D image.
ErrorStatus captureOrthogonalDepthMap(DepthMap &depthMap, double &xScale, double &yScale, double &xOffset, double &yOffset) const
Captures an orthogonal depth image.
ErrorStatus getScan2DToneMappingEnable(bool &value) const
Gets whether gray level transformation algorithm is used or not.
ErrorStatus setScan3DExposure(const std::vector< double > &valueSequence) const
Sets the exposure time of the camera to capture the 3D image.
ErrorStatus setCloudEdgePreservationMode(PointCloudProcessingSettings::PointCloudEdgePreservation value) const
Sets the point cloud edge preservation mode.
std::string MMIND_API_EXPORT getApiInformation()
Gets the API basic information including version and manufacturing company.
This struct defines the depth range.
Definition MechEyeDataType.h:170
This struct defines device intrinsic parameters, including texture camera and depth camera.
Definition MechEyeDataType.h:131
This struct defines camera map resolution.
Definition MechEyeDataType.h:146
This struct describes the device temperature information.
Definition MechEyeDataType.h:101
This enumeration defines the types of errors.
Definition MechEyeDataType.h:45
calibrationType
Definition MechEyeSettings.h:529
boardType
Definition MechEyeSettings.h:540
Definition MechEyeSettings.h:419
This struct defines device information.
Definition MechEyeDataType.h:87
PointCloudOutlierRemoval
Definition MechEyeSettings.h:261
CloudSmoothMode
Definition MechEyeSettings.h:207
CloudOutlierFilterMode
Definition MechEyeSettings.h:195
PointCloudSurfaceSmoothing
Definition MechEyeSettings.h:239
PointCloudNoiseRemoval
Definition MechEyeSettings.h:250
PointCloudEdgePreservation
Definition MechEyeSettings.h:271
FringeCodingMode
Definition MechEyeSettings.h:359
AntiFlickerMode
Definition MechEyeSettings.h:377
PowerLevel
Definition MechEyeSettings.h:367
This struct defines camera region of interest.
Definition MechEyeDataType.h:157
Scan2DExposureMode
Definition MechEyeSettings.h:107
Definition MechEyeSettings.h:484
UhpCaptureMode
Definition MechEyeSettings.h:488
UhpFringeCodingMode
Definition MechEyeSettings.h:497