Update types with export

This commit is contained in:
John Zhao 2018-04-04 09:21:45 +08:00
parent 39585f62d2
commit 1f3ec9d621

View File

@ -170,7 +170,7 @@ MYNTEYE_ENUM_HELPERS(Option)
* @ingroup calibration * @ingroup calibration
* Video stream intrinsics. * Video stream intrinsics.
*/ */
struct Intrinsics { struct MYNTEYE_API Intrinsics {
/** width of the image in pixels */ /** width of the image in pixels */
std::uint16_t width; std::uint16_t width;
/** height of the image in pixels */ /** height of the image in pixels */
@ -193,7 +193,7 @@ struct Intrinsics {
* @ingroup calibration * @ingroup calibration
* IMU sensor intrinsics: scale, drift and variances. * IMU sensor intrinsics: scale, drift and variances.
*/ */
struct ImuSensorIntrinsics { struct MYNTEYE_API ImuSensorIntrinsics {
/** /**
* Scale X cross axis cross axis * Scale X cross axis cross axis
* cross axis Scale Y cross axis * cross axis Scale Y cross axis
@ -213,7 +213,7 @@ struct ImuSensorIntrinsics {
* @ingroup calibration * @ingroup calibration
* IMU intrinsics, including accelerometer and gyroscope. * IMU intrinsics, including accelerometer and gyroscope.
*/ */
struct ImuIntrinsics { struct MYNTEYE_API ImuIntrinsics {
ImuSensorIntrinsics accel; ImuSensorIntrinsics accel;
ImuSensorIntrinsics gyro; ImuSensorIntrinsics gyro;
}; };
@ -222,7 +222,7 @@ struct ImuIntrinsics {
* @ingroup calibration * @ingroup calibration
* Cross-stream extrinsics, represent how the different devices are connected. * Cross-stream extrinsics, represent how the different devices are connected.
*/ */
struct Extrinsics { struct MYNTEYE_API Extrinsics {
double rotation[3][3]; /**< rotation matrix */ double rotation[3][3]; /**< rotation matrix */
double translation[3]; /**< translation vector */ double translation[3]; /**< translation vector */
}; };
@ -236,7 +236,7 @@ struct Extrinsics {
* @ingroup datatypes * @ingroup datatypes
* Image data. * Image data.
*/ */
struct ImgData { struct MYNTEYE_API ImgData {
/** Image frame id */ /** Image frame id */
std::uint16_t frame_id; std::uint16_t frame_id;
/** Image timestamp in 0.01ms */ /** Image timestamp in 0.01ms */
@ -249,7 +249,7 @@ struct ImgData {
* @ingroup datatypes * @ingroup datatypes
* IMU data. * IMU data.
*/ */
struct ImuData { struct MYNTEYE_API ImuData {
/** Image frame id */ /** Image frame id */
std::uint16_t frame_id; std::uint16_t frame_id;
/** IMU timestamp in 0.01ms */ /** IMU timestamp in 0.01ms */