#include <mesh_loader.h>
Public Member Functions | |
int | readFromFile (const string &filename, std::vector< position > &vertices, std::vector< int > &triangles) |
Reads a mesh from a .ply file. | |
Private Member Functions | |
void | endian_swap (void *p) |
Private Attributes | |
Face | face |
PlyOtherProp * | face_other |
PlyFile * | in_ply |
int | nfaces |
int | nverts |
PlyOtherProp * | vert_other |
Vertex | vertex |
Definition at line 60 of file mesh_loader.h.
void PLYModelLoader::endian_swap | ( | void * | p | ) | [inline, private] |
Definition at line 55 of file mesh_loader.cpp.
int PLYModelLoader::readFromFile | ( | const string & | filename, | |
std::vector< position > & | vertices, | |||
std::vector< int > & | triangles | |||
) |
Reads a mesh from a .ply file.
filename | ||
mesh |
Definition at line 66 of file mesh_loader.cpp.
Face PLYModelLoader::face [private] |
Definition at line 81 of file mesh_loader.h.
PlyOtherProp * PLYModelLoader::face_other [private] |
Definition at line 82 of file mesh_loader.h.
PlyFile* PLYModelLoader::in_ply [private] |
Definition at line 78 of file mesh_loader.h.
int PLYModelLoader::nfaces [private] |
Definition at line 79 of file mesh_loader.h.
int PLYModelLoader::nverts [private] |
Definition at line 79 of file mesh_loader.h.
PlyOtherProp* PLYModelLoader::vert_other [private] |
Definition at line 82 of file mesh_loader.h.
Vertex PLYModelLoader::vertex [private] |
Definition at line 80 of file mesh_loader.h.