#include "plugins/3d/3d_plugin.h"
#include "plugins/3dapi/ifsg_all.h"
#include "richio.h"
#include "vrml1_base.h"
#include "vrml2_base.h"
#include "wrlproc.h"
#include "x3d.h"
#include <clocale>
#include <wx/filename.h>
#include <wx/stdpaths.h>
#include <wx/string.h>
#include <wx/wfstream.h>
#include <wx/log.h>
#include <decompress.hpp>
Go to the source code of this file.
◆ PLUGIN_VRML_MAJOR
#define PLUGIN_VRML_MAJOR 1 |
◆ PLUGIN_VRML_MINOR
#define PLUGIN_VRML_MINOR 3 |
◆ PLUGIN_VRML_PATCH
#define PLUGIN_VRML_PATCH 2 |
◆ PLUGIN_VRML_REVNO
#define PLUGIN_VRML_REVNO 2 |
◆ CanRender()
- Returns
- true if the plugin can render a model, that is the Load() function is implemented.
Definition at line 143 of file vrml.cpp.
◆ GetFileFilter()
char const * GetFileFilter |
( |
int | aIndex | ) |
|
◆ GetKicadPluginName()
const char * GetKicadPluginName |
( |
void | | ) |
|
Return the name of the plugin instance, for example IDFv3.
This string may be used to check for name conflicts or to display informational messages about loaded plugins. This method must be implemented in specific instantiations of a plugin class.
- Returns
- is the NULL-terminated UTF-8 string representing the plugin name.
Definition at line 66 of file vrml.cpp.
◆ GetModelExtension()
char const * GetModelExtension |
( |
int | aIndex | ) |
|
- Parameters
-
- Returns
- the requested extension or a null string if aIndex was invalid.
Definition at line 119 of file vrml.cpp.
References file_data, and NEXTS.
◆ GetNExtensions()
int GetNExtensions |
( |
void | | ) |
|
- Returns
- the number of extensions supported by the plugin.
Definition at line 113 of file vrml.cpp.
References file_data, and NEXTS.
◆ GetNFilters()
◆ GetPluginVersion()
void GetPluginVersion |
( |
unsigned char * | Major, |
|
|
unsigned char * | Minor, |
|
|
unsigned char * | Patch, |
|
|
unsigned char * | Revision ) |
◆ Load()
◆ LoadVRML()
SCENEGRAPH * LoadVRML |
( |
const wxString & | aFileName, |
|
|
bool | useInline ) |
Definition at line 170 of file vrml.cpp.
References _, WRLPROC::GetVRMLType(), WRL1BASE::Read(), WRL2BASE::Read(), WRL2BASE::SetEnableInline(), traceVrmlPlugin, WRL1BASE::TranslateToSG(), WRL2BASE::TranslateToSG(), VRML_V1, IO_ERROR::What(), and S3D::WriteVRML().
Referenced by WRL2BASE::GetInlineData(), and Load().
◆ LoadX3D()
SCENEGRAPH * LoadX3D |
( |
const wxString & | aFileName | ) |
|
◆ file_data