#include <gilImageBase.h>
Public Member Functions | |
| PixelPtr (void) | |
| PixelPtr (Type *p, int c) | |
| PixelPtr (const PixelPtr< Type > &ptr) | |
| bool | operator== (const PixelPtr< Type > &ptr) |
| bool | operator!= (const PixelPtr< Type > &ptr) |
| PixelPtr< Type > | operator= (const PixelPtr< Type > &ptr) |
| Type & | operator[] (int i) |
| PixelPtr< Type > & | operator++ (void) |
| PixelPtr< Type > | operator++ (int) |
| PixelPtr< Type > & | operator-- (void) |
| PixelPtr< Type > | operator-- (int) |
| void | assign (const PixelPtr< Type > &ptr) |
This class presents pointer to a pixel, and you can use ++/-- operators to iterate in an image.
|
||||||||||
|
|
|
||||||||||||||||
|
|
|
||||||||||
|
|
|
||||||||||
|
Copy pixel values from another pixel pointer. |
|
||||||||||
|
|
|
||||||||||
|
|
|
||||||||||
|
|
|
||||||||||
|
|
|
||||||||||
|
|
|
||||||||||
|
This only copies one pointer to another. If you want to copy pixel values, use assign(). |
|
||||||||||
|
|
|
||||||||||
|
Get the i 'th channel in this pixel. |
1.4.1