#include <KoChannelInfo.h>
Types publics | |
enum | enumChannelType { COLOR, ALPHA, SUBSTANCE, SUBSTRATE } |
enum to define the type of the channel Plus de détails... | |
enum | enumChannelValueType { UINT8, UINT16, UINT32, FLOAT16, FLOAT32, INT8, INT16, OTHER } |
enum to define the value of the channel Plus de détails... | |
enum | enumChannelFlags { FLAG_COLOR = 1, FLAG_ALPHA = (1 << 1), FLAG_SUBSTANCE = (1 << 2), FLAG_SUBSTRATE = (1 << 3) } |
Fonctions membres publiques | |
KoChannelInfo () | |
KoChannelInfo (const QString &name, qint32 npos, enumChannelType channelType, enumChannelValueType channelValueType, qint32 size=1, QColor color=QColor(0, 0, 0)) | |
QString | name () const |
qint32 | pos () const |
qint32 | size () const |
enumChannelType | channelType () const |
enumChannelValueType | channelValueType () const |
QColor | color () const |
Attributs privés | |
QString | m_name |
qint32 | m_pos |
enumChannelType | m_channelType |
enumChannelValueType | m_channelValueType |
qint32 | m_size |
QColor | m_color |
Définition à la ligne 31 du fichier KoChannelInfo.h.
enum to define the type of the channel
Définition à la ligne 34 du fichier KoChannelInfo.h.
enum to define the value of the channel
UINT8 | |
UINT16 | |
UINT32 | |
FLOAT16 | |
FLOAT32 | |
INT8 | |
INT16 | |
OTHER | Use this if the channel is neither an integer or a float. |
Définition à la ligne 41 du fichier KoChannelInfo.h.
Définition à la ligne 51 du fichier KoChannelInfo.h.
KoChannelInfo::KoChannelInfo | ( | ) | [inline] |
Définition à la ligne 59 du fichier KoChannelInfo.h.
KoChannelInfo::KoChannelInfo | ( | const QString & | name, | |
qint32 | npos, | |||
enumChannelType | channelType, | |||
enumChannelValueType | channelValueType, | |||
qint32 | size = 1 , |
|||
QColor | color = QColor(0,0,0) | |||
) | [inline] |
Définition à la ligne 60 du fichier KoChannelInfo.h.
QString KoChannelInfo::name | ( | ) | const [inline] |
User-friendly name for this channel for presentation purposes in the gui
Définition à la ligne 66 du fichier KoChannelInfo.h.
Références m_name.
qint32 KoChannelInfo::pos | ( | ) | const [inline] |
returns the position of the first byte of the channel in the pixel
Définition à la ligne 71 du fichier KoChannelInfo.h.
Références m_pos.
qint32 KoChannelInfo::size | ( | ) | const [inline] |
returns the number of bytes this channel takes
Définition à la ligne 76 du fichier KoChannelInfo.h.
Références m_size.
enumChannelType KoChannelInfo::channelType | ( | ) | const [inline] |
returns the type of the channel
Définition à la ligne 81 du fichier KoChannelInfo.h.
Références m_channelType.
enumChannelValueType KoChannelInfo::channelValueType | ( | ) | const [inline] |
return the type of the value of the channel (float, uint8 or uint16)
Définition à la ligne 85 du fichier KoChannelInfo.h.
Références m_channelValueType.
QColor KoChannelInfo::color | ( | ) | const [inline] |
This is a color that can be used to represent this channel in histograms and so. By default this is black, so keep in mind that many channels might look the same
Définition à la ligne 90 du fichier KoChannelInfo.h.
Références m_color.
QString KoChannelInfo::m_name [private] |
qint32 KoChannelInfo::m_pos [private] |
enumChannelType KoChannelInfo::m_channelType [private] |
qint32 KoChannelInfo::m_size [private] |
QColor KoChannelInfo::m_color [private] |