39#include "api_global.h"
40#include "CameraProperties.h"
41#include "ErrorStatus.h"
42#include "Frame2DAnd3D.h"
43#include "UserSetManager.h"
303 unsigned int timeoutMs = 15000)
const;
332 unsigned int timeoutMs = 5000)
const;
337 friend class InternalInterfaces;
338 std::shared_ptr<class CameraImpl> _cameraImpl;
The camera event related. Use CameraEvent::registerCameraEventCallback to register an event of intere...
Operates the camera. Use Camera::connect to connect an available camera, and then call the correspond...
ErrorStatus capture3DWithNormal(Frame3D &frame3D, unsigned int timeoutMs=10000) const
Projects structured light and captures a single 3D frame. 3D information and normal vector are comput...
UserSet & currentUserSet()
Gets the UserSet currently in use.Through UserSet, you can access all available parameters of the cam...
ErrorStatus getCameraIntrinsics(CameraIntrinsics &intrinsics) const
Gets the camera intrinsic parameters. The camera intrinsic parameters include the intrinsic parameter...
static std::vector< CameraInfo > discoverCameras()
Discovers all available cameras and returns the list of information of all available cameras....
ErrorStatus capture2DAnd3DWithNormal(Frame2DAnd3D &frame2DAnd3D, unsigned int timeoutMs=15000) const
Simultaneously captures a single 2D frame and 3D frame. 3D information and normal vector are computed...
ErrorStatus connect(const std::string &ipAddress, unsigned int timeoutMs=5000)
Connects to a camera using the IP address.
ErrorStatus capture2DAnd3D(Frame2DAnd3D &frame2DAnd3D, unsigned int timeoutMs=10000) const
Simultaneously captures a single 2D frame and 3D frame. 3D information is computed on the camera....
ErrorStatus getCameraInfo(CameraInfo &info) const
Gets the basic information of the camera, such as the model, serial number, firmware version,...
ErrorStatus capture3D(Frame3D &frame3D, unsigned int timeoutMs=5000) const
Projects structured light and captures a single 3D frame. 3D information is computed on the camera....
ErrorStatus getCameraResolutions(CameraResolutions &resolutions) const
Gets the image resolutions of the camera. Two image resolutions are provided, 2D image (texture) and ...
ErrorStatus getCameraStatus(CameraStatus &status) const
Gets various statuses of the camera.
ErrorStatus connect(const CameraInfo &info, unsigned int timeoutMs=5000)
Connects to a camera using 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 from the camera and releases the associated resources.
ErrorStatus captureStereo2D(Frame2D &left, Frame2D &right, bool isRectified=false, unsigned int timeoutMs=5000) const
Captures the 2D images from both 2D cameras in the 3D camera. This method is only available for DEEP,...
UserSetManager & userSetManager()
Gets the UserSetManager of the camera. UserSetManager provides various operations for managing all us...
ErrorStatus capture2D(Frame2D &frame2D, unsigned int timeoutMs=5000) const
Captures a single 2D frame using the 2D camera in the 3D camera. The result is retrieved after the ca...
Camera & operator=(const Camera &other) noexcept
Copy assignment.
Represents the 2D and 3D capture results, which can be obtained by calling Camera::capture2DAnd3D....
Represents the 2D capture result, which can be obtained by calling Camera::capture2D....
Represents the 3D capture result, which can be obtained by calling Camera::capture3D....
Manages device user sets.
Defines the camera information.
Defines the 3D camera intrinsic parameters, including the intrinsic parameters of the texture 2D came...
Defines the camera image resolutions, including the resolutions of the 2D image (texture) and depth m...
Describes the camera's statuses.
Describes the types of errors.