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... | |
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, Rx::Codec::IImageCodec *pxFocusCodec=NULL, Rx::Codec::IImageCodec *pxDepthCodec=NULL) |
Saves a frame pair. 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.
|
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, | ||
Rx::Codec::IImageCodec * | pxFocusCodec = NULL , |
||
Rx::Codec::IImageCodec * | pxDepthCodec = NULL |
||
) |
Saves a frame pair.
pxFocusImg | The focus image. |
pxDepthImg | The depth image. Must be of float lumincance type and will be scaled to 0.0-1.0. |
pxFocusCodec | The focus codec. NULL = Raw Image. |
pxDepthCodec | The depth codec. NULL = Raw Image. |