LibMultiSense
LibMultiSense Documentation
Loading...
Searching...
No Matches
SysCameraCalibrationMessage.hh
Go to the documentation of this file.
1
39#ifndef LibMultiSense_SysCameraCalibrationMessage
40#define LibMultiSense_SysCameraCalibrationMessage
41
43
44namespace crl {
45namespace multisense {
46namespace details {
47namespace wire {
48
50public:
52
53 float M[3][3];
54 float D[8];
55 float R[3][3];
56 float P[3][4];
57
58 template<class Archive>
59 void serialize(Archive& message,
60 const VersionType version)
61 {
62 (void) version;
63 SER_ARRAY_2(M, 3, 3);
64 SER_ARRAY_1(D, 8);
65 SER_ARRAY_2(R, 3, 3);
66 SER_ARRAY_2(P, 3, 4);
67 }
68};
69
71public:
74
78
79 //
80 // Constructors
81
84
85 //
86 // Serialization routine
87
88 template<class Archive>
89 void serialize(Archive& message,
90 const VersionType version)
91 {
92 left.serialize(message, version);
93 right.serialize(message, version);
94
95 if (version >= 2)
96 {
97 aux.serialize(message, version);
98 }
99 }
100};
101}}}} // namespaces
102
103#endif
Macros and symbols to help portability between different compiler versions.
#define CRL_CONSTEXPR
#define SER_ARRAY_1(a_, n_)
Definition Protocol.hh:347
#define SER_ARRAY_2(a_, n_, m_)
Definition Protocol.hh:351
void serialize(Archive &message, const VersionType version)
SysCameraCalibration(utility::BufferStreamReader &r, VersionType v)
void serialize(Archive &message, const VersionType version)
static CRL_CONSTEXPR IdType ID_DATA_SYS_CAMERA_CAL
Definition Protocol.hh:214