hpp-fcl  3.0.0
HPP fork of FCL -- The Flexible Collision Library
transform.h
Go to the documentation of this file.
1 //
2 // Copyright (c) 2024 INRIA
3 //
4 
5 #ifndef HPP_FCL_SERIALIZATION_TRANSFORM_H
6 #define HPP_FCL_SERIALIZATION_TRANSFORM_H
7 
10 
11 namespace boost {
12 namespace serialization {
13 
14 template <class Archive>
15 void serialize(Archive& ar, hpp::fcl::Transform3f& 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 // HPP_FCL_SERIALIZATION_TRANSFORM_H
Simple transform class used locally by InterpMotion.
Definition: transform.h:56
const Matrix3f & rotation() const
get rotation
Definition: transform.h:114
const Vec3f & translation() const
get translation
Definition: transform.h:105
void serialize(Archive &ar, hpp::fcl::AABB &aabb, const unsigned int)
Definition: AABB.h:15
Definition: AABB.h:11