Public Types | Public Member Functions | Protected Attributes | Friends

OpenTissue::bvh::BV< B, T > Class Template Reference

Forward Declaration. More...

#include <bvh_bv_node.h>

Inheritance diagram for OpenTissue::bvh::BV< B, T >:
OpenTissue::bvh::AnnotatedBV< B, T >

List of all members.

Public Types

typedef B bvh_type
typedef bvh_type::volume_type volume_type
typedef bvh_type::geometry_type geometry_type
typedef bvh_type::bvh_weak_ptr bvh_weak_ptr
typedef
bvh_type::bvh_const_weak_ptr 
bvh_const_weak_ptr
typedef bvh_type::bvh_const_ptr bvh_const_ptr
typedef bvh_type::bv_weak_ptr bv_weak_ptr
typedef bvh_type::bv_const_weak_ptr bv_const_weak_ptr
typedef bvh_type::bv_const_ptr bv_const_ptr
typedef bvh_type::bv_ptr_container bv_ptr_container
typedef bvh_type::bv_iterator bv_iterator
typedef bvh_type::bv_const_iterator bv_const_iterator
typedef bvh_type::bv_ptr_iterator bv_ptr_iterator
typedef
bvh_type::bv_const_ptr_iterator 
bv_const_ptr_iterator

Public Member Functions

 BV ()
bv_iterator child_begin ()
bv_iterator child_end ()
bv_const_iterator child_begin () const
bv_const_iterator child_end () const
bv_ptr_iterator child_ptr_begin ()
bv_ptr_iterator child_ptr_end ()
bv_const_ptr_iterator child_ptr_begin () const
bv_const_ptr_iterator child_ptr_end () const
size_t const size () const
size_t const children () const
size_t const degree () const
bvh_const_ptr owner () const
bv_const_ptr root () const
bv_const_ptr parent () const
volume_type const & volume () const
volume_typevolume ()
bool is_leaf () const
bool is_root () const
bool has_geometry () const

Protected Attributes

bvh_weak_ptr m_owner
 Owner Pointer.
bv_weak_ptr m_parent
 Parent Pointer.
bv_ptr_container m_children
 List of children Pointers.
volume_type m_volume
 Volume type.
bool m_has_geometry
 Boolean value, set to true if BV stores geometry.

Friends

class BoundingVolumeHierarchy< volume_type, geometry_type, T >

Detailed Description

template<typename B, typename T>
class OpenTissue::bvh::BV< B, T >

Forward Declaration.

BV Node Class. A non-annotated BV, implying that no geometry can be stored in the BV.

The first template argument is the bounding volume hierarchy type and the second template argument is a user defined bounding volume traits class.


Member Typedef Documentation

template<typename B , typename T >
typedef bvh_type::bv_const_iterator OpenTissue::bvh::BV< B, T >::bv_const_iterator
template<typename B , typename T >
typedef bvh_type::bv_const_ptr OpenTissue::bvh::BV< B, T >::bv_const_ptr
template<typename B , typename T >
typedef bvh_type::bv_const_ptr_iterator OpenTissue::bvh::BV< B, T >::bv_const_ptr_iterator
template<typename B , typename T >
typedef bvh_type::bv_const_weak_ptr OpenTissue::bvh::BV< B, T >::bv_const_weak_ptr
template<typename B , typename T >
typedef bvh_type::bv_iterator OpenTissue::bvh::BV< B, T >::bv_iterator
template<typename B , typename T >
typedef bvh_type::bv_ptr_container OpenTissue::bvh::BV< B, T >::bv_ptr_container
template<typename B , typename T >
typedef bvh_type::bv_ptr_iterator OpenTissue::bvh::BV< B, T >::bv_ptr_iterator
template<typename B , typename T >
typedef bvh_type::bv_weak_ptr OpenTissue::bvh::BV< B, T >::bv_weak_ptr
template<typename B , typename T >
typedef bvh_type::bvh_const_ptr OpenTissue::bvh::BV< B, T >::bvh_const_ptr
template<typename B , typename T >
typedef bvh_type::bvh_const_weak_ptr OpenTissue::bvh::BV< B, T >::bvh_const_weak_ptr
template<typename B , typename T >
typedef B OpenTissue::bvh::BV< B, T >::bvh_type
template<typename B , typename T >
typedef bvh_type::bvh_weak_ptr OpenTissue::bvh::BV< B, T >::bvh_weak_ptr
template<typename B , typename T >
typedef bvh_type::geometry_type OpenTissue::bvh::BV< B, T >::geometry_type
template<typename B , typename T >
typedef bvh_type::volume_type OpenTissue::bvh::BV< B, T >::volume_type

