Raytrix Light Field SDK  v3.0
Logo
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Properties Events Groups Pages
Rx Namespace Reference

Namespaces

 ApiLF
 
 Camera
 
 Codec
 
 Dongle
 
 EGlDrawMode
 
 FFMpeg
 
 FileIO
 
 Interop
 
 InteropNet
 
 Net
 
 NUMBER_PRESENTAION
 
 Projection
 

Classes

class  CRxArray2DBase
 Basic double matrix. More...
 
class  CRxArray2DDouble
 Basic double matrix. More...
 
class  CRxArray2DInt
 Basic double matrix. More...
 
class  CRxArrayBase
 Basic array operations. More...
 
class  CRxArrayDouble
 Basic unsigned int array operations. More...
 
class  CRxArrayInt
 Basic unsigned int array operations. More...
 
class  CRxArrayString
 Basic unsigned int array operations. More...
 
class  CRxArrayUChar
 Basic unsigned int array operations. More...
 
class  CRxArrayUInt
 Basic unsigned int array operations. More...
 
class  CRxArrayUShort
 Basic unsigned short array operations. More...
 
class  CRxCalibMetaData
 Raytrix Calibration Data description class. More...
 
class  CRxErrnoException
 CRxErrNoException {2EB75515-D753-4C4E-B8F1-8442A2638600}. More...
 
class  CRxException
 Raytrix exception base class. All exceptions are based on this class {491260D2-0D75-4CCD-A2C5-46428B450B66}. More...
 
class  CRxFileNotFoundException
 FileNotFoundException {1FCBE5BD-F44B-4A40-97AF-13A7AC0EE6B5}. More...
 
class  CRxImage
 Image class. Implements the interface Interop::Runtime28::IImage. More...
 
class  CRxImageFormat
 Image format descriptor. More...
 
class  CRxImageMoniker
 Image moniker class. Implements the interface Rx::Interop::Runtime28::IImage but does not allocate memory. More...
 
class  CRxMainLens
 Raytrix Main Lens description class. More...
 
class  CRxMetaData
 Handles a collection of meta data of different types. More...
 
class  CRxMetricCalibAddImageResult
 Raytrix Main Lens description class. More...
 
class  CRxMetricCalibResult
 Raytrix Main Lens description class. More...
 
class  CRxOperatingSystemException
 CRxOperatingSystemException {75E1B479-D654-4295-9632-9AF2B8227646}. More...
 
class  CRxOutOfMemoryException
 OutOfMemoryException {5ED51757-2D30-4B8D-BE92-731EC81023EE}. More...
 
class  CRxString
 Basic character string operations. More...
 
class  CRxStringFormatPrecision
 Raytrix string format precision. More...
 
struct  SStdVbo
 
struct  SStdVertex
 
struct  TPixel
 General pixel template structure. More...
 

Typedefs

typedef TPixel< char,
1, 0, 0, 0, 0, 0, RX_IMG_BAYER_BG,
RX_IMG_BYTE
TPixel_Bay_BG_c
 
typedef TPixel< double,
1, 0, 0, 0, 0, 0, RX_IMG_BAYER_BG,
RX_IMG_DOUBLE
TPixel_Bay_BG_d
 
typedef TPixel< float,
1, 0, 0, 0, 0, 0, RX_IMG_BAYER_BG,
RX_IMG_FLOAT
TPixel_Bay_BG_f
 
typedef TPixel< __int32,
1, 0, 0, 0, 0, 0, RX_IMG_BAYER_BG,
RX_IMG_INT
TPixel_Bay_BG_i
 
typedef TPixel< __int16,
1, 0, 0, 0, 0, 0, RX_IMG_BAYER_BG,
RX_IMG_SHORT
TPixel_Bay_BG_s
 
typedef TPixel< unsigned char,
1, 0, 0, 0, 0, 0, RX_IMG_BAYER_BG,
RX_IMG_UNSIGNED_BYTE
TPixel_Bay_BG_uc
 
typedef TPixel< unsigned
__int32,
1, 0, 0, 0, 0, 0, RX_IMG_BAYER_BG,
RX_IMG_UNSIGNED_INT
TPixel_Bay_BG_ui
 
typedef TPixel< unsigned
__int16,
1, 0, 0, 0, 0, 0, RX_IMG_BAYER_BG,
RX_IMG_UNSIGNED_SHORT
TPixel_Bay_BG_us
 
typedef TPixel< char,
1, 0, 0, 0, 0, 0, RX_IMG_BAYER_GB,
RX_IMG_BYTE
TPixel_Bay_GB_c
 
typedef TPixel< double,
1, 0, 0, 0, 0, 0, RX_IMG_BAYER_GB,
RX_IMG_DOUBLE
TPixel_Bay_GB_d
 
typedef TPixel< float,
1, 0, 0, 0, 0, 0, RX_IMG_BAYER_GB,
RX_IMG_FLOAT
TPixel_Bay_GB_f
 
typedef TPixel< __int32,
1, 0, 0, 0, 0, 0, RX_IMG_BAYER_GB,
RX_IMG_INT
TPixel_Bay_GB_i
 
typedef TPixel< __int16,
1, 0, 0, 0, 0, 0, RX_IMG_BAYER_GB,
RX_IMG_SHORT
TPixel_Bay_GB_s
 
typedef TPixel< unsigned char,
1, 0, 0, 0, 0, 0, RX_IMG_BAYER_GB,
RX_IMG_UNSIGNED_BYTE
TPixel_Bay_GB_uc
 
typedef TPixel< unsigned
__int32,
1, 0, 0, 0, 0, 0, RX_IMG_BAYER_GB,
RX_IMG_UNSIGNED_INT
TPixel_Bay_GB_ui
 
typedef TPixel< unsigned
__int16,
1, 0, 0, 0, 0, 0, RX_IMG_BAYER_GB,
RX_IMG_UNSIGNED_SHORT
TPixel_Bay_GB_us
 
typedef TPixel< char,
1, 0, 0, 0, 0, 0, RX_IMG_BAYER_GR,
RX_IMG_BYTE
TPixel_Bay_GR_c
 
typedef TPixel< double,
1, 0, 0, 0, 0, 0, RX_IMG_BAYER_GR,
RX_IMG_DOUBLE
TPixel_Bay_GR_d
 
typedef TPixel< float,
1, 0, 0, 0, 0, 0, RX_IMG_BAYER_GR,
RX_IMG_FLOAT
TPixel_Bay_GR_f
 
typedef TPixel< __int32,
1, 0, 0, 0, 0, 0, RX_IMG_BAYER_GR,
RX_IMG_INT
TPixel_Bay_GR_i
 
typedef TPixel< __int16,
1, 0, 0, 0, 0, 0, RX_IMG_BAYER_GR,
RX_IMG_SHORT
TPixel_Bay_GR_s
 
typedef TPixel< unsigned char,
1, 0, 0, 0, 0, 0, RX_IMG_BAYER_GR,
RX_IMG_UNSIGNED_BYTE
TPixel_Bay_GR_uc
 
typedef TPixel< unsigned
__int32,
1, 0, 0, 0, 0, 0, RX_IMG_BAYER_GR,
RX_IMG_UNSIGNED_INT
TPixel_Bay_GR_ui
 
typedef TPixel< unsigned
__int16,
1, 0, 0, 0, 0, 0, RX_IMG_BAYER_GR,
RX_IMG_UNSIGNED_SHORT
TPixel_Bay_GR_us
 
typedef TPixel< char,
1, 0, 0, 0, 0, 0, RX_IMG_BAYER_RG,
RX_IMG_BYTE
TPixel_Bay_RG_c
 
typedef TPixel< double,
1, 0, 0, 0, 0, 0, RX_IMG_BAYER_RG,
RX_IMG_DOUBLE
TPixel_Bay_RG_d
 
typedef TPixel< float,
1, 0, 0, 0, 0, 0, RX_IMG_BAYER_RG,
RX_IMG_FLOAT
TPixel_Bay_RG_f
 
typedef TPixel< __int32,
1, 0, 0, 0, 0, 0, RX_IMG_BAYER_RG,
RX_IMG_INT
TPixel_Bay_RG_i
 
typedef TPixel< __int16,
1, 0, 0, 0, 0, 0, RX_IMG_BAYER_RG,
RX_IMG_SHORT
TPixel_Bay_RG_s
 
typedef TPixel< unsigned char,
1, 0, 0, 0, 0, 0, RX_IMG_BAYER_RG,
RX_IMG_UNSIGNED_BYTE
TPixel_Bay_RG_uc
 
typedef TPixel< unsigned
__int32,
1, 0, 0, 0, 0, 0, RX_IMG_BAYER_RG,
RX_IMG_UNSIGNED_INT
TPixel_Bay_RG_ui
 
typedef TPixel< unsigned
__int16,
1, 0, 0, 0, 0, 0, RX_IMG_BAYER_RG,
RX_IMG_UNSIGNED_SHORT
TPixel_Bay_RG_us
 
typedef TPixel< char,
3, 0, 2, 1, 0, 0, RX_IMG_BGR,
RX_IMG_BYTE
TPixel_BGR_c
 
typedef TPixel< double,
3, 0, 2, 1, 0, 0, RX_IMG_BGR,
RX_IMG_DOUBLE
TPixel_BGR_d
 
typedef TPixel< float,
3, 0, 2, 1, 0, 0, RX_IMG_BGR,
RX_IMG_FLOAT
TPixel_BGR_f
 
typedef TPixel< __int32,
3, 0, 2, 1, 0, 0, RX_IMG_BGR,
RX_IMG_INT
TPixel_BGR_i
 
typedef TPixel< __int16,
3, 0, 2, 1, 0, 0, RX_IMG_BGR,
RX_IMG_SHORT
TPixel_BGR_s
 
typedef TPixel< unsigned char,
3, 0, 2, 1, 0, 0, RX_IMG_BGR,
RX_IMG_UNSIGNED_BYTE
TPixel_BGR_uc
 
typedef TPixel< unsigned
__int32,
3, 0, 2, 1, 0, 0, RX_IMG_BGR,
RX_IMG_UNSIGNED_INT
TPixel_BGR_ui
 
typedef TPixel< unsigned
__int16,
3, 0, 2, 1, 0, 0, RX_IMG_BGR,
RX_IMG_UNSIGNED_SHORT
TPixel_BGR_us
 
typedef TPixel< char,
3, 1, 2, 1, 0, 3, RX_IMG_BGRA,
RX_IMG_BYTE
TPixel_BGRA_c
 
typedef TPixel< double,
3, 1, 2, 1, 0, 3, RX_IMG_BGRA,
RX_IMG_DOUBLE
TPixel_BGRA_d
 
typedef TPixel< float,
3, 1, 2, 1, 0, 3, RX_IMG_BGRA,
RX_IMG_FLOAT
TPixel_BGRA_f
 
typedef TPixel< __int32,
3, 1, 2, 1, 0, 3, RX_IMG_BGRA,
RX_IMG_INT
TPixel_BGRA_i
 
typedef TPixel< __int16,
3, 1, 2, 1, 0, 3, RX_IMG_BGRA,
RX_IMG_SHORT
TPixel_BGRA_s
 
typedef TPixel< unsigned char,
3, 1, 2, 1, 0, 3, RX_IMG_BGRA,
RX_IMG_UNSIGNED_BYTE
TPixel_BGRA_uc
 
typedef TPixel< unsigned
__int32,
3, 1, 2, 1, 0, 3, RX_IMG_BGRA,
RX_IMG_UNSIGNED_INT
TPixel_BGRA_ui
 
typedef TPixel< unsigned
__int16,
3, 1, 2, 1, 0, 3, RX_IMG_BGRA,
RX_IMG_UNSIGNED_SHORT
TPixel_BGRA_us
 
typedef TPixel< char,
1, 0, 0, 0, 0, 0, RX_IMG_LUMINANCE,
RX_IMG_BYTE
TPixel_L_c
 
typedef TPixel< double,
1, 0, 0, 0, 0, 0, RX_IMG_LUMINANCE,
RX_IMG_DOUBLE
TPixel_L_d
 
typedef TPixel< float,
1, 0, 0, 0, 0, 0, RX_IMG_LUMINANCE,
RX_IMG_FLOAT
TPixel_L_f
 
typedef TPixel< __int32,
1, 0, 0, 0, 0, 0, RX_IMG_LUMINANCE,
RX_IMG_INT
TPixel_L_i
 
typedef TPixel< __int16,
1, 0, 0, 0, 0, 0, RX_IMG_LUMINANCE,
RX_IMG_SHORT
TPixel_L_s
 
typedef TPixel< unsigned char,
1, 0, 0, 0, 0, 0, RX_IMG_LUMINANCE,
RX_IMG_UNSIGNED_BYTE
TPixel_L_uc
 
typedef TPixel< unsigned
__int32,
1, 0, 0, 0, 0, 0, RX_IMG_LUMINANCE,
RX_IMG_UNSIGNED_INT
TPixel_L_ui
 
typedef TPixel< unsigned
__int16,
1, 0, 0, 0, 0, 0, RX_IMG_LUMINANCE,
RX_IMG_UNSIGNED_SHORT
TPixel_L_us
 
typedef TPixel< char,
1, 1, 0, 0, 0, 1, RX_IMG_LUMINANCE_ALPHA,
RX_IMG_BYTE
TPixel_LA_c
 
typedef TPixel< double,
1, 1, 0, 0, 0, 1, RX_IMG_LUMINANCE_ALPHA,
RX_IMG_DOUBLE
TPixel_LA_d
 
typedef TPixel< float,
1, 1, 0, 0, 0, 1, RX_IMG_LUMINANCE_ALPHA,
RX_IMG_FLOAT
TPixel_LA_f
 
typedef TPixel< __int32,
1, 1, 0, 0, 0, 1, RX_IMG_LUMINANCE_ALPHA,
RX_IMG_INT
TPixel_LA_i
 
typedef TPixel< __int16,
1, 1, 0, 0, 0, 1, RX_IMG_LUMINANCE_ALPHA,
RX_IMG_SHORT
TPixel_LA_s
 
typedef TPixel< unsigned char,
1, 1, 0, 0, 0, 1, RX_IMG_LUMINANCE_ALPHA,
RX_IMG_UNSIGNED_BYTE
TPixel_LA_uc
 
typedef TPixel< unsigned
__int32,
1, 1, 0, 0, 0, 1, RX_IMG_LUMINANCE_ALPHA,
RX_IMG_UNSIGNED_INT
TPixel_LA_ui
 
typedef TPixel< unsigned
__int16,
1, 1, 0, 0, 0, 1, RX_IMG_LUMINANCE_ALPHA,
RX_IMG_UNSIGNED_SHORT
TPixel_LA_us
 
typedef TPixel< char,
3, 0, 0, 1, 2, 0, RX_IMG_RGB,
RX_IMG_BYTE
TPixel_RGB_c
 
typedef TPixel< double,
3, 0, 0, 1, 2, 0, RX_IMG_RGB,
RX_IMG_DOUBLE
TPixel_RGB_d
 
typedef TPixel< float,
3, 0, 0, 1, 2, 0, RX_IMG_RGB,
RX_IMG_FLOAT
TPixel_RGB_f
 
typedef TPixel< __int32,
3, 0, 0, 1, 2, 0, RX_IMG_RGB,
RX_IMG_INT
TPixel_RGB_i
 
typedef TPixel< __int16,
3, 0, 0, 1, 2, 0, RX_IMG_RGB,
RX_IMG_SHORT
TPixel_RGB_s
 
typedef TPixel< unsigned char,
3, 0, 0, 1, 2, 0, RX_IMG_RGB,
RX_IMG_UNSIGNED_BYTE
TPixel_RGB_uc
 
typedef TPixel< unsigned
__int32,
3, 0, 0, 1, 2, 0, RX_IMG_RGB,
RX_IMG_UNSIGNED_INT
TPixel_RGB_ui
 
typedef TPixel< unsigned
__int16,
3, 0, 0, 1, 2, 0, RX_IMG_RGB,
RX_IMG_UNSIGNED_SHORT
TPixel_RGB_us
 
typedef TPixel< char,
3, 1, 0, 1, 2, 3, RX_IMG_RGBA,
RX_IMG_BYTE
TPixel_RGBA_c
 
typedef TPixel< double,
3, 1, 0, 1, 2, 3, RX_IMG_RGBA,
RX_IMG_DOUBLE
TPixel_RGBA_d
 
typedef TPixel< float,
3, 1, 0, 1, 2, 3, RX_IMG_RGBA,
RX_IMG_FLOAT
TPixel_RGBA_f
 
typedef TPixel< __int32,
3, 1, 0, 1, 2, 3, RX_IMG_RGBA,
RX_IMG_INT
TPixel_RGBA_i
 
typedef TPixel< __int16,
3, 1, 0, 1, 2, 3, RX_IMG_RGBA,
RX_IMG_SHORT
TPixel_RGBA_s
 
typedef TPixel< unsigned char,
3, 1, 0, 1, 2, 3, RX_IMG_RGBA,
RX_IMG_UNSIGNED_BYTE
TPixel_RGBA_uc
 
typedef TPixel< unsigned
__int32,
3, 1, 0, 1, 2, 3, RX_IMG_RGBA,
RX_IMG_UNSIGNED_INT
TPixel_RGBA_ui
 
typedef TPixel< unsigned
__int16,
3, 1, 0, 1, 2, 3, RX_IMG_RGBA,
RX_IMG_UNSIGNED_SHORT
TPixel_RGBA_us
 
typedef float1 TTexNorm_TPixel_Bay_BG_uc
 
typedef float1 TTexNorm_TPixel_Bay_GB_uc
 
typedef float1 TTexNorm_TPixel_Bay_GR_uc
 
typedef float1 TTexNorm_TPixel_Bay_RG_uc
 
typedef float4 TTexNorm_TPixel_BGRA_f
 
typedef float4 TTexNorm_TPixel_BGRA_uc
 
typedef float4 TTexNorm_TPixel_BGRA_us
 
typedef float1 TTexNorm_TPixel_L_f
 
typedef float1 TTexNorm_TPixel_L_uc
 
typedef float1 TTexNorm_TPixel_L_us
 
typedef float2 TTexNorm_TPixel_LA_f
 
typedef float2 TTexNorm_TPixel_LA_uc
 
typedef float2 TTexNorm_TPixel_LA_us
 
typedef float4 TTexNorm_TPixel_RGBA_f
 
typedef float4 TTexNorm_TPixel_RGBA_uc
 
typedef float4 TTexNorm_TPixel_RGBA_us
 
typedef uchar1 TTexRaw_TPixel_Bay_BG_uc
 
typedef uchar1 TTexRaw_TPixel_Bay_GB_uc
 
typedef uchar1 TTexRaw_TPixel_Bay_GR_uc
 
typedef uchar1 TTexRaw_TPixel_Bay_RG_uc
 
typedef float4 TTexRaw_TPixel_BGRA_f
 
typedef uchar4 TTexRaw_TPixel_BGRA_uc
 
typedef ushort4 TTexRaw_TPixel_BGRA_us
 
typedef float1 TTexRaw_TPixel_L_f
 
typedef uchar1 TTexRaw_TPixel_L_uc
 
typedef ushort1 TTexRaw_TPixel_L_us
 
typedef float2 TTexRaw_TPixel_LA_f
 
typedef uchar2 TTexRaw_TPixel_LA_uc
 
typedef ushort2 TTexRaw_TPixel_LA_us
 
typedef float4 TTexRaw_TPixel_RGBA_f
 
typedef uchar4 TTexRaw_TPixel_RGBA_uc
 
typedef ushort4 TTexRaw_TPixel_RGBA_us
 

Functions

__HOSTDEV__ __INLINE__ void Float2Pixel (char &rPx, float fVal)
 Float 2 pixel. More...
 
__HOSTDEV__ __INLINE__ void Float2Pixel (unsigned char &rPx, const float fVal)
 Converts a value of type float to given pixel value type [float –> uchar]. More...
 
__HOSTDEV__ __INLINE__ void Float2Pixel (short &rPx, float fVal)
 Float 2 pixel. More...
 
__HOSTDEV__ __INLINE__ void Float2Pixel (unsigned short &rPx, float fVal)
 
__HOSTDEV__ __INLINE__ void Float2Pixel (int &rPx, float fVal)
 Float 2 pixel. More...
 
__HOSTDEV__ __INLINE__ void Float2Pixel (unsigned int &rPx, float fVal)
 
__HOSTDEV__ __INLINE__ void Float2Pixel (float &rPx, float fVal)
 Float 2 pixel. More...
 
__HOSTDEV__ __INLINE__ void Float2Pixel (double &rPx, float fVal)
 
__HOSTDEV__ __INLINE__ void Float2Pixel (char &rPx, double fVal)
 Convert double to pixel value. More...
 
__HOSTDEV__ __INLINE__ void Float2Pixel (unsigned char &rPx, double fVal)
 
__HOSTDEV__ __INLINE__ void Float2Pixel (short &rPx, double fVal)
 
__HOSTDEV__ __INLINE__ void Float2Pixel (unsigned short &rPx, double fVal)
 
__HOSTDEV__ __INLINE__ void Float2Pixel (int &rPx, double fVal)
 
__HOSTDEV__ __INLINE__ void Float2Pixel (unsigned int &rPx, double fVal)
 
__HOSTDEV__ __INLINE__ void Float2Pixel (float &rPx, double fVal)
 Float 2 pixel. More...
 
__HOSTDEV__ __INLINE__ void Float2Pixel (double &rPx, double fVal)
 Float 2 pixel. More...
 
RXCORE_API double GetTime ()
 Get time in milliseconds as double. More...
 
RXCORE_API __int64 GetTime64 ()
 Get time in milliseconds as Int64. More...
 
RXCORE_API void InitTime ()
 Initialize time. More...
 
RXCORE_API CRxString operator+ (const CRxString &sxA, const CRxString &sxB)
 
RXCORE_API CRxString operator+ (const CRxString &sxA, const char *pcB)
 
