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

The core classes currently offer classes to hold image data of various pixel and data types. More...

Modules

 Image classes.
 
 Tool classes.
 

Namespaces

 Rx
 

Macros

#define RX_IMG_BAYER_BG
 
#define RX_IMG_BAYER_GB
 
#define RX_IMG_BAYER_GR
 
#define RX_IMG_BAYER_RG
 Pixel color bayer types More...
 
#define RX_IMG_BGR
 
#define RX_IMG_BGRA
 
#define RX_IMG_BYTE
 Image data types. More...
 
#define RX_IMG_DOUBLE
 
#define RX_IMG_FLOAT
 
#define RX_IMG_INT
 
#define RX_IMG_LUMINANCE
 
#define RX_IMG_LUMINANCE_ALPHA
 
#define RX_IMG_RGB
 Pixel color types. More...
 
#define RX_IMG_RGBA
 
#define RX_IMG_SHORT
 
#define RX_IMG_UNSIGNED_BYTE
 
#define RX_IMG_UNSIGNED_INT
 
#define RX_IMG_UNSIGNED_SHORT
 
#define RXCORE_API
 

Functions

RXCORE_API double Rx::GetTime ()
 Get time in milliseconds as double. More...
 
RXCORE_API __int64 Rx::GetTime64 ()
 Get time in milliseconds as Int64. More...
 
RXCORE_API void Rx::InitTime ()
 Initialize time. More...
 
RXCORE_API void Rx::Sleep (unsigned uTime)
 Suspend thread for given number of milliseconds. More...
 

Detailed Description

The core classes currently offer classes to hold image data of various pixel and data types.

The template class TPixel allows for the representation of various pixel types, by not only using the data type as template parameter, but also the position of the various color and alpha elements within each pixel. Access to the pixel components is then possible with member inline functions r(), g(), b(), a(), which map to the correct position with a pixel.

The functions Float2Pixel() and Pixel2Float() are template functions that cast the pixel data type to float and vice versa.

Macro Definition Documentation

#define RX_IMG_BAYER_BG
#define RX_IMG_BAYER_GB
#define RX_IMG_BAYER_GR
#define RX_IMG_BAYER_RG

Pixel color bayer types

#define RX_IMG_BGR
#define RX_IMG_BGRA
#define RX_IMG_BYTE

Image data types.

#define RX_IMG_DOUBLE
#define RX_IMG_FLOAT
#define RX_IMG_INT
#define RX_IMG_LUMINANCE
#define RX_IMG_LUMINANCE_ALPHA
#define RX_IMG_RGB

Pixel color types.

#define RX_IMG_RGBA
#define RX_IMG_SHORT
#define RX_IMG_UNSIGNED_BYTE
#define RX_IMG_UNSIGNED_INT
#define RX_IMG_UNSIGNED_SHORT
#define RXCORE_API

Function Documentation

RXCORE_API double Rx::GetTime ( )

Get time in milliseconds as double.

Returns
The time in seconds as double.
RXCORE_API __int64 Rx::GetTime64 ( )

Get time in milliseconds as Int64.

Returns
The time in seconds as 64.
RXCORE_API void Rx::InitTime ( )

Initialize time.

RXCORE_API void Rx::Sleep ( unsigned  uTime)

Suspend thread for given number of milliseconds.

Parameters
uTimeThe time to sleep in milliseconds.