Public Types | Public Member Functions | Protected Attributes | Friends

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

#include <bvh_default_top_down_policy.h>

List of all members.

Public Types

typedef std::vector
< partition_type
partition_container
typedef
partition_container::iterator 
partition_iterator

Public Member Functions

 partition_type ()
 partition_type (top_down_type *owner, unsigned int left, unsigned int right)
bool annotated () const
unsigned int size () const
bool empty ()
void split ()
partition_iterator sub_partition_begin ()
partition_iterator sub_partition_end ()
void fit (bv_ptr bv)

Protected Attributes

partition_container m_sub_partitions
unsigned int m_left
unsigned int m_right
top_down_typem_owner

Friends

class DefaultTopDownPolicy< bvh_type >

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


Member Typedef Documentation

template<typename bvh_type >
typedef std::vector<partition_type> OpenTissue::bvh::DefaultTopDownPolicy< bvh_type >::partition_type::partition_container
template<typename bvh_type >
typedef partition_container::iterator OpenTissue::bvh::DefaultTopDownPolicy< bvh_type >::partition_type::partition_iterator

Constructor & Destructor Documentation

template<typename bvh_type >
OpenTissue::bvh::DefaultTopDownPolicy< bvh_type >::partition_type::partition_type (  )  [inline]
template<typename bvh_type >
OpenTissue::bvh::DefaultTopDownPolicy< bvh_type >::partition_type::partition_type ( top_down_type owner,
unsigned int  left,
unsigned int  right 
) [inline]

Member Function Documentation

template<typename bvh_type >
bool OpenTissue::bvh::DefaultTopDownPolicy< bvh_type >::partition_type::annotated (  )  const [inline]
template<typename bvh_type >
bool OpenTissue::bvh::DefaultTopDownPolicy< bvh_type >::partition_type::empty (  )  [inline]
template<typename bvh_type >
void OpenTissue::bvh::DefaultTopDownPolicy< bvh_type >::partition_type::fit ( bv_ptr  bv  )  [inline]
template<typename bvh_type >
unsigned int OpenTissue::bvh::DefaultTopDownPolicy< bvh_type >::partition_type::size (  )  const [inline]
template<typename bvh_type >
void OpenTissue::bvh::DefaultTopDownPolicy< bvh_type >::partition_type::split (  )  [inline]
template<typename bvh_type >
partition_iterator OpenTissue::bvh::DefaultTopDownPolicy< bvh_type >::partition_type::sub_partition_begin (  )  [inline]
template<typename bvh_type >
partition_iterator OpenTissue::bvh::DefaultTopDownPolicy< bvh_type >::partition_type::sub_partition_end (  )  [inline]

Friends And Related Function Documentation

template<typename bvh_type >
friend class DefaultTopDownPolicy< bvh_type > [friend]

Member Data Documentation

template<typename bvh_type >
unsigned int OpenTissue::bvh::DefaultTopDownPolicy< bvh_type >::partition_type::m_left [protected]
template<typename bvh_type >
top_down_type* OpenTissue::bvh::DefaultTopDownPolicy< bvh_type >::partition_type::m_owner [protected]
template<typename bvh_type >
unsigned int OpenTissue::bvh::DefaultTopDownPolicy< bvh_type >::partition_type::m_right [protected]

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