RXCORE_API CRxString operator+ (const char *pcA, const CRxString &sxB)
 
RXCORE_API CRxString operator+ (const CRxString &sxA, int iVal)
 
RXCORE_API CRxString operator+ (const CRxString &sxA, unsigned int uVal)
 
RXCORE_API CRxString operator+ (const CRxString &sxA, float fVal)
 
RXCORE_API CRxString operator+ (const CRxString &sxA, double dVal)
 
RXCORE_API int & operator>> (const CRxString &sxString, int &iInt)
 Converts the given string into an integer value. More...
 
RXCORE_API unsigned & operator>> (const CRxString &sxString, unsigned &uInt)
 Converts the given string into an unsinged integer value. More...
 
template<class TPix , class T >
__HOSTDEV__ __INLINE__ void Pix2Vec (T &vfPix, const TPix &rPix)
 Map a pixel to a luminance value. More...
 
template<class TPix , class T >
__HOSTDEV__ __INLINE__ void Pix2Vec (tvec3< T > &vfPix, const TPix &rPix)
 Map a pixel to a RGB-value. More...
 
template<class TPix , class T >
__HOSTDEV__ __INLINE__ void Pix2Vec (tvec4< T > &vfPix, const TPix &rPix)
 Map a pixel to a RGBA-value. More...
 
__HOSTDEV__ __INLINE__ void Pixel2Float (float &fVal, char rPx)
 / Pixel data type value to floating point value. More...
 
__HOSTDEV__ __INLINE__ void Pixel2Float (float &fVal, unsigned char rPx)
 
__HOSTDEV__ __INLINE__ void Pixel2Float (float &fVal, short rPx)
 Pixel 2 float. More...
 
__HOSTDEV__ __INLINE__ void Pixel2Float (float &fVal, unsigned short rPx)
 
__HOSTDEV__ __INLINE__ void Pixel2Float (float &fVal, int rPx)
 Pixel 2 float. More...
 
__HOSTDEV__ __INLINE__ void Pixel2Float (float &fVal, unsigned int rPx)
 
__HOSTDEV__ __INLINE__ void Pixel2Float (float &fVal, float rPx)
 Pixel 2 float. More...
 
__HOSTDEV__ __INLINE__ void Pixel2Float (float &fVal, double rPx)
 
__HOSTDEV__ __INLINE__ void Pixel2Float (double &fVal, char rPx)
 
__HOSTDEV__ __INLINE__ void Pixel2Float (double &fVal, unsigned char rPx)
 
__HOSTDEV__ __INLINE__ void Pixel2Float (double &fVal, short rPx)
 Pixel 2 float. More...
 
__HOSTDEV__ __INLINE__ void Pixel2Float (double &fVal, unsigned short rPx)
 
__HOSTDEV__ __INLINE__ void Pixel2Float (double &fVal, int rPx)
 Pixel 2 float. More...
 
__HOSTDEV__ __INLINE__ void Pixel2Float (double &fVal, unsigned int rPx)
 
__HOSTDEV__ __INLINE__ void Pixel2Float (double &fVal, float rPx)
 Pixel 2 float. More...
 
__HOSTDEV__ __INLINE__ void Pixel2Float (double &fVal, double rPx)
 
__HOSTDEV__ __INLINE__ uchar4 PixelToRaw (const TPixel_RGBA_uc &tPixel)
 Converts TPixel_RGBA_uc to uchar4. More...
 
__HOSTDEV__ __INLINE__ uchar4 PixelToRaw (const TPixel_BGRA_uc &tPixel)
 Converts TPixel_BGRA_uc to uchar4. More...
 
__HOSTDEV__ __INLINE__ uchar1 PixelToRaw (const TPixel_L_uc &tPixel)
 Converts TPixel_L_uc to uchar1. More...
 
__HOSTDEV__ __INLINE__ ushort1 PixelToRaw (const TPixel_L_us &tPixel)
 Converts TPixel_L_us to ushort1. More...
 
__HOSTDEV__ __INLINE__ uint1 PixelToRaw (const TPixel_L_ui &tPixel)
 Converts TPixel_L_ui to uint1. More...
 
__HOSTDEV__ __INLINE__ float1 PixelToRaw (const TPixel_L_f &tPixel)
 Converts TPixel_L_f to float1. More...
 
__HOSTDEV__ __INLINE__ float3 PixelToRaw (const TPixel_RGB_f &tPixel)
 Converts TPixel_RGB_f to float3. More...
 
__HOSTDEV__ __INLINE__ float4 PixelToRaw (const TPixel_RGBA_f &tPixel)
 Converts TPixel_RGBA_f to float4. More...
 
RXCORE_API void Sleep (unsigned uTime)
 Suspend thread for given number of milliseconds. More...
 
template<class T , class TPix >
__HOSTDEV__ __INLINE__ tvec4< T > ToColor (float1 vfCol)
 Converts a vfCol to a color. More...
 
template<class T , class TPix >
__HOSTDEV__ __INLINE__ tvec4< T > ToColor (float2 vfCol)
 Converts a vfCol to a color. More...
 
template<class T , class TPix >
__HOSTDEV__ __INLINE__ tvec4< T > ToColor (float3 vfCol)
 
template<class T , class TPix >
__HOSTDEV__ __INLINE__ tvec4< T > ToColor (float4 vfCol)
 
template<class T , class TPix >
__HOSTDEV__ __INLINE__ tvec4< T > ToColor (uchar1 vCol)
 Converts a vCol to a color. More...
 
template<class T , class TPix >
__HOSTDEV__ __INLINE__ tvec4< T > ToColor (uchar2 vCol)
 
template<class T , class TPix >
__HOSTDEV__ __INLINE__ tvec4< T > ToColor (uchar3 vCol)
 
template<class T , class TPix >
__HOSTDEV__ __INLINE__ tvec4< T > ToColor (uchar4 vCol)
 
template<class TPix >
__HOSTDEV__ __INLINE__ tvec4
< unsigned char > 
ToColor (uchar1 vCol)
 Converts a vCol to a color. More...
 
template<class TPix >
__HOSTDEV__ __INLINE__ tvec4
< unsigned char > 
ToColor (uchar2 vCol)
 Converts a vCol to a color. More...
 
template<class TPix >
__HOSTDEV__ __INLINE__ tvec4
< unsigned char > 
ToColor (uchar3 vCol)
 
template<class TPix >
__HOSTDEV__ __INLINE__ tvec4
< unsigned char > 
ToColor (uchar4 vCol)
 
template<class TPix , class T >
__HOSTDEV__ __INLINE__ void Vec2Pix (TPix &rPix, T vfPix)
 Map a luminance value to a pixel. More...
 
template<class TPix , class T >
__HOSTDEV__ __INLINE__ void Vec2Pix (TPix &rPix, const tvec3< T > &vfPix)
 Map a RGB-value to a pixel. More...
 
template<class TPix , class T >
__HOSTDEV__ __INLINE__ void Vec2Pix (TPix &rPix, const tvec4< T > &vfPix)
 Map a RGBA-value to a pixel. More...
 

Detailed Description

Typedef Documentation

