PlyIO.h
Go to the documentation of this file.
40 * @param saveTextures - if texture images should be saved near PLY file (available only for out-to-file functions).
46 savePlyFrameToFile(const wchar_t* path, const IFrameMesh* mesh, const Matrix3x4D* calibrationMatrix = NULL, IProgressInfo* progr = NULL, ICancellationToken* cncl = NULL,
47 bool binary = true, bool saveTexCoords = true, bool saveTexMatrix = false, bool saveTextures = true,
50 savePlyCompositeToFile(const wchar_t* path, const ICompositeMesh* mesh, const Matrix3x4D* calibrationMatrix = NULL, IProgressInfo* progr = NULL, ICancellationToken* cncl = NULL,
51 bool binary = true, bool saveTexCoords = true, bool saveTexMatrix = false, bool saveTextures = true,
66 * @param saveTextures - if texture images should be saved near PLY file (available only for out-to-file functions).
72 savePlyFrameToBlob(IBlob** data, const IFrameMesh* mesh, const Matrix3x4D* calibrationMatrix, IProgressInfo* progr = 0, ICancellationToken* cncl = 0,
75 savePlyCompositeToBlob(IBlob** data, const ICompositeMesh* mesh, const Matrix3x4D* calibrationMatrix, IProgressInfo* progr = 0, ICancellationToken* cncl = 0,
89 loadPlyFrameFromFile(IFrameMesh** mesh, Matrix3x4D* calibrationMatrix, const wchar_t* path, IProgressInfo* progr = 0, ICancellationToken* cncl = 0);
91 loadPlyCompositeFromFile(ICompositeMesh** mesh, Matrix3x4D* calibrationMatrix, const wchar_t* path, IProgressInfo* progr = 0, ICancellationToken* cncl = 0);
105 loadPlyFrameFromBlob(IFrameMesh** mesh, Matrix3x4D* calibrationMatrix, const IBlob* data, IProgressInfo* progr = 0, ICancellationToken* cncl = 0);
107 loadPlyCompositeFromBlob(ICompositeMesh** mesh, Matrix3x4D* calibrationMatrix, const IBlob* data, IProgressInfo* progr = 0, ICancellationToken* cncl = 0);
111 * @note This function is called by save() (out-to-file versions) functions when save_textures == true && save_texcoords == true.
112 * @param filename - file path to .ply file. File names for textures will be generated automatically.
118 savePlyTexture(const wchar_t* filename, const IFrameMesh* mesh, const wchar_t* imageFormat = L"png");
121 * @note This function is called by save() (out-to-file versions) functions when save_textures == true && save_texcoords == true.
122 * @param filename - file path to .ply file. File names for textures will be generated automatically.
128 savePlyTextures(const wchar_t* filename, const ICompositeMesh* mesh, const wchar_t* imageFormat = L"png");
145 * @param saveTextures - if texture images should be saved near PLY file (available only for out-to-file functions).
151 save(const wchar_t* path, const IFrameMesh* mesh, const Matrix3x4D* calibrationMatrix = NULL, IProgressInfo* progr = NULL, ICancellationToken* cncl = NULL,
152 bool binary = true, bool saveTexCoords = true, bool saveTexMatrix = false, bool saveTextures = true,
160 save(const wchar_t* path, const ICompositeMesh* mesh, const Matrix3x4D* calibrationMatrix = NULL, IProgressInfo* progr = NULL, ICancellationToken* cncl = NULL,
161 bool binary = true, bool saveTexCoords = true, bool saveTexMatrix = false, bool saveTextures = true,
180 * @param saveTextures - if texture images should be saved near PLY file (available only for out-to-file functions).
186 save(IBlob** data, const IFrameMesh* mesh, const Matrix3x4D* calibrationMatrix, IProgressInfo* progr = 0, ICancellationToken* cncl = 0,
194 save(IBlob** data, const ICompositeMesh* mesh, const Matrix3x4D* calibrationMatrix, IProgressInfo* progr = 0, ICancellationToken* cncl = 0,
211 static ErrorCode load(IFrameMesh** mesh, Matrix3x4D* calibrationMatrix, const wchar_t* path, IProgressInfo* progr = 0, ICancellationToken* cncl = 0)
216 static ErrorCode load(ICompositeMesh** mesh, Matrix3x4D* calibrationMatrix, const wchar_t* path, IProgressInfo* progr = 0, ICancellationToken* cncl = 0)
232 static ErrorCode load(IFrameMesh** mesh, Matrix3x4D* calibrationMatrix, const IBlob* data, IProgressInfo* progr = 0, ICancellationToken* cncl = 0)
237 static ErrorCode load(ICompositeMesh** mesh, Matrix3x4D* calibrationMatrix, const IBlob* data, IProgressInfo* progr = 0, ICancellationToken* cncl = 0)
244 * @note This function is called by save() (out-to-file versions) functions when save_textures == true && save_texcoords == true.
245 * @param filename - file path to .ply file. File names for textures will be generated automatically.
250 static ErrorCode saveTexture(const wchar_t* filename, const IFrameMesh* mesh, const wchar_t* imageFormat = L"png");
253 * @note This function is called by save() (out-to-file versions) functions when save_textures == true && save_texcoords == true.
254 * @param filename - file path to .ply file. File names for textures will be generated automatically.
259 static ErrorCode saveTextures(const wchar_t* filename, const ICompositeMesh* mesh, const wchar_t* imageFormat = L"png");
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")
Definition: PlyIO.h:151
ErrorCode ABASESDK_LINK_SPEC loadPlyFrameFromBlob(IFrameMesh **mesh, Matrix3x4D *calibrationMatrix, const IBlob *data, IProgressInfo *progr=0, ICancellationToken *cncl=0)
Definition: AlgorithmWorkset.h:17
static ErrorCode saveTexture(const wchar_t *filename, const IFrameMesh *mesh, const wchar_t *imageFormat=L"png")
static ErrorCode saveTextures(const wchar_t *filename, const ICompositeMesh *mesh, const wchar_t *imageFormat=L"png")
ErrorCode ABASESDK_LINK_SPEC savePlyTexture(const wchar_t *filename, const IFrameMesh *mesh, const wchar_t *imageFormat=L"png")
static ErrorCode load(ICompositeMesh **mesh, Matrix3x4D *calibrationMatrix, const wchar_t *path, IProgressInfo *progr=0, ICancellationToken *cncl=0)
Definition: PlyIO.h:216
Definition: IFrameMesh.h:30
static ErrorCode load(IFrameMesh **mesh, Matrix3x4D *calibrationMatrix, const wchar_t *path, IProgressInfo *progr=0, ICancellationToken *cncl=0)
Definition: PlyIO.h:211
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")
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)
Definition: PlyIO.h:194
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)
Definition: PlyIO.h:186
static ErrorCode load(ICompositeMesh **mesh, Matrix3x4D *calibrationMatrix, const IBlob *data, IProgressInfo *progr=0, ICancellationToken *cncl=0)
Definition: PlyIO.h:237
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")
Definition: PlyIO.h:160
Definition: IBlob.h:31
static ErrorCode load(IFrameMesh **mesh, Matrix3x4D *calibrationMatrix, const IBlob *data, IProgressInfo *progr=0, ICancellationToken *cncl=0)
Definition: PlyIO.h:232
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")
ErrorCode ABASESDK_LINK_SPEC savePlyTextures(const wchar_t *filename, const ICompositeMesh *mesh, const wchar_t *imageFormat=L"png")
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)
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)
ErrorCode ABASESDK_LINK_SPEC loadPlyFrameFromFile(IFrameMesh **mesh, Matrix3x4D *calibrationMatrix, const wchar_t *path, IProgressInfo *progr=0, ICancellationToken *cncl=0)
Definition: PlyIO.h:131
ErrorCode ABASESDK_LINK_SPEC loadPlyCompositeFromFile(ICompositeMesh **mesh, Matrix3x4D *calibrationMatrix, const wchar_t *path, IProgressInfo *progr=0, ICancellationToken *cncl=0)
ErrorCode ABASESDK_LINK_SPEC loadPlyCompositeFromBlob(ICompositeMesh **mesh, Matrix3x4D *calibrationMatrix, const IBlob *data, IProgressInfo *progr=0, ICancellationToken *cncl=0)