23 DPImage() : m_width(0), m_height(0), m_depth(0), m_pixels(0), m_byteSize(0) {};
24 DPImage(
int width,
int height,
int depth,
void *data);
~DPImage()
Destructor for the image.
Definition: image.cpp:94
int getHeight()
Return the height of the image.
Definition: dpimage.h:31
int getDepth()
Return the depth of the image in bits.
Definition: dpimage.h:39
Simple Image class that will be used within data points to store image data.
Definition: dpimage.h:21
DPImage & operator=(const DPImage &rhs)
Assignment operator.
Definition: image.cpp:68
void * getData()
Return a pointer to the raw data of the image.
Definition: dpimage.h:43
int getWidth()
Return the width of the image.
Definition: dpimage.h:35