typedef TPixel<char, 1, 0, 0, 0, 0, 0, RX_IMG_BAYER_BG, RX_IMG_BYTE> Rx::TPixel_Bay_BG_c
typedef TPixel<double, 1, 0, 0, 0, 0, 0, RX_IMG_BAYER_BG, RX_IMG_DOUBLE> Rx::TPixel_Bay_BG_d
typedef TPixel<float, 1, 0, 0, 0, 0, 0, RX_IMG_BAYER_BG, RX_IMG_FLOAT> Rx::TPixel_Bay_BG_f
typedef TPixel<__int32, 1, 0, 0, 0, 0, 0, RX_IMG_BAYER_BG, RX_IMG_INT> Rx::TPixel_Bay_BG_i
typedef TPixel<__int16, 1, 0, 0, 0, 0, 0, RX_IMG_BAYER_BG, RX_IMG_SHORT> Rx::TPixel_Bay_BG_s
typedef TPixel<unsigned char, 1, 0, 0, 0, 0, 0, RX_IMG_BAYER_BG, RX_IMG_UNSIGNED_BYTE> Rx::TPixel_Bay_BG_uc
typedef TPixel<unsigned __int32, 1, 0, 0, 0, 0, 0, RX_IMG_BAYER_BG, RX_IMG_UNSIGNED_INT> Rx::TPixel_Bay_BG_ui
typedef TPixel<unsigned __int16, 1, 0, 0, 0, 0, 0, RX_IMG_BAYER_BG, RX_IMG_UNSIGNED_SHORT> Rx::TPixel_Bay_BG_us
typedef TPixel<char, 1, 0, 0, 0, 0, 0, RX_IMG_BAYER_GB, RX_IMG_BYTE> Rx::TPixel_Bay_GB_c
typedef TPixel<double, 1, 0, 0, 0, 0, 0, RX_IMG_BAYER_GB, RX_IMG_DOUBLE> Rx::TPixel_Bay_GB_d
typedef TPixel<float, 1, 0, 0, 0, 0, 0, RX_IMG_BAYER_GB, RX_IMG_FLOAT> Rx::TPixel_Bay_GB_f
typedef TPixel<__int32, 1, 0, 0, 0, 0, 0, RX_IMG_BAYER_GB, RX_IMG_INT> Rx::TPixel_Bay_GB_i
typedef TPixel<__int16, 1, 0, 0, 0, 0, 0, RX_IMG_BAYER_GB, RX_IMG_SHORT> Rx::TPixel_Bay_GB_s
typedef TPixel<unsigned char, 1, 0, 0, 0, 0, 0, RX_IMG_BAYER_GB, RX_IMG_UNSIGNED_BYTE> Rx::TPixel_Bay_GB_uc
typedef TPixel<unsigned __int32, 1, 0, 0, 0, 0, 0, RX_IMG_BAYER_GB, RX_IMG_UNSIGNED_INT> Rx::TPixel_Bay_GB_ui
typedef TPixel<unsigned __int16, 1, 0, 0, 0, 0, 0, RX_IMG_BAYER_GB, RX_IMG_UNSIGNED_SHORT> Rx::TPixel_Bay_GB_us
typedef TPixel<char, 1, 0, 0, 0, 0, 0, RX_IMG_BAYER_GR, RX_IMG_BYTE> Rx::TPixel_Bay_GR_c
typedef TPixel<double, 1, 0, 0, 0, 0, 0, RX_IMG_BAYER_GR, RX_IMG_DOUBLE> Rx::TPixel_Bay_GR_d
typedef TPixel<float, 1, 0, 0, 0, 0, 0, RX_IMG_BAYER_GR, RX_IMG_FLOAT> Rx::TPixel_Bay_GR_f
typedef TPixel<__int32, 1, 0, 0, 0, 0, 0, RX_IMG_BAYER_GR, RX_IMG_INT> Rx::TPixel_Bay_GR_i
typedef TPixel<__int16, 1, 0, 0, 0, 0, 0, RX_IMG_BAYER_GR, RX_IMG_SHORT> Rx::TPixel_Bay_GR_s
typedef TPixel<unsigned char, 1, 0, 0, 0, 0, 0, RX_IMG_BAYER_GR, RX_IMG_UNSIGNED_BYTE> Rx::TPixel_Bay_GR_uc
typedef TPixel<unsigned __int32, 1, 0, 0, 0, 0, 0, RX_IMG_BAYER_GR, RX_IMG_UNSIGNED_INT> Rx::TPixel_Bay_GR_ui
typedef TPixel<unsigned __int16, 1, 0, 0, 0, 0, 0, RX_IMG_BAYER_GR, RX_IMG_UNSIGNED_SHORT> Rx::TPixel_Bay_GR_us
typedef TPixel<char, 1, 0, 0, 0, 0, 0, RX_IMG_BAYER_RG, RX_IMG_BYTE> Rx::TPixel_Bay_RG_c
typedef TPixel<double, 1, 0, 0, 0, 0, 0, RX_IMG_BAYER_RG, RX_IMG_DOUBLE> Rx::TPixel_Bay_RG_d
typedef TPixel<float, 1, 0, 0, 0, 0, 0, RX_IMG_BAYER_RG, RX_IMG_FLOAT> Rx::TPixel_Bay_RG_f
typedef TPixel<__int32, 1, 0, 0, 0, 0, 0, RX_IMG_BAYER_RG, RX_IMG_INT> Rx::TPixel_Bay_RG_i
typedef TPixel<__int16, 1, 0, 0, 0, 0, 0, RX_IMG_BAYER_RG, RX_IMG_SHORT> Rx::TPixel_Bay_RG_s
typedef TPixel<unsigned char, 1, 0, 0, 0, 0, 0, RX_IMG_BAYER_RG, RX_IMG_UNSIGNED_BYTE> Rx::TPixel_Bay_RG_uc
typedef TPixel<unsigned __int32, 1, 0, 0, 0, 0, 0, RX_IMG_BAYER_RG, RX_IMG_UNSIGNED_INT> Rx::TPixel_Bay_RG_ui
typedef TPixel<unsigned __int16, 1, 0, 0, 0, 0, 0, RX_IMG_BAYER_RG, RX_IMG_UNSIGNED_SHORT> Rx::TPixel_Bay_RG_us
typedef TPixel<char, 3, 0, 2, 1, 0, 0, RX_IMG_BGR, RX_IMG_BYTE> Rx::TPixel_BGR_c
typedef TPixel<double, 3, 0, 2, 1, 0, 0, RX_IMG_BGR, RX_IMG_DOUBLE> Rx::TPixel_BGR_d
typedef TPixel<float, 3, 0, 2, 1, 0, 0, RX_IMG_BGR, RX_IMG_FLOAT> Rx::TPixel_BGR_f
typedef TPixel<__int32, 3, 0, 2, 1, 0, 0, RX_IMG_BGR, RX_IMG_INT> Rx::TPixel_BGR_i
typedef TPixel<__int16, 3, 0, 2, 1, 0, 0, RX_IMG_BGR, RX_IMG_SHORT> Rx::TPixel_BGR_s
typedef TPixel<unsigned char, 3, 0, 2, 1, 0, 0, RX_IMG_BGR, RX_IMG_UNSIGNED_BYTE> Rx::TPixel_BGR_uc
typedef TPixel<unsigned __int32, 3, 0, 2, 1, 0, 0, RX_IMG_BGR, RX_IMG_UNSIGNED_INT> Rx::TPixel_BGR_ui
typedef TPixel<unsigned __int16, 3, 0, 2, 1, 0, 0, RX_IMG_BGR, RX_IMG_UNSIGNED_SHORT> Rx::TPixel_BGR_us
typedef TPixel<char, 3, 1, 2, 1, 0, 3, RX_IMG_BGRA, RX_IMG_BYTE> Rx::TPixel_BGRA_c
typedef TPixel<double, 3, 1, 2, 1, 0, 3, RX_IMG_BGRA, RX_IMG_DOUBLE> Rx::TPixel_BGRA_d
typedef TPixel<float, 3, 1, 2, 1, 0, 3, RX_IMG_BGRA, RX_IMG_FLOAT> Rx::TPixel_BGRA_f
typedef TPixel<__int32, 3, 1, 2, 1, 0, 3, RX_IMG_BGRA, RX_IMG_INT> Rx::TPixel_BGRA_i
typedef TPixel<__int16, 3, 1, 2, 1, 0, 3, RX_IMG_BGRA, RX_IMG_SHORT> Rx::TPixel_BGRA_s
typedef TPixel<unsigned char, 3, 1, 2, 1, 0, 3, RX_IMG_BGRA, RX_IMG_UNSIGNED_BYTE> Rx::TPixel_BGRA_uc
typedef TPixel<unsigned __int32, 3, 1, 2, 1, 0, 3, RX_IMG_BGRA, RX_IMG_UNSIGNED_INT> Rx::TPixel_BGRA_ui
typedef TPixel<unsigned __int16, 3, 1, 2, 1, 0, 3, RX_IMG_BGRA, RX_IMG_UNSIGNED_SHORT> Rx::TPixel_BGRA_us
typedef TPixel<char, 1, 0, 0, 0, 0, 0, RX_IMG_LUMINANCE, RX_IMG_BYTE> Rx::TPixel_L_c
typedef TPixel<double, 1, 0, 0, 0, 0, 0, RX_IMG_LUMINANCE, RX_IMG_DOUBLE> Rx::TPixel_L_d
typedef TPixel<float, 1, 0, 0, 0, 0, 0, RX_IMG_LUMINANCE, RX_IMG_FLOAT> Rx::TPixel_L_f
typedef TPixel<__int32, 1, 0, 0, 0, 0, 0, RX_IMG_LUMINANCE, RX_IMG_INT> Rx::TPixel_L_i
typedef TPixel<__int16, 1, 0, 0, 0, 0, 0, RX_IMG_LUMINANCE, RX_IMG_SHORT> Rx::TPixel_L_s
typedef TPixel<unsigned char, 1, 0, 0, 0, 0, 0, RX_IMG_LUMINANCE, RX_IMG_UNSIGNED_BYTE> Rx::TPixel_L_uc
typedef TPixel<unsigned __int32, 1, 0, 0, 0, 0, 0, RX_IMG_LUMINANCE, RX_IMG_UNSIGNED_INT> Rx::TPixel_L_ui
typedef TPixel<unsigned __int16, 1, 0, 0, 0, 0, 0, RX_IMG_LUMINANCE, RX_IMG_UNSIGNED_SHORT> Rx::TPixel_L_us
typedef TPixel<char, 1, 1, 0, 0, 0, 1, RX_IMG_LUMINANCE_ALPHA, RX_IMG_BYTE> Rx::TPixel_LA_c
typedef TPixel<double, 1, 1, 0, 0, 0, 1, RX_IMG_LUMINANCE_ALPHA, RX_IMG_DOUBLE> Rx::TPixel_LA_d
typedef TPixel<float, 1, 1, 0, 0, 0, 1, RX_IMG_LUMINANCE_ALPHA, RX_IMG_FLOAT> Rx::TPixel_LA_f
typedef TPixel<__int32, 1, 1, 0, 0, 0, 1, RX_IMG_LUMINANCE_ALPHA, RX_IMG_INT> Rx::TPixel_LA_i
typedef TPixel<__int16, 1, 1, 0, 0, 0, 1, RX_IMG_LUMINANCE_ALPHA, RX_IMG_SHORT> Rx::TPixel_LA_s
typedef TPixel<unsigned char, 1, 1, 0, 0, 0, 1, RX_IMG_LUMINANCE_ALPHA, RX_IMG_UNSIGNED_BYTE> Rx::TPixel_LA_uc
typedef TPixel<unsigned __int32, 1, 1, 0, 0, 0, 1, RX_IMG_LUMINANCE_ALPHA, RX_IMG_UNSIGNED_INT> Rx::TPixel_LA_ui
typedef TPixel<unsigned __int16, 1, 1, 0, 0, 0, 1, RX_IMG_LUMINANCE_ALPHA, RX_IMG_UNSIGNED_SHORT> Rx::TPixel_LA_us
typedef TPixel<char, 3, 0, 0, 1, 2, 0, RX_IMG_RGB, RX_IMG_BYTE> Rx::TPixel_RGB_c
typedef TPixel<double, 3, 0, 0, 1, 2, 0, RX_IMG_RGB, RX_IMG_DOUBLE> Rx::TPixel_RGB_d
typedef TPixel<float, 3, 0, 0, 1, 2, 0, RX_IMG_RGB, RX_IMG_FLOAT> Rx::TPixel_RGB_f
typedef TPixel<__int32, 3, 0, 0, 1, 2, 0, RX_IMG_RGB, RX_IMG_INT> Rx::TPixel_RGB_i
typedef TPixel<__int16, 3, 0, 0, 1, 2, 0, RX_IMG_RGB, RX_IMG_SHORT> Rx::TPixel_RGB_s
typedef TPixel<unsigned char, 3, 0, 0, 1, 2, 0, RX_IMG_RGB, RX_IMG_UNSIGNED_BYTE> Rx::TPixel_RGB_uc
typedef TPixel<unsigned __int32, 3, 0, 0, 1, 2, 0, RX_IMG_RGB, RX_IMG_UNSIGNED_INT> Rx::TPixel_RGB_ui
typedef TPixel<unsigned __int16, 3, 0, 0, 1, 2, 0, RX_IMG_RGB, RX_IMG_UNSIGNED_SHORT> Rx::TPixel_RGB_us
typedef TPixel<char, 3, 1, 0, 1, 2, 3, RX_IMG_RGBA, RX_IMG_BYTE> Rx::TPixel_RGBA_c
typedef TPixel<double, 3, 1, 0, 1, 2, 3, RX_IMG_RGBA, RX_IMG_DOUBLE> Rx::TPixel_RGBA_d
typedef TPixel<float, 3, 1, 0, 1, 2, 3, RX_IMG_RGBA, RX_IMG_FLOAT> Rx::TPixel_RGBA_f
typedef TPixel<__int32, 3, 1, 0, 1, 2, 3, RX_IMG_RGBA, RX_IMG_INT> Rx::TPixel_RGBA_i
typedef TPixel<__int16, 3, 1, 0, 1, 2, 3, RX_IMG_RGBA, RX_IMG_SHORT> Rx::TPixel_RGBA_s
typedef TPixel<unsigned char, 3, 1, 0, 1, 2, 3, RX_IMG_RGBA, RX_IMG_UNSIGNED_BYTE> Rx::TPixel_RGBA_uc
typedef TPixel<unsigned __int32, 3, 1, 0, 1, 2, 3, RX_IMG_RGBA, RX_IMG_UNSIGNED_INT> Rx::TPixel_RGBA_ui
typedef TPixel<unsigned __int16, 3, 1, 0, 1, 2, 3, RX_IMG_RGBA, RX_IMG_UNSIGNED_SHORT> Rx::TPixel_RGBA_us
typedef float1 Rx::TTexNorm_TPixel_L_f
typedef float1 Rx::TTexNorm_TPixel_L_uc
typedef float1 Rx::TTexNorm_TPixel_L_us
typedef float2 Rx::TTexNorm_TPixel_LA_f
typedef float2 Rx::TTexNorm_TPixel_LA_uc
typedef float2 Rx::TTexNorm_TPixel_LA_us
typedef float4 Rx::TTexRaw_TPixel_BGRA_f
typedef ushort4 Rx::TTexRaw_TPixel_BGRA_us
typedef float1 Rx::TTexRaw_TPixel_L_f
typedef uchar1 Rx::TTexRaw_TPixel_L_uc
typedef ushort1 Rx::TTexRaw_TPixel_L_us
typedef float2 Rx::TTexRaw_TPixel_LA_f
typedef uchar2 Rx::TTexRaw_TPixel_LA_uc
typedef ushort2 Rx::TTexRaw_TPixel_LA_us
typedef float4 Rx::TTexRaw_TPixel_RGBA_f
typedef ushort4 Rx::TTexRaw_TPixel_RGBA_us

