5 #ifndef __pinocchio_serialization_force_hpp__ 6 #define __pinocchio_serialization_force_hpp__ 8 #include "pinocchio/spatial/force.hpp" 9 #include "pinocchio/serialization/fwd.hpp" 11 #include <boost/serialization/split_free.hpp> 12 #include <boost/serialization/vector.hpp> 19 template <
class Archive,
typename Scalar,
int Options>
28 template <
class Archive,
typename Scalar,
int Options>
37 template <
class Archive,
typename Scalar,
int Options>
42 split_free(ar,f,version);
48 #endif // ifndef __pinocchio_serialization_force_hpp__
void save(Archive &ar, const hpp::fcl::Contact &contact, const unsigned int)
void serialize(Archive &ar, hpp::fcl::AABB &aabb, const unsigned int)
ConstAngularType angular() const
Return the angular part of the force vector.
void load(Archive &ar, hpp::fcl::Contact &contact, const unsigned int)
const nvp< typename pinocchio::container::aligned_vector< T >::vector_base > make_nvp(const char *name, pinocchio::container::aligned_vector< T > &t)
ConstLinearType linear() const
Return the linear part of the force vector.