5 #ifndef HPP_FCL_SERIALIZATION_BV_NODE_H 6 #define HPP_FCL_SERIALIZATION_BV_NODE_H 14 namespace serialization {
16 template <
class Archive>
18 const unsigned int ) {
24 template <
class Archive,
typename BV>
26 const unsigned int ) {
28 boost::serialization::base_object<hpp::fcl::BVNodeBase>(node));
29 ar& make_nvp(
"bv", node.
bv);
35 #endif // ifndef HPP_FCL_SERIALIZATION_BV_NODE_H unsigned int first_primitive
The start id the primitive belonging to the current node. The index is referred to the primitive_indi...
BV bv
bounding volume storing the geometry
void serialize(Archive &ar, hpp::fcl::AABB &aabb, const unsigned int)
int first_child
An index for first child node or primitive If the value is positive, it is the index of the first chi...
A class describing a bounding volume node. It includes the tree structure providing in BVNodeBase and...
unsigned int num_primitives
The number of primitives belonging to the current node.
BVNodeBase encodes the tree structure for BVH.