0.44.0
|
#include <iModelDataIO.h>
Inherited by igor::iModelDataIOOBJ, igor::iModelDataIOOMPF, and igor::iVoxelTerrainMeshGenerator.
Public Member Functions | |
const iaString & | getName () |
const iaString & | getIdentifier () |
virtual iNodePtr | importData (const iParameters ¶meters) |
virtual void | exportData (const iParameters ¶meters) |
iNodePtr | importData (const iaString &filename) |
void | exportData (const iaString &filename, iNodePtr node, iSaveMode saveMode=iSaveMode::KeepExternals) |
iModelDataIO ()=default | |
virtual | ~iModelDataIO ()=default |
Protected Attributes | |
iaString | _name |
iaString | _identifier |
pure abstract interface for node tree loaders
|
default |
does nothing
|
virtualdefault |
does nothing
void igor::iModelDataIO::exportData | ( | const iaString & | filename, |
iNodePtr | node, | ||
iSaveMode | saveMode = iSaveMode::KeepExternals |
||
) |
specialized version of exportData
filename | the output file name |
node | the source node to export |
saveMode | how to handle external references during export |
|
virtual |
save node and underlying tree to filesystem
parameters | export parameters |
Reimplemented in igor::iModelDataIOOMPF.
const iaString & igor::iModelDataIO::getIdentifier | ( | ) |
const iaString & igor::iModelDataIO::getName | ( | ) |
specialized version of importData
filename | the filename to load |
|
virtual |
loads or generates data based on given parameters
parameters | key values pairs determine what to load or generate |
Reimplemented in igor::iModelDataIOOBJ, igor::iModelDataIOOMPF, and igor::iVoxelTerrainMeshGenerator.
|
protected |
data identifier or file extension
|
protected |
name of loader