Raytrix Light Field SDK  4.0
Logo
Public Member Functions | Static Public Member Functions | List of all members
Rx::LFR::CRayFileReader Class Reference

Detailed Description

Provides methods for reading a ray image from a ray file.

Inherits Rx::LFR::CPimpl< CRayFileReader_Impl, Interfaces::ERayFileReader::ID >.

Public Member Functions

CRayFileReader_Impl & GetImpl ()
 Gets the non constant implementation. More...
 
const CRayFileReader_Impl & GetImpl () const
 Gets the constant implementation. More...
 
const void * GetInterface (Interfaces::ERayFileReader::ID eInterface) const
 Gets the interface defined by the given interface ID. More...
 
bool HasInterface (Interfaces::ERayFileReader::ID eInterface)
 Queries if this object has the given interface. More...
 

Static Public Member Functions

static void * GetInterface (Interfaces::ERayFileReader::ID eData)
 Gets the interface defined by Interfaces::ERayFileReader. More...
 
static void Read (const CRxString &sxFilename, CRayImage &xRayImg)
 Reads from the given ray file. Reads the raw image, the calibration (with gray image) and the meta data. More...
 
static void ReadGrayImage (const CRxString &sxFilename, CRxImage &xImg)
 Reads from the given gray image file. More...
 

Member Function Documentation

CRayFileReader_Impl & Rx::LFR::CPimpl< CRayFileReader_Impl , Interfaces::ERayFileReader::ID >::GetImpl ( )
inlineinherited

Gets the non constant implementation.

Returns
The implementation.
const CRayFileReader_Impl & Rx::LFR::CPimpl< CRayFileReader_Impl , Interfaces::ERayFileReader::ID >::GetImpl ( ) const
inlineinherited

Gets the constant implementation.

Returns
The implementation.
static void* Rx::LFR::CRayFileReader::GetInterface ( Interfaces::ERayFileReader::ID  eData)
static

Gets the interface defined by Interfaces::ERayFileReader.

Parameters
eDataThe interface type.
Returns
Null if it fails, else the interface.
const void* Rx::LFR::CPimpl< CRayFileReader_Impl , Interfaces::ERayFileReader::ID >::GetInterface ( Interfaces::ERayFileReader::ID  eInterface) const
inherited

Gets the interface defined by the given interface ID.

Parameters
eInterfaceThe interface ID.
Returns
Null if it fails, else the interface.
bool Rx::LFR::CPimpl< CRayFileReader_Impl , Interfaces::ERayFileReader::ID >::HasInterface ( Interfaces::ERayFileReader::ID  eInterface)
inlineinherited

Queries if this object has the given interface.

Parameters
eInterfaceThe interface to query.
Returns
True if this class has the given interface, false if not.
static void Rx::LFR::CRayFileReader::Read ( const CRxString sxFilename,
CRayImage xRayImg 
)
static

Reads from the given ray file. Reads the raw image, the calibration (with gray image) and the meta data.

Requires an authenticated dongle (Rx::LFR::CLightFieldRuntime::Authenticate).

Parameters
sxFilenameThe file name.
xRayImg[out] The read ray image.
static void Rx::LFR::CRayFileReader::ReadGrayImage ( const CRxString sxFilename,
CRxImage xImg 
)
static

Reads from the given gray image file.

Requires an authenticated dongle (Rx::LFR::CLightFieldRuntime::Authenticate).

Parameters
sxFilenameThe file name.
xImg[out] The read gray image.