Public Types | Public Member Functions | Protected Attributes

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

#include <bvh_bv_traversal_iterator.h>

List of all members.

Public Types

typedef bvh_type::bv_type bv_type
typedef bvh_type::bv_ptr_container bv_ptr_container
typedef bvh_type::bv_ptr bv_ptr
typedef bvh_type::bv_ptr_iterator bv_ptr_iterator
typedef bvh_type::bv_const_ptr bv_const_ptr

Public Member Functions

 BVTraversalIterator (bv_ptr bv)
bool operator== (BVTraversalIterator const &other) const
bool operator!= (BVTraversalIterator const &other) const
bv_typeoperator* ()
bv_ptr operator-> ()
bv_type const & operator* () const
bv_const_ptr operator-> () const
BVTraversalIteratoroperator++ ()

Protected Attributes

bv_ptr m_bv
 Current node being visisted in traversal.
bv_ptr_container m_queue
 Remaining unvisited nodes in traversal.

Detailed Description

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

BV traversal iterator. Runs a traversal on all bv nodes in BVH.


Member Typedef Documentation

template<typename bvh_type >
typedef bvh_type::bv_const_ptr OpenTissue::bvh::BVTraversalIterator< bvh_type >::bv_const_ptr
template<typename bvh_type >
typedef bvh_type::bv_ptr OpenTissue::bvh::BVTraversalIterator< bvh_type >::bv_ptr
template<typename bvh_type >
typedef bvh_type::bv_ptr_container OpenTissue::bvh::BVTraversalIterator< bvh_type >::bv_ptr_container
template<typename bvh_type >
typedef bvh_type::bv_ptr_iterator OpenTissue::bvh::BVTraversalIterator< bvh_type >::bv_ptr_iterator
template<typename bvh_type >
typedef bvh_type::bv_type OpenTissue::bvh::BVTraversalIterator< bvh_type >::bv_type

Constructor & Destructor Documentation

template<typename bvh_type >
OpenTissue::bvh::BVTraversalIterator< bvh_type >::BVTraversalIterator ( bv_ptr  bv  )  [inline]

Member Function Documentation

template<typename bvh_type >
bool OpenTissue::bvh::BVTraversalIterator< bvh_type >::operator!= ( BVTraversalIterator< bvh_type > const &  other  )  const [inline]
template<typename bvh_type >
bv_type const& OpenTissue::bvh::BVTraversalIterator< bvh_type >::operator* (  )  const [inline]
template<typename bvh_type >
bv_type& OpenTissue::bvh::BVTraversalIterator< bvh_type >::operator* (  )  [inline]
template<typename bvh_type >
BVTraversalIterator& OpenTissue::bvh::BVTraversalIterator< bvh_type >::operator++ (  )  [inline]
template<typename bvh_type >
bv_ptr OpenTissue::bvh::BVTraversalIterator< bvh_type >::operator-> (  )  [inline]
template<typename bvh_type >
bv_const_ptr OpenTissue::bvh::BVTraversalIterator< bvh_type >::operator-> (  )  const [inline]
template<typename bvh_type >
bool OpenTissue::bvh::BVTraversalIterator< bvh_type >::operator== ( BVTraversalIterator< bvh_type > const &  other  )  const [inline]

Member Data Documentation

template<typename bvh_type >
bv_ptr OpenTissue::bvh::BVTraversalIterator< bvh_type >::m_bv [protected]

Current node being visisted in traversal.

template<typename bvh_type >
bv_ptr_container OpenTissue::bvh::BVTraversalIterator< bvh_type >::m_queue [protected]

Remaining unvisited nodes in traversal.


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