#include <mesh_loader.h>
Public Member Functions | |
int | readFromFile (const string &filename, std::vector< double > &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 household_objects_database::PLYModelLoader::endian_swap | ( | void * | p | ) | [inline, private] |
Definition at line 57 of file mesh_loader.cpp.
int household_objects_database::PLYModelLoader::readFromFile | ( | const string & | filename, |
std::vector< double > & | vertices, | ||
std::vector< int > & | triangles | ||
) |
Reads a mesh from a .ply file.
filename | |
mesh |
Definition at line 68 of file mesh_loader.cpp.
Definition at line 81 of file mesh_loader.h.
Definition at line 82 of file mesh_loader.h.
Definition at line 78 of file mesh_loader.h.
int household_objects_database::PLYModelLoader::nfaces [private] |
Definition at line 79 of file mesh_loader.h.
int household_objects_database::PLYModelLoader::nverts [private] |
Definition at line 79 of file mesh_loader.h.
Definition at line 82 of file mesh_loader.h.
Definition at line 80 of file mesh_loader.h.