Raytrix Light Field SDK  v3.1
Logo
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Properties Events Groups Pages
Rx::FileIO::CTrixBaseWriter Class Reference

Detailed Description

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 CRxStringGetGuid ()
 Gets the unique identifier of this type. More...
 
static unsigned GetVersion ()
 Gets the version. More...
 

Constructor & Destructor Documentation

Rx::FileIO::CTrixBaseWriter::CTrixBaseWriter ( )

Default constructor.

Rx::FileIO::CTrixBaseWriter::~CTrixBaseWriter ( )

Destructor.

Member Function Documentation

void Rx::FileIO::CTrixBaseWriter::Close ( )

Closes this CTrixBaseWriter and finalizes the file.

size_t Rx::FileIO::CTrixBaseWriter::GetApproximatedFileSize ( )

Gets approximated file size.

Returns
The approximated file size.
static const CRxString& Rx::FileIO::CTrixBase::GetGuid ( )
staticinherited

Gets the unique identifier of this type.

Returns
The unique identifier.
static unsigned Rx::FileIO::CTrixBase::GetVersion ( )
staticinherited

Gets the version.

Returns
The version.
void Rx::FileIO::CTrixBaseWriter::Open ( const CRxString sxFilename)

Opens a new file for write.

Parameters
sxFilenameThe 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.

Parameters
pxFocusImgThe focus image.
pxDepthImgThe depth image.
pxDepth3DImgThe depth 3D image.
[in,out]pxFocusCodecIf non-null, the focus codec.
[in,out]pxDepthCodecIf non-null, the depth codec.
[in,out]pxDepth3DCodecIf non-null, the depth 3d codec.
Returns
.