Function Documentation

__HOSTDEV__ __INLINE__ void Rx::Float2Pixel ( char &  rPx,
float  fVal 
)

Float 2 pixel.

Parameters
rPx[in,out] The px.
fValThe value.
__HOSTDEV__ __INLINE__ void Rx::Float2Pixel ( unsigned char &  rPx,
const float  fVal 
)

Converts a value of type float to given pixel value type [float –> uchar].

Parameters
rPx[out] The pixel value as uchar.
fValThe float value.
__HOSTDEV__ __INLINE__ void Rx::Float2Pixel ( short &  rPx,
float  fVal 
)

Float 2 pixel.

Parameters
rPx[in,out] The px.
fValThe value.

The px.

__HOSTDEV__ __INLINE__ void Rx::Float2Pixel ( unsigned short &  rPx,
float  fVal 
)
__HOSTDEV__ __INLINE__ void Rx::Float2Pixel ( int &  rPx,
float  fVal 
)

Float 2 pixel.

Parameters
rPx[in,out] The px.
fValThe value.

The px.

__HOSTDEV__ __INLINE__ void Rx::Float2Pixel ( unsigned int &  rPx,
float  fVal 
)
__HOSTDEV__ __INLINE__ void Rx::Float2Pixel ( float &  rPx,
float  fVal 
)

