igor::iModelDataIOOBJ Class Reference

#include <iModelDataIOOBJ.h>

Inherits igor::iModelDataIO.

Public Member Functions

iNodePtr importData (const iParameters &parameters) override
 
 iModelDataIOOBJ ()
 
 ~iModelDataIOOBJ ()=default
 
- Public Member Functions inherited from igor::iModelDataIO
const iaStringgetName ()
 
const iaStringgetIdentifier ()
 
virtual iNodePtr importData (const iParameters &parameters)
 
virtual void exportData (const iParameters &parameters)
 
iNodePtr importData (const iaString &filename)
 
void exportData (const iaString &filename, iNodePtr node, iSaveMode saveMode=iSaveMode::KeepExternals)
 
 iModelDataIO ()=default
 
virtual ~iModelDataIO ()=default
 

Static Public Member Functions

static iModelDataIOcreateInstance ()
 

Additional Inherited Members

- Protected Attributes inherited from igor::iModelDataIO
iaString _name
 
iaString _identifier
 

Detailed Description

model data loader for the OBJ aka Wavefront format

source: http://de.wikipedia.org/wiki/Wavefront_OBJ

Constructor & Destructor Documentation

◆ iModelDataIOOBJ()

igor::iModelDataIOOBJ::iModelDataIOOBJ ( )

initializes members

◆ ~iModelDataIOOBJ()

igor::iModelDataIOOBJ::~iModelDataIOOBJ ( )
default

does nothing

Member Function Documentation

◆ createInstance()

iModelDataIO * igor::iModelDataIOOBJ::createInstance ( )
static

creates an instance of this class

Returns
new instance

◆ importData()

iNodePtr igor::iModelDataIOOBJ::importData ( const iParameters parameters)
overridevirtual

loades the data from filesystem and returns the result

Parameters
filenamefilename of file to load
Returns
pointer to node tree

Reimplemented from igor::iModelDataIO.


The documentation for this class was generated from the following files: