Raytrix Light Field SDK
5.0
|
Provides methods for writing frames into a sequence in a rays file.
Inherits Rx::Net::NativeInterfaceWrapper< Rx::LFR::CSeqFileWriter, Rx::LFR::Net::Interfaces::ESeqFileWriter >.
Public Member Functions | |
SeqFileWriter () | |
Default constructor. More... | |
~SeqFileWriter () | |
Destructor. Closes the opened file. More... | |
unsigned | Close () |
Closes the opened sequence file and stops the background buffer thread. More... | |
unsigned | GetDoubleShotMode () |
Gets the double shot mode that has been passed in StartWriting. More... | |
unsigned __int64 | GetFileSize () |
Gets the current file size in bytes. More... | |
unsigned | GetFrameCount () |
Gets the current number of frames in the opened sequence. More... | |
Rx::Net::ImageFormat ^ | GetFrameFormat () |
Gets the frame format that has been passed in StartWriting. More... | |
unsigned | GetFrameSize () |
Gets the size of a frame in bytes. More... | |
virtual System::Object ^ | GetInterface (Rx::LFR::Net::Interfaces::ESeqFileWriter 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... | |
bool | IsWriting () |
Queries if StartWriting has been called. More... | |
void | Open (System::String^ sFilename, unsigned uFrameBufferCount) |
Opens the given ray sequence for writing. More... | |
void | StartWriting (Rx::Net::ImageFormat^ xFrameFormat, Calibration^ xCalib, Rx::Net::MetaData^ xMeta, unsigned uDoubleShotMode) |
Starts the write process. This starts the background buffer thread. More... | |
void | WriteFrame (Rx::Net::Image^ xFrame, Calibration^ xCalib, bool bSequential) |
Writes the given frame at the current frame index. More... | |
|
inline |
Default constructor.
|
inline |
Destructor. Closes the opened file.
|
inline |
Closes the opened sequence file and stops the background buffer thread.
|
inline |
Gets the double shot mode that has been passed in StartWriting.
|
inline |
Gets the current file size in bytes.
|
inline |
Gets the current number of frames in the opened sequence.
|
inline |
Gets the frame format that has been passed in StartWriting.
|
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 |
Queries if StartWriting has been called.
|
inline |
Opens the given ray sequence for writing.
Requires an authenticated dongle (Rx::LFR::Net::LightFieldRuntime::Authenticate) with the Rx::Dongle::ERuntimeFeature::Save feature.
sFilename | [in] The complete file path. |
uFrameBufferCount | [in] Number of frames to buffer. Must NOT be zero. Default is 2. |
|
inline |
Starts the write process. This starts the background buffer thread.
xFrameFormat | [in] The frame format. |
xCalib | [in] The calibration. |
xMeta | [in] The meta data. |
uDoubleShotMode | [in] The double shot mode. |
|
inline |
Writes the given frame at the current frame index.
xFrame | [in] The frame. |
xCalib | [in] The calibration of the current frame. |
bSequential | [in] True to sequential. |