Espaces de nommage | Classes | Définition de type | Énumérations | Fonctions | Variables

Référence de l'espace de nommage Castor

Espaces de nommage

namespace  details

Classes

class  Angle
 Classe d'angle. Plus de détails...
class  AutoSingleton
 Implémentation du concept d'Auto Singleton. Plus de détails...
class  Collection
 Classe de collection d'éléments. Plus de détails...
class  BinaryLoader< Colour >
 Loader de Colour à partir de données binaires. Plus de détails...
class  TextLoader< Colour >
 Loader de Colour à partir d'un texte. Plus de détails...
class  ColourComponent
 Représente une composante de couleur (R, V, B ou A) pour l'utilisation dans Castor::Colour. Plus de détails...
class  Colour
 Représentation d'une couleur RGBA. Plus de détails...
class  ContainerBox
 Classe de conteneur boîte. Plus de détails...
class  CubeBox
 Classe de combo box. Plus de détails...
class  SphereBox
 Classe de conteneur sphérique. Plus de détails...
class  DynamicLibrary
 Librairie dynamique (Dll, shared lib). Plus de détails...
class  Exception
 Classe d'exceptions plus verbeuse que celles de std. Plus de détails...
class  Factory
 Implémentation du concept de fabrique. Plus de détails...
class  Clonable
 Classe de base de clonables. Plus de détails...
class  File
 Classe de gestion de fichier. Plus de détails...
class  FileParserContext
 Contexte utilisé dans les fonctions d'analyse. Plus de détails...
class  FileParser
 Classe de base pour les analyseurs de fichier à accolades. Plus de détails...
class  BinaryLoader< Font >
 Loader de Font. Plus de détails...
class  Glyph
 Représentation d'un caractère d'une Font (glyphe). Plus de détails...
class  Font
 Ressource Font. Plus de détails...
class  BlockTracker
 Classe permettant de tracer les entrées et sorties de bloc. Plus de détails...
class  BlockTimer
 Classe permettant de mesurer le temps d'exécution d'un bloc. Plus de détails...
class  BinaryLoader< Image >
 Image resource loader. Plus de détails...
class  Image
 Ressource Image. Plus de détails...
class  Line2D
 Equation d'une ligne 2D. Plus de détails...
class  Line3D
 Equation d'une ligne 3D. Plus de détails...
class  list
 Fonctions d'aide pour std::list. Plus de détails...
class  LoadingError
 Resource loading exception. Plus de détails...
class  Loader
 Classe de base pour les loaders de ressource. Plus de détails...
class  BinaryLoader
 Spécialisation partielle de Castor::Loader, pour les fichiers binaires. Plus de détails...
class  TextLoader
 Spécialisation partielle de Castor::Loader, pour les fichiers texte. Plus de détails...
class  IConsoleInfo
 Classe contenant les informations de la console. Plus de détails...
class  ProgramConsole
 Classe de base d'une console. Plus de détails...
class  DummyConsole
 Classe sans action de console. Plus de détails...
class  DebugConsole
 Classe de gestion de la console de debug. Plus de détails...
class  ILoggerImpl
 Class ed'aide pour Logger, dépendante du niveau de log. Plus de détails...
class  Logger
 Classe de gestion de logs. Plus de détails...
class  map
 Fonctions d'aide pour std::map. Plus de détails...
struct  fact
 Cas récursif pour Factorielle. Plus de détails...
struct  fact< T, 0 >
 Cas d'arrêt pour Factorielle. Plus de détails...
struct  power
 Cas récursif pour Puissance. Plus de détails...
struct  power< T, 1 >
 Cas d'arrêt pour Puissance. Plus de détails...
struct  power< T, 0 >
 Cas d'arrêt pour Puissance. Plus de détails...
struct  expPos
 Cas récursif pour Exponentielle. Plus de détails...
struct  expPos< 0, T >
 Cas d'arrêt pour Exponentielle. Plus de détails...
struct  exp
 Exponentielle utilisant une implémentation template. Plus de détails...
struct  lnN
 Cas récursif pour Logarithme Népérien. Plus de détails...
struct  lnN< 0, T >
 Cas d'arrêt pour Logarithme Népérien. Plus de détails...
struct  ln
 Logarithme Népérien utilisant une implémentation template. Plus de détails...
class  Matrix
 Représentation d'une matrice, le type des éléments et les dimensions de la matrice sont en template. Plus de détails...
class  SquareMatrix
 Représentation d'une matrice carrée. Plus de détails...
class  MemoryBlockBase
 Classe de base pour les blocs de mémoire. Plus de détails...
class  MemoryManager
 Classe de gestion de la mémoire. Plus de détails...
class  multimap
 Fonctions d'aide pour std::multimap. Plus de détails...
class  NamedBase
 Classe de base pour les éléments nommés. Plus de détails...
class  NonCopyable
 Implémentation du concept de non-copiable. Plus de détails...
struct  UnaryOp
 Classe template pour les opérateurs unaires. Plus de détails...
struct  UnaryOpBase
 Classe de base pour les opérateurs unaires. Plus de détails...
struct  UnaryOp< T, eOPERATOR_MINUS >
 Spécialisation de UnaryOp pour le - unaire. Plus de détails...
struct  UnaryOp< T, eOPERATOR_PLUS >
 Spécialisation de UnaryOp pour le + unaire. Plus de détails...
struct  UnaryOp< T, eOPERATOR_CONST >
 Spécialisation de UnaryOp pour la constante unaire. Plus de détails...
struct  BinaryOp
 Classe template pour les opérateurs binaires. Plus de détails...
struct  BinaryOpBase
 Classe de base pour les opérateurs binaires. Plus de détails...
struct  BinaryOp< T, U, eOPERATOR_ADD >
 Spécialisation de BinaryOp pour le + binaire. Plus de détails...
struct  BinaryOp< T, U, eOPERATOR_SUB >
 Spécialisation de BinaryOp pour le - binaire. Plus de détails...
struct  BinaryOp< T, U, eOPERATOR_MUL >
 Spécialisation de BinaryOp pour le * binaire. Plus de détails...
struct  BinaryOp< T, U, eOPERATOR_DIV >
 Spécialisation de BinaryOp pour le / binaire. Plus de détails...
class  Path
 Classe de gestion de chemin. Plus de détails...
class  UnsupportedFormatError
 Unsupported format exception. Plus de détails...
class  Pixel
 Définition d'un pixel. Plus de détails...
class  Policy< UbPixel >
 Politique pour les UbPixel. Plus de détails...
class  PxBufferBase
 Définition de la classe de base d'un buffer de Pixel. Plus de détails...
class  PxBuffer
 Buffer de pixels avec le format de pixel en argument template. Plus de détails...
class  PlaneEq
 Equation de plan. Plus de détails...
class  PointBase
 Classe de base pour les points (dynamiques ou pas). Plus de détails...
class  DynPoint
 Classe de points template à dimensions dynamiques. Plus de détails...
class  Point
 Classe de points à dimensions statiques. Plus de détails...
class  point
 Fonctions d'aide pour les Point. Plus de détails...
class  PreciseTimer
 Représentation d'un timer précis à la milliseconde. Plus de détails...
class  Loader< Quaternion, eFILE_TYPE_BINARY >
 Loader de Quaternion. Plus de détails...
class  Loader< Quaternion, eFILE_TYPE_TEXT >
 Loader de Quaternion. Plus de détails...
class  Quaternion
 Représentation d'un quaternion. Plus de détails...
class  Rectangle
 Classe représentant un rectangle. Plus de détails...
class  Resource
 Représentation d'une ressource externe. Plus de détails...
class  MapSerialiserBase
 Classe d'aide pour Serialisable, utilisée pour std::map. Plus de détails...
class  VectorSerialiserBase
 Classe d'aide pour Serialisable, utilisée pour std::vector. Plus de détails...
class  Serialisable
 Objet serialisable en binaire. Plus de détails...
class  ElementAdder
class  ElementAdder< Serialisable >
class  ElementAdder< String >
class  MapStrSerialiser
class  MapRealSerialiser
class  VectorSerialiser
class  set
 Fonctions d'aide pour std::set. Plus de détails...
struct  dummy_dtor
 Destructeur zombie. Plus de détails...
