28#define PLUGIN_VRML_MAJOR 1
29#define PLUGIN_VRML_MINOR 3
30#define PLUGIN_VRML_PATCH 2
31#define PLUGIN_VRML_REVNO 2
36 return "PLUGIN_3D_VRML";
40void GetPluginVersion(
unsigned char* aMajor,
unsigned char* aMinor,
unsigned char* aPatch,
41 unsigned char* aRevision )
59static const std::vector<std::string>
extensions = {
"wrl",
"wrz",
"x3d" };
60static const std::vector<std::string>
filters = {
"VRML 1.0/2.0 (*.wrl;*.wrz)|*.wrl;*.wrz",
61 "X3D (*.x3d)|*.x3d" };
63static const std::vector<std::string>
extensions = {
"wrl",
"WRL",
"wrz",
"WRZ",
"x3d",
"X3D" };
64static const std::vector<std::string>
filters = {
65 "VRML 1.0/2.0 (*.wrl;*.WRL;*.wrz;*.WRZ)|*.wrl;*.WRL;*.wrz;*.WRZ",
66 "X3D (*.x3d;*.X3D)|*.x3d;*.X3D"
85 return static_cast<int>(
filters.size() );
Describe the runtime-loadable interface to support loading and parsing of 3D models.
Define the basic data set required to represent a 3D model.
defines the API calls for the manipulation of SG* classes
#define PLUGIN_VRML_MAJOR
char const * GetModelExtension(int aIndex)
SCENEGRAPH * Load(char const *aFileName)
Read a model file and creates a generic display structure.
char const * GetFileFilter(int aIndex)
#define PLUGIN_VRML_MINOR
static const std::vector< std::string > filters
static const std::vector< std::string > extensions
#define PLUGIN_VRML_PATCH
void GetPluginVersion(unsigned char *aMajor, unsigned char *aMinor, unsigned char *aPatch, unsigned char *aRevision)
Retrieve the version of the instantiated plugin for informational purposes.
const char * GetKicadPluginName()
Return the name of the plugin instance, for example IDFv3.
#define PLUGIN_VRML_REVNO
KICAD_3D_IMPORT_API SCENEGRAPH * LoadVRMLModel(const char *aFileName, const S3D::MODEL_IMPORT_OPTIONS *aOptions=nullptr)