ImgLockPageIterator Class Reference
#include <image.h>
Iterate over a specified region of an image in optimal order, and locking it in CPU memory.
Definition at line 1225 of file image.h.
|
| | ImgLockPageIterator (Image *img, const ImgTile *srcTile=0, AccessMode mode=ReadOnly) |
| |
| | ~ImgLockPageIterator () |
| |
| virtual bool | next () |
| |
| void * | dataPtr () |
| |
| | ImgPageIterator (Image *img, const ImgTile *srcTile=0, bool writing=false) |
| | Create an iterator to cover the specified region of the image. More...
|
| |
| virtual | ~ImgPageIterator () |
| |
| void * | dataPtr () |
| |
| | ImgTile () |
| | Create a default empty tile. More...
|
| |
| | ImgTile (int X, int Y, int NX, int NY) |
| | Create a tile as specified in the parameters. More...
|
| |
| | ImgTile (const ImgTile &a, const ImgTile &b) |
| | Construct a tile by computing the intersection fo the two input tiles. More...
|
| |
| bool | isEqualTile (const ImgTile &t) const |
| |
| bool | operator== (const ImgTile &t) const |
| |
| bool | operator!= (const ImgTile &t) const |
| |
| bool | isEmpty () const |
| | return true of this tile is empty More...
|
| |
| void | setEmpty () |
| |
| bool | contains (const ImgTile &a) const |
| | return true if this tile includes the specified tile More...
|
| |
| bool | contains (int x_, int y_) const |
| | return true if this tile includes the specified point More...
|
| |
| void | clipPositive () |
| | Clip the tile so it will not extend into the negative quadrants. More...
|
| |
| void | ExpandToInclude (int x_, int y_) |
| | Expand this tile to include the specified point. More...
|
| |
| void | Expand (int numPixels=1) |
| | Grow the tile by the specified number of pixels on all 4 sides. More...
|
| |
| int | numPixels () const |
| | return the number of pixels contained in this tile More...
|
| |
| Enumerator |
|---|
| ReadOnly |
A promise that the data in this page will not be modified.
|
| ReadWrite |
self explanitory
|
| WriteOnly |
The page data will be allocated bye the contents will be undefined.
|
Definition at line 1227 of file image.h.
The page data will be allocated bye the contents will be undefined.
A promise that the data in this page will not be modified.
The documentation for this class was generated from the following file: