|
Img2Num C++ (Internal Developer Docs) dev
API Documentation
|
Collaboration diagram for ImageLib::Image< PixelT >:Public Types | |
| using | iter = typename std::vector< PixelT >::iterator |
| using | const_iter = typename std::vector< PixelT >::const_iterator |
Public Member Functions | |
| Image (int width, int height, PixelT fill=PixelT()) | |
| template<typename ConverterT > | |
| void | loadFromBuffer (const uint8_t *buffer, int width, int height, PixelConverter< ConverterT > converter) |
| void | fill (const PixelT &color) |
| iter | begin () |
| iter | end () |
| const_iter | begin () const |
| const_iter | end () const |
| int | getWidth () const |
| int | getHeight () const |
| int | getPixelCount () const |
| int | getSize () const |
| const std::vector< PixelT > & | getData () const |
| const PixelT & | getPixel (int x, int y) const |
| PixelT & | getPixel (int x, int y) |
| void | setPixel (int x, int y, const PixelT &p) |
| PixelT & | operator[] (int idx) |
| const PixelT & | operator[] (int idx) const |
| PixelT & | operator() (int x, int y) |
| const PixelT & | operator() (int x, int y) const |
Private Member Functions | |
| int | index (int x, int y) const |
Private Attributes | |
| std::vector< PixelT > | data |
| int | width |
| int | height |
| using ImageLib::Image< PixelT >::const_iter = typename std::vector<PixelT>::const_iterator |
| using ImageLib::Image< PixelT >::iter = typename std::vector<PixelT>::iterator |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlineprivate |
|
inline |
Definition at line 26 of file Image.h.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
private |
|
private |
|
private |