Float 2 pixel.

Parameters
rPx[in,out] The px.
fValThe value.
__HOSTDEV__ __INLINE__ void Rx::Float2Pixel ( double &  rPx,
float  fVal 
)
__HOSTDEV__ __INLINE__ void Rx::Float2Pixel ( char &  rPx,
double  fVal 
)

Convert double to pixel value.

Parameters
rPx[in,out] The px.
fValThe value.
__HOSTDEV__ __INLINE__ void Rx::Float2Pixel ( unsigned char &  rPx,
double  fVal 
)
__HOSTDEV__ __INLINE__ void Rx::Float2Pixel ( short &  rPx,
double  fVal 
)
__HOSTDEV__ __INLINE__ void Rx::Float2Pixel ( unsigned short &  rPx,
double  fVal 
)
__HOSTDEV__ __INLINE__ void Rx::Float2Pixel ( int &  rPx,
double  fVal 
)
__HOSTDEV__ __INLINE__ void Rx::Float2Pixel ( unsigned int &  rPx,
double  fVal 
)
__HOSTDEV__ __INLINE__ void Rx::Float2Pixel ( float &  rPx,
double  fVal 
)

Float 2 pixel.

Parameters
rPx[in,out] The px.
fValThe value.
__HOSTDEV__ __INLINE__ void Rx::Float2Pixel ( double &  rPx,
double  fVal 
)

Float 2 pixel.

Parameters
rPx[in,out] The px.
fValThe value.
RXCORE_API CRxString Rx::operator+ ( const CRxString &  sxA,
const CRxString &  sxB 
)
RXCORE_API CRxString Rx::operator+ ( const CRxString &  sxA,
const char *  pcB 
)
RXCORE_API CRxString Rx::operator+ ( const char *  pcA,
const CRxString &  sxB 
)
RXCORE_API CRxString Rx::operator+ ( const CRxString &  sxA,
int  iVal 
)
RXCORE_API CRxString Rx::operator+ ( const CRxString &  sxA,
unsigned int  uVal 
)
RXCORE_API CRxString Rx::operator+ ( const CRxString &  sxA,
float  fVal 
)
RXCORE_API CRxString Rx::operator+ ( const CRxString &  sxA,
double  dVal 
)
RXCORE_API int& Rx::operator>> ( const CRxString &  sxString,
int &  iInt 
)

Converts the given string into an integer value.

Parameters
sxString[in] The string.
iInt[out] The integer.
Returns
The integer.
RXCORE_API unsigned& Rx::operator>> ( const CRxString &  sxString,
unsigned &  uInt 
)

Converts the given string into an unsinged integer value.

Parameters
sxString[in] The string.
uInt[iout] The unsinged integer.
Returns
The unsinged integer.
template<class TPix , class T >
__HOSTDEV__ __INLINE__ void Rx::Pix2Vec ( T &  vfPix,
const TPix &  rPix 
)

Map a pixel to a luminance value.

Parameters
rPixThe pixel reference of type TPix.
vfPixThe resultant luminance value.
Attention
This function only compiles if TPix is of type TPixel<>

This function does not calculate the actual luminance of the pixel but simply uses the red component of each pixel.

template<class TPix , class T >
__HOSTDEV__ __INLINE__ void Rx::Pix2Vec ( tvec3< T > &  vfPix,
const TPix &  rPix 
)

Map a pixel to a RGB-value.

Parameters
rPixThe pixel reference of type TPix.
vfPixThe resultant RGB-value.
Attention
This function only compiles if TPix is of type TPixel<>
template<class TPix , class T >
__HOSTDEV__ __INLINE__ void Rx::Pix2Vec ( tvec4< T > &  vfPix,
const TPix &  rPix 
)

Map a pixel to a RGBA-value.

Parameters
rPixThe pixel reference of type TPix.
vfPixThe resultant RGBA-value.
Attention
This function only compiles if TPix is of type TPixel<>
__HOSTDEV__ __INLINE__ void Rx::Pixel2Float ( float &  fVal,
char  rPx 
)

/ Pixel data type value to floating point value.

Parameters
fVal[in,out] The value.
rPxThe px.
__HOSTDEV__ __INLINE__ void Rx::Pixel2Float ( float &  fVal,
unsigned char  rPx 
)
__HOSTDEV__ __INLINE__ void Rx::Pixel2Float ( float &  fVal,
short  rPx 
)

Pixel 2 float.

Parameters
fVal[in,out] The value.
rPxThe px.

The value.

__HOSTDEV__ __INLINE__ void Rx::Pixel2Float ( float &  fVal,
unsigned short  rPx 
)
__HOSTDEV__ __INLINE__ void Rx::Pixel2Float ( float &  fVal,
int  rPx 
)

Pixel 2 float.

Parameters
fVal[in,out] The value.
rPxThe px.

The value.

__HOSTDEV__ __INLINE__ void Rx::Pixel2Float ( float &  fVal,
unsigned int  rPx 
)
__HOSTDEV__ __INLINE__ void Rx::Pixel2Float ( float &  fVal,
float  rPx 
)

Pixel 2 float.

Parameters
fVal[in,out] The value.
rPxThe px.
__HOSTDEV__ __INLINE__ void Rx::Pixel2Float ( float &  fVal,
double  rPx 
)
__HOSTDEV__ __INLINE__ void Rx::Pixel2Float ( double &  fVal,
char  rPx 
)

