#include <ImageFileTinyExr.h>
Inherits cinder::ImageSource.
|
typedef void(ImageSource::* | RowFunc) (ImageTargetRef, int32_t, const void *) |
|
enum | ColorModel { CM_RGB,
CM_GRAY,
CM_UNKNOWN
} |
|
typedef enum cinder::ImageIo::ColorModel | ColorModel |
|
enum | DataType {
UINT8,
UINT16,
FLOAT32,
FLOAT16,
DATA_UNKNOWN
} |
|
typedef enum cinder::ImageIo::DataType | DataType |
|
enum | ChannelType {
CHAN_RGB_R,
CHAN_RGB_G,
CHAN_RGB_B,
CHAN_GRAY,
CHAN_ALPHA,
CHAN_MASK,
CHAN_LAB_L,
CHAN_LAB_A,
CHAN_LAB_B,
CHAN_YUV_Y,
CHAN_YUV_U,
CHAN_YUV_V,
CHAN_CMYK_C,
CHAN_CMYK_M,
CHAN_CMYK_Y,
CHAN_CMYK_K,
CHAN_UNKNOWN
} |
|
typedef enum cinder::ImageIo::ChannelType | ChannelType |
|
enum | ChannelOrder {
RGBA,
BGRA,
ARGB,
ABGR,
RGBX,
BGRX,
XRGB,
XBGR,
RGB,
BGR,
Y,
YA,
CUSTOM
} |
|
typedef enum cinder::ImageIo::ChannelOrder | ChannelOrder |
|
|
| ImageSourceFileTinyExr (DataSourceRef dataSourceRef, ImageSource::Options options) |
|
void | setPixelAspectRatio (float pixelAspectRatio) |
|
void | setPremultiplied (bool premult=true) |
|
void | setCustomPixelInc (int8_t customPixelInc) |
|
void | setFrameCount (int32_t frameCount) |
|
RowFunc | setupRowFunc (ImageTargetRef target) |
|
void | setupRowFuncRgbSource (ImageTargetRef target) |
|
void | setupRowFuncGraySource (ImageTargetRef target) |
|
template<typename SD , typename TD , ColorModel TCS> |
RowFunc | setupRowFuncForTypesAndTargetColorModel (ImageTargetRef target) |
|
template<typename SD , typename TD > |
RowFunc | setupRowFuncForTypes (ImageTargetRef target) |
|
template<typename SD > |
RowFunc | setupRowFuncForSourceType (ImageTargetRef target) |
|
template<typename SD , typename TD , ImageIo::ColorModel TCM, bool ALPHA> |
void | rowFuncSourceRgb (ImageTargetRef target, int32_t row, const void *data) |
|
template<typename SD , typename TD , ColorModel TCM, bool ALPHA> |
void | rowFuncSourceGray (ImageTargetRef target, int32_t row, const void *data) |
|
void | setSize (int32_t width, int32_t height) |
|
void | setColorModel (ColorModel colorModel) |
|
void | setDataType (DataType aDataType) |
|
void | setChannelOrder (ChannelOrder aChannelOrder) |
|
typedef void(ImageSource::* cinder::ImageSource::RowFunc) (ImageTargetRef, int32_t, const void *) |
|
inherited |
Enumerator |
---|
CM_RGB |
|
CM_GRAY |
|
CM_UNKNOWN |
|
Enumerator |
---|
UINT8 |
|
UINT16 |
|
FLOAT32 |
|
FLOAT16 |
|
DATA_UNKNOWN |
|
Enumerator |
---|
CHAN_RGB_R |
|
CHAN_RGB_G |
|
CHAN_RGB_B |
|
CHAN_GRAY |
|
CHAN_ALPHA |
|
CHAN_MASK |
|
CHAN_LAB_L |
|
CHAN_LAB_A |
|
CHAN_LAB_B |
|
CHAN_YUV_Y |
|
CHAN_YUV_U |
|
CHAN_YUV_V |
|
CHAN_CMYK_C |
|
CHAN_CMYK_M |
|
CHAN_CMYK_Y |
|
CHAN_CMYK_K |
|
CHAN_UNKNOWN |
|
Enumerator |
---|
RGBA |
|
BGRA |
|
ARGB |
|
ABGR |
|
RGBX |
|
BGRX |
|
XRGB |
|
XBGR |
|
RGB |
|
BGR |
|
Y |
|
YA |
|
CUSTOM |
|
void cinder::ImageSourceFileTinyExr::registerSelf |
( |
| ) |
|
|
static |
float cinder::ImageSource::getPixelAspectRatio |
( |
| ) |
const |
|
inherited |
Returns the aspect ratio of individual pixels to accommodate non-square pixels.
bool cinder::ImageSource::isPremultiplied |
( |
| ) |
const |
|
inherited |
Returns whether the ImageSource's color data has been premultiplied by its alpha channel.
size_t cinder::ImageSource::getRowBytes |
( |
| ) |
const |
|
inherited |
Returns the number of bytes necessary to represent a row of the ImageSource.
int32_t cinder::ImageSource::getCount |
( |
| ) |
const |
|
inherited |
Returns the number of images. Generally 1
but may not be in the case of animated GIFs.
- See also
- Options::index()
void cinder::ImageSource::setPixelAspectRatio |
( |
float |
pixelAspectRatio | ) |
|
|
protectedinherited |
void cinder::ImageSource::setPremultiplied |
( |
bool |
premult = true | ) |
|
|
protectedinherited |
void cinder::ImageSource::setCustomPixelInc |
( |
int8_t |
customPixelInc | ) |
|
|
protectedinherited |
Allows declaration of a pixel increment different from what its ColorModel would imply. For example a non-planar Channel.
void cinder::ImageSource::setFrameCount |
( |
int32_t |
frameCount | ) |
|
|
protectedinherited |
void cinder::ImageSource::setupRowFuncRgbSource |
( |
ImageTargetRef |
target | ) |
|
|
protectedinherited |
void cinder::ImageSource::setupRowFuncGraySource |
( |
ImageTargetRef |
target | ) |
|
|
protectedinherited |
template<typename SD , typename TD , ImageIo::ColorModel TCM>
template<typename SD , typename TD >
template<typename SD , typename TD , ImageIo::ColorModel TCM, bool ALPHA>
void cinder::ImageSource::rowFuncSourceRgb |
( |
ImageTargetRef |
target, |
|
|
int32_t |
row, |
|
|
const void * |
data |
|
) |
| |
|
protectedinherited |
template<typename SD , typename TD , ImageIo::ColorModel TCM, bool ALPHA>
void cinder::ImageSource::rowFuncSourceGray |
( |
ImageTargetRef |
target, |
|
|
int32_t |
row, |
|
|
const void * |
data |
|
) |
| |
|
protectedinherited |
int32_t cinder::ImageIo::getWidth |
( |
| ) |
const |
|
inherited |
int32_t cinder::ImageIo::getHeight |
( |
| ) |
const |
|
inherited |
ColorModel cinder::ImageIo::getColorModel |
( |
| ) |
const |
|
inherited |
DataType cinder::ImageIo::getDataType |
( |
| ) |
const |
|
inherited |
virtual bool cinder::ImageIo::hasAlpha |
( |
| ) |
const |
|
virtualinherited |
void cinder::ImageIo::translateRgbColorModelToOffsets |
( |
ChannelOrder |
channelOrder, |
|
|
int8_t * |
red, |
|
|
int8_t * |
green, |
|
|
int8_t * |
blue, |
|
|
int8_t * |
alpha, |
|
|
int8_t * |
inc |
|
) |
| |
|
staticinherited |
void cinder::ImageIo::translateGrayColorModelToOffsets |
( |
ChannelOrder |
channelOrder, |
|
|
int8_t * |
gray, |
|
|
int8_t * |
alpha, |
|
|
int8_t * |
inc |
|
) |
| |
|
staticinherited |
bool cinder::ImageIo::channelOrderHasAlpha |
( |
ChannelOrder |
channelOrder | ) |
|
|
staticinherited |
int8_t cinder::ImageIo::channelOrderNumChannels |
( |
ChannelOrder |
channelOrder | ) |
|
|
staticinherited |
uint8_t cinder::ImageIo::dataTypeBytes |
( |
DataType |
dataType | ) |
|
|
staticinherited |
vector< string > cinder::ImageIo::getLoadExtensions |
( |
| ) |
|
|
staticinherited |
Returns a vector of the extensions ImageIo supports for loading. Suitable for the extensions parameters of getOpenFilePath()
vector< string > cinder::ImageIo::getWriteExtensions |
( |
| ) |
|
|
staticinherited |
Returns a vector of the extensions ImageIo supports for writing. Suitable for the extensions parameters of getSaveFilePath()
void cinder::ImageIo::setSize |
( |
int32_t |
width, |
|
|
int32_t |
height |
|
) |
| |
|
protectedinherited |
void cinder::ImageIo::setColorModel |
( |
ColorModel |
colorModel | ) |
|
|
protectedinherited |
void cinder::ImageIo::setDataType |
( |
DataType |
aDataType | ) |
|
|
protectedinherited |
void cinder::ImageIo::setChannelOrder |
( |
ChannelOrder |
aChannelOrder | ) |
|
|
protectedinherited |
std::unique_ptr<EXRImage> cinder::ImageSourceFileTinyExr::mExrImage |
|
protected |
float cinder::ImageSource::mPixelAspectRatio |
|
protectedinherited |
bool cinder::ImageSource::mIsPremultiplied |
|
protectedinherited |
int8_t cinder::ImageSource::mCustomPixelInc |
|
protectedinherited |
int32_t cinder::ImageSource::mFrameCount |
|
protectedinherited |
int8_t cinder::ImageSource::mRowFuncSourceRed |
|
protectedinherited |
int8_t cinder::ImageSource::mRowFuncSourceGreen |
|
protectedinherited |
int8_t cinder::ImageSource::mRowFuncSourceBlue |
|
protectedinherited |
int8_t cinder::ImageSource::mRowFuncSourceAlpha |
|
protectedinherited |
int8_t cinder::ImageSource::mRowFuncTargetRed |
|
protectedinherited |
int8_t cinder::ImageSource::mRowFuncTargetGreen |
|
protectedinherited |
int8_t cinder::ImageSource::mRowFuncTargetBlue |
|
protectedinherited |
int8_t cinder::ImageSource::mRowFuncTargetAlpha |
|
protectedinherited |
int8_t cinder::ImageSource::mRowFuncSourceGray |
|
protectedinherited |
int8_t cinder::ImageSource::mRowFuncTargetGray |
|
protectedinherited |
int8_t cinder::ImageSource::mRowFuncSourceInc |
|
protectedinherited |
int8_t cinder::ImageSource::mRowFuncTargetInc |
|
protectedinherited |
int32_t cinder::ImageIo::mWidth |
|
protectedinherited |
int32_t cinder::ImageIo::mHeight |
|
protectedinherited |
The documentation for this class was generated from the following files: