|
KiCad PCB EDA Suite
|
#include <plugins/3dapi/model_import.h>#include <plugins/3dapi/ifsg_api.h>#include <plugins/3dapi/ifsg_all.h>#include "oce/loadmodel.h"#include "vrml/loadmodel.h"#include "model_import_internal.h"#include <wx/filename.h>#include <wx/log.h>#include <algorithm>#include <cmath>#include <exception>#include <limits>#include <new>#include <string>#include <vector>#include <decompress.hpp>#include <Standard_Failure.hxx>Go to the source code of this file.
Functions | |
| wxString | CreateModelImportTempFileName (const wxString &aPrefix) |
| MODEL_IMPORT_GZIP_RESULT | DecompressBoundedModel (const char *aData, std::size_t aSize, std::uint64_t aMaxExpandedBytes, std::string &aExpanded) |
| Expand a gzip stream into aExpanded, refusing anything over aMaxExpandedBytes. | |
| wxString CreateModelImportTempFileName | ( | const wxString & | aPrefix | ) |
Definition at line 100 of file model_import.cpp.
References directory, and result.
Referenced by LoadVRML(), and readSTEPZ().
| MODEL_IMPORT_GZIP_RESULT DecompressBoundedModel | ( | const char * | aData, |
| std::size_t | aSize, | ||
| std::uint64_t | aMaxExpandedBytes, | ||
| std::string & | aExpanded ) |
Expand a gzip stream into aExpanded, refusing anything over aMaxExpandedBytes.
Definition at line 125 of file model_import.cpp.
References CORRUPT, OK, and TOO_LARGE.
Referenced by LoadVRML(), and readSTEPZ().