1 #ifndef BLOCKITERATOR_H
2 #define BLOCKITERATOR_H
5 #include "boost/geometry.hpp"
12 class KERNELSHARED_EXPORT
CellIterator :
public std::iterator<std::random_access_iterator_tag, double> {
57 enum Pivot{pLEFTUP, pCENTER};
60 double& operator()(qint32 x, qint32 y, qint32 z=0);
61 double operator()(qint32 x, qint32 y, qint32 z=0)
const;
67 Pixel position()
const;
68 std::vector<double> toVector(Pivot pivot = pCENTER)
const;
71 std::vector<quint32> _internalBlockNumber;
72 std::vector<quint32> _offsets;
77 void actualPosition(qint32 &x, qint32 &y, qint32 &z)
const;
98 void stepsizes(
const Size<>& stepsize);
104 double _outside=rILLEGAL;
110 #endif // BLOCKITERATOR_H