Artec 3D Scanning SDK
2.0
|
Class to save/load PLY files (Stanford Polygon File Format) More...
#include <artec/sdk/base/io/PlyIO.h>
Static Public Member Functions | |
static ErrorCode | saveTexture (const wchar_t *filename, const IFrameMesh *mesh, const wchar_t *imageFormat=L"png") |
Save texture for a given surface. More... | |
static ErrorCode | saveTextures (const wchar_t *filename, const ICompositeMesh *mesh, const wchar_t *imageFormat=L"png") |
Save textures for a given surface. More... | |
static ErrorCode | save (const wchar_t *path, const IFrameMesh *mesh, const Matrix3x4D *calibrationMatrix=NULL, IProgressInfo *progr=NULL, ICancellationToken *cncl=NULL, bool binary=true, bool saveTexCoords=true, bool saveTexMatrix=false, bool saveTextures=true, const wchar_t *imageFormat=L"png") |
Save IFrameMesh/ICompositeMesh to PLY file. More... | |
static ErrorCode | save (const wchar_t *path, const ICompositeMesh *mesh, const Matrix3x4D *calibrationMatrix=NULL, IProgressInfo *progr=NULL, ICancellationToken *cncl=NULL, bool binary=true, bool saveTexCoords=true, bool saveTexMatrix=false, bool saveTextures=true, const wchar_t *imageFormat=L"png") |
Save IFrameMesh/ICompositeMesh to PLY file. More... | |
static ErrorCode | save (IBlob **data, const IFrameMesh *mesh, const Matrix3x4D *calibrationMatrix, IProgressInfo *progr=0, ICancellationToken *cncl=0, bool binary=true, bool saveTexCoords=true, bool saveTexMatrix=false) |
Save IFrameMesh/ICompositeMesh to PLY blob. More... | |
static ErrorCode | save (IBlob **data, const ICompositeMesh *mesh, const Matrix3x4D *calibrationMatrix, IProgressInfo *progr=0, ICancellationToken *cncl=0, bool binary=true, bool saveTexCoords=true, bool saveTexMatrix=false) |
Save IFrameMesh/ICompositeMesh to PLY blob. More... | |
static ErrorCode | load (IFrameMesh **mesh, Matrix3x4D *calibrationMatrix, const wchar_t *path, IProgressInfo *progr=0, ICancellationToken *cncl=0) |
Load IFrameMesh/ICompositeMesh from PLY file. More... | |
static ErrorCode | load (ICompositeMesh **mesh, Matrix3x4D *calibrationMatrix, const wchar_t *path, IProgressInfo *progr=0, ICancellationToken *cncl=0) |
Load IFrameMesh/ICompositeMesh from PLY file. More... | |
static ErrorCode | load (IFrameMesh **mesh, Matrix3x4D *calibrationMatrix, const IBlob *data, IProgressInfo *progr=0, ICancellationToken *cncl=0) |
Load IFrameMesh/ICompositeMesh from PLY blob. More... | |
static ErrorCode | load (ICompositeMesh **mesh, Matrix3x4D *calibrationMatrix, const IBlob *data, IProgressInfo *progr=0, ICancellationToken *cncl=0) |
Load IFrameMesh/ICompositeMesh from PLY blob. More... | |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
Load IFrameMesh/ICompositeMesh from PLY blob.
mesh | - loaded mesh |
calibrationMatrix | - calibration matrix 3x4 |
data | - blob to load image from |
progr | - progress interface |
cncl | - cancellation interface |
|
inlinestatic |
Load IFrameMesh/ICompositeMesh from PLY blob.
mesh | - loaded mesh |
calibrationMatrix | - calibration matrix 3x4 |
data | - blob to load image from |
progr | - progress interface |
cncl | - cancellation interface |
|
inlinestatic |
Save IFrameMesh/ICompositeMesh to PLY file.
path | - file path where to save mesh |
mesh | - mesh to save |
calibrationMatrix | - calibration matrix 3x4 to save |
progr | - progress interface |
cncl | - cancellation interface |
binary | - text or binary PLY format |
saveTexCoords | - save texture coordinates |
saveTexMatrix | - save texture matrix |
saveTextures | - save texture images alongside with PLY file (available only for out-to-file functions). This flag is valid only when saveTexCoords == true |
imageFormat | - texture image format if applicable ("png", "jpg", "bmp") |
|
inlinestatic |
Save IFrameMesh/ICompositeMesh to PLY file.
path | - file path where to save mesh |
mesh | - mesh to save |
calibrationMatrix | - calibration matrix 3x4 to save |
progr | - progress interface |
cncl | - cancellation interface |
binary | - text or binary PLY format |
saveTexCoords | - save texture coordinates |
saveTexMatrix | - save texture matrix |
saveTextures | - save texture images alongside with PLY file (available only for out-to-file functions). This flag is valid only when saveTexCoords == true |
imageFormat | - texture image format if applicable ("png", "jpg", "bmp") |
|
inlinestatic |
Save IFrameMesh/ICompositeMesh to PLY blob.
data | - blob where to save mesh |
mesh | - mesh to save |
calibrationMatrix | - calibration matrix 3x4 to save |
progr | - progress interface |
cncl | - cancellation interface |
binary | - text or binary PLY format |
saveTexCoords | - save texture coordinates |
saveTexMatrix | - save texture matrix |
saveTextures | - save texture images alongside with PLY file (available only for out-to-file functions). This flag is valid only when saveTexCoords == true |
imageFormat | - texture image format if applicable ("png", "jpg", "bmp") |
|
inlinestatic |
Save IFrameMesh/ICompositeMesh to PLY blob.
data | - blob where to save mesh |
mesh | - mesh to save |
calibrationMatrix | - calibration matrix 3x4 to save |
progr | - progress interface |
cncl | - cancellation interface |
binary | - text or binary PLY format |
saveTexCoords | - save texture coordinates |
saveTexMatrix | - save texture matrix |
saveTextures | - save texture images alongside with PLY file (available only for out-to-file functions). This flag is valid only when saveTexCoords == true |
imageFormat | - texture image format if applicable ("png", "jpg", "bmp") |
|
static |
Save texture for a given surface.
filename | - file path to the PLY file. File names for textures will be generated automatically. |
mesh | - textured mesh to save |
imageFormat | - texture image format if applicable ("png", "jpg", "bmp") |
|
static |
Save textures for a given surface.
filename | - file path to the PLY file. File names for textures will be generated automatically. |
mesh | - textured mesh to save |
imageFormat | - texture image format if applicable ("png", "jpg", "bmp") |