18 namespace artec { 
namespace sdk { 
namespace base
 
   23     class ICancellationToken;
 
   45         savePlyFrameToFile(
const wchar_t* path, 
const IFrameMesh* mesh, 
const Matrix3x4D* calibrationMatrix = NULL, IProgressInfo* progr = NULL, ICancellationToken* cncl = NULL, 
 
   46             bool binary = 
true, 
bool saveTexCoords = 
true, 
bool saveTexMatrix = 
false, 
bool saveTextures = 
true, 
 
   47             const wchar_t* imageFormat = L
"png");
 
   49         savePlyCompositeToFile(
const wchar_t* path, 
const ICompositeMesh* mesh, 
const Matrix3x4D* calibrationMatrix = NULL, IProgressInfo* progr = NULL, ICancellationToken* cncl = NULL, 
 
   50             bool binary = 
true, 
bool saveTexCoords = 
true, 
bool saveTexMatrix = 
false, 
bool saveTextures = 
true, 
 
   51             const wchar_t* imageFormat = L
"png");
 
   70         savePlyFrameToBlob(IBlob** data, 
const IFrameMesh* mesh, 
const Matrix3x4D* calibrationMatrix, IProgressInfo* progr = 0, ICancellationToken* cncl = 0,
 
   71             bool binary = 
true, 
bool saveTexCoords = 
true, 
bool saveTexMatrix = 
false);
 
   73         savePlyCompositeToBlob(IBlob** data, 
const ICompositeMesh* mesh, 
const Matrix3x4D* calibrationMatrix, IProgressInfo* progr = 0, ICancellationToken* cncl = 0,
 
   74         bool binary = 
true, 
bool saveTexCoords = 
true, 
bool saveTexMatrix = 
false);
 
   86         loadPlyFrameFromFile(IFrameMesh** mesh, 
Matrix3x4D* calibrationMatrix, 
const wchar_t* path, IProgressInfo* progr = 0, ICancellationToken* cncl = 0);
 
  101         loadPlyFrameFromBlob(IFrameMesh** mesh, 
Matrix3x4D* calibrationMatrix, 
const IBlob* data, IProgressInfo* progr = 0, ICancellationToken* cncl = 0);
 
  113         savePlyTexture(
const wchar_t* filename, 
const IFrameMesh* mesh, 
const wchar_t* imageFormat = L
"png");
 
  122         savePlyTextures(
const wchar_t* filename, 
const ICompositeMesh* mesh, 
const wchar_t* imageFormat = L
"png");
 
  145                 bool binary = 
true, 
bool saveTexCoords = 
true, 
bool saveTexMatrix = 
false, 
bool saveTextures = 
true, 
 
  146                 const wchar_t* imageFormat = L
"png")
 
  149                 saveTexCoords, saveTexMatrix, 
saveTextures, imageFormat);
 
  154                 bool binary = 
true, 
bool saveTexCoords = 
true, 
bool saveTexMatrix = 
false, 
bool saveTextures = 
true, 
 
  155                 const wchar_t* imageFormat = L
"png")
 
  158                 saveTexCoords, saveTexMatrix, 
saveTextures, imageFormat);
 
  179                 bool binary = 
true, 
bool saveTexCoords = 
true, 
bool saveTexMatrix = 
false)
 
  182                 saveTexCoords, saveTexMatrix);
 
  187             bool binary = 
true, 
bool saveTexCoords = 
true, 
bool saveTexMatrix = 
false)
 
  190                 saveTexCoords, saveTexMatrix);
 
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. 
ErrorCode ABASESDK_LINK_SPEC loadPlyFrameFromBlob(IFrameMesh **mesh, Matrix3x4D *calibrationMatrix, const IBlob *data, IProgressInfo *progr=0, ICancellationToken *cncl=0)
Load IFrameMesh/ICompositeMesh from PLY blob. 
static ErrorCode saveTexture(const wchar_t *filename, const IFrameMesh *mesh, const wchar_t *imageFormat=L"png")
Save texture for a given surface. 
static ErrorCode saveTextures(const wchar_t *filename, const ICompositeMesh *mesh, const wchar_t *imageFormat=L"png")
Save textures for a given surface. 
ErrorCode ABASESDK_LINK_SPEC savePlyTexture(const wchar_t *filename, const IFrameMesh *mesh, const wchar_t *imageFormat=L"png")
Save texture for a given surface. 
static ErrorCode load(ICompositeMesh **mesh, Matrix3x4D *calibrationMatrix, const wchar_t *path, IProgressInfo *progr=0, ICancellationToken *cncl=0)
Load IFrameMesh/ICompositeMesh from PLY file. 
Indexed triangle mesh with optional texture. 
static ErrorCode load(IFrameMesh **mesh, Matrix3x4D *calibrationMatrix, const wchar_t *path, IProgressInfo *progr=0, ICancellationToken *cncl=0)
Load IFrameMesh/ICompositeMesh from PLY file. 
ErrorCode ABASESDK_LINK_SPEC savePlyFrameToFile(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. 
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. 
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. 
Callback interface to notify process about cancellation. 
static ErrorCode load(ICompositeMesh **mesh, Matrix3x4D *calibrationMatrix, const IBlob *data, IProgressInfo *progr=0, ICancellationToken *cncl=0)
Load IFrameMesh/ICompositeMesh from PLY blob. 
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. 
Matrix of unspecified size. 
Interface for Binary Large Object (memory chunk) with smart reference counting. 
static ErrorCode load(IFrameMesh **mesh, Matrix3x4D *calibrationMatrix, const IBlob *data, IProgressInfo *progr=0, ICancellationToken *cncl=0)
Load IFrameMesh/ICompositeMesh from PLY blob. 
Interface for a progress notification listener. 
ErrorCode ABASESDK_LINK_SPEC savePlyCompositeToFile(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. 
ErrorCode ABASESDK_LINK_SPEC savePlyTextures(const wchar_t *filename, const ICompositeMesh *mesh, const wchar_t *imageFormat=L"png")
Save textures for a given surface. 
ErrorCode ABASESDK_LINK_SPEC savePlyCompositeToBlob(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. 
Indexed triangle mesh with optional unwrapped textures. 
ErrorCode ABASESDK_LINK_SPEC savePlyFrameToBlob(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. 
ErrorCode ABASESDK_LINK_SPEC loadPlyFrameFromFile(IFrameMesh **mesh, Matrix3x4D *calibrationMatrix, const wchar_t *path, IProgressInfo *progr=0, ICancellationToken *cncl=0)
Load IFrameMesh/ICompositeMesh from PLY file. 
Class to save/load PLY files (Stanford Polygon File Format) 
GenericMatrix< 3, 4, double > Matrix3x4D
#define ABASESDK_LINK_SPEC
ErrorCode ABASESDK_LINK_SPEC loadPlyCompositeFromFile(ICompositeMesh **mesh, Matrix3x4D *calibrationMatrix, const wchar_t *path, IProgressInfo *progr=0, ICancellationToken *cncl=0)
Load IFrameMesh/ICompositeMesh from PLY file. 
ErrorCode ABASESDK_LINK_SPEC loadPlyCompositeFromBlob(ICompositeMesh **mesh, Matrix3x4D *calibrationMatrix, const IBlob *data, IProgressInfo *progr=0, ICancellationToken *cncl=0)
Load IFrameMesh/ICompositeMesh from PLY blob.