#include <gfx_image_imagechannel.h>
ImageChannelTypes define how a pixel channel should be interpreted.
Public Member Functions | |
MAXON_METHOD Pix8u | GetDefaultFillValue () const |
MAXON_METHOD ColorSpace | GetColorSpace () const |
MAXON_METHOD ImageChannel | GetChannel (const DataType &pixelType) const |
template<typename PIXELDEPTH > | |
MAXON_FUNCTION ImageChannel | GetChannel () const |
template<typename PIXELDEPTH > | |
ImageChannel | GetChannel () const |
Private Member Functions | |
MAXON_INTERFACE (ImageChannelTypeInterface, MAXON_REFERENCE_CONST, "net.maxon.image.interface.imagechanneltype", MAXON_IMPLEMENTATION_MODULE("net.maxon.image")) | |
|
private |
MAXON_METHOD Pix8u GetDefaultFillValue | ( | ) | const |
Returns the default fill value for this type of channel. (e.g. Alpha returns 255 but other channel types may return 0).
MAXON_METHOD ColorSpace GetColorSpace | ( | ) | const |
Returns the color space to which the channel type belongs to.
MAXON_METHOD ImageChannel GetChannel | ( | const DataType & | pixelType | ) | const |
Returns the ImageChannel for the given data type.
MAXON_FUNCTION ImageChannel GetChannel | ( | ) | const |
Returns the ImageChannel for the given data type.