aimstil  5.0.5
ImageLinearIterator.h
Go to the documentation of this file.
1 #ifndef TIL_IMAGECLINEARITERATOR_H
2 #define TIL_IMAGECLINEARITERATOR_H
3 
4 // includes from TIL library
6 
7 
8 // Namespace
9 namespace til {
10 
11 
14 template < typename T >
15 //class ImageCLinearIterator : public ConstLinearIterator<ImageC<T> >, public VolumetricImageIterator_label
16 class LinearIterator<ImageC<T> > : public ConstLinearIterator<ImageC<T> >, public VolumetricImageIterator_label
17 {
18 
19 public: // typedef
20 
21  //typedef T value_type;
22  typedef T& reference;
24  //typedef T& StarType;
25 
26 
27 public: // constructors & destructor
28 
30  : ConstLinearIterator<ImageC<T> >(im) {};
31 
32 public: // functions
33 
35  reference operator* () const { return *(this->getIndex()); }
36 };
37 
38 } // namespace
39 
40 
41 #endif
Belongs to package Box Do not include directly, include til/Box.h instead.
Definition: Accumulator.h:10
INLINE numeric_array< typename combine< T1, T2 >::type, 3 > operator*(const Affine< T1 > &a, const numeric_array< T2, 3 > &v)
Multiplication between a 3D affine transform and a 3D vector.
Image class using contiguous memory.
boost::enable_if_c< boost::is_same< TIndex, std::size_t >::value &&!boost::is_same< TPointer, std::size_t >::value, TIndex >::type getIndex(const std::vector< T, TAlloc > &c, TPointer pElem)