TRIX file reader.
Public Member Functions | |
CTrixReader () | |
Default constructor. More... | |
~CTrixReader () | |
Destructor. More... | |
void | Close () |
Closes this CTrixWriter and the file. More... | |
size_t | GetFrameCount () const |
Gets the frame count. More... | |
void | Open (const CRxString &sxFilename) |
Opens a new file for read. More... | |
void | ReadFrame (Rx::Interop::Runtime28::IImage *pxFocusImg, Rx::Interop::Runtime28::IImage *pxDepthImg, size_t nFrameIdx) |
Reads the given images from file. More... | |
Rx::FileIO::CTrixReader::CTrixReader | ( | ) |
Default constructor.
Rx::FileIO::CTrixReader::~CTrixReader | ( | ) |
Destructor.
void Rx::FileIO::CTrixReader::Close | ( | ) |
Closes this CTrixWriter and the file.
size_t Rx::FileIO::CTrixReader::GetFrameCount | ( | ) | const |
Gets the frame count.
void Rx::FileIO::CTrixReader::Open | ( | const CRxString & | sxFilename | ) |
Opens a new file for read.
sxFilename | The filename. |
void Rx::FileIO::CTrixReader::ReadFrame | ( | Rx::Interop::Runtime28::IImage * | pxFocusImg, |
Rx::Interop::Runtime28::IImage * | pxDepthImg, | ||
size_t | nFrameIdx | ||
) |
Reads the given images from file.
pxFocusImg | [in,out] Filename. |
pxDepthImg | [out] The focus image. |
nFrameIdx | [out] The depth image. Is scaled between 0.0 and 1.0. |