#include <MeshOBJ.h>


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 |
Definition at line 43 of file MeshOBJ.h.
| sofa::helper::io::MeshOBJ::MeshOBJ | ( | const std::string & | filename | ) | [inline] |
| 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] |
| void sofa::helper::io::MeshOBJ::readOBJ | ( | FILE * | file, | |
| const char * | filename | |||
| ) | [private] |
Definition at line 67 of file MeshOBJ.cpp.
References sofa::helper::io::Mesh::facets, sofa::helper::system::SetDirectory::GetRelativeFromFile(), sofa::helper::io::Mesh::material, materials, sofa::helper::io::Mesh::normals, readMTL(), sofa::helper::io::Mesh::texCoords, and sofa::helper::io::Mesh::vertices.
std::vector<Material> sofa::helper::io::MeshOBJ::materials [private] |
1.5.7.1