FaceGen 3 SDKs Reference
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Public Attributes | List of all members
Fg::FimRgbaT< T > Struct Template Reference

#include <fimRgba.hpp>

Public Types

typedef T pixel_index_type
 

Public Member Functions

 FimRgbaT (T v)
 
 FimRgbaT (T red, T green, T blue, T alpha)
 
 FimRgbaT (const FimRgbaT &rhs)=default
 
FimRgbaToperator= (FimRgbaT const &)=default
 
template<class U >
 FimRgbaT (const FimRgbaT< U > &v)
 
const FimRgbaT operator+ (const FimRgbaT &v) const
 
void operator+= (const FimRgbaT &v)
 
const FimRgbaT operator* (T v) const
 
FimRgbaT operator/ (T v) const
 
void operator*= (T v)
 

Public Attributes

c [FIMRGBA_SIZE]
 

Detailed Description

template<class T>
struct Fg::FimRgbaT< T >

RGBA pixel class. Type T is the type that should be used to store each channel's values.

Definition at line 34 of file fimRgba.hpp.

Member Typedef Documentation

◆ pixel_index_type

template<class T >
typedef T Fg::FimRgbaT< T >::pixel_index_type

Definition at line 40 of file fimRgba.hpp.

Constructor & Destructor Documentation

◆ FimRgbaT() [1/4]

template<class T >
Fg::FimRgbaT< T >::FimRgbaT ( )
inline

Definition at line 42 of file fimRgba.hpp.

◆ FimRgbaT() [2/4]

template<class T >
Fg::FimRgbaT< T >::FimRgbaT ( v)
inlineexplicit

Definition at line 43 of file fimRgba.hpp.

◆ FimRgbaT() [3/4]

template<class T >
Fg::FimRgbaT< T >::FimRgbaT ( red,
green,
blue,
alpha 
)
inline

Definition at line 44 of file fimRgba.hpp.

◆ FimRgbaT() [4/4]

template<class T >
template<class U >
Fg::FimRgbaT< T >::FimRgbaT ( const FimRgbaT< U > &  v)
inlineexplicit

Definition at line 57 of file fimRgba.hpp.

Member Function Documentation

◆ operator*()

template<class T >
const FimRgbaT Fg::FimRgbaT< T >::operator* ( v) const
inline

Definition at line 66 of file fimRgba.hpp.

◆ operator*=()

template<class T >
void Fg::FimRgbaT< T >::operator*= ( v)
inline

Definition at line 72 of file fimRgba.hpp.

◆ operator+()

template<class T >
const FimRgbaT Fg::FimRgbaT< T >::operator+ ( const FimRgbaT< T > &  v) const
inline

Definition at line 60 of file fimRgba.hpp.

◆ operator+=()

template<class T >
void Fg::FimRgbaT< T >::operator+= ( const FimRgbaT< T > &  v)
inline

Definition at line 63 of file fimRgba.hpp.

◆ operator/()

template<class T >
FimRgbaT Fg::FimRgbaT< T >::operator/ ( v) const
inline

Definition at line 69 of file fimRgba.hpp.

Member Data Documentation

◆ c

template<class T >
T Fg::FimRgbaT< T >::c[FIMRGBA_SIZE]

The array of RGBA values. Use FimRgbaE members to index into the array.

See also
FimRgbaE

Definition at line 38 of file fimRgba.hpp.


The documentation for this struct was generated from the following file: