coal/serialization/transform.h
Go to the documentation of this file.
1 //
2 // Copyright (c) 2024 INRIA
3 //
4 
5 #ifndef COAL_SERIALIZATION_TRANSFORM_H
6 #define COAL_SERIALIZATION_TRANSFORM_H
7 
8 #include "coal/math/transform.h"
10 
11 namespace boost {
12 namespace serialization {
13 
14 template <class Archive>
15 void serialize(Archive& ar, coal::Transform3s& tf,
16  const unsigned int /*version*/) {
17  ar& make_nvp("R", tf.rotation());
18  ar& make_nvp("T", tf.translation());
19 }
20 
21 } // namespace serialization
22 } // namespace boost
23 
24 #endif // COAL_SERIALIZATION_TRANSFORM_H
fwd.h
boost::serialization::serialize
void serialize(Archive &ar, coal::AABB &aabb, const unsigned int)
Definition: coal/serialization/AABB.h:15
boost
coal::Transform3s
Simple transform class used locally by InterpMotion.
Definition: coal/math/transform.h:55
transform.h
coal::Transform3s::translation
const Vec3s & translation() const
get translation
Definition: coal/math/transform.h:104
coal::Transform3s::rotation
const Matrix3s & rotation() const
get rotation
Definition: coal/math/transform.h:113


hpp-fcl
Author(s):
autogenerated on Sat Nov 23 2024 03:44:59