5 #ifndef HPP_FCL_SERIALIZATION_BV_NODE_H 6 #define HPP_FCL_SERIALIZATION_BV_NODE_H 15 namespace serialization
18 template <
class Archive>
28 template <
class Archive,
typename BV>
33 ar & make_nvp(
"base",boost::serialization::base_object<hpp::fcl::BVNodeBase>(node));
34 ar & make_nvp(
"bv",node.
bv);
40 #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...
Definition: BV_node.h:67
BV bv
bounding volume storing the geometry
Definition: BV_node.h:114
void serialize(Archive &ar, hpp::fcl::AABB &aabb, const unsigned int)
Definition: AABB.h:17
int first_child
An index for first child node or primitive If the value is positive, it is the index of the first chi...
Definition: BV_node.h:63
A class describing a bounding volume node. It includes the tree structure providing in BVNodeBase and...
Definition: BV_node.h:109
unsigned int num_primitives
The number of primitives belonging to the current node.
Definition: BV_node.h:70
BVNodeBase encodes the tree structure for BVH.
Definition: BV_node.h:57