9 # define EXPORT __declspec(dllexport) 10 # define IMPORT __declspec(dllimport) 12 # define EXPORT __attribute__((visibility("default"))) 13 # define IMPORT __attribute__((visibility("default"))) 16 #if defined(COMPILING_DLL) 17 # define DLL_FUNCTION EXPORT 19 # define DLL_FUNCTION IMPORT 140 unsigned char* getColorFrame();
147 unsigned short* getIrFrame();
261 int closeDepthStream();
267 int closeColorStream();
273 unsigned int getDeviceVersion();
279 unsigned int getDeviceType();
291 char* getDriverVersion();
299 int getTemp(
float *_cpu,
float *_sensor);
307 int setCameraMode(
int _mode);
315 int setFps(
int _fps);
323 int setExposure(
int _exposure);
338 int setImageRegistration(
bool _status);
Parent class used for image streams from the camera.
Definition: MarsSDK.h:27
unsigned short * irFrame
Infrared frame buffer Each pixel is stored as 16-bit grayscale.
Definition: MarsSDK.h:99
Sunny Mars device.
Definition: MarsSDK.h:199
int width
Stream's width, in pixels.
Definition: MarsSDK.h:38
DeviceInfo_t * deviceInfo
Structure containing all the device-specific information, retrieved from the Sunny Mars API.
Definition: MarsSDK.h:210
ColorStream * colorStream
Instance of ColorStream within MarsSDK.
Definition: MarsSDK.h:220
unsigned char * colorFrame
Depth frame color from image registration. Pixel elements can be accessed as (location * 3) + color,...
Definition: MarsSDK.h:93
int height
Stream's height, in pixels.
Definition: MarsSDK.h:43
CLibTof * camera
Instance of camera in external Sunny Mars API.
Definition: MarsSDK.h:33
Color image stream from the camera.
Definition: MarsSDK.h:160
Depth image stream from the camera.
Definition: MarsSDK.h:73
CLibTof * camera
Instance of camera in external Sunny Mars API.
Definition: MarsSDK.h:205
DepthStream * depthStream
Instance of DepthStream within MarsSDK.
Definition: MarsSDK.h:215
float * depthFrame
Depth frame buffer. Pixel elements can be accessed as (location * 3) + axis, where axis is 0 = x,...
Definition: MarsSDK.h:87
int size
Stream's size, in pixels.
Definition: MarsSDK.h:48
short * frame
Color frame buffer In YUV420 format.
Definition: MarsSDK.h:174