Loading...
Searching...
No Matches
registeration.hpp
Go to the documentation of this file.
1
16#ifndef CURVES_REGISTERATION_H
17#define CURVES_REGISTERATION_H
18#include <Eigen/Dense>
19#include <vector>
20
21#include "ndcurves/fwd.h"
22
29namespace ndcurves {
30namespace serialization {
31
32template <class Archive>
33void register_types(Archive& ar, const unsigned int version) {
34 // register derived class
35 ar.template register_type<polynomial_t>();
36 ar.template register_type<exact_cubic_t>();
37 ar.template register_type<bezier_t>();
38 ar.template register_type<cubic_hermite_spline_t>();
39 ar.template register_type<piecewise_t>();
40 ar.template register_type<polynomial3_t>();
41 ar.template register_type<exact_cubic3_t>();
42 ar.template register_type<bezier3_t>();
43 ar.template register_type<cubic_hermite_spline3_t>();
44 ar.template register_type<piecewise3_t>();
45 ar.template register_type<SO3Linear_t>();
46 ar.template register_type<SE3Curve_t>();
47 ar.template register_type<piecewise_SE3_t>();
48 if (version >= 1) {
49 ar.template register_type<constant3_t>();
50 ar.template register_type<sinusoidal_t>();
51 ar.template register_type<constant_t>();
52 }
53}
54
55} // namespace serialization
56} // namespace ndcurves
57
58#endif // CURVES_REGISTERATION_H
forward declaration of all curves class
void register_types(Archive &ar, const unsigned int version)
Definition: registeration.hpp:33
Definition: bernstein.h:20