ISIS Core Library 0.7.2 (api 3.0.0)
|
Generic iterator for voxels in Images. More...
#include <image.hpp>
Public Member Functions | |
ImageIteratorTemplate (const ImageIteratorTemplate< typename boost::remove_const< CHUNK_TYPE >::type > &src) | |
ImageIteratorTemplate () | |
ImageIteratorTemplate (const std::vector< chunk_type * > &_chunks) | |
bool | operator!= (const ThisType &cmp) const |
inner_iterator::reference | operator* () const |
ThisType | operator+ (typename ThisType::difference_type n) const |
ThisType & | operator++ () |
ThisType | operator++ (int) |
ThisType & | operator+= (typename inner_iterator::difference_type n) |
inner_iterator::difference_type | operator- (const ThisType &cmp) const |
ThisType | operator- (typename ThisType::difference_type n) const |
ThisType & | operator-- () |
ThisType | operator-- (int) |
ThisType & | operator-= (typename inner_iterator::difference_type n) |
inner_iterator::pointer | operator-> () const |
bool | operator< (const ThisType &cmp) const |
bool | operator<= (const ThisType &cmp) const |
bool | operator== (const ThisType &cmp) const |
bool | operator> (const ThisType &cmp) const |
bool | operator>= (const ThisType &cmp) const |
ThisType::reference | operator[] (typename inner_iterator::difference_type n) const |
Protected Types | |
typedef CHUNK_TYPE | chunk_type |
typedef boost::mpl::if_ < boost::is_const< CHUNK_TYPE > , typename CHUNK_TYPE::const_iterator, typename CHUNK_TYPE::iterator > ::type | inner_iterator |
typedef ImageIteratorTemplate < CHUNK_TYPE > | ThisType |
Protected Member Functions | |
inner_iterator::difference_type | currentDist () const |
Protected Attributes | |
size_t | ch_idx |
inner_iterator::difference_type | ch_len |
std::vector< chunk_type * > | chunks |
inner_iterator | current_it |
Friends | |
class | ImageIteratorTemplate< const CHUNK_TYPE > |
Generic iterator for voxels in Images.
It automatically jumps from chunk to Chunk. It needs the chunks and the image to be there for to work properly (so don't delete the image, and dont reIndex it), It assumes that all Chunks have the same size (which is a rule for Image as well, so this should be given)
typedef CHUNK_TYPE isis::data::_internal::ImageIteratorTemplate< CHUNK_TYPE >::chunk_type [protected] |
typedef boost::mpl::if_<boost::is_const<CHUNK_TYPE>, typename CHUNK_TYPE::const_iterator, typename CHUNK_TYPE::iterator>::type isis::data::_internal::ImageIteratorTemplate< CHUNK_TYPE >::inner_iterator [protected] |
typedef ImageIteratorTemplate<CHUNK_TYPE> isis::data::_internal::ImageIteratorTemplate< CHUNK_TYPE >::ThisType [protected] |
isis::data::_internal::ImageIteratorTemplate< CHUNK_TYPE >::ImageIteratorTemplate | ( | const ImageIteratorTemplate< typename boost::remove_const< CHUNK_TYPE >::type > & | src | ) | [inline] |
isis::data::_internal::ImageIteratorTemplate< CHUNK_TYPE >::ImageIteratorTemplate | ( | ) | [inline] |
isis::data::_internal::ImageIteratorTemplate< CHUNK_TYPE >::ImageIteratorTemplate | ( | const std::vector< chunk_type * > & | _chunks | ) | [inline, explicit] |
inner_iterator::difference_type isis::data::_internal::ImageIteratorTemplate< CHUNK_TYPE >::currentDist | ( | ) | const [inline, protected] |
bool isis::data::_internal::ImageIteratorTemplate< CHUNK_TYPE >::operator!= | ( | const ThisType & | cmp | ) | const [inline] |
inner_iterator::reference isis::data::_internal::ImageIteratorTemplate< CHUNK_TYPE >::operator* | ( | ) | const [inline] |
ThisType isis::data::_internal::ImageIteratorTemplate< CHUNK_TYPE >::operator+ | ( | typename ThisType::difference_type | n | ) | const [inline] |
ThisType& isis::data::_internal::ImageIteratorTemplate< CHUNK_TYPE >::operator++ | ( | ) | [inline] |
ThisType isis::data::_internal::ImageIteratorTemplate< CHUNK_TYPE >::operator++ | ( | int | ) | [inline] |
ThisType& isis::data::_internal::ImageIteratorTemplate< CHUNK_TYPE >::operator+= | ( | typename inner_iterator::difference_type | n | ) | [inline] |
ThisType isis::data::_internal::ImageIteratorTemplate< CHUNK_TYPE >::operator- | ( | typename ThisType::difference_type | n | ) | const [inline] |
inner_iterator::difference_type isis::data::_internal::ImageIteratorTemplate< CHUNK_TYPE >::operator- | ( | const ThisType & | cmp | ) | const [inline] |
ThisType isis::data::_internal::ImageIteratorTemplate< CHUNK_TYPE >::operator-- | ( | int | ) | [inline] |
ThisType& isis::data::_internal::ImageIteratorTemplate< CHUNK_TYPE >::operator-- | ( | ) | [inline] |
ThisType& isis::data::_internal::ImageIteratorTemplate< CHUNK_TYPE >::operator-= | ( | typename inner_iterator::difference_type | n | ) | [inline] |
inner_iterator::pointer isis::data::_internal::ImageIteratorTemplate< CHUNK_TYPE >::operator-> | ( | ) | const [inline] |
bool isis::data::_internal::ImageIteratorTemplate< CHUNK_TYPE >::operator< | ( | const ThisType & | cmp | ) | const [inline] |
bool isis::data::_internal::ImageIteratorTemplate< CHUNK_TYPE >::operator<= | ( | const ThisType & | cmp | ) | const [inline] |
bool isis::data::_internal::ImageIteratorTemplate< CHUNK_TYPE >::operator== | ( | const ThisType & | cmp | ) | const [inline] |
bool isis::data::_internal::ImageIteratorTemplate< CHUNK_TYPE >::operator> | ( | const ThisType & | cmp | ) | const [inline] |
bool isis::data::_internal::ImageIteratorTemplate< CHUNK_TYPE >::operator>= | ( | const ThisType & | cmp | ) | const [inline] |
ThisType::reference isis::data::_internal::ImageIteratorTemplate< CHUNK_TYPE >::operator[] | ( | typename inner_iterator::difference_type | n | ) | const [inline] |
friend class ImageIteratorTemplate< const CHUNK_TYPE > [friend] |
size_t isis::data::_internal::ImageIteratorTemplate< CHUNK_TYPE >::ch_idx [protected] |
inner_iterator::difference_type isis::data::_internal::ImageIteratorTemplate< CHUNK_TYPE >::ch_len [protected] |
std::vector<chunk_type *> isis::data::_internal::ImageIteratorTemplate< CHUNK_TYPE >::chunks [protected] |
inner_iterator isis::data::_internal::ImageIteratorTemplate< CHUNK_TYPE >::current_it [protected] |