Raytrix Light Field SDK
5.0
|
Provides methods for reading a ray sequence from a rays file.
Inherits Rx::Net::NativeInterfaceWrapper< Rx::LFR::CSeqFileReader, Rx::LFR::Net::Interfaces::ESeqFileReader >.
Public Member Functions | |
SeqFileReader () | |
Default constructor. More... | |
~SeqFileReader () | |
Destructor. Closes the file if opened. More... | |
void | Close () |
Closes the opened sequence file. More... | |
unsigned | GetDoubleShotMode () |
Gets the double shot mode of the opened sequence. Is 0 if the sequence wasn't recorded in double shot mode. More... | |
unsigned __int64 | GetFileSize () |
Gets the file size in bytes. More... | |
unsigned | GetFrameCount () |
Gets the number of frames in the opened sequence. More... | |
unsigned | GetFrameSize () |
Gets the size of a frame in bytes. More... | |
void | GetGrayImage (RayImage^ xRayImg) |
Gets gray image. More... | |
void | GetGrayImage (Rx::Net::Image^ xGrayImage) |
Gets gray image. More... | |
virtual System::Object ^ | GetInterface (Rx::LFR::Net::Interfaces::ESeqFileReader eData) |
Gets the interface. More... | |
unsigned | GetLastFrameIndex () |
Gets the frame index of the last read frame. More... | |
void | GetMetaData (RayImage^ xRayImg) |
Reads the hold meta data of the sequence file. More... | |
void | GetMetaData (Rx::Net::MetaData^ xMetaData) |
Reads the hold meta data of the sequence file. More... | |
unsigned | GetNextFrameIndex () |
Gets the next frame index. More... | |
bool | IsOpen () |
Queries if a file has been opened. More... | |
void | MoveFrameIndex (int iDelta) |
Moves the current frame index by the given number forward or backward. More... | |
void | Open (System::String^ sFilename) |
Opens the given ray sequence for reading. More... | |
void | ReadFrame (RayImage^ xRayImg) |
Reads the frame and its camera format at the current frame index. More... | |
void | ReadFrame (RayImage^ xRayImg, bool bUpdateCalibration) |
Reads the frame and its camera format at the current frame index. More... | |
void | ReadFrame (RayImage^ xRayImg, bool bUpdateCalibration, bool bMoveToNextFrame) |
Reads the frame and its camera format at the current frame index. More... | |
void | SetNextFrameIndex (unsigned uNewIdx) |
Sets the current frame index. More... | |
|
inline |
Default constructor.
|
inline |
Destructor. Closes the file if opened.
|
inline |
Closes the opened sequence file.
|
inline |
Gets the double shot mode of the opened sequence. Is 0 if the sequence wasn't recorded in double shot mode.
|
inline |
Gets the file size in bytes.
|
inline |
Gets the number of frames in the opened sequence.
|
inline |
Gets the size of a frame in bytes.
|
inline |
Gets gray image.
xRayImg | The ray image, in which the gray image should be updated. |
|
inline |
Gets gray image.
xGrayImage | [in,out] If non-null, the gray image. |
|
inlinevirtualinherited |
Gets the interface.
|
inline |
Gets the frame index of the last read frame.
|
inline |
Reads the hold meta data of the sequence file.
xRayImg | The ray image, in which the meta data should be updated. |
|
inline |
Reads the hold meta data of the sequence file.
xMetaData | [out] The meta data. |
|
inline |
Gets the next frame index.
|
inline |
Queries if a file has been opened.
|
inline |
Moves the current frame index by the given number forward or backward.
iDelta | [in] The number of frames to move the current index. |
|
inline |
Opens the given ray sequence for reading.
Requires an authenticated dongle (Rx::LFR::Net::LightFieldRuntime::Authenticate).
sFilename | [in] The complete file path. |
|
inline |
Reads the frame and its camera format at the current frame index.
Before frames can be read, you need to call Open.
The calibration will be updated with the next frame The frame index will be moved to the next frame
xRayImg | [out] The frame. |
|
inline |
Reads the frame and its camera format at the current frame index.
Before frames can be read, you need to call Open. The frame index will be moved to the next frame
xRayImg | [out] The frame. |
bUpdateCalibration | True to update calibration. |
|
inline |
Reads the frame and its camera format at the current frame index.
Before frames can be read, you need to call Open.
xRayImg | [out] The frame. |
bUpdateCalibration | True to update calibration. |
|
inline |
Sets the current frame index.
uNewIdx | [in] The new frame index. |