StlIO.h
Go to the documentation of this file.
40 saveStlMeshToFile(const wchar_t* path, const IMesh * surf, bool binary = true, IProgressInfo* progr = 0, ICancellationToken* cncl = 0);
51 saveStlMeshToFileAscii(const wchar_t* path, const IMesh * surf, const char* name = NULL, IProgressInfo* progr = 0, ICancellationToken* cncl = 0);
61 saveStlMeshToFileBinary(const wchar_t* path, const IMesh * surf, IProgressInfo* progr = 0, ICancellationToken* cncl = 0);
72 saveStlMeshToBlob(IBlob** data, const IMesh * surf, bool binary = true, IProgressInfo* progr = 0, ICancellationToken* cncl = 0);
83 saveStlMeshToBlobAscii(IBlob** data, const IMesh * surf, const char * name = NULL, IProgressInfo* progr = 0, ICancellationToken* cncl = 0);
93 saveStlMeshToBlobBinary(IBlob** data, const IMesh * surf, IProgressInfo* progr = 0, ICancellationToken* cncl = 0);
100 /// @param binary - format of data - binary or textual. load-from-file functions use isBinary() call to determine it.
103 loadStlMeshFromFile(IMesh** surf, const wchar_t* path, bool binary, IProgressInfo * progr = 0, ICancellationToken * cncl = 0);
106 loadStlMeshFromFileAutodetect(IMesh** surf, const wchar_t* path, IProgressInfo * progr = 0, ICancellationToken * cncl = 0);
109 loadStlMeshFromFileAscii(IMesh** surf, const wchar_t* path, IProgressInfo * progr = 0, ICancellationToken * cncl = 0);
112 loadStlMeshFromFileBinary(IMesh** surf, const wchar_t* path, IProgressInfo * progr = 0, ICancellationToken * cncl = 0);
115 loadStlMeshFromBlob(IMesh** surf, const IBlob* data, bool binary, IProgressInfo * progr = 0, ICancellationToken * cncl = 0);
118 loadStlMeshFromBlobAscii(IMesh** surf, const IBlob* data, IProgressInfo * progr = 0, ICancellationToken * cncl = 0);
121 loadStlMeshFromBlobBinary(IMesh** surf, const IBlob* data, IProgressInfo * progr = 0, ICancellationToken * cncl = 0);
142 save(const wchar_t* path, const IMesh * surf, bool binary = true, IProgressInfo* progr = 0, ICancellationToken* cncl = 0)
156 saveAscii(const wchar_t* path, const IMesh * surf, const char* name = NULL, IProgressInfo* progr = 0, ICancellationToken* cncl = 0)
169 saveBinary(const wchar_t* path, const IMesh * surf, IProgressInfo* progr = 0, ICancellationToken* cncl = 0)
183 save(IBlob** data, const IMesh * surf, bool binary = true, IProgressInfo* progr = 0, ICancellationToken* cncl = 0)
197 saveAscii(IBlob** data, const IMesh * surf, const char * name = NULL, IProgressInfo* progr = 0, ICancellationToken* cncl = 0)
209 static ErrorCode saveBinary(IBlob** data, const IMesh * surf, IProgressInfo* progr = 0, ICancellationToken* cncl = 0)
219 /// @param binary - format of data - binary or textual. load-from-file functions use isBinary() call to determine it.
221 static ErrorCode load(IMesh** surf, const wchar_t* path, bool binary, IProgressInfo * progr = 0, ICancellationToken * cncl = 0)
226 static ErrorCode load(IMesh** surf, const wchar_t* path, IProgressInfo * progr = 0, ICancellationToken * cncl = 0)
231 static ErrorCode loadAscii(IMesh** surf, const wchar_t* path, IProgressInfo * progr = 0, ICancellationToken * cncl = 0)
236 static ErrorCode loadBinary(IMesh** surf, const wchar_t* path, IProgressInfo * progr = 0, ICancellationToken * cncl = 0)
241 static ErrorCode load(IMesh** surf, const IBlob* data, bool binary, IProgressInfo * progr = 0, ICancellationToken * cncl = 0)
246 static ErrorCode loadAscii(IMesh** surf, const IBlob* data, IProgressInfo * progr = 0, ICancellationToken * cncl = 0)
251 static ErrorCode loadBinary(IMesh** surf, const IBlob* data, IProgressInfo * progr = 0, ICancellationToken * cncl = 0)
Definition: IMesh.h:24
static ErrorCode loadAscii(IMesh **surf, const wchar_t *path, IProgressInfo *progr=0, ICancellationToken *cncl=0)
Definition: StlIO.h:231
ErrorCode ABASESDK_LINK_SPEC loadStlMeshFromFileAscii(IMesh **surf, const wchar_t *path, IProgressInfo *progr=0, ICancellationToken *cncl=0)
Definition: AlgorithmWorkset.h:17
Definition: StlIO.h:129
static ErrorCode load(IMesh **surf, const IBlob *data, bool binary, IProgressInfo *progr=0, ICancellationToken *cncl=0)
Definition: StlIO.h:241
ErrorCode ABASESDK_LINK_SPEC loadStlMeshFromFileAutodetect(IMesh **surf, const wchar_t *path, IProgressInfo *progr=0, ICancellationToken *cncl=0)
ErrorCode ABASESDK_LINK_SPEC saveStlMeshToBlob(IBlob **data, const IMesh *surf, bool binary=true, IProgressInfo *progr=0, ICancellationToken *cncl=0)
ErrorCode ABASESDK_LINK_SPEC loadStlMeshFromFileBinary(IMesh **surf, const wchar_t *path, IProgressInfo *progr=0, ICancellationToken *cncl=0)
ErrorCode ABASESDK_LINK_SPEC saveStlMeshToBlobBinary(IBlob **data, const IMesh *surf, IProgressInfo *progr=0, ICancellationToken *cncl=0)
ErrorCode ABASESDK_LINK_SPEC saveStlMeshToFileAscii(const wchar_t *path, const IMesh *surf, const char *name=NULL, IProgressInfo *progr=0, ICancellationToken *cncl=0)
static ErrorCode save(const wchar_t *path, const IMesh *surf, bool binary=true, IProgressInfo *progr=0, ICancellationToken *cncl=0)
Definition: StlIO.h:142
static ErrorCode loadBinary(IMesh **surf, const wchar_t *path, IProgressInfo *progr=0, ICancellationToken *cncl=0)
Definition: StlIO.h:236
ErrorCode ABASESDK_LINK_SPEC saveStlMeshToFileBinary(const wchar_t *path, const IMesh *surf, IProgressInfo *progr=0, ICancellationToken *cncl=0)
static ErrorCode loadBinary(IMesh **surf, const IBlob *data, IProgressInfo *progr=0, ICancellationToken *cncl=0)
Definition: StlIO.h:251
ErrorCode ABASESDK_LINK_SPEC loadStlMeshFromBlobAscii(IMesh **surf, const IBlob *data, IProgressInfo *progr=0, ICancellationToken *cncl=0)
static ErrorCode saveBinary(IBlob **data, const IMesh *surf, IProgressInfo *progr=0, ICancellationToken *cncl=0)
Definition: StlIO.h:209
ErrorCode ABASESDK_LINK_SPEC loadStlMeshFromFile(IMesh **surf, const wchar_t *path, bool binary, IProgressInfo *progr=0, ICancellationToken *cncl=0)
Definition: IBlob.h:31
static ErrorCode save(IBlob **data, const IMesh *surf, bool binary=true, IProgressInfo *progr=0, ICancellationToken *cncl=0)
Definition: StlIO.h:183
static ErrorCode saveAscii(IBlob **data, const IMesh *surf, const char *name=NULL, IProgressInfo *progr=0, ICancellationToken *cncl=0)
Definition: StlIO.h:197
ErrorCode ABASESDK_LINK_SPEC loadStlMeshFromBlob(IMesh **surf, const IBlob *data, bool binary, IProgressInfo *progr=0, ICancellationToken *cncl=0)
static ErrorCode load(IMesh **surf, const wchar_t *path, bool binary, IProgressInfo *progr=0, ICancellationToken *cncl=0)
Definition: StlIO.h:221
bool ABASESDK_LINK_SPEC isStlBinary(const wchar_t *path)
Determines the format of saved file.
static ErrorCode loadAscii(IMesh **surf, const IBlob *data, IProgressInfo *progr=0, ICancellationToken *cncl=0)
Definition: StlIO.h:246
static ErrorCode saveAscii(const wchar_t *path, const IMesh *surf, const char *name=NULL, IProgressInfo *progr=0, ICancellationToken *cncl=0)
Definition: StlIO.h:156
static ErrorCode saveBinary(const wchar_t *path, const IMesh *surf, IProgressInfo *progr=0, ICancellationToken *cncl=0)
Definition: StlIO.h:169
ErrorCode ABASESDK_LINK_SPEC saveStlMeshToFile(const wchar_t *path, const IMesh *surf, bool binary=true, IProgressInfo *progr=0, ICancellationToken *cncl=0)
ErrorCode ABASESDK_LINK_SPEC loadStlMeshFromBlobBinary(IMesh **surf, const IBlob *data, IProgressInfo *progr=0, ICancellationToken *cncl=0)
ErrorCode ABASESDK_LINK_SPEC saveStlMeshToBlobAscii(IBlob **data, const IMesh *surf, const char *name=NULL, IProgressInfo *progr=0, ICancellationToken *cncl=0)
static bool isBinary(const wchar_t *path)
Determines the format of saved file.
Definition: StlIO.h:258
static ErrorCode load(IMesh **surf, const wchar_t *path, IProgressInfo *progr=0, ICancellationToken *cncl=0)
Definition: StlIO.h:226