Go to the documentation of this file.
5 #ifndef COAL_SERIALIZATION_BV_NODE_H
6 #define COAL_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<coal::BVNodeBase>(node));
29 ar& make_nvp(
"bv", node.
bv);
35 #endif // ifndef COAL_SERIALIZATION_BV_NODE_H
void serialize(Archive &ar, coal::AABB &aabb, const unsigned int)
BVNodeBase encodes the tree structure for BVH.
unsigned int num_primitives
The number of primitives belonging to the current node.
int first_child
An index for first child node or primitive If the value is positive, it is the index of the first chi...
BV bv
bounding volume storing the geometry
unsigned int first_primitive
The start id the primitive belonging to the current node. The index is referred to the primitive_indi...
A class describing a bounding volume node. It includes the tree structure providing in BVNodeBase and...
hpp-fcl
Author(s):
autogenerated on Sat Nov 23 2024 03:44:57