Public Types | Public Member Functions | Protected Types

OpenTissue::grid::detail::IndexIterator< grid_type, reference_type, pointer_type > Class Template Reference

iterator that keeps track of i,j,k position More...

#include <grid_iterators.h>

Inheritance diagram for OpenTissue::grid::detail::IndexIterator< grid_type, reference_type, pointer_type >:
OpenTissue::grid::detail::Iterator< grid_type, reference_type, pointer_type > iterator

List of all members.

Public Types

typedef grid_type::math_types math_types

Public Member Functions

 IndexIterator ()
 IndexIterator (base_type const &other)
 IndexIterator (grid_type *grid, pointer_type pos)
size_t const & i () const
size_t const & j () const
size_t const & k () const
index_vector get_index () const
vector3_type get_coord () const
self_type operator++ (int)
self_typeoperator++ ()
self_type operator-- (int)
self_typeoperator-- ()
self_type const & operator= (index_vector const &idx)
void operator+= (size_t m)
void operator-= (size_t m)
self_type operator+ (size_t m)
self_type operator- (size_t m)
self_type const & operator= (base_type const &other)

Protected Types

typedef math_types::vector3_type vector3_type
typedef
math_types::index_vector3_type 
index_vector

Detailed Description

template<class grid_type, class reference_type, class pointer_type>
class OpenTissue::grid::detail::IndexIterator< grid_type, reference_type, pointer_type >

iterator that keeps track of i,j,k position

for walking through the WHOLE container


Member Typedef Documentation

template<class grid_type , class reference_type , class pointer_type >
typedef math_types::index_vector3_type OpenTissue::grid::detail::IndexIterator< grid_type, reference_type, pointer_type >::index_vector [protected]
template<class grid_type , class reference_type , class pointer_type >
typedef grid_type::math_types OpenTissue::grid::detail::IndexIterator< grid_type, reference_type, pointer_type >::math_types
template<class grid_type , class reference_type , class pointer_type >
typedef math_types::vector3_type OpenTissue::grid::detail::IndexIterator< grid_type, reference_type, pointer_type >::vector3_type [protected]

Constructor & Destructor Documentation

template<class grid_type , class reference_type , class pointer_type >
OpenTissue::grid::detail::IndexIterator< grid_type, reference_type, pointer_type >::IndexIterator (  )  [inline]
template<class grid_type , class reference_type , class pointer_type >
OpenTissue::grid::detail::IndexIterator< grid_type, reference_type, pointer_type >::IndexIterator ( base_type const &  other  )  [inline]
template<class grid_type , class reference_type , class pointer_type >
OpenTissue::grid::detail::IndexIterator< grid_type, reference_type, pointer_type >::IndexIterator ( grid_type grid,
pointer_type  pos 
) [inline]

Member Function Documentation

template<class grid_type , class reference_type , class pointer_type >
vector3_type OpenTissue::grid::detail::IndexIterator< grid_type, reference_type, pointer_type >::get_coord (  )  const [inline]
template<class grid_type , class reference_type , class pointer_type >
index_vector OpenTissue::grid::detail::IndexIterator< grid_type, reference_type, pointer_type >::get_index (  )  const [inline]
template<class grid_type , class reference_type , class pointer_type >
size_t const& OpenTissue::grid::detail::IndexIterator< grid_type, reference_type, pointer_type >::i (  )  const [inline]
template<class grid_type , class reference_type , class pointer_type >
size_t const& OpenTissue::grid::detail::IndexIterator< grid_type, reference_type, pointer_type >::j (  )  const [inline]
template<class grid_type , class reference_type , class pointer_type >
size_t const& OpenTissue::grid::detail::IndexIterator< grid_type, reference_type, pointer_type >::k (  )  const [inline]
template<class grid_type , class reference_type , class pointer_type >
self_type OpenTissue::grid::detail::IndexIterator< grid_type, reference_type, pointer_type >::operator+ ( size_t  m  )  [inline]
template<class grid_type , class reference_type , class pointer_type >
self_type OpenTissue::grid::detail::IndexIterator< grid_type, reference_type, pointer_type >::operator++ ( int   )  [inline]
template<class grid_type , class reference_type , class pointer_type >
self_type& OpenTissue::grid::detail::IndexIterator< grid_type, reference_type, pointer_type >::operator++ (  )  [inline]
template<class grid_type , class reference_type , class pointer_type >
void OpenTissue::grid::detail::IndexIterator< grid_type, reference_type, pointer_type >::operator+= ( size_t  m  )  [inline]
template<class grid_type , class reference_type , class pointer_type >
self_type OpenTissue::grid::detail::IndexIterator< grid_type, reference_type, pointer_type >::operator- ( size_t  m  )  [inline]
template<class grid_type , class reference_type , class pointer_type >
self_type OpenTissue::grid::detail::IndexIterator< grid_type, reference_type, pointer_type >::operator-- ( int   )  [inline]
template<class grid_type , class reference_type , class pointer_type >
self_type& OpenTissue::grid::detail::IndexIterator< grid_type, reference_type, pointer_type >::operator-- (  )  [inline]
template<class grid_type , class reference_type , class pointer_type >
void OpenTissue::grid::detail::IndexIterator< grid_type, reference_type, pointer_type >::operator-= ( size_t  m  )  [inline]
template<class grid_type , class reference_type , class pointer_type >
self_type const& OpenTissue::grid::detail::IndexIterator< grid_type, reference_type, pointer_type >::operator= ( index_vector const &  idx  )  [inline]
template<class grid_type , class reference_type , class pointer_type >
self_type const& OpenTissue::grid::detail::IndexIterator< grid_type, reference_type, pointer_type >::operator= ( base_type const &  other  )  [inline]

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