Importer plug-ins are like export plug-ins except that they inherit from the SceneImport
class instead of the SceneExport
class.
An importer plug-in must implement the following virtual functions:
SceneImport::ExtCount()
- The number of supported file extensionsSceneImport::Ext()
- The nth file extension without leading ".". E.g. "txt" instead of ".txt"SceneImport::LongDesc()
- A detailed file output description.SceneImport::ShortDesc()
- A short description of the exported file type, which appears in file save dialog.SceneImport::AuthorName()
- A long description of the exported file type.SceneImport::CopyrightMessage()
- A copyright message.SceneImport::OtherMessage1()
- A message string.SceneImport::OtherMessage2()
- Another message string.SceneImport::Version()
- The version number of the export plug-in. The format is the major number times 100 plus the minor version. E.g. version 1.03 would be represented as 103.SceneImport::ShowAbout()
- Called in response to display an about box.SceneImport::DoImport()
- Perform the file import.