39#include "api_global.h"
40#include "CameraProperties.h"
41#include "ErrorStatus.h"
42#include "Frame2DAnd3D.h"
43#include "UserSetManager.h"
300 unsigned int timeoutMs = 15000)
const;
305 std::shared_ptr<class CameraImpl> _cameraImpl;
The camera event related. Use CameraEvent::registerCameraEventCallback to register an event of intere...
Operates the Mech-Eye Industrial 3D Cameras. Use Camera::connect to connect an available camera,...
ErrorStatus capture3DWithNormal(Frame3D &frame3D, unsigned int timeoutMs=10000) const
Projects structured light and captures a single 3D frame of the scene. 3D information and normal vect...
UserSet & currentUserSet()
Gets the UserSet currently in effect of the camera. UserSet can access all available parameters of th...
ErrorStatus getCameraIntrinsics(CameraIntrinsics &intrinsics) const
Gets the camera intrinsics. The camera intrinsics contain the texture camera intrinsics and the depth...
static std::vector< CameraInfo > discoverCameras()
Discovers all available cameras, and returns the camera information list for them....
ErrorStatus capture2DAnd3DWithNormal(Frame2DAnd3D &frame2DAnd3D, unsigned int timeoutMs=15000) const
Captures simultaneously a single 2D frame and 3D frame of the scene. 3D information and normal vector...
ErrorStatus connect(const std::string &ipAddress, unsigned int timeoutMs=5000)
Connects to a camera via IP address.
ErrorStatus capture2DAnd3D(Frame2DAnd3D &frame2DAnd3D, unsigned int timeoutMs=10000) const
Captures simultaneously a single 2D frame and 3D frame of the scene. 3D information is computed at th...
ErrorStatus getCameraInfo(CameraInfo &info) const
Gets the basic information of the camera, such as camera model, camera serial number,...
ErrorStatus capture3D(Frame3D &frame3D, unsigned int timeoutMs=5000) const
Projects structured light and captures a single 3D frame of the scene. 3D information is computed at ...
ErrorStatus getCameraResolutions(CameraResolutions &resolutions) const
Gets the resolutions information of the camera. The resolutions consists of two parts,...
ErrorStatus getCameraStatus(CameraStatus &status) const
Gets the running status of the camera.
ErrorStatus connect(const CameraInfo &info, unsigned int timeoutMs=5000)
Connects to a camera via CameraInfo.
Camera(const Camera &other) noexcept
Copy constructor.
ErrorStatus setHeartbeatInterval(unsigned int timeIntervalMs)
Sets the time interval at which the client sends periodic heartbeat messages to the camera side....
void disconnect()
Disconnects the camera and releases the associated resources.
UserSetManager & userSetManager()
Gets the UserSetManager of the camera. UserSetManager provides various operations to manage all user ...
ErrorStatus capture2D(Frame2D &frame2D, unsigned int timeoutMs=5000) const
Captures a single 2D frame using 2D camera mounted on camera of the scene. The capture result will be...
Camera & operator=(const Camera &other) noexcept
Copy assignment.
Represents the 2D and 3D scanning result, which can be obtained by calling Camera::capture2DAnd3D or ...
Represents the 2D scanning result, which can be obtained by calling Camera::capture2D....
Represents the 3D scanning result, which can be obtained by calling Camera::capture3D or Camera::capt...
Manages device user sets.
Defines the camera information.
Defines the 3D camera intrinsic, including the texture source camera, depth source camera and the tra...
Defines the camera resolutions information, including texture image resolution and depth map resoluti...
Describes the camera running status.
Describes the types of errors.