Raytrix Light Field SDK  5.0
Rx::LFR::Net::RayFileReader Class Reference

Detailed Description

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

Static Public Member Functions

static System::Object ^ GetInterface (Interfaces::ERayFileReader eData)
 Gets the interface defined by ERayFileReaderInterface. More...
 
static void Read (System::String^ sFilename, RayImage^ xRayImg)
 Reads from the given ray file. Reads the raw image, the calibration (with gray image) and the meta data. More...
 
static void ReadGrayImage (System::String^ sFilename, Rx::Net::Image^ xImg)
 Reads from the given gray image file. More...
 

Member Function Documentation

◆ GetInterface()

static System::Object ^ Rx::LFR::Net::RayFileReader::GetInterface ( Interfaces::ERayFileReader  eData)
inlinestatic

Gets the interface defined by ERayFileReaderInterface.

Parameters
eData[in] The interface type.
Returns
Null if it fails, else the interface.

◆ Read()

static void Rx::LFR::Net::RayFileReader::Read ( System::String^  sFilename,
RayImage xRayImg 
)
inlinestatic

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::Net::LightFieldRuntime::Authenticate).

Parameters
sFilename[in] The complete file path.
xRayImg[out] The read ray image.

◆ ReadGrayImage()

static void Rx::LFR::Net::RayFileReader::ReadGrayImage ( System::String^  sFilename,
Rx::Net::Image xImg 
)
inlinestatic

Reads from the given gray image file.

Requires an authenticated dongle (Rx::LFR::Net::LightFieldRuntime::Authenticate).

Parameters
sFilename[in] The complete file path.
xImg[out] The read gray image.