Référence de la classe KoChannelInfo

#include <KoChannelInfo.h>

Liste de tous les membres

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


Description détaillée

This class gives some basic information about a channel, that is, one of the components that makes up a particular pixel.

Définition à la ligne 31 du fichier KoChannelInfo.h.


Documentation des énumérations membres

enum KoChannelInfo::enumChannelType

enum to define the type of the channel

Valeurs énumérées:
COLOR  The channel represents a color.
ALPHA  The channel represents the opacity of a pixel.
SUBSTANCE  The channel represents a real-world substance like pigments or medium.
SUBSTRATE  The channel represents a real-world painting substrate like a canvas.

Définition à la ligne 34 du fichier KoChannelInfo.h.

enum KoChannelInfo::enumChannelValueType

enum to define the value of the channel

Valeurs énumérées:
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.

enum KoChannelInfo::enumChannelFlags

Valeurs énumérées:
FLAG_COLOR 
FLAG_ALPHA 
FLAG_SUBSTANCE 
FLAG_SUBSTRATE 

Définition à la ligne 51 du fichier KoChannelInfo.h.


Documentation des contructeurs et destructeur

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.


Documentation des fonctions membres

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.


Documentation des données membres

QString KoChannelInfo::m_name [private]

Définition à la ligne 94 du fichier KoChannelInfo.h.

Référencé par name().

qint32 KoChannelInfo::m_pos [private]

Définition à la ligne 95 du fichier KoChannelInfo.h.

Référencé par pos().

enumChannelType KoChannelInfo::m_channelType [private]

Définition à la ligne 96 du fichier KoChannelInfo.h.

Référencé par channelType().

enumChannelValueType KoChannelInfo::m_channelValueType [private]

Définition à la ligne 97 du fichier KoChannelInfo.h.

Référencé par channelValueType().

qint32 KoChannelInfo::m_size [private]

Définition à la ligne 98 du fichier KoChannelInfo.h.

Référencé par size().

QColor KoChannelInfo::m_color [private]

Définition à la ligne 99 du fichier KoChannelInfo.h.

Référencé par color().


La documentation de cette classe a été générée à partir du fichier suivant :
Généré le Wed Nov 22 23:44:07 2006 pour KPlato par  doxygen 1.5.1-p1