41typedef char const* (*PLUGIN_3D_GET_MODEL_EXTENSION) ( 
int aIndex );
 
   45typedef char const* (*PLUGIN_3D_GET_FILE_FILTER) ( 
int aIndex );
 
   49typedef SCENEGRAPH* (*PLUGIN_3D_LOAD) ( 
char const* aFileName );
 
   58    bool Open( 
const wxString& aFullFileName ) 
override;
 
   60    void Close( 
void ) 
override;
 
   63                           unsigned char* Revision, 
unsigned char* Patch ) 
const override;
 
 
bool Open(const wxString &aFullFileName) override
Open a plugin of the given class, performs version compatibility checks, and links all required funct...
 
PLUGIN_3D_GET_FILE_FILTER m_getFileFilter
 
SCENEGRAPH * Load(char const *aFileName)
 
char const * GetFileFilter(int aIndex)
 
PLUGIN_3D_GET_N_FILTERS m_getNFilters
 
virtual ~KICAD_PLUGIN_LDR_3D()
 
void GetLoaderVersion(unsigned char *Major, unsigned char *Minor, unsigned char *Revision, unsigned char *Patch) const override
Return the version information of the Plugin Loader for plugin compatibility checking.
 
PLUGIN_3D_CAN_RENDER m_canRender
 
PLUGIN_3D_GET_MODEL_EXTENSION m_getModelExtension
 
PLUGIN_3D_GET_N_EXTENSIONS m_getNExtensions
 
char const * GetModelExtension(int aIndex)
 
void Close(void) override
Clean up and closes/unloads the plugin.
 
Define the basic data set required to represent a 3D model.
 
int(* PLUGIN_3D_GET_N_EXTENSIONS)(void)
 
char const *(* PLUGIN_3D_GET_MODEL_EXTENSION)(int aIndex)
 
char const *(* PLUGIN_3D_GET_FILE_FILTER)(int aIndex)
 
SCENEGRAPH *(* PLUGIN_3D_LOAD)(char const *aFileName)
 
bool(* PLUGIN_3D_CAN_RENDER)(void)
 
int(* PLUGIN_3D_GET_N_FILTERS)(void)
 
defines the most basic functions which all kicad plugin loaders require.