0.44.0
|
#include <iModelFactory.h>
Inherits igor::iFactory.
Public Member Functions | |
iModelFactory () | |
Public Member Functions inherited from igor::iFactory | |
iFactory (const iaString &type, const std::vector< iaString > &supportedExtensions) | |
virtual | ~iFactory ()=default |
const iaString & | getType () const |
const std::vector< iaString > & | getSupportedExtensions () const |
Static Public Member Functions | |
static void | registerModelDataIO (const iaString &identifier, iCreateModelDataIOInstance functionPointer) |
static void | unregisterModelDataIO (const iaString &identifier) |
static void | exportToFile (const iaString &filename, iNodePtr node, iSaveMode saveMode=iSaveMode::KeepExternals, const iaString &formatIdentifier="") |
Friends | |
class | iResourceManager |
Additional Inherited Members | |
Protected Member Functions inherited from igor::iFactory | |
virtual iaString | getHashData (const iParameters ¶meters) const |
virtual iResourcePtr | createResource (const iParameters ¶meters)=0 |
virtual iResourcePtr | createResource () |
virtual bool | loadResource (iResourcePtr resource)=0 |
virtual void | unloadResource (iResourcePtr resource)=0 |
virtual bool | saveResource (iResourcePtr resource, const iaString &filename="") |
virtual void | init () |
virtual void | deinit () |
Protected Attributes inherited from igor::iFactory | |
iaString | _type |
std::vector< iaString > | _supportedExtensions |
this factory creates model resources
igor::iModelFactory::iModelFactory | ( | ) |
init members
|
static |
export node graph to file
filename | the file to export to |
node | the root node of the node graph to export |
saveMode | the mode to handle external references |
formatIdentifier | name of type to export with (if not specified the file extension will be used) |
|
static |
registers generator
generator | generator to register |
|
static |
unregisters generator
generator | generator to unregister |
|
friend |