Classes | Public Types | Public Member Functions | Protected Member Functions | Protected Attributes

OpenTissue::bvh::DefaultTopDownPolicy< bvh_type > Class Template Reference

#include <bvh_default_top_down_policy.h>

List of all members.

Classes

class  partition_type

Public Types

typedef DefaultTopDownPolicy
< bvh_type > 
top_down_type
typedef bvh_type::bv_ptr bv_ptr
typedef bvh_type::annotated_bv_type annotated_bv_type
typedef bvh_type::annotated_bv_ptr annotated_bv_ptr
typedef bvh_type::volume_type volume_type
typedef bvh_type::geometry_type geometry_type
typedef std::vector
< geometry_type
geometry_container
typedef
partition_type::partition_container 
partition_container
typedef
partition_type::partition_iterator 
partition_iterator

Public Member Functions

partition_type all ()
template<typename iterator >
void init (iterator begin, iterator end)

Protected Member Functions

unsigned int degree () const
void split (partition_type &partition)
void fit (bv_ptr bv, partition_type &partition)

Protected Attributes

geometry_container m_geometry
 The entire geometry that should be represented by the resulting BVH.

Detailed Description

template<typename bvh_type>
class OpenTissue::bvh::DefaultTopDownPolicy< bvh_type >

A Default Top Down Construction Policy.


Member Typedef Documentation

template<typename bvh_type >
typedef bvh_type::annotated_bv_ptr OpenTissue::bvh::DefaultTopDownPolicy< bvh_type >::annotated_bv_ptr
template<typename bvh_type >
typedef bvh_type::annotated_bv_type OpenTissue::bvh::DefaultTopDownPolicy< bvh_type >::annotated_bv_type
template<typename bvh_type >
typedef bvh_type::bv_ptr OpenTissue::bvh::DefaultTopDownPolicy< bvh_type >::bv_ptr
template<typename bvh_type >
typedef std::vector<geometry_type> OpenTissue::bvh::DefaultTopDownPolicy< bvh_type >::geometry_container
template<typename bvh_type >
typedef bvh_type::geometry_type OpenTissue::bvh::DefaultTopDownPolicy< bvh_type >::geometry_type
template<typename bvh_type >
typedef DefaultTopDownPolicy<bvh_type> OpenTissue::bvh::DefaultTopDownPolicy< bvh_type >::top_down_type
template<typename bvh_type >
typedef bvh_type::volume_type OpenTissue::bvh::DefaultTopDownPolicy< bvh_type >::volume_type

Member Function Documentation

template<typename bvh_type >
partition_type OpenTissue::bvh::DefaultTopDownPolicy< bvh_type >::all ( void   )  [inline]
template<typename bvh_type >
unsigned int OpenTissue::bvh::DefaultTopDownPolicy< bvh_type >::degree (  )  const [inline, protected]
template<typename bvh_type >
void OpenTissue::bvh::DefaultTopDownPolicy< bvh_type >::fit ( bv_ptr  bv,
partition_type partition 
) [inline, protected]
template<typename bvh_type >
template<typename iterator >
void OpenTissue::bvh::DefaultTopDownPolicy< bvh_type >::init ( iterator  begin,
iterator  end 
) [inline]
template<typename bvh_type >
void OpenTissue::bvh::DefaultTopDownPolicy< bvh_type >::split ( partition_type partition  )  [inline, protected]

Member Data Documentation

template<typename bvh_type >
geometry_container OpenTissue::bvh::DefaultTopDownPolicy< bvh_type >::m_geometry [protected]

The entire geometry that should be represented by the resulting BVH.


The documentation for this class was generated from the following file: