Cumulia Illustrator Rendering Engine v1.0.0
A Rendering engine for industrial CAD/CAE model and optimized for greatest performance
 
Loading...
Searching...
No Matches
cil::Image2D Class Referencefinal

#include <image.h>

Inheritance diagram for cil::Image2D:
cil::Image cil::Variant

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)
 
int width () const
 
int height () const
 
unsigned char * data ()
 
const unsigned char * data () const
 
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
 

Constructor & Destructor Documentation

◆ Image2D() [1/3]

cil::Image2D::Image2D ( )

Contructs a Image object with the specific width and height.

◆ Image2D() [2/3]

cil::Image2D::Image2D ( int width,
int height,
unsigned char * data = nullptr )

◆ Image2D() [3/3]

cil::Image2D::Image2D ( const Image2D & other)

Member Function Documentation

◆ data() [1/2]

unsigned char * cil::Image2D::data ( )

◆ data() [2/2]

const unsigned char * cil::Image2D::data ( ) const

◆ flip()

void cil::Image2D::flip ( )

◆ height()

int cil::Image2D::height ( ) const

◆ width()

int cil::Image2D::width ( ) const

Member Data Documentation

◆ m_height

int cil::Image2D::m_height
protected

◆ m_width

int cil::Image2D::m_width
protected