34#include <NDEVR/IOFactory.h>
45 class FactoryFeatures;
IOFactory for writing to files using the ASSIMP 3rd party library. Assimp supports many file types....
Definition AssimpFactory.h:76
Buffer< UUID > filterModelsToExport(Buffer< UUID > models_to_check, const DesignObjectLookup *lookup, const FileFormat &export_format) const override
virtual bool readFile(FactoryParameters &file) override
virtual String getIcon(const File &file) override
FactoryOptions defaultReadOptions(const FactoryParameters &file) const override
virtual bool writeFile(FactoryParameters &file) override
static bool ConvertFromAiScene(const aiScene *scene, FactoryParameters ¶ms)
virtual void getSupportedFormats(Buffer< FileFormat > &formats, bool is_read) override
static bool ConvertToAiScene(AssimpSceneMemory &scene, FactoryParameters ¶ms)
FactoryOptions defaultWriteOptions(const FactoryParameters &file) const override
virtual FactoryFeatures factoryFeatures(const FactoryParameters &file, bool is_read) const override
The equivelent of std::vector but with a bit more control. The basic array unit of the library.
Definition Buffer.hpp:56
A core class where all Design Objects including models, materials, and geometries are stored....
Definition DesignObjectLookup.h:65
A hash-based key-value store, useful for quick associative lookups. Key features include:
Definition Dictionary.h:61
Allows IOFactories to report what features they support to make the import/export dialogs easier to s...
Definition FactoryFeatures.h:44
User-defined options that define preferences for importing and exporting using IOFactory objects.
Definition FactoryOptions.h:49
Logic for reading or writing to a file as well as navigating filesystems.
Definition File.h:48
A service that provides Import/Export functionality for a model heirarchy. These can be registered wi...
Definition IOFactory.h:117
The core String class for the NDEVR API.
Definition String.h:69
Stores all of the objects needed for an aiScene in a way that is efficient and uses native containers...
Definition AssimpFactory.h:54
AssimpSceneMemory(aiScene *scene)
bool preserve_memory
Definition AssimpFactory.h:66
Dictionary< String, uint04 > material_names
Definition AssimpFactory.h:65
Buffer< aiMesh * > ai_meshes
Definition AssimpFactory.h:64
Dictionary< UUID, uint04 > mesh_offset
Definition AssimpFactory.h:62
Buffer< aiMaterial * > ai_materials
Definition AssimpFactory.h:63
Dictionary< UUID, Buffer< aiNode * > > ai_models
Definition AssimpFactory.h:60
aiScene * scene
Definition AssimpFactory.h:59
Dictionary< UUID, uint04 > mat_offset
Definition AssimpFactory.h:61
A container of input information that is to be filled with output information by an IOFactory.
Definition IOFactory.h:61