#include <image.h>
Public Member Functions | |
| Image2D () | |
| Contructs a Image object with the specific width and height. | |
| Image2D (int width, int height, unsigned char *data=nullptr) | |
| Image2D (const Image2D &other) | |
| Image2D & | operator= (const Image2D &other) |
| int | width () const |
| int | height () const |
| unsigned char * | data () |
| const unsigned char * | data () const |
| void | setData (int width, int height, unsigned char *data=nullptr) |
| void | flip () |
Public Member Functions inherited from cil::Image | |
| Image () | |
Public Member Functions inherited from cil::Variant | |
| Variant () | |
| virtual | ~Variant () |
| const std::string & | type () const |
Protected Attributes | |
| int | m_width |
| int | m_height |
Protected Attributes inherited from cil::Variant | |
| std::string | m_type |
| cil::Image2D::Image2D | ( | ) |
Contructs a Image object with the specific width and height.
| cil::Image2D::Image2D | ( | int | width, |
| int | height, | ||
| unsigned char * | data = nullptr ) |
| cil::Image2D::Image2D | ( | const Image2D & | other | ) |
| unsigned char * cil::Image2D::data | ( | ) |
| const unsigned char * cil::Image2D::data | ( | ) | const |
| void cil::Image2D::flip | ( | ) |
| int cil::Image2D::height | ( | ) | const |
| void cil::Image2D::setData | ( | int | width, |
| int | height, | ||
| unsigned char * | data = nullptr ) |
| int cil::Image2D::width | ( | ) | const |
|
protected |
|
protected |