Ilwis-Objects  1.0
GIS and Remote Sensing framework for data access and processing
 All Classes Functions Enumerations Pages
Public Member Functions | Friends | List of all members
Ilwis::BlockIterator Class Reference
Inheritance diagram for Ilwis::BlockIterator:
Ilwis::PixelIterator

Public Member Functions

 BlockIterator (IRasterCoverage raster, const Size<> &sz, const BoundingBox &box=BoundingBox(), const Size<> &steps=Size<>())
 
GridBlockoperator* ()
 
const GridBlockoperator* () const
 
BlockIteratoroperator++ ()
 
BlockIteratoroperator-- ()
 
BlockIterator end () const
 
bool operator== (const BlockIterator &iter) const
 
bool operator!= (const BlockIterator &iter) const
 
Size blockSize () const
 
void stepsizes (const Size<> &stepsize)
 
- Public Member Functions inherited from Ilwis::PixelIterator
bool isValid () const
 isValid tells if an iterator is in a valid state. More...
 
 PixelIterator ()
 The empty constructor for PixelIterator. More...
 
 PixelIterator (const IRasterCoverage &raster, const BoundingBox &box=BoundingBox())
 Constructs a PixelIterator from a raster and a bounding box. More...
 
 PixelIterator (const PixelIterator &iter)
 
 PixelIterator (PixelIterator &&iter)
 Copy constructor. More...
 
PixelIteratoroperator= (const PixelIterator &iter)
 
PixelIteratoroperator= (const PixelIterator &&iter)
 
PixelIteratoroperator++ ()
 Adds 1 to this PixelIterator the direction moved in the raster depends on the boundingbox in combination with the flow. More...
 
PixelIteratoroperator-- ()
 Substracts 1 from this PixelIterator the direction moved in the raster depends on the boundingbox in combination with the flow. More...
 
PixelIteratoroperator+= (int n)
 Adds n to this PixelIterator the direction moved in the raster depends on the boundingbox in combination with the flow. More...
 
PixelIteratoroperator-= (int n)
 Substracts n from this PixelIterator the direction moved in the raster depends on the boundingbox in combination with the flow. More...
 
double & operator[] (quint32 index)
 Random acces operator. More...
 
QVariant operator() (const QString &column, Coverage::AttributeType attType=Coverage::atCOVERAGE)
 
PixelIteratoroperator() (const Pixel &pix)
 Moves the PixelIterator to the given Pixel. More...
 
PixelIterator operator++ (int)
 Adds 1 to this PixelIterator the direction moved in the raster depends on the boundingbox in combination with the flow. More...
 
PixelIterator operator-- (int)
 Substracts 1 from this PixelIterator the direction moved in the raster depends on the boundingbox in combination with the flow. More...
 
PixelIteratoroperator[] (const Pixel &pix)
 Random acces operator. More...
 
bool operator== (const PixelIterator &iter) const
 Checks if this PixelIterator has the same linearPosition as another PixelIterator. More...
 
bool operator!= (const PixelIterator &iter) const
 Checks if this PixelIterator has a different linearPosition as another PixelIterator. More...
 
bool operator< (const PixelIterator &iter) const
 Checks if this PixelIterator has a smaller linearPosition as another PixelIterator. More...
 
bool operator<= (const PixelIterator &iter) const
 Checks if this PixelIterator has a smaller or equal linearPosition as another PixelIterator. More...
 
bool operator> (const PixelIterator &iter) const
 Checks if this PixelIterator has a bigger linearPosition as another PixelIterator. More...
 
bool operator>= (const PixelIterator &iter) const
 Checks if this PixelIterator has a bigger or equal linearPosition as another PixelIterator. More...
 
double & operator* ()
 Query for a reference to the current value of the PixelIterator. More...
 
const double & operator* () const
 Query for a reference to the current vallue of the PixelIterator. More...
 
double * operator-> ()
 Query for the current value of the PixelIterator. More...
 
PixelIterator end () const
 Returns the end position of this PixelIterator, this is 1 past the actual lastblock of the boundingbox. More...
 
void setFlow (Flow flw)
 Changes the flow of this PixelIterator. More...
 
bool contains (const Pixel &pix)
 Checks if a certain pixel is inside this PixelIterator. More...
 
bool xchanged () const
 Checks if the x coordinate has changed in the last step taken all movement and/or position change commands automatically set the x y and z flags when appropiate. More...
 
bool ychanged () const
 Checks if the y coordinate has changed in the last step taken all movement and/or position change commands automatically set the x y and z flags when appropiate. More...
 
bool zchanged () const
 Checks if the z coordinate has changed in the last step taken all movement and/or position change commands automatically set the x y and z flags when appropiate. More...
 
bool isAtEnd () const
 Checks if this PixelIterator is at its endpoint. More...
 
Pixel position () const
 Query for the current non lineair position of this PixelIterator. More...
 
const BoundingBoxbox () const
 Query for the bounding box of this PixelIterator the bounding box decides which part of the raster this PixelIterator should walk, thus its size can never be bigger than the rastersize. More...
 
quint32 linearPosition () const
 Query for the linearPosition of this PixelIterator. More...
 
int operator- (const PixelIterator &iter2)
 Substracts another pixeliterator fomr this PixelIterator the direction moved in the raster depends on the boundingbox in combination with the flow
this might have unexpected results if both iterators have a different flow. More...
 
PixelIterator operator+ (int n)
 Adds n to this PixelIterator and returns it the direction moved in the raster depends on the boundingbox in combination with the flow. More...
 
void setTranquilizer (const SPTranquilizer &trq)
 ProgressMeter. More...
 

Friends

class GridBlock
 

Additional Inherited Members

- Public Types inherited from Ilwis::PixelIterator
enum  Flow {
  fXYZ, fYXZ, fXZY, fYZX,
  fZXY, fZYX
}
 
- Protected Member Functions inherited from Ilwis::PixelIterator
 PixelIterator (quint64 endpos)
 
void init ()
 
void initPosition ()
 
void copy (const PixelIterator &iter)
 
bool move (int n)
 
- Protected Attributes inherited from Ilwis::PixelIterator
IRasterCoverage _raster
 
Grid_grid = 0
 
BoundingBox _box
 
qint32 _x = 0
 
qint32 _y = 0
 
qint32 _z = 0
 
qint32 _localOffset = 0
 
qint32 _currentBlock = 0
 
Flow _flow
 
bool _isValid
 
qint32 _endx
 
qint32 _endy
 
qint32 _endz
 
quint64 _linearposition
 
quint64 _endposition
 
bool _xChanged =false
 
bool _yChanged = false
 
bool _zChanged = false
 
SPTranquilizer _trq
 

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