33#include <NDEVR/Image.h>
A root class that stores an an array of pixel data that can be displayed as an Image.
uint01 * scanLine(uint04 index) final override
Returns a pointer to the pixel data of the specified scan line.
QCustomImage()
Constructs an empty QCustomImage.
Vector< 2, uint04 > size() const final override
Returns the width and height of the image.
QImage m_image
The underlying Qt image data.
QCustomImage(const QImage &image)
Constructs a QCustomImage from an existing QImage.
const QImage & qImage() const
Returns a const reference to the underlying QImage.
void setImage(const QImage &image)
Sets the underlying QImage.
QImage & qImage()
Returns a mutable reference to the underlying QImage.
A fixed-size array with N dimensions used as the basis for geometric and mathematical types.
The primary namespace for the NDEVR SDK.
uint32_t uint04
-Defines an alias representing a 4 byte, unsigned integer -Can represent exact integer values 0 throu...
uint8_t uint01
-Defines an alias representing a 1 byte, unsigned integer -Can represent exact integer values 0 throu...