TRIX File Base Writer.
Inherits Rx::FileIO::CTrixBase.
Public Member Functions | |
CTrixBaseWriter () | |
Default constructor. More... | |
~CTrixBaseWriter () | |
Destructor. More... | |
void | Close () |
Closes this CTrixBaseWriter and finalizes the file. More... | |
size_t | GetApproximatedFileSize () |
Gets approximated file size. More... | |
void | Open (const CRxString &sxFilename) |
Opens a new file for write. More... | |
size_t | WriteFrame (const Rx::Interop::Runtime28::IImage *pxFocusImg, const Rx::Interop::Runtime28::IImage *pxDepthImg, const Rx::Interop::Runtime28::IImage *pxDepth3DImg, Rx::Codec::IImageCodec *pxFocusCodec=NULL, Rx::Codec::IImageCodec *pxDepthCodec=NULL, Rx::Codec::IImageCodec *pxDepth3DCodec=NULL) |
Writes a frame. More... | |
Static Public Member Functions | |
static const CRxString & | GetGuid () |
Gets the unique identifier of this type. More... | |
static unsigned | GetVersion () |
Gets the version. More... | |
Rx::FileIO::CTrixBaseWriter::CTrixBaseWriter | ( | ) |
Default constructor.
Rx::FileIO::CTrixBaseWriter::~CTrixBaseWriter | ( | ) |
Destructor.
void Rx::FileIO::CTrixBaseWriter::Close | ( | ) |
Closes this CTrixBaseWriter and finalizes the file.
size_t Rx::FileIO::CTrixBaseWriter::GetApproximatedFileSize | ( | ) |
Gets approximated file size.
|
staticinherited |
Gets the unique identifier of this type.
|
staticinherited |
Gets the version.
void Rx::FileIO::CTrixBaseWriter::Open | ( | const CRxString & | sxFilename | ) |
Opens a new file for write.
sxFilename | The filename. |
size_t Rx::FileIO::CTrixBaseWriter::WriteFrame | ( | const Rx::Interop::Runtime28::IImage * | pxFocusImg, |
const Rx::Interop::Runtime28::IImage * | pxDepthImg, | ||
const Rx::Interop::Runtime28::IImage * | pxDepth3DImg, | ||
Rx::Codec::IImageCodec * | pxFocusCodec = NULL , |
||
Rx::Codec::IImageCodec * | pxDepthCodec = NULL , |
||
Rx::Codec::IImageCodec * | pxDepth3DCodec = NULL |
||
) |
Writes a frame.
pxFocusImg | The focus image. | |
pxDepthImg | The depth image. | |
pxDepth3DImg | The depth 3D image. | |
[in,out] | pxFocusCodec | If non-null, the focus codec. |
[in,out] | pxDepthCodec | If non-null, the depth codec. |
[in,out] | pxDepth3DCodec | If non-null, the depth 3d codec. |