Nix (Dev) 3.5.10
dev - 3.5.10 - 1af9301
Loading...
Searching...
No Matches
iv::ui::graphics::Image Class Referencefinal

#include <Image.hpp>

Collaboration diagram for iv::ui::graphics::Image:
[legend]

Public Member Functions

 Image ()
 
 Image (iv::types::imageWidth width, iv::types::imageHeight height)
 
 Image (iv::types::imageWidth width, iv::types::imageHeight height, iv::types::widthStep widthStepInPixels, iv::types::nChannels nChannels, const unsigned char *buffer)
 
 Image (const Image &other)
 
 Image (Image &&other) noexcept
 
 ~Image ()
 
Imageoperator= (const Image &other)
 
Imageoperator= (Image &&other) noexcept
 
const unsigned char * getDataRaw (iv::types::imageWidth *width, iv::types::imageHeight *height, iv::types::widthStep *widthStep, iv::types::nChannels *nChannels) const
 
void getSize (iv::types::imageWidth *sizeX, iv::types::imageHeight *sizeY) const
 

Private Attributes

std::unique_ptr< unsigned char[]> m_imageData
 
iv::types::ImageSize m_size
 
iv::types::widthStep m_widthStep
 
iv::types::nChannels m_nChannels
 

Constructor & Destructor Documentation

◆ Image() [1/5]

iv::ui::graphics::Image::Image ( )

◆ Image() [2/5]

iv::ui::graphics::Image::Image ( iv::types::imageWidth width,
iv::types::imageHeight height )

◆ Image() [3/5]

iv::ui::graphics::Image::Image ( iv::types::imageWidth width,
iv::types::imageHeight height,
iv::types::widthStep widthStepInPixels,
iv::types::nChannels nChannels,
const unsigned char * buffer )

◆ Image() [4/5]

iv::ui::graphics::Image::Image ( const Image & other)

◆ Image() [5/5]

iv::ui::graphics::Image::Image ( Image && other)
noexcept

◆ ~Image()

iv::ui::graphics::Image::~Image ( )
default

Member Function Documentation

◆ getDataRaw()

const unsigned char * iv::ui::graphics::Image::getDataRaw ( iv::types::imageWidth * width,
iv::types::imageHeight * height,
iv::types::widthStep * widthStep,
iv::types::nChannels * nChannels ) const

◆ getSize()

void iv::ui::graphics::Image::getSize ( iv::types::imageWidth * sizeX,
iv::types::imageHeight * sizeY ) const

◆ operator=() [1/2]

Image & iv::ui::graphics::Image::operator= ( const Image & other)

◆ operator=() [2/2]

Image & iv::ui::graphics::Image::operator= ( Image && other)
noexcept

Member Data Documentation

◆ m_imageData

std::unique_ptr<unsigned char[]> iv::ui::graphics::Image::m_imageData
private

◆ m_nChannels

iv::types::nChannels iv::ui::graphics::Image::m_nChannels
private

◆ m_size

iv::types::ImageSize iv::ui::graphics::Image::m_size
private

◆ m_widthStep

iv::types::widthStep iv::ui::graphics::Image::m_widthStep
private

The documentation for this class was generated from the following files: