SysCameraCalibrationMessage.h
Go to the documentation of this file.
1 
39 #ifndef LibMultiSense_SysCameraCalibrationMessage
40 #define LibMultiSense_SysCameraCalibrationMessage
41 
43 
44 namespace crl {
45 namespace multisense {
46 namespace details {
47 namespace wire {
48 
50 public:
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 
71 public:
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
#define SER_ARRAY_1(a_, n_)
Definition: Protocol.h:276
void serialize(Archive &message, const VersionType version)
SysCameraCalibration(utility::BufferStreamReader &r, VersionType v)
Definition: channel.cc:56
static CRL_CONSTEXPR IdType ID_DATA_SYS_CAMERA_CAL
Definition: Protocol.h:202
#define SER_ARRAY_2(a_, n_, m_)
Definition: Protocol.h:280
void serialize(Archive &message, const VersionType version)
#define CRL_CONSTEXPR
Definition: Portability.hh:51


multisense_lib
Author(s):
autogenerated on Sun Mar 14 2021 02:34:50