Constructor & Destructor Documentation

template<typename B , typename T >
OpenTissue::bvh::BV< B, T >::BV (  )  [inline]

Member Function Documentation

template<typename B , typename T >
bv_iterator OpenTissue::bvh::BV< B, T >::child_begin (  )  [inline]
template<typename B , typename T >
bv_const_iterator OpenTissue::bvh::BV< B, T >::child_begin (  )  const [inline]
template<typename B , typename T >
bv_iterator OpenTissue::bvh::BV< B, T >::child_end (  )  [inline]
template<typename B , typename T >
bv_const_iterator OpenTissue::bvh::BV< B, T >::child_end (  )  const [inline]
template<typename B , typename T >
bv_ptr_iterator OpenTissue::bvh::BV< B, T >::child_ptr_begin (  )  [inline]
template<typename B , typename T >
bv_const_ptr_iterator OpenTissue::bvh::BV< B, T >::child_ptr_begin (  )  const [inline]
template<typename B , typename T >
bv_const_ptr_iterator OpenTissue::bvh::BV< B, T >::child_ptr_end (  )  const [inline]
template<typename B , typename T >
bv_ptr_iterator OpenTissue::bvh::BV< B, T >::child_ptr_end (  )  [inline]
template<typename B , typename T >
size_t const OpenTissue::bvh::BV< B, T >::children (  )  const [inline]
template<typename B , typename T >
size_t const OpenTissue::bvh::BV< B, T >::degree (  )  const [inline]
template<typename B , typename T >
bool OpenTissue::bvh::BV< B, T >::has_geometry (  )  const [inline]
template<typename B , typename T >
bool OpenTissue::bvh::BV< B, T >::is_leaf (  )  const [inline]
template<typename B , typename T >
bool OpenTissue::bvh::BV< B, T >::is_root (  )  const [inline]
template<typename B , typename T >
bvh_const_ptr OpenTissue::bvh::BV< B, T >::owner (  )  const [inline]
template<typename B , typename T >
bv_const_ptr OpenTissue::bvh::BV< B, T >::parent (  )  const [inline]
template<typename B , typename T >
bv_const_ptr OpenTissue::bvh::BV< B, T >::root (  )  const [inline]
template<typename B , typename T >
size_t const OpenTissue::bvh::BV< B, T >::size (  )  const [inline]
template<typename B , typename T >
volume_type& OpenTissue::bvh::BV< B, T >::volume (  )  [inline]
template<typename B , typename T >
volume_type const& OpenTissue::bvh::BV< B, T >::volume (  )  const [inline]

Friends And Related Function Documentation

template<typename B , typename T >
friend class BoundingVolumeHierarchy< volume_type, geometry_type, T > [friend]

Member Data Documentation

template<typename B , typename T >
bv_ptr_container OpenTissue::bvh::BV< B, T >::m_children [protected]

List of children Pointers.

template<typename B , typename T >
bool OpenTissue::bvh::BV< B, T >::m_has_geometry [protected]

Boolean value, set to true if BV stores geometry.

template<typename B , typename T >
bvh_weak_ptr OpenTissue::bvh::BV< B, T >::m_owner [protected]

Owner Pointer.

template<typename B , typename T >
bv_weak_ptr OpenTissue::bvh::BV< B, T >::m_parent [protected]

Parent Pointer.

template<typename B , typename T >
volume_type OpenTissue::bvh::BV< B, T >::m_volume [protected]

Volume type.


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