Classes | Espaces de nommage | Macros | Définition de type | Fonctions

Référence du fichier include/CastorUtils/Pixel.hpp

Graphe des dépendances par inclusion de Pixel.hpp:
Ce graphe montre quels fichiers incluent directement ou indirectement ce fichier :

Classes

class  Castor::UnsupportedFormatError
 Unsupported format exception. Plus de détails...
class  Castor::Pixel< FT >
 Définition d'un pixel. Plus de détails...
class  Castor::Policy< UbPixel >
 Politique pour les UbPixel. Plus de détails...
class  Castor::PxBufferBase
 Définition de la classe de base d'un buffer de Pixel. Plus de détails...
class  Castor::PxBuffer< PF >
 Buffer de pixels avec le format de pixel en argument template. Plus de détails...

Espaces de nommage

namespace  Castor
namespace  Castor::details

Macros

#define UNSUPPORTED_ERROR(p_text)   throw UnsupportedFormatError( p_text, __FILE__, __FUNCTION__, __LINE__)
 Macro écrite pour faciliter l'utilisation de UnsupportedFormatError.

Définition de type

typedef Pixel
< ePIXEL_FORMAT_A8R8G8B8 > 
Castor::UbPixel
 Typedef sur un pixel au format A8R8G8B8.
typedef PxBuffer
< ePIXEL_FORMAT_A8R8G8B8 > 
Castor::PixelBuffer
 Typedef sur un buffer de pixels au format A8R8G8B8.

Fonctions

unsigned int Castor::GetBytesPerPixel (ePIXEL_FORMAT p_pfFormat)
 Fonction de récuperation de la taille d'un pixel sans templates.
void Castor::ConvertPixel (ePIXEL_FORMAT p_eSrcFmt, byte const *p_pSrc, ePIXEL_FORMAT p_eDestFmt, byte *p_pDest)
 Fonction de conversion sans templates.
template<ePIXEL_FORMAT FT, ePIXEL_FORMAT FU>
bool Castor::operator== (Pixel< FT > const &p_pxA, Pixel< FU > const &p_pxB)
 Opérateur d'égalité.
template<ePIXEL_FORMAT FT, ePIXEL_FORMAT FU>
Pixel< FT > Castor::operator+ (Pixel< FT > const &p_pxA, Pixel< FU > const &p_pxB)
 Opérateur d'addition.
template<ePIXEL_FORMAT FT, typename U >
Pixel< FT > Castor::operator+ (Pixel< FT > const &p_pxA, U const &p_tVal)
 Opérateur d'addition.
template<ePIXEL_FORMAT FT, ePIXEL_FORMAT FU>
Pixel< FT > Castor::operator- (Pixel< FT > const &p_pxA, Pixel< FU > const &p_pxB)
 Opérateur de soustraction.
template<ePIXEL_FORMAT FT, typename U >
Pixel< FT > Castor::operator- (Pixel< FT > const &p_pxA, U const &p_tVal)
 Opérateur de soustraction.
template<ePIXEL_FORMAT FT, ePIXEL_FORMAT FU>
Pixel< FT > Castor::operator/ (Pixel< FT > const &p_pxA, Pixel< FU > const &p_pxB)
 Opérateur de division.
template<ePIXEL_FORMAT FT, typename U >
Pixel< FT > Castor::operator/ (Pixel< FT > const &p_pxA, U const &p_tVal)
 Opérateur de division.
template<ePIXEL_FORMAT FT, ePIXEL_FORMAT FU>
Pixel< FT > Castor::operator* (Pixel< FT > const &p_pxA, Pixel< FU > const &p_pxB)
 Opérateur de multiplication.
template<ePIXEL_FORMAT FT, typename U >
Pixel< FT > Castor::operator* (Pixel< FT > const &p_pxA, U const &p_tVal)
 Opérateur de multiplication.
UbPixel Castor::ClampedSubstract (UbPixel const &p_a, UbPixel const &p_b, UbPixel const &p_min)
 Soustraction clampée.
UbPixel Castor::ClampedAdd (UbPixel const &p_a, UbPixel const &p_b, UbPixel const &p_max)
 Addition clampée.

Documentation des macros

#define UNSUPPORTED_ERROR (   p_text  )     throw UnsupportedFormatError( p_text, __FILE__, __FUNCTION__, __LINE__)

Macro écrite pour faciliter l'utilisation de UnsupportedFormatError.

Auteur:
Sylvain DOREMUS
 Tout Classes Espaces de nommage Fichiers Fonctions Variables Définition de type Énumérations Valeurs énumérées Amis Macros