hpp-fcl
2.4.1
HPP fork of FCL -- The Flexible Collision Library
|
Go to the documentation of this file.
5 #ifndef HPP_FCL_SERIALIZATION_COLLISION_OBJECT_H
6 #define HPP_FCL_SERIALIZATION_COLLISION_OBJECT_H
14 namespace serialization {
16 template <
class Archive>
18 const unsigned int ) {
19 ar& make_nvp(
"aabb_center", collision_geometry.
aabb_center);
20 ar& make_nvp(
"aabb_radius", collision_geometry.
aabb_radius);
21 ar& make_nvp(
"aabb_local", collision_geometry.
aabb_local);
22 ar& make_nvp(
"cost_density", collision_geometry.
cost_density);
27 template <
class Archive>
29 const unsigned int ) {
30 ar >> make_nvp(
"aabb_center", collision_geometry.
aabb_center);
31 ar >> make_nvp(
"aabb_radius", collision_geometry.
aabb_radius);
32 ar >> make_nvp(
"aabb_local", collision_geometry.
aabb_local);
33 ar >> make_nvp(
"cost_density", collision_geometry.
cost_density);
35 ar >> make_nvp(
"threshold_free", collision_geometry.
threshold_free);
44 #endif // ifndef HPP_FCL_SERIALIZATION_COLLISION_OBJECT_H
#define HPP_FCL_SERIALIZATION_SPLIT(Type)
Definition: fwd.h:13
AABB aabb_local
AABB in local coordinate, used for tight AABB when only translation transform.
Definition: collision_object.h:159
The geometry for the object for collision or distance computation.
Definition: collision_object.h:95
void load(Archive &ar, hpp::fcl::BVSplitter< BV > &splitter_, const unsigned int)
Definition: BV_splitter.h:44
FCL_REAL threshold_occupied
threshold for occupied ( >= is occupied)
Definition: collision_object.h:168
void * user_data
pointer to user defined data specific to this object
Definition: collision_object.h:162
FCL_REAL cost_density
collision cost for unit volume
Definition: collision_object.h:165
FCL_REAL threshold_free
threshold for free (<= is free)
Definition: collision_object.h:171
void save(Archive &ar, const hpp::fcl::BVSplitter< BV > &splitter_, const unsigned int)
Definition: BV_splitter.h:30
FCL_REAL aabb_radius
AABB radius.
Definition: collision_object.h:155
Vec3f aabb_center
AABB center in local coordinate.
Definition: collision_object.h:152