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 and stops the background buffer thread. 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 | GetFrameIndex () |
Gets the current frame index. More... | |
unsigned | GetFrameSize () |
Gets the size of a frame in bytes. More... | |
virtual System::Object^ | GetInterface (Rx::LFR::Net::Interfaces::ESeqFileReader eData) |
Gets the interface. More... | |
unsigned | GetUsedFrameBufferCount () |
Gets the current number of used buffer slots. 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, unsigned uFrameBufferCount) |
Opens the given ray sequence for reading. More... | |
void | ReadFrame (Rx::Net::Image^ xFrame) |
Reads the frame at the current frame index. Reads the frame from buffer if already buffered. More... | |
void | SetFrameIndex (unsigned uNewIdx) |
Sets the current frame index. More... | |
void | StartReading (RayImage^ xRayImg) |
Reads the first frame including the meta data and the calibration. This starts the background buffer thread. More... | |
|
inline |
Default constructor.
|
inline |
Destructor. Closes the file if opened.
|
inline |
Closes the opened sequence file and stops the background buffer thread.
|
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 current frame index.
|
inline |
Gets the size of a frame in bytes.
|
inlinevirtualinherited |
Gets the interface.
|
inline |
Gets the current number of used buffer slots.
|
inline |
Queries if a file has been opened.
|
inline |
Moves the current frame index by the given number forward or backward.
iDelta | 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. |
uFrameBufferCount | Number of frames to buffer. Must NOT be zero. Default is 2. |
|
inline |
Reads the frame at the current frame index. Reads the frame from buffer if already buffered.
xFrame | [out] The frame. |
|
inline |
Sets the current frame index.
uNewIdx | The new frame index. |
|
inline |
Reads the first frame including the meta data and the calibration. This starts the background buffer thread.
xRayImg | [out] The ray image. |