InputObj Class Reference

Inheritance diagram for InputObj:

Inheritance graph
[legend]
Collaboration diagram for InputObj:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 __construct ()
 process (&$data)

Protected Member Functions

 loadMaterials ($mtlFilePath)

Protected Attributes

 $materials


Constructor & Destructor Documentation

InputObj::__construct (  ) 

This class accepts a File object as input and generates a Data3D object as output.


Member Function Documentation

InputObj::process ( &$  data  ) 

Read scene data from a .obj file.

Parameters:
$data File object used to get the path to the file.

Reimplemented from Filter.

InputObj::loadMaterials ( mtlFilePath  )  [protected]

Read material data from a .mtl file.

Parameters:
$mtlFilePath File path of the material file.


Member Data Documentation

InputObj::$materials [protected]

Array holding all known materials of type Material.


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

Generated on Wed Jan 7 20:35:31 2009 for be_w3dr by  doxygen 1.5.6