#include <aabb_tree_refitter_policy.h>
Public Types | |
typedef aabb_tree_geometry::bvh_type | bvh_type |
typedef bvh_type::volume_type | volume_type |
typedef bvh_type::geometry_type | geometry_type |
typedef bvh_type::bv_ptr | bv_ptr |
typedef bvh_type::annotated_bv_ptr | annotated_bv_ptr |
typedef bvh_type::annotated_bv_type | annotated_bv_type |
typedef bvh_type::bv_iterator | bv_iterator |
typedef bvh_type::geometry_iterator | geometry_iterator |
typedef volume_type::real_type | real_type |
typedef volume_type::vector3_type | vector3_type |
Public Member Functions | |
RefitterPolicy () | |
void | refit (bv_ptr bv) |
Public Attributes | |
real_type | m_enlargement |
typedef bvh_type::annotated_bv_ptr OpenTissue::aabb_tree::RefitterPolicy< aabb_tree_geometry >::annotated_bv_ptr |
typedef bvh_type::annotated_bv_type OpenTissue::aabb_tree::RefitterPolicy< aabb_tree_geometry >::annotated_bv_type |
typedef bvh_type::bv_iterator OpenTissue::aabb_tree::RefitterPolicy< aabb_tree_geometry >::bv_iterator |
typedef bvh_type::bv_ptr OpenTissue::aabb_tree::RefitterPolicy< aabb_tree_geometry >::bv_ptr |
typedef aabb_tree_geometry::bvh_type OpenTissue::aabb_tree::RefitterPolicy< aabb_tree_geometry >::bvh_type |
typedef bvh_type::geometry_iterator OpenTissue::aabb_tree::RefitterPolicy< aabb_tree_geometry >::geometry_iterator |
typedef bvh_type::geometry_type OpenTissue::aabb_tree::RefitterPolicy< aabb_tree_geometry >::geometry_type |
typedef volume_type::real_type OpenTissue::aabb_tree::RefitterPolicy< aabb_tree_geometry >::real_type |
typedef volume_type::vector3_type OpenTissue::aabb_tree::RefitterPolicy< aabb_tree_geometry >::vector3_type |
typedef bvh_type::volume_type OpenTissue::aabb_tree::RefitterPolicy< aabb_tree_geometry >::volume_type |
OpenTissue::aabb_tree::RefitterPolicy< aabb_tree_geometry >::RefitterPolicy | ( | ) | [inline] |
void OpenTissue::aabb_tree::RefitterPolicy< aabb_tree_geometry >::refit | ( | bv_ptr | bv | ) | [inline] |
real_type OpenTissue::aabb_tree::RefitterPolicy< aabb_tree_geometry >::m_enlargement |
Additive enlargement factor. All volumes are slightly enlarged to avoid problems with numerical precision and truncation. Default value is zero, but can be changed by user.