#include <artec/sdk/base/IO/StlIO.h>
|
static ErrorCode | save (const wchar_t *path, const IMesh *surf, bool binary=true, IProgressInfo *progr=0, ICancellationToken *cncl=0) |
|
static ErrorCode | saveAscii (const wchar_t *path, const IMesh *surf, const char *name=NULL, IProgressInfo *progr=0, ICancellationToken *cncl=0) |
|
static ErrorCode | saveBinary (const wchar_t *path, const IMesh *surf, IProgressInfo *progr=0, ICancellationToken *cncl=0) |
|
static ErrorCode | save (IBlob **data, const IMesh *surf, bool binary=true, IProgressInfo *progr=0, ICancellationToken *cncl=0) |
|
static ErrorCode | saveAscii (IBlob **data, const IMesh *surf, const char *name=NULL, IProgressInfo *progr=0, ICancellationToken *cncl=0) |
|
static ErrorCode | saveBinary (IBlob **data, const IMesh *surf, IProgressInfo *progr=0, ICancellationToken *cncl=0) |
|
static bool | isBinary (const wchar_t *path) |
| Determines the format of saved file. More...
|
|
|
static ErrorCode | load (IMesh **surf, const wchar_t *path, bool binary, IProgressInfo *progr=0, ICancellationToken *cncl=0) |
|
static ErrorCode | load (IMesh **surf, const wchar_t *path, IProgressInfo *progr=0, ICancellationToken *cncl=0) |
|
static ErrorCode | loadAscii (IMesh **surf, const wchar_t *path, IProgressInfo *progr=0, ICancellationToken *cncl=0) |
|
static ErrorCode | loadBinary (IMesh **surf, const wchar_t *path, IProgressInfo *progr=0, ICancellationToken *cncl=0) |
|
static ErrorCode | load (IMesh **surf, const IBlob *data, bool binary, IProgressInfo *progr=0, ICancellationToken *cncl=0) |
|
static ErrorCode | loadAscii (IMesh **surf, const IBlob *data, IProgressInfo *progr=0, ICancellationToken *cncl=0) |
|
static ErrorCode | loadBinary (IMesh **surf, const IBlob *data, IProgressInfo *progr=0, ICancellationToken *cncl=0) |
|
Definition at line 129 of file StlIO.h.
static bool artec::sdk::base::io::Stl::isBinary |
( |
const wchar_t * |
path | ) |
|
|
inlinestatic |
Determines the format of saved file.
Definition at line 258 of file StlIO.h.
Load IMesh surface from file/blob in STL format
- Parameters
-
stream | - we intend load surface from here |
path | - file path to load surface from |
surf | - loaded surface |
binary | - format of data - binary or textual. load-from-file functions use isBinary() call to determine it. |
Definition at line 221 of file StlIO.h.
Load IMesh surface from file/blob in STL format
- Parameters
-
stream | - we intend load surface from here |
path | - file path to load surface from |
surf | - loaded surface |
binary | - format of data - binary or textual. load-from-file functions use isBinary() call to determine it. |
Definition at line 226 of file StlIO.h.
Load IMesh surface from file/blob in STL format
- Parameters
-
stream | - we intend load surface from here |
path | - file path to load surface from |
surf | - loaded surface |
binary | - format of data - binary or textual. load-from-file functions use isBinary() call to determine it. |
Definition at line 241 of file StlIO.h.
Load IMesh surface from file/blob in STL format
- Parameters
-
stream | - we intend load surface from here |
path | - file path to load surface from |
surf | - loaded surface |
binary | - format of data - binary or textual. load-from-file functions use isBinary() call to determine it. |
Definition at line 231 of file StlIO.h.
Load IMesh surface from file/blob in STL format
- Parameters
-
stream | - we intend load surface from here |
path | - file path to load surface from |
surf | - loaded surface |
binary | - format of data - binary or textual. load-from-file functions use isBinary() call to determine it. |
Definition at line 246 of file StlIO.h.
Load IMesh surface from file/blob in STL format
- Parameters
-
stream | - we intend load surface from here |
path | - file path to load surface from |
surf | - loaded surface |
binary | - format of data - binary or textual. load-from-file functions use isBinary() call to determine it. |
Definition at line 236 of file StlIO.h.
Load IMesh surface from file/blob in STL format
- Parameters
-
stream | - we intend load surface from here |
path | - file path to load surface from |
surf | - loaded surface |
binary | - format of data - binary or textual. load-from-file functions use isBinary() call to determine it. |
Definition at line 251 of file StlIO.h.
Save IMesh surface to STL file
- Parameters
-
path | - file path to save mesh to |
surf | - surface to be saved (not empty) |
binary | - text or binary stl format |
progr | - progress interface |
cncl | - cancel interface |
- Returns
- error code
Definition at line 142 of file StlIO.h.
Save IMesh surface to STL blob
- Parameters
-
data | - blob to save mesh to |
surf | - surface to be saved (not empty) |
binary | - text or binary stl format |
progr | - progress interface |
cncl | - cancel interface |
- Returns
- error code
Definition at line 183 of file StlIO.h.
Save IMesh surface to ascii STL file
- Parameters
-
path | - file path to save mesh to |
surf | - surface to be saved (not empty) |
name | - the name of the mesh |
progr | - progress interface |
cncl | - cancel interface |
- Returns
- error code
Definition at line 156 of file StlIO.h.
Save IMesh surface to ascii STL blob
- Parameters
-
data | - blob to save mesh to |
surf | - surface to be saved (not empty) |
name | - the name of the mesh |
progr | - progress interface |
cncl | - cancel interface |
- Returns
- error code
Definition at line 197 of file StlIO.h.
Save IMesh surface to binary STL file
- Parameters
-
path | - file path to save mesh to |
surf | - surface to be saved (not empty) |
progr | - progress interface |
cncl | - cancel interface |
- Returns
- error code
Definition at line 169 of file StlIO.h.
Save IMesh surface to binary STL blob
- Parameters
-
data | - blob to save mesh to |
surf | - surface to be saved (not empty) |
progr | - progress interface |
cncl | - cancel interface |
- Returns
- error code
Definition at line 209 of file StlIO.h.
The documentation for this class was generated from the following file: