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
29
namespace
ndcurves
{
30
namespace
serialization {
31
32
template
<
class
Archive>
33
void
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
41
ar
.template
register_type<polynomial3_t>
();
42
ar
.template
register_type<exact_cubic3_t>
();
43
ar
.template
register_type<bezier3_t>
();
44
ar
.template
register_type<cubic_hermite_spline3_t>
();
45
ar
.template
register_type<piecewise3_t>
();
46
47
ar
.template
register_type<SO3Linear_t>
();
48
ar
.template
register_type<SE3Curve_t>
();
49
ar
.template
register_type<piecewise_SE3_t>
();
50
51
if
(
version
>= 1) {
52
ar
.template
register_type<constant3_t>
();
53
ar
.template
register_type<sinusoidal_t>
();
54
ar
.template
register_type<constant_t>
();
55
ar
.template
register_type<polynomial1_t>
();
56
#ifdef CURVES_WITH_PINOCCHIO_SUPPORT
57
ar
.template
register_type<SO3Smooth_t>
();
58
#endif
59
}
60
}
61
62
}
// namespace serialization
63
}
// namespace ndcurves
64
65
#endif
// CURVES_REGISTERATION_H
fwd.h
forward declaration of all curves class
ndcurves::serialization::register_types
void register_types(Archive &ar, const unsigned int version)
Definition
registeration.hpp:33
ndcurves
Definition
bernstein.h:20
ndcurves::isApprox
bool isApprox(const T a, const T b, const T eps=1e-6)
Definition
curve_abc.h:25
include
ndcurves
serialization
registeration.hpp
Generated by
1.9.8