artec::sdk::base::io::Buff Class Reference

#include <artec/sdk/base/IO/BuffIO.h>

Static Public Member Functions

static ErrorCode save (const wchar_t *path, const IFrameMesh *mesh, IProgressInfo *progr=0, ICancellationToken *cncl=0)
 
static ErrorCode save (IBlob **data, const IFrameMesh *mesh, IProgressInfo *progr=0, ICancellationToken *cncl=0)
 
static ErrorCode load (IFrameMesh **mesh, const wchar_t *path, IProgressInfo *progr=0, ICancellationToken *cncl=0)
 
static ErrorCode load (IFrameMesh **mesh, const IBlob *data, IProgressInfo *progr=0, ICancellationToken *cncl=0)
 

Detailed Description

Definition at line 71 of file BuffIO.h.

Member Function Documentation

static ErrorCode artec::sdk::base::io::Buff::load ( IFrameMesh **  mesh,
const wchar_t *  path,
IProgressInfo progr = 0,
ICancellationToken cncl = 0 
)
inlinestatic

Load IFrameMesh from BUFF file

Parameters
mesh- loaded mesh
path- file path to load image from
progr- progress interface
cncl- cancel interface
Returns
error code

Definition at line 107 of file BuffIO.h.

static ErrorCode artec::sdk::base::io::Buff::load ( IFrameMesh **  mesh,
const IBlob data,
IProgressInfo progr = 0,
ICancellationToken cncl = 0 
)
inlinestatic

Load IFrameMesh from BUFF blob

Note
load only geometry, not texture also, because image is stored in separate blob
Parameters
mesh- loaded mesh
data- blob to load image from
progr- progress interface
cncl- cancel interface
Returns
error code

Definition at line 120 of file BuffIO.h.

static ErrorCode artec::sdk::base::io::Buff::save ( const wchar_t *  path,
const IFrameMesh mesh,
IProgressInfo progr = 0,
ICancellationToken cncl = 0 
)
inlinestatic

Save IFrameMesh to BUFF file

Parameters
path- file path to save mesh to
mesh- mesh to be saved
progr- progress interface
cncl- cancel interface
Returns
error code

Definition at line 82 of file BuffIO.h.

static ErrorCode artec::sdk::base::io::Buff::save ( IBlob **  data,
const IFrameMesh mesh,
IProgressInfo progr = 0,
ICancellationToken cncl = 0 
)
inlinestatic

Save IFrameMesh to BUFF blob

Note
save only geometry, not texture also, because image is stored in separate blob
Parameters
data- blob to save mesh to
mesh- mesh to be saved
progr- progress interface
cncl- cancel interface
Returns
error code

Definition at line 95 of file BuffIO.h.


The documentation for this class was generated from the following file: