9 # define EXPORT __declspec(dllexport) 11 # define EXPORT __attribute__((visibility("default"))) 124 FrameData_t* getFrame();
131 FrameDataRgb_t* getColorFrame();
138 unsigned short* getIrFrame();
252 int closeDepthStream();
258 int closeColorStream();
264 unsigned int getDeviceVersion();
270 unsigned int getDeviceType();
282 char* getDriverVersion();
290 int getTemp(
float *_cpu,
float *_sensor);
298 int setCameraMode(
int _mode);
306 int setFps(
int _fps);
314 int setExposure(
int _exposure);
329 int setImageRegistration(
bool _status);
FrameData_t * depthFrame
Depth frame buffer. Has elements (float) x, y, and z.
Definition: MarsSDK.h:79
Parent class used for image streams from the camera.
Definition: MarsSDK.h:19
unsigned short * irFrame
Infrared frame buffer.
Definition: MarsSDK.h:90
Sunny Mars device.
Definition: MarsSDK.h:190
int width
Stream's width, in pixels.
Definition: MarsSDK.h:30
DeviceInfo_t * deviceInfo
Structure containing all the device-specific information, retrieved from the Sunny Mars API.
Definition: MarsSDK.h:201
ColorStream * colorStream
Instance of ColorStream within MarsSDK.
Definition: MarsSDK.h:211
int height
Stream's height, in pixels.
Definition: MarsSDK.h:35
CLibTof * camera
Instance of camera in external Sunny Mars API.
Definition: MarsSDK.h:25
Color image stream from the camera.
Definition: MarsSDK.h:151
Depth image stream from the camera.
Definition: MarsSDK.h:65
CLibTof * camera
Instance of camera in external Sunny Mars API.
Definition: MarsSDK.h:196
DepthStream * depthStream
Instance of DepthStream within MarsSDK.
Definition: MarsSDK.h:206
FrameDataRgb_t * colorFrame
Depth frame color from image registration. Has elements (unsigned char) r, g, and b.
Definition: MarsSDK.h:85
int size
Stream's size, in pixels.
Definition: MarsSDK.h:40
short * frame
Color frame buffer In YUV420 format.
Definition: MarsSDK.h:165