|
KiCad PCB EDA Suite
|
#include "plugins/3d/3d_plugin.h"#include "plugins/3dapi/ifsg_all.h"#include "vrml_line_reader.h"#include "vrml1_base.h"#include "vrml2_base.h"#include "wrlproc.h"#include "x3d.h"#include <wx/filename.h>#include <wx/stdpaths.h>#include <wx/string.h>#include <wx/wfstream.h>#include <wx/log.h>#include <algorithm>#include <limits>#include <memory>#include <vector>#include "loadmodel.h"#include "../model_import_internal.h"Go to the source code of this file.
Functions | |
| SCENEGRAPH * | LoadVRML (const wxString &aFileName, const S3D::MODEL_IMPORT_OPTIONS &aOptions, MODEL_IMPORT_STATUS *aStatus) |
| SCENEGRAPH * | LoadX3D (const wxString &aFileName, const S3D::MODEL_IMPORT_OPTIONS &aOptions, MODEL_IMPORT_STATUS *aStatus) |
| SCENEGRAPH * | LoadVRMLModel (const char *aFileName, const S3D::MODEL_IMPORT_OPTIONS *aOptions, MODEL_IMPORT_STATUS *aStatus) |
| SCENEGRAPH * | LoadVRMLModel (const char *aFileName, const S3D::MODEL_IMPORT_OPTIONS *aOptions) |
Variables | |
| const wxChar *const | traceVrmlPlugin = wxT( "KICAD_VRML_PLUGIN" ) |
| Flag to enable VRML plugin trace output. | |
| SCENEGRAPH * LoadVRML | ( | const wxString & | aFileName, |
| const S3D::MODEL_IMPORT_OPTIONS & | aOptions, | ||
| MODEL_IMPORT_STATUS * | aStatus ) |
Definition at line 72 of file vrml.cpp.
References CORRUPT, CreateModelImportTempFileName(), DecompressBoundedModel(), S3D::DestroyNode(), MODEL_IMPORT_STATUS::diagnostic, WRLPROC::GetVRMLType(), S3D::IMPORT_FAILED, S3D::INVALID, S3D::MODEL_IMPORT_OPTIONS::maxCompressedBytes, S3D::MODEL_IMPORT_OPTIONS::maxExpandedBytes, OK, MODEL_IMPORT_TEMP_FILE::path, MODEL_IMPORT_STATUS::Set(), TOO_LARGE, S3D::TOO_LARGE, traceVrmlPlugin, S3D::UNREADABLE, VRML_V1, VRML_V2, S3D::MODEL_IMPORT_OPTIONS::vrmlApplyLegacyUnitConversion, S3D::MODEL_IMPORT_OPTIONS::vrmlEnableInline, and S3D::WriteVRML().
Referenced by WRL2BASE::GetInlineData(), and LoadVRMLModel().
| SCENEGRAPH * LoadVRMLModel | ( | const char * | aFileName, |
| const S3D::MODEL_IMPORT_OPTIONS * | aOptions ) |
Definition at line 330 of file vrml.cpp.
References MODEL_IMPORT_STATUS::diagnostic, LoadVRMLModel(), and traceVrmlPlugin.
Referenced by S3D::ImportModel(), and Load().
| SCENEGRAPH * LoadVRMLModel | ( | const char * | aFileName, |
| const S3D::MODEL_IMPORT_OPTIONS * | aOptions, | ||
| MODEL_IMPORT_STATUS * | aStatus ) |
Definition at line 298 of file vrml.cpp.
References S3D::AUTO, MODEL_IMPORT_STATUS::diagnostic, S3D::MODEL_IMPORT_OPTIONS::format, S3D::IMPORT_FAILED, LoadVRML(), LoadX3D(), MODEL_IMPORT_STATUS::Set(), S3D::VRML, and S3D::X3D.
Referenced by LoadVRMLModel().
| SCENEGRAPH * LoadX3D | ( | const wxString & | aFileName, |
| const S3D::MODEL_IMPORT_OPTIONS & | aOptions, | ||
| MODEL_IMPORT_STATUS * | aStatus ) |
Definition at line 273 of file vrml.cpp.
References S3D::DestroyNode(), S3D::INVALID, S3D::MODEL_IMPORT_OPTIONS::IsCanceled(), model, and MODEL_IMPORT_STATUS::Set().
Referenced by LoadVRMLModel().