libopenraw
|
Classes | |
class | Private |
Public Types | |
typedef ::or_data_type | DataType |
Public Member Functions | |
void | swap (BitmapData &with) |
DataType | dataType () const |
void | setDataType (DataType _type) |
virtual void * | allocData (const size_t s) |
size_t | size () const |
void * | data () const |
OR_DEPRECATED uint32_t | x () const |
uint32_t | width () const |
OR_DEPRECATED uint32_t | y () const |
uint32_t | height () const |
uint32_t | bpc () const |
void | setBpc (uint32_t _bpc) |
virtual void | setDimensions (uint32_t x, uint32_t y) |
uint32_t | roi_x () const |
uint32_t | roi_y () const |
uint32_t | roi_width () const |
uint32_t | roi_height () const |
void | setRoi (uint32_t x, uint32_t y, uint32_t w, uint32_t h) |
Definition at line 31 of file bitmapdata.hpp.
typedef ::or_data_type OpenRaw::BitmapData::DataType |
Definition at line 34 of file bitmapdata.hpp.
OpenRaw::BitmapData::BitmapData | ( | ) |
Definition at line 81 of file bitmapdata.cpp.
|
virtual |
Definition at line 85 of file bitmapdata.cpp.
|
virtual |
Definition at line 120 of file bitmapdata.cpp.
uint32_t OpenRaw::BitmapData::bpc | ( | ) | const |
bit per channel
Definition at line 159 of file bitmapdata.cpp.
void * OpenRaw::BitmapData::data | ( | ) | const |
Definition at line 134 of file bitmapdata.cpp.
BitmapData::DataType OpenRaw::BitmapData::dataType | ( | ) | const |
return the data type
Definition at line 95 of file bitmapdata.cpp.
uint32_t OpenRaw::BitmapData::height | ( | ) | const |
Definition at line 154 of file bitmapdata.cpp.
uint32_t OpenRaw::BitmapData::roi_height | ( | ) | const |
Definition at line 196 of file bitmapdata.cpp.
uint32_t OpenRaw::BitmapData::roi_width | ( | ) | const |
Definition at line 191 of file bitmapdata.cpp.
uint32_t OpenRaw::BitmapData::roi_x | ( | ) | const |
retrieve the region of interest within the data the only guarantee is that if the width or height is 0 when setting the dimensions the first time they'll be set to width() and height()
Definition at line 181 of file bitmapdata.cpp.
uint32_t OpenRaw::BitmapData::roi_y | ( | ) | const |
Definition at line 186 of file bitmapdata.cpp.
void OpenRaw::BitmapData::setBpc | ( | uint32_t | _bpc | ) |
set bit per channel
Definition at line 164 of file bitmapdata.cpp.
void OpenRaw::BitmapData::setDataType | ( | BitmapData::DataType | _type | ) |
set the data type
Definition at line 100 of file bitmapdata.cpp.
|
virtual |
set the pixel dimensions of the bitmap
Definition at line 169 of file bitmapdata.cpp.
void OpenRaw::BitmapData::setRoi | ( | uint32_t | x, |
uint32_t | y, | ||
uint32_t | w, | ||
uint32_t | h ) |
Definition at line 201 of file bitmapdata.cpp.
size_t OpenRaw::BitmapData::size | ( | ) | const |
return the size of the data
Definition at line 129 of file bitmapdata.cpp.
void OpenRaw::BitmapData::swap | ( | BitmapData & | with | ) |
swap the two objects data.
Definition at line 90 of file bitmapdata.cpp.
uint32_t OpenRaw::BitmapData::width | ( | ) | const |
Definition at line 144 of file bitmapdata.cpp.
uint32_t OpenRaw::BitmapData::x | ( | ) | const |
width of the image data
Definition at line 139 of file bitmapdata.cpp.
uint32_t OpenRaw::BitmapData::y | ( | ) | const |
height of the image data
Definition at line 149 of file bitmapdata.cpp.