template<class TDataType, unsigned int tuColorCnt, unsigned int tuAlphaCnt, int tiR, int tiG, int tiB, int tiA, int tiPT, int tiDT>
struct Rx::TPixel< TDataType, tuColorCnt, tuAlphaCnt, tiR, tiG, tiB, tiA, tiPT, tiDT >
General pixel template structure.
This structure allows the definition of all possible pixel types in such a way, that template functions working on different image types can be written.
|
RX_CUDA_EXP | TPixel () |
| Default constructor. More...
|
|
RX_CUDA_EXP TDataType & | a () |
|
RX_CUDA_EXP const TDataType & | a () const |
|
RX_CUDA_EXP TDataType & | b () |
|
RX_CUDA_EXP const TDataType & | b () const |
|
RX_CUDA_EXP void | Clear () |
| Clears this object to its blank/initial state. More...
|
|
RX_CUDA_EXP TDataType & | g () |
|
RX_CUDA_EXP const TDataType & | g () const |
|
RX_CUDA_EXP TPixel< TDataType, tuColorCnt, tuAlphaCnt, tiR, tiG, tiB, tiA, tiPT, tiDT > & | operator= (const TPixel< TDataType, tuColorCnt, tuAlphaCnt, tiR, tiG, tiB, tiA, tiPT, tiDT > &rPix) |
| Assignment operator. More...
|
|
RX_CUDA_EXP TDataType & | r () |
|
RX_CUDA_EXP const TDataType & | r () const |
|
template<class TDataType , unsigned int tuColorCnt, unsigned int tuAlphaCnt, int tiR, int tiG, int tiB, int tiA, int tiPT, int tiDT>
RX_CUDA_EXP Rx::TPixel< TDataType, tuColorCnt, tuAlphaCnt, tiR, tiG, tiB, tiA, tiPT, tiDT >::TPixel |
( |
| ) |
|
|
inline |
template<class TDataType , unsigned int tuColorCnt, unsigned int tuAlphaCnt, int tiR, int tiG, int tiB, int tiA, int tiPT, int tiDT>
RX_CUDA_EXP TDataType& Rx::TPixel< TDataType, tuColorCnt, tuAlphaCnt, tiR, tiG, tiB, tiA, tiPT, tiDT >::a |
( |
| ) |
|
|
inline |
template<class TDataType , unsigned int tuColorCnt, unsigned int tuAlphaCnt, int tiR, int tiG, int tiB, int tiA, int tiPT, int tiDT>
RX_CUDA_EXP const TDataType& Rx::TPixel< TDataType, tuColorCnt, tuAlphaCnt, tiR, tiG, tiB, tiA, tiPT, tiDT >::a |
( |
| ) |
const |
|
inline |
template<class TDataType , unsigned int tuColorCnt, unsigned int tuAlphaCnt, int tiR, int tiG, int tiB, int tiA, int tiPT, int tiDT>
RX_CUDA_EXP TDataType& Rx::TPixel< TDataType, tuColorCnt, tuAlphaCnt, tiR, tiG, tiB, tiA, tiPT, tiDT >::b |
( |
| ) |
|
|
inline |
template<class TDataType , unsigned int tuColorCnt, unsigned int tuAlphaCnt, int tiR, int tiG, int tiB, int tiA, int tiPT, int tiDT>
RX_CUDA_EXP const TDataType& Rx::TPixel< TDataType, tuColorCnt, tuAlphaCnt, tiR, tiG, tiB, tiA, tiPT, tiDT >::b |
( |
| ) |
const |
|
inline |
template<class TDataType , unsigned int tuColorCnt, unsigned int tuAlphaCnt, int tiR, int tiG, int tiB, int tiA, int tiPT, int tiDT>
RX_CUDA_EXP void Rx::TPixel< TDataType, tuColorCnt, tuAlphaCnt, tiR, tiG, tiB, tiA, tiPT, tiDT >::Clear |
( |
| ) |
|
|
inline |
Clears this object to its blank/initial state.
template<class TDataType , unsigned int tuColorCnt, unsigned int tuAlphaCnt, int tiR, int tiG, int tiB, int tiA, int tiPT, int tiDT>
RX_CUDA_EXP TDataType& Rx::TPixel< TDataType, tuColorCnt, tuAlphaCnt, tiR, tiG, tiB, tiA, tiPT, tiDT >::g |
( |
| ) |
|
|
inline |
template<class TDataType , unsigned int tuColorCnt, unsigned int tuAlphaCnt, int tiR, int tiG, int tiB, int tiA, int tiPT, int tiDT>
RX_CUDA_EXP const TDataType& Rx::TPixel< TDataType, tuColorCnt, tuAlphaCnt, tiR, tiG, tiB, tiA, tiPT, tiDT >::g |
( |
| ) |
const |
|
inline |
template<class TDataType , unsigned int tuColorCnt, unsigned int tuAlphaCnt, int tiR, int tiG, int tiB, int tiA, int tiPT, int tiDT>
static RX_CUDA_EXP bool Rx::TPixel< TDataType, tuColorCnt, tuAlphaCnt, tiR, tiG, tiB, tiA, tiPT, tiDT >::IsOfType |
( |
int |
_iPixelType, |
|
|
int |
_iDataType |
|
) |
| |
|
inlinestatic |
template<class TDataType , unsigned int tuColorCnt, unsigned int tuAlphaCnt, int tiR, int tiG, int tiB, int tiA, int tiPT, int tiDT>
RX_CUDA_EXP TPixel<TDataType, tuColorCnt, tuAlphaCnt, tiR, tiG, tiB, tiA, tiPT, tiDT>& Rx::TPixel< TDataType, tuColorCnt, tuAlphaCnt, tiR, tiG, tiB, tiA, tiPT, tiDT >::operator= |
( |
const TPixel< TDataType, tuColorCnt, tuAlphaCnt, tiR, tiG, tiB, tiA, tiPT, tiDT > & |
rPix | ) |
|
|
inline |
Assignment operator.
- Parameters
-
- Returns
- A shallow copy of this object.
template<class TDataType , unsigned int tuColorCnt, unsigned int tuAlphaCnt, int tiR, int tiG, int tiB, int tiA, int tiPT, int tiDT>
RX_CUDA_EXP TDataType& Rx::TPixel< TDataType, tuColorCnt, tuAlphaCnt, tiR, tiG, tiB, tiA, tiPT, tiDT >::r |
( |
| ) |
|
|
inline |
template<class TDataType , unsigned int tuColorCnt, unsigned int tuAlphaCnt, int tiR, int tiG, int tiB, int tiA, int tiPT, int tiDT>
RX_CUDA_EXP const TDataType& Rx::TPixel< TDataType, tuColorCnt, tuAlphaCnt, tiR, tiG, tiB, tiA, tiPT, tiDT >::r |
( |
| ) |
const |
|
inline |
template<class TDataType , unsigned int tuColorCnt, unsigned int tuAlphaCnt, int tiR, int tiG, int tiB, int tiA, int tiPT, int tiDT>
const int Rx::TPixel< TDataType, tuColorCnt, tuAlphaCnt, tiR, tiG, tiB, tiA, tiPT, tiDT >::iAlphaIdx |
|
static |
template<class TDataType , unsigned int tuColorCnt, unsigned int tuAlphaCnt, int tiR, int tiG, int tiB, int tiA, int tiPT, int tiDT>
const int Rx::TPixel< TDataType, tuColorCnt, tuAlphaCnt, tiR, tiG, tiB, tiA, tiPT, tiDT >::iBlueIdx |
|
static |
template<class TDataType , unsigned int tuColorCnt, unsigned int tuAlphaCnt, int tiR, int tiG, int tiB, int tiA, int tiPT, int tiDT>
const int Rx::TPixel< TDataType, tuColorCnt, tuAlphaCnt, tiR, tiG, tiB, tiA, tiPT, tiDT >::iDataType |
|
static |
template<class TDataType , unsigned int tuColorCnt, unsigned int tuAlphaCnt, int tiR, int tiG, int tiB, int tiA, int tiPT, int tiDT>
const int Rx::TPixel< TDataType, tuColorCnt, tuAlphaCnt, tiR, tiG, tiB, tiA, tiPT, tiDT >::iGreenIdx |
|
static |
template<class TDataType , unsigned int tuColorCnt, unsigned int tuAlphaCnt, int tiR, int tiG, int tiB, int tiA, int tiPT, int tiDT>
const int Rx::TPixel< TDataType, tuColorCnt, tuAlphaCnt, tiR, tiG, tiB, tiA, tiPT, tiDT >::iPixelType |
|
static |
template<class TDataType , unsigned int tuColorCnt, unsigned int tuAlphaCnt, int tiR, int tiG, int tiB, int tiA, int tiPT, int tiDT>
const int Rx::TPixel< TDataType, tuColorCnt, tuAlphaCnt, tiR, tiG, tiB, tiA, tiPT, tiDT >::iRedIdx |
|
static |
template<class TDataType , unsigned int tuColorCnt, unsigned int tuAlphaCnt, int tiR, int tiG, int tiB, int tiA, int tiPT, int tiDT>
const unsigned Rx::TPixel< TDataType, tuColorCnt, tuAlphaCnt, tiR, tiG, tiB, tiA, tiPT, tiDT >::uAlphaCnt |
|
static |
template<class TDataType , unsigned int tuColorCnt, unsigned int tuAlphaCnt, int tiR, int tiG, int tiB, int tiA, int tiPT, int tiDT>
const unsigned Rx::TPixel< TDataType, tuColorCnt, tuAlphaCnt, tiR, tiG, tiB, tiA, tiPT, tiDT >::uAlphaSize |
|
static |
template<class TDataType , unsigned int tuColorCnt, unsigned int tuAlphaCnt, int tiR, int tiG, int tiB, int tiA, int tiPT, int tiDT>
const unsigned Rx::TPixel< TDataType, tuColorCnt, tuAlphaCnt, tiR, tiG, tiB, tiA, tiPT, tiDT >::uColorCnt |
|
static |
template<class TDataType , unsigned int tuColorCnt, unsigned int tuAlphaCnt, int tiR, int tiG, int tiB, int tiA, int tiPT, int tiDT>
const unsigned Rx::TPixel< TDataType, tuColorCnt, tuAlphaCnt, tiR, tiG, tiB, tiA, tiPT, tiDT >::uColorSize |
|
static |
template<class TDataType , unsigned int tuColorCnt, unsigned int tuAlphaCnt, int tiR, int tiG, int tiB, int tiA, int tiPT, int tiDT>
const unsigned Rx::TPixel< TDataType, tuColorCnt, tuAlphaCnt, tiR, tiG, tiB, tiA, tiPT, tiDT >::uCompoCnt |
|
static |
template<class TDataType , unsigned int tuColorCnt, unsigned int tuAlphaCnt, int tiR, int tiG, int tiB, int tiA, int tiPT, int tiDT>
const unsigned Rx::TPixel< TDataType, tuColorCnt, tuAlphaCnt, tiR, tiG, tiB, tiA, tiPT, tiDT >::uSize |
|
static |