hpp-fcl: include/hpp/fcl/serialization/OBBRSS.h Source File

hpp-fcl 1.7.2 HPP fork of FCL -- The Flexible Collision Library

OBBRSS.h
Go to the documentation of this file.
1 //
2 // Copyright (c) 2021 INRIA
3 //
4
5 #ifndef HPP_FCL_SERIALIZATION_OBBRSS_H
6 #define HPP_FCL_SERIALIZATION_OBBRSS_H
7
8 #include "hpp/fcl/BV/OBBRSS.h"
9
10 #include "hpp/fcl/serialization/fwd.h"
11 #include "hpp/fcl/serialization/OBB.h"
12 #include "hpp/fcl/serialization/RSS.h"
13
14 namespace boost
15 {
16 namespace serialization
17 {
18
19 template <class Archive>
20 void serialize(Archive & ar,
21 hpp::fcl::OBBRSS & bv,
22 const unsigned int /*version*/)
23 {
24 ar & make_nvp("obb",bv.obb);
25 ar & make_nvp("rss",bv.rss);
26 }
27
28 }
29 }
30
31 #endif // ifndef HPP_FCL_SERIALIZATION_OBBRSS_H
OBBRSS.h
fwd.h
hpp::fcl::OBBRSS::obb
OBB obb
OBB member, for rotation.
Definition: OBBRSS.h:60
hpp::fcl::OBBRSS::rss
RSS rss
RSS member, for distance.
Definition: OBBRSS.h:63
OBB.h
boost::serialization::serialize
void serialize(Archive &ar, hpp::fcl::AABB &aabb, const unsigned int)
Definition: AABB.h:17
boost
Definition: AABB.h:12
RSS.h
hpp::fcl::OBBRSS
Class merging the OBB and RSS, can handle collision and distance simultaneously.
Definition: OBBRSS.h:57