Artec 3D Scanning SDK
2.0
|
Class to save/load BUFF (simple format to store mesh data). More...
#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) |
Save IFrameMesh to BUFF file. More... | |
static ErrorCode | save (IBlob **data, const IFrameMesh *mesh, IProgressInfo *progr=0, ICancellationToken *cncl=0) |
Save IFrameMesh to BUFF blob. More... | |
static ErrorCode | load (IFrameMesh **mesh, const wchar_t *path, IProgressInfo *progr=0, ICancellationToken *cncl=0) |
Load IFrameMesh from BUFF file. More... | |
static ErrorCode | load (IFrameMesh **mesh, const IBlob *data, IProgressInfo *progr=0, ICancellationToken *cncl=0) |
Load IFrameMesh from BUFF blob. More... | |
Class to save/load BUFF (simple format to store mesh data).
It provides convenient static methods to save and load meshes to and from BUFF files. It is composed of the following fields:
In other words, point array takes up 3 * sizeof(float) * (number of points) bytes. Triangle array takes up 3 * sizeof(int) * (number of triangles) bytes.
|
inlinestatic |
Load IFrameMesh from BUFF file.
mesh | - loaded mesh |
path | - file path to load image from |
progr | - progress interface |
cncl | - cancellation interface |
|
inlinestatic |
Load IFrameMesh from BUFF blob.
mesh | - loaded mesh |
data | - blob to load image from |
progr | - progress interface |
cncl | - cancellation interface |
|
inlinestatic |
Save IFrameMesh to BUFF file.
path | - file path where to save mesh |
mesh | - mesh to save |
progr | - progress interface |
cncl | - cancellation interface |
|
inlinestatic |
Save IFrameMesh to BUFF blob.
data | - blob where to save mesh |
mesh | - mesh to save |
progr | - progress interface |
cncl | - cancellation interface |