18 #ifndef __itkConstSliceIterator_h
19 #define __itkConstSliceIterator_h
50 template<
class TPixel,
class TContainer >
57 m_ContainerPointer(n), m_Pos(0), m_Slice(s) {}
98 return this->Loc(m_Pos = n);
112 return orig.
m_Pos == this->m_Pos
113 && orig.
m_Slice.stride() == this->m_Slice.stride()
114 && orig.
m_Slice.start() == this->m_Slice.start();
120 return !operator==(orig);
128 return this->m_Pos < orig.
m_Pos
129 && this->m_Slice.stride() == orig.
m_Slice.stride()
130 && this->m_Slice.start() == orig.
m_Slice.start();
137 return ( *m_ContainerPointer )[
static_cast< SizeValueType >( m_Slice.start() + n * m_Slice.stride())];