sofa::helper::io::MeshOBJ Class Reference

#include <MeshOBJ.h>

Inheritance diagram for sofa::helper::io::MeshOBJ:

Inheritance graph
[legend]
Collaboration diagram for sofa::helper::io::MeshOBJ:

Collaboration graph
[legend]

Public Member Functions

 MeshOBJ (const std::string &filename)
void init (std::string filename)

Private Member Functions

void readOBJ (FILE *file, const char *filename)
void readMTL (const char *filename)

Private Attributes

std::vector< Material > materials

Detailed Description

Definition at line 43 of file MeshOBJ.h.


Constructor & Destructor Documentation

sofa::helper::io::MeshOBJ::MeshOBJ ( const std::string &  filename  )  [inline]

Definition at line 54 of file MeshOBJ.h.

References init().


Member Function Documentation

void sofa::helper::io::MeshOBJ::init ( std::string  filename  ) 

Definition at line 50 of file MeshOBJ.cpp.

References sofa::helper::system::DataRepository.

Referenced by MeshOBJ().

void sofa::helper::io::MeshOBJ::readMTL ( const char *  filename  )  [private]

Definition at line 234 of file MeshOBJ.cpp.

References materials.

Referenced by readOBJ().

void sofa::helper::io::MeshOBJ::readOBJ ( FILE *  file,
const char *  filename 
) [private]


Field Documentation

Definition at line 47 of file MeshOBJ.h.

Referenced by readMTL(), and readOBJ().


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

Generated on Sun Nov 23 04:24:19 2008 for Sofa by  doxygen 1.5.7.1