class  SphericalVertex
 Vertex, exprimé en rho theta et phi (angles d'Euler). Plus de détails...
class  Str
 Classe regroupant des fonctions sur les chaînes de caractères. Plus de détails...
struct  is_same
 Détermine si les types T et U sont différents. Plus de détails...
struct  is_same< T, T >
 Spécialisation partielle pour tester qu'ils sont identiques. Plus de détails...
struct  is_floating
 Détermine si T est un type flottant. Plus de détails...
struct  is_unsigned
 Détermine si T est un type non signé. Plus de détails...
struct  base_type
 Récupère le type non décoré de Ty. Plus de détails...
struct  call_traits
 Structure utilisée pour récupéerer la meilleure façon de passer T en paramètre : valeur ou référence constante. Plus de détails...
class  Policy
 Politique pour différents types. Plus de détails...
class  Policy< bool >
 Spécialisation de la classe Policy pour les 'bool'. Plus de détails...
class  MtxUtils
 Opérations basiques sur des matrices 4x4. Plus de détails...
class  Unique
 Représentation d'un classe à instance unique. Plus de détails...
class  vector
 Fonctions d'aide pour std::vector. Plus de détails...

Définition de type

typedef ContainerBox< 2 > ContainerBox2D
 Typedef sur une ContainerBox à 2 dimensions.
typedef ContainerBox< 3 > ContainerBox3D
 Typedef sur une ContainerBox à 3 dimensions.
typedef std::shared_ptr
< DynamicLibrary
DynamicLibraryPtr
 Typedef d'un pointeur sur une DynamicLibrary.
typedef std::shared_ptr
< FileParserContext
FileParserContextPtr
 Typedef d'un pointeur sur un FileParserContextPtr.
typedef bool( ParserFunction )(Castor::FileParser *p_pParser, String &p_strParams, FileParserContextPtr p_pContext)
 Définition d'une fonction d'analyse.
typedef ParserFunctionPParserFunction
 Pointeur sur une fonction d'analyse.
typedef void( LogCallback )(void *p_pThis, String const &p_strLog, eLOG_TYPE p_eLogType)
 Fonction de callback de log.
typedef LogCallbackPLogCallback
 Typedef d'un pointeur sur la fonction de callback de log.
typedef NamedBase< StringNamed
 Un typedef pour NamedBase avec String comme type de nom (le plus classique, quoi).
typedef Pixel
< ePIXEL_FORMAT_A8R8G8B8 > 
UbPixel
 Typedef sur un pixel au format A8R8G8B8.
typedef PxBuffer
< ePIXEL_FORMAT_A8R8G8B8 > 
PixelBuffer
 Typedef sur un buffer de pixels au format A8R8G8B8.
typedef unsigned char byte
typedef float real
typedef std::basic_string< xcharString
typedef
std::basic_stringstream< xchar
StringStream
typedef Point< int, 4 > Point4i
typedef Point< int, 3 > Point3i
typedef Point< int, 2 > Point2i
typedef Point< real, 4 > Point4r
typedef Point< real, 3 > Point3r
typedef Point< real, 2 > Point2r
typedef Point< float, 4 > Point4f
typedef Point< float, 3 > Point3f
typedef Point< float, 2 > Point2f
typedef Point< double, 4 > Point4d
typedef Point< double, 3 > Point3d
typedef Point< double, 2 > Point2d
typedef Point< byte, 4 > Point4ub
typedef Point< byte, 3 > Point3ub
typedef Point< byte, 2 > Point2ub
typedef Point< unsigned int, 2 > Size
typedef Point< unsigned int, 2 > Position
typedef SquareMatrix< real, 4 > Matrix4x4r
typedef SquareMatrix< real, 3 > Matrix3x3r
typedef SquareMatrix< real, 2 > Matrix2x2r
typedef SquareMatrix< float, 4 > Matrix4x4f
typedef SquareMatrix< float, 3 > Matrix3x3f
typedef SquareMatrix< float, 2 > Matrix2x2f
typedef SquareMatrix< double, 4 > Matrix4x4d
typedef SquareMatrix< double, 3 > Matrix3x3d
typedef SquareMatrix< double, 2 > Matrix2x2d
typedef std::shared_ptr
< Quaternion
QuaternionPtr
typedef std::shared_ptr
< SphericalVertex
SphericalVertexPtr
typedef std::shared_ptr< CubeBoxCubeBoxPtr
typedef std::shared_ptr
< SphereBox
SphereBoxPtr
typedef std::shared_ptr< ImageImagePtr
typedef std::shared_ptr< FontFontPtr
typedef std::shared_ptr< Point4iPoint4iPtr
typedef std::shared_ptr< Point3iPoint3iPtr
typedef std::shared_ptr< Point2iPoint2iPtr
typedef std::shared_ptr< Point4rPoint4rPtr
typedef std::shared_ptr< Point3rPoint3rPtr
typedef std::shared_ptr< Point2rPoint2rPtr
typedef std::shared_ptr< Point4fPoint4fPtr
typedef std::shared_ptr< Point3fPoint3fPtr
typedef std::shared_ptr< Point2fPoint2fPtr
typedef std::shared_ptr< Point4dPoint4dPtr
typedef std::shared_ptr< Point3dPoint3dPtr
typedef std::shared_ptr< Point2dPoint2dPtr
typedef std::shared_ptr< Point4ubPoint4ubPtr
typedef std::shared_ptr< Point3ubPoint3ubPtr
typedef std::shared_ptr< Point2ubPoint2ubPtr
typedef std::shared_ptr
< Matrix4x4r
Matrix4x4rPtr
typedef std::shared_ptr
< Matrix3x3r
Matrix3x3rPtr
typedef std::shared_ptr
< Matrix2x2r
Matrix2x2rPtr
typedef std::shared_ptr
< Matrix4x4f
Matrix4x4fPtr
typedef std::shared_ptr
< Matrix3x3f
Matrix3x3fPtr
typedef std::shared_ptr
< Matrix2x2f
Matrix2x2fPtr
typedef std::shared_ptr
< Matrix4x4d
Matrix4x4dPtr
typedef std::shared_ptr
< Matrix3x3d
Matrix3x3dPtr
typedef std::shared_ptr
< Matrix2x2d
Matrix2x2dPtr
typedef std::vector< byteByteArray
typedef std::vector< Point4iPoint4iArray
typedef std::vector< Point3iPoint3iArray
typedef std::vector< Point2iPoint2iArray
typedef std::vector< Point4iPtrPoint4iPtrArray
typedef std::vector< Point3iPtrPoint3iPtrArray
typedef std::vector< Point2iPtrPoint2iPtrArray
typedef std::list< Point4iPtrPoint4iPtrList
typedef std::list< Point3iPtrPoint3iPtrList
typedef std::list< Point2iPtrPoint2iPtrList
typedef std::vector< Point4rPoint4rArray
typedef std::vector< Point3rPoint3rArray
typedef std::vector< Point2rPoint2rArray
typedef std::vector< Point4rPtrPoint4rPtrArray
typedef std::vector< Point3rPtrPoint3rPtrArray
typedef std::vector< Point2rPtrPoint2rPtrArray
typedef std::list< Point4rPtrPoint4rPtrList
typedef std::list< Point3rPtrPoint3rPtrList
typedef std::list< Point2rPtrPoint2rPtrList
typedef std::vector< Point4fPoint4fArray
typedef std::vector< Point3fPoint3fArray
typedef std::vector< Point2fPoint2fArray
typedef std::vector< Point4fPtrPoint4fPtrArray
typedef std::vector< Point3fPtrPoint3fPtrArray
typedef std::vector< Point2fPtrPoint2fPtrArray
typedef std::list< Point4fPtrPoint4fPtrList
typedef std::list< Point3fPtrPoint3fPtrList
typedef std::list< Point2fPtrPoint2fPtrList
typedef std::vector< Point4dPoint4dArray
typedef std::vector< Point3dPoint3dArray
typedef std::vector< Point2dPoint2dArray
typedef std::vector< Point4dPtrPoint4dPtrArray
typedef std::vector< Point3dPtrPoint3dPtrArray
typedef std::vector< Point2dPtrPoint2dPtrArray
typedef std::list< Point4dPtrPoint4dPtrList
typedef std::list< Point3dPtrPoint3dPtrList
typedef std::list< Point2dPtrPoint2dPtrList
typedef std::vector< Point4ubPoint4ubArray
typedef std::vector< Point3ubPoint3ubArray
typedef std::vector< Point2ubPoint2ubArray
typedef std::vector< Point4ubPtrPoint4ubPtrArray
typedef std::vector< Point3ubPtrPoint3ubPtrArray
typedef std::vector< Point2ubPtrPoint2ubPtrArray
typedef std::list< Point4ubPtrPoint4ubPtrList
typedef std::list< Point3ubPtrPoint3ubPtrList
typedef std::list< Point2ubPtrPoint2ubPtrList
typedef std::vector
< SphericalVertexPtr
SphericalVertexPtrArray
typedef std::map< String, bool > BoolStrMap
typedef std::vector< int > IntArray
typedef std::vector< StringStringArray
typedef std::map< String, StringStrStrMap
typedef std::pair< void
*, std::size_t > 
PtrSizePair

Énumérations

enum  eLOG_TYPE {
  eLOG_TYPE_DEBUG, eLOG_TYPE_MESSAGE, eLOG_TYPE_WARNING, eLOG_TYPE_ERROR,
  eLOG_TYPE_COUNT
}
 

Définit les différents types de log.

Plus de détails...
enum  eOPERATOR {
  eOPERATOR_ADD, eOPERATOR_SUB, eOPERATOR_MUL, eOPERATOR_DIV,
  eOPERATOR_PLUS, eOPERATOR_MINUS, eOPERATOR_CONST, eOPERATOR_COUNT
}
 

Enumération des opérateurs.

Plus de détails...
enum  eFILE_TYPE { eFILE_TYPE_BINARY, eFILE_TYPE_TEXT }
 

Enumération des types de fichier supportés par Castor::Loader.

Plus de détails...
enum  ePIXEL_FORMAT {
  ePIXEL_FORMAT_L4, ePIXEL_FORMAT_A4L4, ePIXEL_FORMAT_L8, ePIXEL_FORMAT_A8L8,
  ePIXEL_FORMAT_A1R5G5B5, ePIXEL_FORMAT_A4R4G4B4, ePIXEL_FORMAT_R8G8B8, ePIXEL_FORMAT_A8R8G8B8,
  ePIXEL_FORMAT_FLOATARGB, ePIXEL_FORMAT_DXTC1, ePIXEL_FORMAT_DXTC3, ePIXEL_FORMAT_DXTC5,
  ePIXEL_FORMAT_YUY2, ePIXEL_FORMAT_COUNT
}
 

Enumération des formats de Pixel.

Plus de détails...
enum  eINTERSECTION { eINTERSECTION_IN, eINTERSECTION_OUT, eINTERSECTION_INTERSECT, eINTERSECTION_COUNT }
 

Types d'intersection.

Plus de détails...

Fonctions

Angle operator+ (Angle const &p_angleA, Angle const &p_angleB)
 Opérateur d'addition.
Angle operator- (Angle const &p_angleA, Angle const &p_angleB)
 Opérateur de soustraction.
Angle operator* (Angle const &p_angleA, Angle const &p_angleB)
 Opérateur de multiplication.
Angle operator/ (Angle const &p_angleA, Angle const &p_angleB)
 Opérateur de division.
Colour operator+ (Colour const &p_clrA, Colour const &p_clrB)
 Opérateur d'affectation par addition.
Colour operator- (Colour const &p_clrA, Colour const &p_clrB)
 Opérateur d'affectation par soustraction.
Colour operator+ (Colour const &p_clrA, float p_fScalar)
 Opérateur d'affectation par addition.
Colour operator- (Colour const &p_clrA, float p_fScalar)
 Opérateur d'affectation par soustraction.
Colour operator* (Colour const &p_clrA, float p_fScalar)
 Opérateur d'affectation par multiplication.
Colour operator/ (Colour const &p_clrA, float p_fScalar)
 Opérateur d'affectation par division.
template<class T >
void SwitchEndianness (T &p_tValue)
 Change le boutisme du paramètre.
template<typename T >
T const & minmax (T const &p_min, T const &p_value, T const &p_max)
 Renvoie la valeur si elle est dans l'ensemble [p_min,p_max], p_min si elle lui est inférieure, p_max si elle lui est supérieure.
template<typename T >
void clamp (T const &p_min, T &p_value, T const &p_max)
 Met la valeur entre les bornes [min,max].
template<typename T >
clamp (T const &p_min, T const &p_value, T const &p_max)
 Retourne p_value si elle est entre les bornes [min,max], p_min si elle lui est inférieure, p_max si elle lui est supérieure.
template<typename T >
abs (T const &p_val)
 Donne la valeur absolue d'une valeur donnée.
bool is_nan (double x)
 Teste si un double est un nombre.
int is_inf (double x)
 Teste si un double est infini.
template<typename T , std::size_t Rows, std::size_t Columns>
bool operator== (Matrix< T, Rows, Columns > const &p_mtxA, Matrix< T, Rows, Columns > const &p_mtxB)
 Opérateur d'égalité.
template<typename T , std::size_t Rows, std::size_t Columns>
bool operator!= (Matrix< T, Rows, Columns > const &p_mtxA, Matrix< T, Rows, Columns > const &p_mtxB)
 Opérateur d'inégalité.
template<typename T , std::size_t Rows, std::size_t Columns, typename U >
Matrix< T, Rows, Columns > operator+ (Matrix< T, Rows, Columns > const &p_mtxA, Matrix< U, Rows, Columns > const &p_mtxB)
 Opérateur d'addition.
template<typename T , std::size_t Rows, std::size_t Columns, typename U >
Matrix< T, Rows, Columns > operator- (Matrix< T, Rows, Columns > const &p_mtxA, Matrix< U, Rows, Columns > const &p_mtxB)
 Opérateur de soustraction.
template<typename T , std::size_t Rows, std::size_t Columns, typename U , std::size_t _Columns>
Matrix< T, Rows, _Columns > operator* (Matrix< T, Rows, Columns > const &p_mtxA, Matrix< U, Columns, _Columns > const &p_mtxB)
 Opérateur de multiplication.
template<typename T , std::size_t Rows, std::size_t Columns, typename U >
Point< T, Rows > operator* (Matrix< T, Rows, Columns > const &p_mtxA, Point< U, Columns > const &p_ptVector)
 Opérateur de multiplication.
template<typename T , std::size_t Rows, std::size_t Columns, typename U >
Matrix< T, Rows, Columns > operator+ (Matrix< T, Rows, Columns > const &p_mtxA, U const *p_mtxB)
 Opérateur d'addition.
template<typename T , std::size_t Rows, std::size_t Columns, typename U >
Matrix< T, Rows, Columns > operator- (Matrix< T, Rows, Columns > const &p_mtxA, U const *p_mtxB)
 Opérateur de soustraction.
template<typename T , std::size_t Rows, std::size_t Columns, typename U >
Matrix< T, Rows, Columns > operator+ (Matrix< T, Rows, Columns > const &p_mtxA, T const &p_tValue)
 Opérateur de addition.
template<typename T , std::size_t Rows, std::size_t Columns, typename U >
Matrix< T, Rows, Columns > operator- (Matrix< T, Rows, Columns > const &p_mtxA, T const &p_tValue)
 Opérateur de soustraction.
template<typename T , std::size_t Rows, std::size_t Columns, typename U >
Matrix< T, Rows, Columns > operator* (Matrix< T, Rows, Columns > const &p_mtxA, T const &p_tValue)
 Opérateur de multiplication.
template<typename T , std::size_t Rows, std::size_t Columns, typename U >
Matrix< T, Rows, Columns > operator/ (Matrix< T, Rows, Columns > const &p_mtxA, T const &p_tValue)
 Opérateur de division.
template<typename T , std::size_t Rows, std::size_t Columns, typename U >
Matrix< T, Rows, Columns > operator+ (T const &p_tValue, Matrix< U, Rows, Columns > const &p_matrix)
 Opérateur de addition.
template<typename T , std::size_t Rows, std::size_t Columns, typename U >
Matrix< T, Rows, Columns > operator- (T const &p_tValue, Matrix< U, Rows, Columns > const &p_matrix)
 Opérateur de soustraction.
template<typename T , std::size_t Rows, std::size_t Columns, typename U >
Matrix< T, Rows, Columns > operator* (T const &p_tValue, Matrix< U, Rows, Columns > const &p_matrix)
 Opérateur de multiplication.
template<typename T , std::size_t Rows, std::size_t Columns>
Matrix< T, Rows, Columns > operator- (Matrix< T, Rows, Columns > const &p_matrix)
template<typename T , std::size_t Rows>
bool operator== (SquareMatrix< T, Rows > const &p_mtxA, SquareMatrix< T, Rows > const &p_mtxB)
 Opérateur d'égalité.
template<typename T , std::size_t Rows>
bool operator!= (SquareMatrix< T, Rows > const &p_mtxA, SquareMatrix< T, Rows > const &p_mtxB)
 Opérateur d'inégalité.
template<typename T , std::size_t Rows, typename U >
SquareMatrix< T, Rows > operator+ (SquareMatrix< T, Rows > const &p_mtxA, SquareMatrix< U, Rows > const &p_mtxB)
 Opérateur d'addition.
template<typename T , std::size_t Rows, typename U >
SquareMatrix< T, Rows > operator- (SquareMatrix< T, Rows > const &p_mtxA, SquareMatrix< U, Rows > const &p_mtxB)
 Opérateur de soustraction.
template<typename T , std::size_t Rows, typename U >
SquareMatrix< T, Rows > operator* (SquareMatrix< T, Rows > const &p_mtxA, SquareMatrix< U, Rows > const &p_mtxB)
 Opérateur de multiplication.
template<typename T , std::size_t Rows, typename U >
SquareMatrix< T, Rows > operator+ (SquareMatrix< T, Rows > const &p_mtxA, U const *p_mtxB)
 Opérateur d'addition.
template<typename T , std::size_t Rows, typename U >
SquareMatrix< T, Rows > operator- (SquareMatrix< T, Rows > const &p_mtxA, U const *p_mtxB)
 Opérateur de soustraction.
template<typename T , std::size_t Rows, typename U >
SquareMatrix< T, Rows > operator* (SquareMatrix< T, Rows > const &p_mtxA, U const *p_mtxB)
 Opérateur de multiplication.
template<typename T , std::size_t Rows, typename U >
SquareMatrix< T, Rows > operator+ (SquareMatrix< T, Rows > const &p_mtxA, T const &p_tValue)
 Opérateur de addition.
template<typename T , std::size_t Rows, typename U >
SquareMatrix< T, Rows > operator- (SquareMatrix< T, Rows > const &p_mtxA, T const &p_tValue)
 Opérateur de soustraction.
template<typename T , std::size_t Rows, typename U >
SquareMatrix< T, Rows > operator* (SquareMatrix< T, Rows > const &p_mtxA, T const &p_tValue)
 Opérateur de multiplication.
template<typename T , std::size_t Rows, typename U >
SquareMatrix< T, Rows > operator/ (SquareMatrix< T, Rows > const &p_mtxA, T const &p_tValue)
 Opérateur de division.
template<typename T , std::size_t Rows, typename U >
Point< T, Rows > operator* (SquareMatrix< T, Rows > const &p_mtxA, Point< U, Rows > const &p_ptVector)
 Opérateur de multiplication.
template<typename T , std::size_t Rows>
SquareMatrix< T, Rows > operator+ (T const &p_tValue, SquareMatrix< T, Rows > const &p_matrix)
 Opérateur de addition.
template<typename T , std::size_t Rows>
SquareMatrix< T, Rows > operator- (T const &p_tValue, SquareMatrix< T, Rows > const &p_matrix)
 Opérateur de soustraction.
template<typename T , std::size_t Rows>
SquareMatrix< T, Rows > operator* (T const &p_tValue, SquareMatrix< T, Rows > const &p_matrix)
 Opérateur de multiplication.
template<typename T , std::size_t Rows>
SquareMatrix< T, Rows > operator- (SquareMatrix< T, Rows > const &p_matrix)
 Opérateur de négation.
void * Allocate (std::size_t p_size) throw ( std::bad_alloc )
 Allocateur.
void * AllocateNoThrow (std::size_t p_size) throw ()
 Allocateur, version no throw.
void Deallocate (void *p_pMemory) throw ()
 Désallocateur.
template<class T , class U >
BinaryOp< T, U, eOPERATOR_ADD > MakeAdd (T const &t, U const &u)
template<class T , class U >
BinaryOp< T, U, eOPERATOR_SUB > MakeSub (T const &t, U const &u)
template<class T , class U >
BinaryOp< T, U, eOPERATOR_MUL > MakeMul (T const &t, U const &u)
template<class T , class U >
BinaryOp< T, U, eOPERATOR_DIV > MakeDiv (T const &t, U const &u)
template<class T >
UnaryOp< T, eOPERATOR_MINUS > MakeMinus (T const &t)
template<class T >
UnaryOp< T, eOPERATOR_PLUS > MakePlus (T const &t)
template<class T >
UnaryOp< T, eOPERATOR_CONST > MakeConst (T const &t)
template<class T , class U >
BinaryOp< T, U, eOPERATOR_ADD > operator+ (T const &t, U const &u)
template<class T , class U >
BinaryOp< T, U, eOPERATOR_SUB > operator- (T const &t, U const &u)
template<class T >
UnaryOp< T, eOPERATOR_MINUS > operator- (T const &t)
template<class T >
UnaryOp< T, eOPERATOR_PLUS > operator+ (T const &t)
Path operator/ (Path const &p_pathA, Path const &p_pathB)
 Concatène 2 chemins. Ajoute le séparateur si besoin est.
Path operator/ (Path const &p_path, String const &p_string)
 Concatène une chaîne de caractères à un chemin. Ajoute le séparateur si besoin est.
Path operator/ (Path const &p_path, char const *p_pBuffer)
 Concatène une chaîne de caractères à un chemin. Ajoute le séparateur si besoin est.
Path operator/ (Path const &p_path, wchar_t const *p_pBuffer)
 Concatène une chaîne de caractères à un chemin. Ajoute le séparateur si besoin est.
Path operator/ (String const &p_string, Path const &p_path)
 Concatène une chaîne de caractères à un chemin. Ajoute le séparateur si besoin est.
Path operator/ (char const *p_pBuffer, Path const &p_path)
 Concatène une chaîne de caractères à un chemin. Ajoute le séparateur si besoin est.
Path operator/ (wchar_t const *p_pBuffer, Path const &p_path)
 Concatène une chaîne de caractères à un chemin. Ajoute le séparateur si besoin est.
unsigned int GetBytesPerPixel (ePIXEL_FORMAT p_pfFormat)
 Fonction de récuperation de la taille d'un pixel sans templates.
void 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 operator== (Pixel< FT > const &p_pxA, Pixel< FU > const &p_pxB)
 Opérateur d'égalité.
template<ePIXEL_FORMAT FT, ePIXEL_FORMAT FU>
Pixel< FT > operator+ (Pixel< FT > const &p_pxA, Pixel< FU > const &p_pxB)
 Opérateur d'addition.
template<ePIXEL_FORMAT FT, typename U >
Pixel< FT > operator+ (Pixel< FT > const &p_pxA, U const &p_tVal)
 Opérateur d'addition.
template<ePIXEL_FORMAT FT, ePIXEL_FORMAT FU>
Pixel< FT > operator- (Pixel< FT > const &p_pxA, Pixel< FU > const &p_pxB)
 Opérateur de soustraction.
template<ePIXEL_FORMAT FT, typename U >
Pixel< FT > operator- (Pixel< FT > const &p_pxA, U const &p_tVal)
 Opérateur de soustraction.
template<ePIXEL_FORMAT FT, ePIXEL_FORMAT FU>
Pixel< FT > operator/ (Pixel< FT > const &p_pxA, Pixel< FU > const &p_pxB)
 Opérateur de division.
template<ePIXEL_FORMAT FT, typename U >
Pixel< FT > operator/ (Pixel< FT > const &p_pxA, U const &p_tVal)
 Opérateur de division.
template<ePIXEL_FORMAT FT, ePIXEL_FORMAT FU>
Pixel< FT > operator* (Pixel< FT > const &p_pxA, Pixel< FU > const &p_pxB)
 Opérateur de multiplication.
template<ePIXEL_FORMAT FT, typename U >
Pixel< FT > operator* (Pixel< FT > const &p_pxA, U const &p_tVal)
 Opérateur de multiplication.
UbPixel ClampedSubstract (UbPixel const &p_a, UbPixel const &p_b, UbPixel const &p_min)
 Soustraction clampée.
UbPixel ClampedAdd (UbPixel const &p_a, UbPixel const &p_b, UbPixel const &p_max)
 Addition clampée.
template<typename T , typename U >
bool operator== (DynPoint< T > const &p_ptA, DynPoint< U > const &p_ptB)
 Opérateur d'égalité.
template<typename T , typename U >
bool operator!= (DynPoint< T > const &p_ptA, DynPoint< U > const &p_ptB)
 Opérateur d'inégalité.
template<typename T , typename U >
DynPoint< T > operator+ (DynPoint< T > const &p_ptA, DynPoint< U > const &p_ptB)
 Opérateur d'addition.
template<typename T , typename U >
DynPoint< T > operator- (DynPoint< T > const &p_ptA, DynPoint< U > const &p_ptB)
 Opérateur de soustraction.
template<typename T , typename U >
DynPoint< T > operator* (DynPoint< T > const &p_ptA, DynPoint< U > const &p_ptB)
 Opérateur de multiplication.
template<typename T , typename U >
DynPoint< T > operator/ (DynPoint< T > const &p_ptA, DynPoint< U > const &p_ptB)
 Opérateur de division.
template<typename T , typename U >
DynPoint< T > operator^ (DynPoint< T > const &p_ptA, DynPoint< U > const &p_ptB)
 Opérateur de produit vectoriel.
template<typename T , typename U >
DynPoint< T > operator+ (DynPoint< T > const &p_pt, U const *p_coords)
 Opérateur d'addition.
template<typename T , typename U >
DynPoint< T > operator- (DynPoint< T > const &p_pt, U const *p_coords)
 Opérateur de soustraction.
template<typename T , typename U >
DynPoint< T > operator* (DynPoint< T > const &p_pt, U const *p_coords)
 Opérateur de multiplication.
template<typename T , typename U >
DynPoint< T > operator/ (DynPoint< T > const &p_pt, U const *p_coords)
 Opérateur de division.
template<typename T , typename U >
DynPoint< T > operator* (DynPoint< T > const &p_pt, U const &p_coord)
 Opérateur de multiplication.
template<typename T , typename U >
DynPoint< T > operator/ (DynPoint< T > const &p_pt, U const &p_coord)
 Opérateur de division.
template<typename T , std::size_t Count, typename U , std::size_t _Count>
bool operator== (Point< T, Count > const &p_ptA, Point< U, _Count > const &p_ptB)
 Opérateur d'égalité.
template<typename T , std::size_t Count, typename U , std::size_t _Count>
bool operator!= (Point< T, Count > const &p_ptA, Point< U, _Count > const &p_ptB)
 Opérateur d'inégalité.
template<typename T , std::size_t Count, typename U , std::size_t _Count>
Point< T, Count > operator+ (Point< T, Count > const &p_ptA, Point< U, _Count > const &p_ptB)
 Opérateur d'addition.
template<typename T , std::size_t Count, typename U , std::size_t _Count>
Point< T, Count > operator- (Point< T, Count > const &p_ptA, Point< U, _Count > const &p_ptB)
 Opérateur de soustraction.
template<typename T , std::size_t Count, typename U , std::size_t _Count>
Point< T, Count > operator* (Point< T, Count > const &p_ptA, Point< U, _Count > const &p_ptB)
 Opérateur de multiplication.
template<typename T , std::size_t Count, typename U , std::size_t _Count>
Point< T, Count > operator/ (Point< T, Count > const &p_ptA, Point< U, _Count > const &p_ptB)
 Opérateur de division.
template<typename T , typename U >
Point< T, 3 > operator^ (Point< T, 3 > const &p_ptA, Point< U, 3 > const &p_ptB)
 Opérateur de produit vectoriel.
template<typename T , std::size_t Count, typename U >
Point< T, Count > operator+ (Point< T, Count > const &p_pt, U const *p_coords)
 Opérateur d'addition.
template<typename T , std::size_t Count, typename U >
Point< T, Count > operator- (Point< T, Count > const &p_pt, U const *p_coords)
 Opérateur de soustraction.
template<typename T , std::size_t Count, typename U >
Point< T, Count > operator* (Point< T, Count > const &p_pt, U const *p_coords)
 Opérateur de multiplication.
template<typename T , std::size_t Count, typename U >
Point< T, Count > operator/ (Point< T, Count > const &p_pt, U const *p_coords)
 Opérateur de division.
template<typename T , std::size_t Count>
Point< T, Count > operator* (Point< T, Count > const &p_pt, T const &p_coord)
 Opérateur de multiplication.
template<typename T , std::size_t Count>
Point< T, Count > operator/ (Point< T, Count > const &p_pt, T const &p_coord)
 Opérateur de division.
Quaternion operator+ (Quaternion const &p_qA, Quaternion const &p_qB)
 Opérateur d'addition.
Quaternion operator- (Quaternion const &p_qA, Quaternion const &p_qB)
 Opérateur de soustraction.
Quaternion operator* (Quaternion const &p_qA, Quaternion const &p_qB)
 Opérateur de multiplication.
Quaternion operator* (Quaternion const &p_quat, real p_fScalar)
 Opérateur de multiplication.
Quaternion operator* (real p_fScalar, Quaternion const &p_quat)
 Opérateur de multiplication.
Quaternion operator- (Quaternion const &p_quat)
 Opérateur de négation.
template<class CtnrType >
void clear_container (CtnrType &p_container)
 Vide un conteneur en utilisant les fonctions précédentes.

Variables

dummy_dtor g_dummyDtor
static const String cuEmptyString
 Une chaîne vide.

Documentation des définitions de type

typedef std::map< String, bool > Castor::BoolStrMap
typedef unsigned char Castor::byte
typedef std::vector< byte > Castor::ByteArray

Typedef sur une ContainerBox à 2 dimensions.

Auteur:
Sylvain DOREMUS
Date:
14/02/2010

Typedef sur une ContainerBox à 3 dimensions.

Auteur:
Sylvain DOREMUS
Date:
14/02/2010
typedef std::shared_ptr< CubeBox > Castor::CubeBoxPtr
typedef std::shared_ptr< DynamicLibrary > Castor::DynamicLibraryPtr

Typedef d'un pointeur sur une DynamicLibrary.

Auteur:
Sylvain DOREMUS
Date:
03/01/2011
typedef std::shared_ptr< FileParserContext > Castor::FileParserContextPtr

Typedef d'un pointeur sur un FileParserContextPtr.

typedef std::shared_ptr< Font > Castor::FontPtr
typedef std::shared_ptr< Image > Castor::ImagePtr
typedef std::vector< int > Castor::IntArray
typedef void( Castor::LogCallback)(void *p_pThis, String const &p_strLog, eLOG_TYPE p_eLogType)

Fonction de callback de log.

Paramètres:
[in] p_pThis Pointeur sur l'appelant
[in] p_strLog Le texte écrit
[in] p_eLogType Le type de log
typedef SquareMatrix< double, 2 > Castor::Matrix2x2d
typedef std::shared_ptr< Matrix2x2d > Castor::Matrix2x2dPtr
typedef SquareMatrix< float, 2 > Castor::Matrix2x2f
typedef std::shared_ptr< Matrix2x2f > Castor::Matrix2x2fPtr
typedef std::shared_ptr< Matrix2x2r > Castor::Matrix2x2rPtr
typedef SquareMatrix< double, 3 > Castor::Matrix3x3d
typedef std::shared_ptr< Matrix3x3d > Castor::Matrix3x3dPtr
typedef SquareMatrix< float, 3 > Castor::Matrix3x3f
typedef std::shared_ptr< Matrix3x3f > Castor::Matrix3x3fPtr
typedef std::shared_ptr< Matrix3x3r > Castor::Matrix3x3rPtr
typedef SquareMatrix< double, 4 > Castor::Matrix4x4d
typedef std::shared_ptr< Matrix4x4d > Castor::Matrix4x4dPtr
typedef SquareMatrix< float, 4 > Castor::Matrix4x4f
typedef std::shared_ptr< Matrix4x4f > Castor::Matrix4x4fPtr
typedef std::shared_ptr< Matrix4x4r > Castor::Matrix4x4rPtr

Un typedef pour NamedBase avec String comme type de nom (le plus classique, quoi).

typedef bool( Castor::ParserFunction)(Castor::FileParser *p_pParser, String &p_strParams, FileParserContextPtr p_pContext)

Définition d'une fonction d'analyse.

Paramètres:
[in] p_strParams Les paramètres contenus dans la ligne
[in] p_pContext Le contexte d'analyse
Renvoie:
true si une accolade doit être ouverte à la ligne suivante
typedef PxBuffer< ePIXEL_FORMAT_A8R8G8B8 > Castor::PixelBuffer

Typedef sur un buffer de pixels au format A8R8G8B8.

Auteur:
Sylvain DOREMUS

Typedef d'un pointeur sur la fonction de callback de log.

typedef Point< double, 2 > Castor::Point2d
typedef std::vector< Point2d > Castor::Point2dArray
typedef std::shared_ptr< Point2d > Castor::Point2dPtr
typedef std::vector< Point2dPtr > Castor::Point2dPtrArray
typedef std::list< Point2dPtr > Castor::Point2dPtrList
typedef Point< float, 2 > Castor::Point2f
typedef std::vector< Point2f > Castor::Point2fArray
typedef std::shared_ptr< Point2f > Castor::Point2fPtr
typedef std::vector< Point2fPtr > Castor::Point2fPtrArray
typedef std::list< Point2fPtr > Castor::Point2fPtrList
typedef Point< int, 2 > Castor::Point2i
typedef std::vector< Point2i > Castor::Point2iArray
typedef std::shared_ptr< Point2i > Castor::Point2iPtr
typedef std::vector< Point2iPtr > Castor::Point2iPtrArray
typedef std::list< Point2iPtr > Castor::Point2iPtrList
typedef Point< real, 2 > Castor::Point2r
typedef std::vector< Point2r > Castor::Point2rArray
typedef std::shared_ptr< Point2r > Castor::Point2rPtr
typedef std::vector< Point2rPtr > Castor::Point2rPtrArray
typedef std::list< Point2rPtr > Castor::Point2rPtrList
typedef Point< byte, 2 > Castor::Point2ub
typedef std::vector< Point2ub > Castor::Point2ubArray
typedef std::shared_ptr< Point2ub > Castor::Point2ubPtr
typedef std::vector< Point2ubPtr > Castor::Point2ubPtrArray
typedef std::list< Point2ubPtr > Castor::Point2ubPtrList
typedef Point< double, 3 > Castor::Point3d
typedef std::vector< Point3d > Castor::Point3dArray
typedef std::shared_ptr< Point3d > Castor::Point3dPtr
typedef std::vector< Point3dPtr > Castor::Point3dPtrArray
typedef std::list< Point3dPtr > Castor::Point3dPtrList
typedef Point< float, 3 > Castor::Point3f
typedef std::vector< Point3f > Castor::Point3fArray
typedef std::shared_ptr< Point3f > Castor::Point3fPtr
typedef std::vector< Point3fPtr > Castor::Point3fPtrArray
typedef std::list< Point3fPtr > Castor::Point3fPtrList
typedef Point< int, 3 > Castor::Point3i
typedef std::vector< Point3i > Castor::Point3iArray
typedef std::shared_ptr< Point3i > Castor::Point3iPtr
typedef std::vector< Point3iPtr > Castor::Point3iPtrArray
typedef std::list< Point3iPtr > Castor::Point3iPtrList
typedef Point< real, 3 > Castor::Point3r
typedef std::vector< Point3r > Castor::Point3rArray
typedef std::shared_ptr< Point3r > Castor::Point3rPtr
typedef std::vector< Point3rPtr > Castor::Point3rPtrArray
typedef std::list< Point3rPtr > Castor::Point3rPtrList
typedef Point< byte, 3 > Castor::Point3ub
typedef std::vector< Point3ub > Castor::Point3ubArray
typedef std::shared_ptr< Point3ub > Castor::Point3ubPtr
typedef std::vector< Point3ubPtr > Castor::Point3ubPtrArray
typedef std::list< Point3ubPtr > Castor::Point3ubPtrList
typedef Point< double, 4 > Castor::Point4d
typedef std::vector< Point4d > Castor::Point4dArray
typedef std::shared_ptr< Point4d > Castor::Point4dPtr
typedef std::vector< Point4dPtr > Castor::Point4dPtrArray
typedef std::list< Point4dPtr > Castor::Point4dPtrList
typedef Point< float, 4 > Castor::Point4f
typedef std::vector< Point4f > Castor::Point4fArray
typedef std::shared_ptr< Point4f > Castor::Point4fPtr
typedef std::vector< Point4fPtr > Castor::Point4fPtrArray
typedef std::list< Point4fPtr > Castor::Point4fPtrList
typedef Point< int, 4 > Castor::Point4i
typedef std::vector< Point4i > Castor::Point4iArray
typedef std::shared_ptr< Point4i > Castor::Point4iPtr
typedef std::vector< Point4iPtr > Castor::Point4iPtrArray
typedef std::list< Point4iPtr > Castor::Point4iPtrList
typedef Point< real, 4 > Castor::Point4r
typedef std::vector< Point4r > Castor::Point4rArray
typedef std::shared_ptr< Point4r > Castor::Point4rPtr
typedef std::vector< Point4rPtr > Castor::Point4rPtrArray
typedef std::list< Point4rPtr > Castor::Point4rPtrList
typedef Point< byte, 4 > Castor::Point4ub
typedef std::vector< Point4ub > Castor::Point4ubArray
typedef std::shared_ptr< Point4ub > Castor::Point4ubPtr
typedef std::vector< Point4ubPtr > Castor::Point4ubPtrArray
typedef std::list< Point4ubPtr > Castor::Point4ubPtrList
typedef Point< unsigned int, 2 > Castor::Position

Pointeur sur une fonction d'analyse.

typedef std::pair<void *, std::size_t> Castor::PtrSizePair
typedef std::shared_ptr< Quaternion > Castor::QuaternionPtr
typedef float Castor::real
typedef Point< unsigned int, 2 > Castor::Size
typedef std::shared_ptr< SphereBox > Castor::SphereBoxPtr
typedef std::shared_ptr< SphericalVertex > Castor::SphericalVertexPtr
typedef std::basic_string< xchar > Castor::String
typedef std::vector< String > Castor::StringArray
typedef std::basic_stringstream< xchar > Castor::StringStream
typedef std::map< String, String > Castor::StrStrMap
typedef Pixel<ePIXEL_FORMAT_A8R8G8B8> Castor::UbPixel

Typedef sur un pixel au format A8R8G8B8.

Auteur:
Sylvain DOREMUS

Documentation du type de l'énumération

Enumération des types de fichier supportés par Castor::Loader.

Auteur:
Sylvain DOREMUS
Version:
0.6.1.0
Date:
19/10/2011
Valeurs énumérées:
eFILE_TYPE_BINARY 
eFILE_TYPE_TEXT 

Types d'intersection.

Auteur:
Sylvain DOREMUS
Version:
0.6.1.0
Date:
03/01/2011
Remarques:
Enumère les différents types d'intersection entre 2 rectangles
Valeurs énumérées:
eINTERSECTION_IN 

Complètement à l'intérieur.

eINTERSECTION_OUT 

Complètement à l'extérieur.

eINTERSECTION_INTERSECT 

Intersection.

eINTERSECTION_COUNT 

Définit les différents types de log.

Auteur:
Sylvain DOREMUS
Version:
0.6.1.0
Date:
19/10/2011
Valeurs énumérées:
eLOG_TYPE_DEBUG 

Log de type debug.

eLOG_TYPE_MESSAGE 

Log de type message.

eLOG_TYPE_WARNING 

Log de type avertissement.

eLOG_TYPE_ERROR 

Log de type erreur.

eLOG_TYPE_COUNT 

Compte des logs.

Enumération des opérateurs.

Auteur:
Sylvain DOREMUS
Version:
0.6.1.0
Date:
19/10/2011
Valeurs énumérées:
eOPERATOR_ADD 

addition

eOPERATOR_SUB 

soustraction

eOPERATOR_MUL 

multiplication

eOPERATOR_DIV 

division

eOPERATOR_PLUS 

+ unaire

eOPERATOR_MINUS 
  • unaire
eOPERATOR_CONST 

constante unaire

eOPERATOR_COUNT 

Enumération des formats de Pixel.

Valeurs énumérées:
ePIXEL_FORMAT_L4 

4 bits luminosity

ePIXEL_FORMAT_A4L4 

8 bits alpha and luminosity

ePIXEL_FORMAT_L8 

8 bits luminosity

ePIXEL_FORMAT_A8L8 

16 bits alpha and luminosity

ePIXEL_FORMAT_A1R5G5B5 

16 bits 5551 ARGB

ePIXEL_FORMAT_A4R4G4B4 

16 bits 4444 ARGB

ePIXEL_FORMAT_R8G8B8 

24 bits 888 RGB

ePIXEL_FORMAT_A8R8G8B8 

32 bits 8888 ARGB

ePIXEL_FORMAT_FLOATARGB 

Float ARGB.

ePIXEL_FORMAT_DXTC1 

DXT1 8 bits compressed format.

ePIXEL_FORMAT_DXTC3 

DXT3 16 bits compressed format.

ePIXEL_FORMAT_DXTC5 

DXT5 16 bits compressed format.

ePIXEL_FORMAT_YUY2 

YUY2 16 bits compressed format.

ePIXEL_FORMAT_COUNT 

Documentation des fonctions

template<typename T >
T Castor::abs ( T const &  p_val  )  [inline]

Donne la valeur absolue d'une valeur donnée.

Paramètres:
[in] p_val La valeur donnée
Renvoie:
La valeur absolue

Voici le graphe d'appel pour cette fonction :

void* Castor::Allocate ( std::size_t  p_size  )  throw ( std::bad_alloc )

Allocateur.

Paramètres:
[in] p_size La taille à allouer
Renvoie:
Le buffer alloué
void* Castor::AllocateNoThrow ( std::size_t  p_size  )  throw ()

Allocateur, version no throw.

Paramètres:
[in] p_size La taille à allouer
Renvoie:
Le buffer alloué
template<typename T >
void Castor::clamp ( T const &  p_min,
T &  p_value,
T const &  p_max 
) [inline]

Met la valeur entre les bornes [min,max].

Paramètres:
[in] p_min,p_max Les bornes
[in] p_value La valeur à clamper
Renvoie:
Le résultat
template<typename T >
T Castor::clamp ( T const &  p_min,
T const &  p_value,
T const &  p_max 
) [inline]

Retourne p_value si elle est entre les bornes [min,max], p_min si elle lui est inférieure, p_max si elle lui est supérieure.

Paramètres:
[in] p_min,p_max Les bornes
[in] p_value La valeur à clamper
Renvoie:
Le résultat
UbPixel Castor::ClampedAdd ( UbPixel const &  p_a,
UbPixel const &  p_b,
UbPixel const &  p_max 
)

Addition clampée.

Paramètres:
[in] p_a,p_b Les pixels à additionner
[in] p_max La valeur minimale
Renvoie:
p_a + p_b, avec chaque composante inférieure ou égale à chaque composante de p_max
UbPixel Castor::ClampedSubstract ( UbPixel const &  p_a,
UbPixel const &  p_b,
UbPixel const &  p_min 
)

Soustraction clampée.

Paramètres:
[in] p_a,p_b Les pixels à soustraire
[in] p_min La valeur minimale
Renvoie:
p_a - p_b, avec chaque composante supérieure ou égale à chaque composante de p_min
template<class CtnrType >
void Castor::clear_container ( CtnrType &  p_container  ) 

Vide un conteneur en utilisant les fonctions précédentes.

Remarques:
Désalloue le contenu si besoin est
Paramètres:
[in] p_container Le contenur à vider

Voici le graphe d'appel pour cette fonction :

void Castor::ConvertPixel ( ePIXEL_FORMAT  p_eSrcFmt,
byte const *  p_pSrc,
ePIXEL_FORMAT  p_eDestFmt,
byte *  p_pDest 
)

Fonction de conversion sans templates.

void Castor::Deallocate ( void *  p_pMemory  )  throw ()

Désallocateur.

Paramètres:
[in] p_pMemory La mémoire allouée
unsigned int Castor::GetBytesPerPixel ( ePIXEL_FORMAT  p_pfFormat  ) 

Fonction de récuperation de la taille d'un pixel sans templates.

int Castor::is_inf ( double  x  )  [inline]

Teste si un double est infini.

Remarques:
Il est infini si x==x et x-x!=0
Paramètres:
[in] x Le nombre à tester
Renvoie:
-1 si infini négatif, 1 si infini positif, 0 si fini
bool Castor::is_nan ( double  x  )  [inline]

Teste si un double est un nombre.

Remarques:
C'est un nombre tant que x==x
Paramètres:
[in] x Le nombre à tester
Renvoie:
Le résultat
template<class T , class U >
BinaryOp< T, U, eOPERATOR_ADD > Castor::MakeAdd ( T const &  t,
U const &  u 
) [inline]
template<class T >
UnaryOp< T, eOPERATOR_CONST > Castor::MakeConst ( T const &  t  )  [inline]
template<class T , class U >
BinaryOp< T, U, eOPERATOR_DIV > Castor::MakeDiv ( T const &  t,
U const &  u 
) [inline]
template<class T >
UnaryOp< T, eOPERATOR_MINUS > Castor::MakeMinus ( T const &  t  )  [inline]
template<class T , class U >
BinaryOp< T, U, eOPERATOR_MUL > Castor::MakeMul ( T const &  t,
U const &  u 
) [inline]
template<class T >
UnaryOp< T, eOPERATOR_PLUS > Castor::MakePlus ( T const &  t  )  [inline]
template<class T , class U >
BinaryOp< T, U, eOPERATOR_SUB > Castor::MakeSub ( T const &  t,
U const &  u 
) [inline]
template<typename T >
T const& Castor::minmax ( T const &  p_min,
T const &  p_value,
T const &  p_max 
) [inline]

Renvoie la valeur si elle est dans l'ensemble [p_min,p_max], p_min si elle lui est inférieure, p_max si elle lui est supérieure.

Paramètres:
[in] p_min,p_max Les bornes
[in] p_value La valeur à tester
Renvoie:
Le résultat
template<typename T , std::size_t Rows>
bool Castor::operator!= ( SquareMatrix< T, Rows > const &  p_mtxA,
SquareMatrix< T, Rows > const &  p_mtxB 
)

Opérateur d'inégalité.

Paramètres:
[in] p_mtxA,p_mtxB Les matrices à comparer
Renvoie:
true si les matrices ont des dimensions différentes ou au moins une valeur différente
template<typename T , std::size_t Rows, std::size_t Columns>
bool Castor::operator!= ( Matrix< T, Rows, Columns > const &  p_mtxA,
Matrix< T, Rows, Columns > const &  p_mtxB 
)

Opérateur d'inégalité.

Paramètres:
[in] p_mtxA,p_mtxB Les matrices à comparer
Renvoie:
true si les matrices ont des dimensions différentes ou au moins une valeur différente
template<typename T , typename U >
bool Castor::operator!= ( DynPoint< T > const &  p_ptA,
DynPoint< U > const &  p_ptB 
)

Opérateur d'inégalité.

Paramètres:
[in] p_ptA,p_ptB Les points à comparer
Renvoie:
true si les points ont des dimensions différentes ou au moins une valeur différente
template<typename T , std::size_t Count, typename U , std::size_t _Count>
bool Castor::operator!= ( Point< T, Count > const &  p_ptA,
Point< U, _Count > const &  p_ptB 
)

Opérateur d'inégalité.

Paramètres:
[in] p_ptA,p_ptB Les points à comparer
Renvoie:
true si les points ont des dimensions différentes ou au moins une valeur différente
template<typename T , std::size_t Rows, std::size_t Columns, typename U >
Matrix<T, Rows, Columns> Castor::operator* ( T const &  p_tValue,
Matrix< U, Rows, Columns > const &  p_matrix 
)

Opérateur de multiplication.

Paramètres:
[in] p_matrix La matrice à multiplier
[in] p_tValue La valeur
Renvoie:
Le résultat de la multiplication
Colour Castor::operator* ( Colour const &  p_clrA,
float  p_fScalar 
)

Opérateur d'affectation par multiplication.

Paramètres:
[in] p_fScalar La valeur à multiplier
Renvoie:
Resultat de p_clrA * p_fScalar
template<typename T , std::size_t Rows, typename U >
SquareMatrix<T, Rows> Castor::operator* ( SquareMatrix< T, Rows > const &  p_mtxA,
SquareMatrix< U, Rows > const &  p_mtxB 
)

Opérateur de multiplication.

Paramètres:
[in] p_mtxA,p_mtxB Les matrices à multiplier
Renvoie:
Le résultat de la multiplication
template<typename T , std::size_t Rows, typename U >
SquareMatrix<T, Rows> Castor::operator* ( SquareMatrix< T, Rows > const &  p_mtxA,
U const *  p_mtxB 
)

Opérateur de multiplication.

Paramètres:
[in] p_mtxA,p_mtxB Les matrices à multiplier
Renvoie:
Le résultat de la multiplication
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.

Paramètres:
[in] p_pxA,p_pxB Les pixels à multiplier
Renvoie:
Le résultat de la multiplication
template<ePIXEL_FORMAT FT, typename U >
Pixel<FT> Castor::operator* ( Pixel< FT > const &  p_pxA,
U const &  p_tVal 
)

Opérateur de multiplication.

Paramètres:
[in] p_pxA Le pixel à multiplier
[in] p_tVal La valeur
Renvoie:
Le résultat de la multiplication
template<typename T , std::size_t Rows, std::size_t Columns, typename U , std::size_t _Columns>
Matrix<T, Rows, _Columns> Castor::operator* ( Matrix< T, Rows, Columns > const &  p_mtxA,
Matrix< U, Columns, _Columns > const &  p_mtxB 
)

Opérateur de multiplication.

Paramètres:
[in] p_mtxA,p_mtxB Les matrices à multiplier
Renvoie:
Le résultat de la multiplication
template<typename T , std::size_t Rows, std::size_t Columns, typename U >
Point<T, Rows> Castor::operator* ( Matrix< T, Rows, Columns > const &  p_mtxA,
Point< U, Columns > const &  p_ptVector 
)

Opérateur de multiplication.

Paramètres:
[in] p_mtxA La matrice à multiplier
[in] p_ptVector Le vecteur
Renvoie:
Le résultat de la multiplication
template<typename T , std::size_t Rows, typename U >
SquareMatrix<T, Rows> Castor::operator* ( SquareMatrix< T, Rows > const &  p_mtxA,
T const &  p_tValue 
)

Opérateur de multiplication.

Paramètres:
[in] p_mtxA La matrice à multiplier
[in] p_tValue La valeur
Renvoie:
Le résultat de la multiplication
template<typename T , typename U >
DynPoint<T> Castor::operator* ( DynPoint< T > const &  p_ptA,
DynPoint< U > const &  p_ptB 
)

Opérateur de multiplication.

Paramètres:
[in] p_ptA,p_ptB Les points à multiplier
Renvoie:
Le résultat de la multiplication
template<typename T , std::size_t Rows, typename U >
Point<T, Rows> Castor::operator* ( SquareMatrix< T, Rows > const &  p_mtxA,
Point< U, Rows > const &  p_ptVector 
)

Opérateur de multiplication.

Paramètres:
[in] p_mtxA La matrice à multiplier
[in] p_ptVector Le vecteur
Renvoie:
Le résultat de la multiplication
template<typename T , typename U >
DynPoint<T> Castor::operator* ( DynPoint< T > const &  p_pt,
U const *  p_coords 
)

Opérateur de multiplication.

Paramètres:
[in] p_pt Le point
[in] p_coords Les valeurs à mulitplier
Renvoie:
Le résultat de la multiplication
Angle Castor::operator* ( Angle const &  p_angleA,
Angle const &  p_angleB 
)

Opérateur de multiplication.

Paramètres:
[in] p_angleA Premier opérande
[in] p_angleB Second opérande
Renvoie:
Le résultat de la multiplication
template<typename T , typename U >
DynPoint<T> Castor::operator* ( DynPoint< T > const &  p_pt,
U const &  p_coord 
)

Opérateur de multiplication.

Paramètres:
[in] p_pt Le point à multiplier
[in] p_coord La valeur
Renvoie:
Le résultat de la multiplication
template<typename T , std::size_t Rows>
SquareMatrix<T, Rows> Castor::operator* ( T const &  p_tValue,
SquareMatrix< T, Rows > const &  p_matrix 
)

Opérateur de multiplication.

Paramètres:
[in] p_matrix La matrice à multiplier
[in] p_tValue La valeur
Renvoie:
Le résultat de la multiplication
template<typename T , std::size_t Count, typename U , std::size_t _Count>
Point<T, Count> Castor::operator* ( Point< T, Count > const &  p_ptA,
Point< U, _Count > const &  p_ptB 
)

Opérateur de multiplication.

Paramètres:
[in] p_ptA,p_ptB Les points à multiplier
Renvoie:
Le résultat de la multiplication
template<typename T , std::size_t Count, typename U >
Point<T, Count> Castor::operator* ( Point< T, Count > const &  p_pt,
U const *  p_coords 
)

Opérateur de multiplication.

Paramètres:
[in] p_pt Le point
[in] p_coords Les valeurs à mulitplier
Renvoie:
Le résultat de la multiplication
template<typename T , std::size_t Count>
Point<T, Count> Castor::operator* ( Point< T, Count > const &  p_pt,
T const &  p_coord 
)

Opérateur de multiplication.

Paramètres:
[in] p_pt Le point à multiplier
[in] p_coord La valeur
Renvoie:
Le résultat de la multiplication
Quaternion Castor::operator* ( Quaternion const &  p_qA,
Quaternion const &  p_qB 
)

Opérateur de multiplication.

Paramètres:
[in] p_qA Le premier objet Quaternion à multiplier
[in] p_qB Le second objet Quaternion à multiplier
Renvoie:
Le résultat de la multiplication
template<typename T , std::size_t Rows, std::size_t Columns, typename U >
Matrix<T, Rows, Columns> Castor::operator* ( Matrix< T, Rows, Columns > const &  p_mtxA,
T const &  p_tValue 
)

Opérateur de multiplication.

Paramètres:
[in] p_mtxA La matrice à multiplier
[in] p_tValue La valeur
Renvoie:
Le résultat de la multiplication
Quaternion Castor::operator* ( real  p_fScalar,
Quaternion const &  p_quat 
)

Opérateur de multiplication.

Paramètres:
[in] p_fScalar Le scalaire à multiplier
[in] p_quat L'objet Quaternion à multiplier
Renvoie:
Le résultat de la multiplication
Quaternion Castor::operator* ( Quaternion const &  p_quat,
real  p_fScalar 
)

Opérateur de multiplication.

Paramètres:
[in] p_quat L'objet Quaternion à multiplier
[in] p_fScalar Le scalaire à multiplier
Renvoie:
Le résultat de la multiplication
template<typename T , typename U >
DynPoint<T> Castor::operator+ ( DynPoint< T > const &  p_pt,
U const *  p_coords 
)

Opérateur d'addition.

Paramètres:
[in] p_pt Le point
[in] p_coords Les valeurs à additionner
Renvoie:
Le résultat de l'addition
template<class T >
UnaryOp< T, eOPERATOR_PLUS > Castor::operator+ ( T const &  t  ) 
Colour Castor::operator+ ( Colour const &  p_clrA,
Colour const &  p_clrB 
)

Opérateur d'affectation par addition.

Paramètres:
[in] p_clrA,p_clrB Les couleurs à ajouter
Renvoie:
Resultat de p_clrA + p_clrB
template<typename T , std::size_t Rows, typename U >
SquareMatrix<T, Rows> Castor::operator+ ( SquareMatrix< T, Rows > const &  p_mtxA,
SquareMatrix< U, Rows > const &  p_mtxB 
)

Opérateur d'addition.

Paramètres:
[in] p_mtxA,p_mtxB Les matrices à additionner
Renvoie:
Le résultat de l'addition
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.

Paramètres:
[in] p_pxA,p_pxB Les pixels à additionner
Renvoie:
Le résultat de l'addition
template<ePIXEL_FORMAT FT, typename U >
Pixel<FT> Castor::operator+ ( Pixel< FT > const &  p_pxA,
U const &  p_tVal 
)

Opérateur d'addition.

Paramètres:
[in] p_pxA Le pixel
[in] p_tVal La valeur à additionner
Renvoie:
Le résultat de l'addition
template<typename T , std::size_t Rows, typename U >
SquareMatrix<T, Rows> Castor::operator+ ( SquareMatrix< T, Rows > const &  p_mtxA,
U const *  p_mtxB 
)

Opérateur d'addition.

Paramètres:
[in] p_mtxA,p_mtxB Les matrices à additionner
Renvoie:
Le résultat de l'addition
template<typename T , std::size_t Rows, typename U >
SquareMatrix<T, Rows> Castor::operator+ ( SquareMatrix< T, Rows > const &  p_mtxA,
T const &  p_tValue 
)

Opérateur de addition.

Paramètres:
[in] p_mtxA La matrice
[in] p_tValue La valeur à additionner
Renvoie:
Le résultat de l'addition
Colour Castor::operator+ ( Colour const &  p_clrA,
float  p_fScalar 
)

Opérateur d'affectation par addition.

Paramètres:
[in] p_fScalar La valeur à ajouter
Renvoie:
Resultat de p_clrA + p_fScalar
template<typename T , typename U >
DynPoint<T> Castor::operator+ ( DynPoint< T > const &  p_ptA,
DynPoint< U > const &  p_ptB 
)

Opérateur d'addition.

Paramètres:
[in] p_ptA,p_ptB Les points à additionner
Renvoie:
Le résultat de l'addition
template<typename T , std::size_t Rows, std::size_t Columns, typename U >
Matrix<T, Rows, Columns> Castor::operator+ ( Matrix< T, Rows, Columns > const &  p_mtxA,
Matrix< U, Rows, Columns > const &  p_mtxB 
)

Opérateur d'addition.

Paramètres:
[in] p_mtxA,p_mtxB Les matrices à additionner
Renvoie:
Le résultat de l'addition
template<typename T , std::size_t Rows, std::size_t Columns, typename U >
Matrix<T, Rows, Columns> Castor::operator+ ( Matrix< T, Rows, Columns > const &  p_mtxA,
U const *  p_mtxB 
)

Opérateur d'addition.

Paramètres:
[in] p_mtxA,p_mtxB Les matrices à additionner
Renvoie:
Le résultat de l'addition
template<typename T , std::size_t Count, typename U , std::size_t _Count>
Point<T, Count> Castor::operator+ ( Point< T, Count > const &  p_ptA,
Point< U, _Count > const &  p_ptB 
)

Opérateur d'addition.

Paramètres:
[in] p_ptA,p_ptB Les points à additionner
Renvoie:
Le résultat de l'addition
template<typename T , std::size_t Rows>
SquareMatrix<T, Rows> Castor::operator+ ( T const &  p_tValue,
SquareMatrix< T, Rows > const &  p_matrix 
)

Opérateur de addition.

Paramètres:
[in] p_matrix La matrice
[in] p_tValue La valeur à additionner
Renvoie:
Le résultat de l'addition
template<typename T , std::size_t Rows, std::size_t Columns, typename U >
Matrix<T, Rows, Columns> Castor::operator+ ( Matrix< T, Rows, Columns > const &  p_mtxA,
T const &  p_tValue 
)

Opérateur de addition.

Paramètres:
[in] p_mtxA La matrice
[in] p_tValue La valeur à additionner
Renvoie:
Le résultat de l'addition
template<typename T , std::size_t Count, typename U >
Point<T, Count> Castor::operator+ ( Point< T, Count > const &  p_pt,
U const *  p_coords 
)

Opérateur d'addition.

Paramètres:
[in] p_pt Le point
[in] p_coords Les valeurs à additionner
Renvoie:
Le résultat de l'addition
Angle Castor::operator+ ( Angle const &  p_angleA,
Angle const &  p_angleB 
)

Opérateur d'addition.

Paramètres:
[in] p_angleA Premier opérande
[in] p_angleB Second opérande
Renvoie:
Le résultat de l'addition
Quaternion Castor::operator+ ( Quaternion const &  p_qA,
Quaternion const &  p_qB 
)

Opérateur d'addition.

Paramètres:
[in] p_qA Le premier objet Quaternion à ajouter
[in] p_qB Le second objet Quaternion à ajouter
Renvoie:
Le résultat de l'addtion
template<typename T , std::size_t Rows, std::size_t Columns, typename U >
Matrix<T, Rows, Columns> Castor::operator+ ( T const &  p_tValue,
Matrix< U, Rows, Columns > const &  p_matrix 
)

Opérateur de addition.

Paramètres:
[in] p_matrix La matrice
[in] p_tValue La valeur à additionner
Renvoie:
Le résultat de l'addition
template<class T , class U >
BinaryOp< T, U, eOPERATOR_ADD > Castor::operator+ ( T const &  t,
U const &  u 
)
Quaternion Castor::operator- ( Quaternion const &  p_quat  ) 

Opérateur de négation.

Paramètres:
[in] p_quat L'objet Quaternion à négativer
Renvoie:
Le résultat de la négation
template<typename T , std::size_t Rows, std::size_t Columns>
Matrix<T, Rows, Columns> Castor::operator- ( Matrix< T, Rows, Columns > const &  p_matrix  ) 
template<typename T , typename U >
DynPoint<T> Castor::operator- ( DynPoint< T > const &  p_pt,
U const *  p_coords 
)

Opérateur de soustraction.

Paramètres:
[in] p_pt Le point
[in] p_coords Les valeurs à soustraire
Renvoie:
Le résultat de la soustraction
template<typename T , std::size_t Count, typename U >
Point<T, Count> Castor::operator- ( Point< T, Count > const &  p_pt,
U const *  p_coords 
)

Opérateur de soustraction.

Paramètres:
[in] p_pt Le point
[in] p_coords Les valeurs à soustraire
Renvoie:
Le résultat de la soustraction
template<class T , class U >
BinaryOp< T, U, eOPERATOR_DIV > Castor::operator- ( T const &  t,
U const &  u 
)
Angle Castor::operator- ( Angle const &  p_angleA,
Angle const &  p_angleB 
)

Opérateur de soustraction.

Paramètres:
[in] p_angleA Premier opérande
[in] p_angleB Second opérande
Renvoie:
Le résultat de la soustraction
template<typename T , std::size_t Rows, typename U >
SquareMatrix<T, Rows> Castor::operator- ( SquareMatrix< T, Rows > const &  p_mtxA,
U const *  p_mtxB 
)

Opérateur de soustraction.

Paramètres:
[in] p_mtxA,p_mtxB Les matrices à soustraire
Renvoie:
Le résultat de la soustraction
template<typename T , std::size_t Rows, std::size_t Columns, typename U >
Matrix<T, Rows, Columns> Castor::operator- ( Matrix< T, Rows, Columns > const &  p_mtxA,
Matrix< U, Rows, Columns > const &  p_mtxB 
)

Opérateur de soustraction.

Paramètres:
[in] p_mtxA,p_mtxB Les matrices à soustraire
Renvoie:
Le résultat de la soustraction
Quaternion Castor::operator- ( Quaternion const &  p_qA,
Quaternion const &  p_qB 
)

Opérateur de soustraction.

Paramètres:
[in] p_qA Le premier objet Quaternion à soustraire
[in] p_qB Le second objet Quaternion à soustraire
Renvoie:
Le résultat de la soustraction
template<class T >
UnaryOp< T, eOPERATOR_MINUS > Castor::operator- ( T const &  t  ) 
template<typename T , typename U >
DynPoint<T> Castor::operator- ( DynPoint< T > const &  p_ptA,
DynPoint< U > const &  p_ptB 
)

Opérateur de soustraction.

Paramètres:
[in] p_ptA,p_ptB Les points à soustraire
Renvoie:
Le résultat de la soustraction
template<typename T , std::size_t Rows, typename U >
SquareMatrix<T, Rows> Castor::operator- ( SquareMatrix< T, Rows > const &  p_mtxA,
T const &  p_tValue 
)

Opérateur de soustraction.

Paramètres:
[in] p_mtxA La matrice
[in] p_tValue La valeur à soustraire
Renvoie:
Le résultat de la soustraction
template<typename T , std::size_t Rows>
SquareMatrix<T, Rows> Castor::operator- ( T const &  p_tValue,
SquareMatrix< T, Rows > const &  p_matrix 
)

Opérateur de soustraction.

Paramètres:
[in] p_matrix La matrice
[in] p_tValue La valeur à soustraire
Renvoie:
Le résultat de la soustraction
template<typename T , std::size_t Rows>
SquareMatrix<T, Rows> Castor::operator- ( SquareMatrix< T, Rows > const &  p_matrix  ) 

Opérateur de négation.

Paramètres:
[in] p_matrix La matrice
Renvoie:
Le résultat de la négation
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.

Paramètres:
[in] p_pxA,p_pxB Les pixels à soustraire
Renvoie:
Le résultat de la soustraction
template<ePIXEL_FORMAT FT, typename U >
Pixel<FT> Castor::operator- ( Pixel< FT > const &  p_pxA,
U const &  p_tVal 
)

Opérateur de soustraction.

Paramètres:
[in] p_pxA Le pixel
[in] p_tVal La valeur à soustraire
Renvoie:
Le résultat de la soustraction
template<typename T , std::size_t Rows, std::size_t Columns, typename U >
Matrix<T, Rows, Columns> Castor::operator- ( Matrix< T, Rows, Columns > const &  p_mtxA,
U const *  p_mtxB 
)

Opérateur de soustraction.

Paramètres:
[in] p_mtxA,p_mtxB Les matrices à soustraire
Renvoie:
Le résultat de la soustraction
template<typename T , std::size_t Rows, typename U >
SquareMatrix<T, Rows> Castor::operator- ( SquareMatrix< T, Rows > const &  p_mtxA,
SquareMatrix< U, Rows > const &  p_mtxB 
)

Opérateur de soustraction.

Paramètres:
[in] p_mtxA,p_mtxB Les matrices à soustraire
Renvoie:
Le résultat de la soustraction
Colour Castor::operator- ( Colour const &  p_clrA,
Colour const &  p_clrB 
)

Opérateur d'affectation par soustraction.

Paramètres:
[in] p_clrA,p_clrB Les couleurs à soustraire
Renvoie:
Resultat de p_clrA - p_clrB
Colour Castor::operator- ( Colour const &  p_clrA,
float  p_fScalar 
)

Opérateur d'affectation par soustraction.

Paramètres:
[in] p_fScalar La valeur à soustraire
Renvoie:
Resultat de p_clrA - p_fScalar
template<typename T , std::size_t Rows, std::size_t Columns, typename U >
Matrix<T, Rows, Columns> Castor::operator- ( Matrix< T, Rows, Columns > const &  p_mtxA,
T const &  p_tValue 
)

Opérateur de soustraction.

Paramètres:
[in] p_mtxA La matrice
[in] p_tValue La valeur à soustraire
Renvoie:
Le résultat de la soustraction
template<typename T , std::size_t Count, typename U , std::size_t _Count>
Point<T, Count> Castor::operator- ( Point< T, Count > const &  p_ptA,
Point< U, _Count > const &  p_ptB 
)

Opérateur de soustraction.

Paramètres:
[in] p_ptA,p_ptB Les points à soustraire
Renvoie:
Le résultat de la soustraction
template<typename T , std::size_t Rows, std::size_t Columns, typename U >
Matrix<T, Rows, Columns> Castor::operator- ( T const &  p_tValue,
Matrix< U, Rows, Columns > const &  p_matrix 
)

Opérateur de soustraction.

Paramètres:
[in] p_matrix La matrice
[in] p_tValue La valeur à soustraire
Renvoie:
Le résultat de la soustraction
template<typename T , std::size_t Count>
Point<T, Count> Castor::operator/ ( Point< T, Count > const &  p_pt,
T const &  p_coord 
)

Opérateur de division.

Paramètres:
[in] p_pt Le point à diviser
[in] p_coord La valeur
Renvoie:
Le résultat de la division
Path Castor::operator/ ( Path const &  p_path,
String const &  p_string 
)

Concatène une chaîne de caractères à un chemin. Ajoute le séparateur si besoin est.

Paramètres:
[in] p_path The first path to add
[in] p_string La chaîne de caractères à concaténer
template<typename T , std::size_t Count, typename U , std::size_t _Count>
Point<T, Count> Castor::operator/ ( Point< T, Count > const &  p_ptA,
Point< U, _Count > const &  p_ptB 
)

Opérateur de division.

Paramètres:
[in] p_ptA,p_ptB Les points à diviser
Renvoie:
Le résultat de la division
template<typename T , typename U >
DynPoint<T> Castor::operator/ ( DynPoint< T > const &  p_pt,
U const *  p_coords 
)

Opérateur de division.

Paramètres:
[in] p_pt Le point à diviser
[in] p_coords Les valeurs
Renvoie:
Le résultat de la division
Path Castor::operator/ ( wchar_t const *  p_pBuffer,
Path const &  p_path 
)

Concatène une chaîne de caractères à un chemin. Ajoute le séparateur si besoin est.

Paramètres:
[in] p_pBuffer La chaîne de caractères à concaténer
[in] p_path The first path to add
Path Castor::operator/ ( Path const &  p_path,
wchar_t const *  p_pBuffer 
)

Concatène une chaîne de caractères à un chemin. Ajoute le séparateur si besoin est.

Paramètres:
[in] p_path The first path to add
[in] p_pBuffer La chaîne de caractères à concaténer
Path Castor::operator/ ( Path const &  p_path,
char const *  p_pBuffer 
)

Concatène une chaîne de caractères à un chemin. Ajoute le séparateur si besoin est.

Paramètres:
[in] p_path The first path to add
[in] p_pBuffer La chaîne de caractères à concaténer
Path Castor::operator/ ( Path const &  p_pathA,
Path const &  p_pathB 
)

Concatène 2 chemins. Ajoute le séparateur si besoin est.

Paramètres:
[in] p_pathA Le premier chemin à concaténer
[in] p_pathB Le second chemin à concaténer
template<ePIXEL_FORMAT FT, typename U >
Pixel<FT> Castor::operator/ ( Pixel< FT > const &  p_pxA,
U const &  p_tVal 
)

Opérateur de division.

Paramètres:
[in] p_pxA Le pixel à diviser
[in] p_tVal La valeur
Renvoie:
Le résultat de la division
template<typename T , std::size_t Count, typename U >
Point<T, Count> Castor::operator/ ( Point< T, Count > const &  p_pt,
U const *  p_coords 
)

Opérateur de division.

Paramètres:
[in] p_pt Le point à diviser
[in] p_coords Les valeurs
Renvoie:
Le résultat de la division
Angle Castor::operator/ ( Angle const &  p_angleA,
Angle const &  p_angleB 
)

Opérateur de division.

Paramètres:
[in] p_angleA Premier opérande
[in] p_angleB Second opérande
Renvoie:
Le résultat de la division
template<typename T , std::size_t Rows, typename U >
SquareMatrix<T, Rows> Castor::operator/ ( SquareMatrix< T, Rows > const &  p_mtxA,
T const &  p_tValue 
)

Opérateur de division.

Paramètres:
[in] p_mtxA La matrice à diviser
[in] p_tValue La valeur
Renvoie:
Le résultat de la division
template<typename T , typename U >
DynPoint<T> Castor::operator/ ( DynPoint< T > const &  p_ptA,
DynPoint< U > const &  p_ptB 
)

Opérateur de division.

Paramètres:
[in] p_ptA,p_ptB Les points à diviser
Renvoie:
Le résultat de la division
template<typename T , typename U >
DynPoint<T> Castor::operator/ ( DynPoint< T > const &  p_pt,
U const &  p_coord 
)

Opérateur de division.

Paramètres:
[in] p_pt Le point à diviser
[in] p_coord La valeur
Renvoie:
Le résultat de la division
template<typename T , std::size_t Rows, std::size_t Columns, typename U >
Matrix<T, Rows, Columns> Castor::operator/ ( Matrix< T, Rows, Columns > const &  p_mtxA,
T const &  p_tValue 
)

Opérateur de division.

Paramètres:
[in] p_mtxA La matrice à diviser
[in] p_tValue La valeur
Renvoie:
Le résultat de la division
Path Castor::operator/ ( char const *  p_pBuffer,
Path const &  p_path 
)

Concatène une chaîne de caractères à un chemin. Ajoute le séparateur si besoin est.

Paramètres:
[in] p_pBuffer La chaîne de caractères à concaténer
[in] p_path The first path to add
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.

Paramètres:
[in] p_pxA,p_pxB Les pixels à diviser
Renvoie:
Le résultat de la division
Colour Castor::operator/ ( Colour const &  p_clrA,
float  p_fScalar 
)

Opérateur d'affectation par division.

Paramètres:
[in] p_fScalar La valeur à diviser
Renvoie:
Resultat de p_clrA / p_fScalar
Path Castor::operator/ ( String const &  p_string,
Path const &  p_path 
)

Concatène une chaîne de caractères à un chemin. Ajoute le séparateur si besoin est.

Paramètres:
[in] p_string La chaîne de caractères à concaténer
[in] p_path The first path to add
template<typename T , std::size_t Rows>
bool Castor::operator== ( SquareMatrix< T, Rows > const &  p_mtxA,
SquareMatrix< T, Rows > const &  p_mtxB 
)

Opérateur d'égalité.

Paramètres:
[in] p_mtxA,p_mtxB Les matrices à comparer
Renvoie:
true si les matrices ont les mêmes dimensions et les mêmes valeurs
template<typename T , typename U >
bool Castor::operator== ( DynPoint< T > const &  p_ptA,
DynPoint< U > const &  p_ptB 
)

Opérateur d'égalité.

Paramètres:
[in] p_ptA,p_ptB Les points à comparer
Renvoie:
true si les points ont les mêmes dimensions et les mêmes valeurs
template<typename T , std::size_t Count, typename U , std::size_t _Count>
bool Castor::operator== ( Point< T, Count > const &  p_ptA,
Point< U, _Count > const &  p_ptB 
)

Opérateur d'égalité.

Paramètres:
[in] p_ptA,p_ptB Les points à comparer
Renvoie:
true si les points ont les mêmes dimensions et les mêmes valeurs
template<typename T , std::size_t Rows, std::size_t Columns>
bool Castor::operator== ( Matrix< T, Rows, Columns > const &  p_mtxA,
Matrix< T, Rows, Columns > const &  p_mtxB 
)

Opérateur d'égalité.

Paramètres:
[in] p_mtxA,p_mtxB Les matrices à comparer
Renvoie:
true si les matrices ont les mêmes dimensions et les mêmes valeurs
template<ePIXEL_FORMAT FT, ePIXEL_FORMAT FU>
bool Castor::operator== ( Pixel< FT > const &  p_pxA,
Pixel< FU > const &  p_pxB 
)

Opérateur d'égalité.

Paramètres:
[in] p_pxA,p_pxB Les pixels à comparer
Renvoie:
true si les points ont les mêmes dimensions et les mêmes valeurs
template<typename T , typename U >
DynPoint<T> Castor::operator^ ( DynPoint< T > const &  p_ptA,
DynPoint< U > const &  p_ptB 
)

Opérateur de produit vectoriel.

Paramètres:
[in] p_ptA,p_ptB Les points à multiplier
Renvoie:
Le résultat du produit vectoriel
template<typename T , typename U >
Point<T, 3> Castor::operator^ ( Point< T, 3 > const &  p_ptA,
Point< U, 3 > const &  p_ptB 
)

Opérateur de produit vectoriel.

Paramètres:
[in] p_ptA,p_ptB Les points à multiplier
Renvoie:
Le résultat du produit vectoriel
template<class T >
void Castor::SwitchEndianness ( T &  p_tValue  )  [inline]

Change le boutisme du paramètre.

Paramètres:
[in,out] p_tValue La valeur dont on veut changer le boutisme.

Documentation des variables

const String Castor::cuEmptyString [static]

Une chaîne vide.

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