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  SER_ARRAY_2(M, 3, 3);
63  SER_ARRAY_1(D, 8);
64  SER_ARRAY_2(R, 3, 3);
65  SER_ARRAY_2(P, 3, 4);
66  };
67 };
68 
70 public:
73 
74  //
75  // 2 MPix
76 
79 
80  //
81  // Constructors
82 
85 
86  //
87  // Serialization routine
88 
89  template<class Archive>
90  void serialize(Archive& message,
91  const VersionType version)
92  {
93  left.serialize(message, version);
94  right.serialize(message, version);
95  }
96 };
97 }}}}; // namespaces
98 
99 #endif
#define SER_ARRAY_1(a_, n_)
Definition: Protocol.h:251
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:191
#define SER_ARRAY_2(a_, n_, m_)
Definition: Protocol.h:255
void serialize(Archive &message, const VersionType version)
#define CRL_CONSTEXPR
Definition: Portability.hh:38


multisense_lib
Author(s):
autogenerated on Sat Apr 6 2019 02:16:46