Go to the documentation of this file.
5 #ifndef HPP_FCL_SERIALIZATION_HFIELD_H
6 #define HPP_FCL_SERIALIZATION_HFIELD_H
14 namespace serialization {
16 template <
class Archive>
18 const unsigned int ) {
20 ar &make_nvp(
"x_id", node.
x_id);
21 ar &make_nvp(
"x_size", node.
x_size);
22 ar &make_nvp(
"y_id", node.
y_id);
23 ar &make_nvp(
"y_size", node.
y_size);
27 template <
class Archive,
typename BV>
29 const unsigned int ) {
31 boost::serialization::base_object<hpp::fcl::HFNodeBase>(node));
32 ar &make_nvp(
"bv", node.
bv);
36 template <
typename BV>
51 template <
class Archive,
typename BV>
53 const unsigned int ) {
56 boost::serialization::base_object<hpp::fcl::CollisionGeometry>(hf_model));
59 Accessor &access =
reinterpret_cast<Accessor &
>(hf_model);
61 ar &make_nvp(
"x_dim", access.x_dim);
62 ar &make_nvp(
"y_dim", access.y_dim);
63 ar &make_nvp(
"heights", access.heights);
64 ar &make_nvp(
"min_height", access.min_height);
65 ar &make_nvp(
"max_height", access.max_height);
66 ar &make_nvp(
"x_grid", access.x_grid);
67 ar &make_nvp(
"y_grid", access.y_grid);
69 ar &make_nvp(
"bvs", access.bvs);
70 ar &make_nvp(
"num_bvs", access.num_bvs);
75 #endif // ifndef HPP_FCL_SERIALIZATION_HFIELD_H
BV bv
bounding volume storing the geometry
FCL_REAL x_dim
Dimensions in meters along X and Y directions.
VecXf x_grid
Grids along the X and Y directions. Useful for plotting or other related things.
Data structure depicting a height field given by the base grid dimensions and the elevation along the...
hpp::fcl::HeightField< BV > Base
size_t first_child
An index for first child node or primitive If the value is positive, it is the index of the first chi...
MatrixXf heights
Elevation values in meters of the Height Field.
void serialize(Archive &ar, hpp::fcl::AABB &aabb, const unsigned int)
FCL_REAL min_height
Minimal height of the Height Field: all values bellow min_height will be discarded.
BVS bvs
Bounding volume hierarchy.
hpp-fcl
Author(s):
autogenerated on Fri Aug 2 2024 02:45:13