Go to the documentation of this file.
5 #ifndef COAL_SERIALIZATION_COLLISION_OBJECT_H
6 #define COAL_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);
47 template <
typename BV>
50 template <
typename PolygonT>
68 namespace serialization {
71 template <
class Archive>
72 static void on(Archive& ar) {
93 #endif // ifndef COAL_SERIALIZATION_COLLISION_OBJECT_H
void load(Archive &ar, coal::BVSplitter< BV > &splitter_, const unsigned int)
Half Space: this is equivalent to the Plane in ODE. A Half space has a priviledged direction: the dir...
Capsule It is where is the distance between the point x and the capsule segment AB,...
CoalScalar threshold_free
threshold for free (<= is free)
Ellipsoid centered at point zero.
The geometry for the object for collision or distance computation.
A class describing the AABB collision structure, which is a box in 3D space determined by two diagona...
Infinite plane. A plane can be viewed as two half spaces; it has no priviledged direction....
Center at zero point, axis aligned box.
Center at zero point sphere.
#define COAL_SERIALIZATION_SPLIT(Type)
void * user_data
pointer to user defined data specific to this object
AABB aabb_local
AABB in local coordinate, used for tight AABB when only translation transform.
CoalScalar aabb_radius
AABB radius.
CoalScalar threshold_occupied
threshold for occupied ( >= is occupied)
Cylinder along Z axis. The cylinder is defined at its centroid.
Triangle stores the points instead of only indices of points.
static void on(Archive &ar)
Cone The base of the cone is at and the top is at .
Octree is one type of collision geometry which can encode uncertainty information in the sensor data.
CoalScalar cost_density
collision cost for unit volume
void save(Archive &ar, const coal::BVSplitter< BV > &splitter_, const unsigned int)
Oriented bounding box class.
Vec3s aabb_center
AABB center in local coordinate.
hpp-fcl
Author(s):
autogenerated on Sat Nov 23 2024 03:44:57