The value.

__HOSTDEV__ __INLINE__ void Rx::Pixel2Float ( double &  fVal,
unsigned char  rPx 
)
__HOSTDEV__ __INLINE__ void Rx::Pixel2Float ( double &  fVal,
short  rPx 
)

Pixel 2 float.

Parameters
fVal[in,out] The value.
rPxThe px.

The value.

__HOSTDEV__ __INLINE__ void Rx::Pixel2Float ( double &  fVal,
unsigned short  rPx 
)
__HOSTDEV__ __INLINE__ void Rx::Pixel2Float ( double &  fVal,
int  rPx 
)

Pixel 2 float.

Parameters
fVal[in,out] The value.
rPxThe px.

The value.

__HOSTDEV__ __INLINE__ void Rx::Pixel2Float ( double &  fVal,
unsigned int  rPx 
)
__HOSTDEV__ __INLINE__ void Rx::Pixel2Float ( double &  fVal,
float  rPx 
)

Pixel 2 float.

Parameters
fVal[in,out] The value.
rPxThe px.
__HOSTDEV__ __INLINE__ void Rx::Pixel2Float ( double &  fVal,
double  rPx 
)
__HOSTDEV__ __INLINE__ uchar4 Rx::PixelToRaw ( const TPixel_RGBA_uc &  tPixel)

Converts TPixel_RGBA_uc to uchar4.

Parameters
tPixelTPixel_RGBA_uc.
Returns
uchar4.
__HOSTDEV__ __INLINE__ uchar4 Rx::PixelToRaw ( const TPixel_BGRA_uc &  tPixel)

Converts TPixel_BGRA_uc to uchar4.

Parameters
tPixelTPixel_BGRA_uc.
Returns
uchar4.
__HOSTDEV__ __INLINE__ uchar1 Rx::PixelToRaw ( const TPixel_L_uc &  tPixel)

Converts TPixel_L_uc to uchar1.

Parameters
tPixelTPixel_L_uc.
Returns
uchar1.
__HOSTDEV__ __INLINE__ ushort1 Rx::PixelToRaw ( const TPixel_L_us &  tPixel)

Converts TPixel_L_us to ushort1.

Parameters
tPixelTPixel_L_us.
Returns
ushort1.
__HOSTDEV__ __INLINE__ uint1 Rx::PixelToRaw ( const TPixel_L_ui &  tPixel)

Converts TPixel_L_ui to uint1.

Parameters
tPixelTPixel_L_ui.
Returns
uint1.
__HOSTDEV__ __INLINE__ float1 Rx::PixelToRaw ( const TPixel_L_f &  tPixel)

Converts TPixel_L_f to float1.

Parameters
tPixelTPixel_L_f.
Returns
float1.
__HOSTDEV__ __INLINE__ float3 Rx::PixelToRaw ( const TPixel_RGB_f &  tPixel)

Converts TPixel_RGB_f to float3.

Parameters
tPixelTPixel_RGB_f.
Returns
float3.
__HOSTDEV__ __INLINE__ float4 Rx::PixelToRaw ( const TPixel_RGBA_f &  tPixel)

Converts TPixel_RGBA_f to float4.

Parameters
tPixelTPixel_RGBA_f.
Returns
float4.
template<class T , class TPix >
__HOSTDEV__ __INLINE__ tvec4<T> Rx::ToColor ( float1  vfCol)

Converts a vfCol to a color.

Parameters
vfColThe vector of col.
Returns
vfCol as a tvec4<T>
template<class T , class TPix >
__HOSTDEV__ __INLINE__ tvec4<T> Rx::ToColor ( float2  vfCol)

Converts a vfCol to a color.

Parameters
vfColThe vector of col.
Returns
vfCol as a tvec4<T>
template<class T , class TPix >
__HOSTDEV__ __INLINE__ tvec4<T> Rx::ToColor ( float3  vfCol)

Gets the t b.

template<class T , class TPix >
__HOSTDEV__ __INLINE__ tvec4<T> Rx::ToColor ( float4  vfCol)
template<class T , class TPix >
__HOSTDEV__ __INLINE__ tvec4<T> Rx::ToColor ( uchar1  vCol)

Converts a vCol to a color.

Template Parameters
TGeneric type parameter.
TPixType of the pix.
Parameters
vColThe col.
Returns
vCol as a tvec4<T>

Converts a vCol to a color.

Parameters
vColThe col.
Returns
vCol as a tvec4<T>
template<class T , class TPix >
__HOSTDEV__ __INLINE__ tvec4<T> Rx::ToColor ( uchar2  vCol)

Gets the f a.

template<class T , class TPix >
__HOSTDEV__ __INLINE__ tvec4<T> Rx::ToColor ( uchar3  vCol)

Constructor.

Parameters
parameter1The first parameter.
parameter2The second parameter.
template<class T , class TPix >
__HOSTDEV__ __INLINE__ tvec4<T> Rx::ToColor ( uchar4  vCol)

Constructor.

Parameters
parameter1The first parameter.
parameter2The second parameter.
template<class TPix >
__HOSTDEV__ __INLINE__ tvec4<unsigned char> Rx::ToColor ( uchar1  vCol)

Converts a vCol to a color.

Template Parameters
TPixType of the pix.
Parameters
vColThe col.
Returns
vCol as a tvec4<unsigned char>
template<class TPix >
__HOSTDEV__ __INLINE__ tvec4<unsigned char> Rx::ToColor ( uchar2  vCol)

Converts a vCol to a color.

Template Parameters
TPixType of the pix.
Parameters
vColThe col.
Returns
vCol as a tvec4<unsigned char>

Converts a vCol to a color.

Parameters
vColThe col.
Returns
vCol as a tvec4<unsigned char>
template<class TPix >
__HOSTDEV__ __INLINE__ tvec4<unsigned char> Rx::ToColor ( uchar3  vCol)
template<class TPix >
__HOSTDEV__ __INLINE__ tvec4<unsigned char> Rx::ToColor ( uchar4  vCol)
template<class TPix , class T >
__HOSTDEV__ __INLINE__ void Rx::Vec2Pix ( TPix &  rPix,
vfPix 
)

Map a luminance value to a pixel.

Parameters
rPixThe pixel reference of type TPix.
vfPixA luminance value.
Attention
This function only compiles if TPix is of type TPixel<>

This function can be used inside a kernel to map the result of a color calculation in the float range [0,1] to the appropriate pixel data type.

template<class TPix , class T >
__HOSTDEV__ __INLINE__ void Rx::Vec2Pix ( TPix &  rPix,
const tvec3< T > &  vfPix 
)

Map a RGB-value to a pixel.

Parameters
rPixThe pixel reference of type TPix.
vfPixA RGB-value.
Attention
This function only compiles if TPix is of type TPixel<>

This function can be used inside a kernel to map the result of a color calculation in the float range [0,1] to the appropriate pixel data type.

template<class TPix , class T >
__HOSTDEV__ __INLINE__ void Rx::Vec2Pix ( TPix &  rPix,
const tvec4< T > &  vfPix 
)

Map a RGBA-value to a pixel.

Parameters
rPixThe pixel reference of type TPix.
vfPixA RGBA-value.
Attention
This function only compiles if TPix is of type TPixel<>

This function can be used inside a kernel to map the result of a color calculation in the float range [0,1] to the appropriate pixel data type.