$search
Loading geometrical models from file. More...
#include <tgModelLoader.h>
Public Member Functions | |
| bool | LoadPly (tgModel &model, const char *filename) |
| Loads PLY (Polygon File Format, Stanford Triangle Format). | |
| bool | SavePly (tgModel &model, const char *filename) |
| tgModelLoader () | |
| ~tgModelLoader () | |
Private Member Functions | |
| bool | propertyIsInList (PlyProperty *prop, PlyProperty *list, int n, int *index) |
Loading geometrical models from file.
Definition at line 26 of file tgModelLoader.h.
| tgModelLoader::tgModelLoader | ( | ) |
Definition at line 44 of file tgModelLoader.cpp.
| tgModelLoader::~tgModelLoader | ( | ) |
Definition at line 47 of file tgModelLoader.cpp.
| bool tgModelLoader::LoadPly | ( | tgModel & | model, | |
| const char * | filename | |||
| ) |
Loads PLY (Polygon File Format, Stanford Triangle Format).
| Model | Storage for model | |
| filename | path and filename of file to load |
Definition at line 52 of file tgModelLoader.cpp.
| bool tgModelLoader::propertyIsInList | ( | PlyProperty * | prop, | |
| PlyProperty * | list, | |||
| int | n, | |||
| int * | index | |||
| ) | [private] |
Definition at line 31 of file tgModelLoader.cpp.
| bool tgModelLoader::SavePly | ( | tgModel & | model, | |
| const char * | filename | |||
| ) |
Definition at line 239 of file tgModelLoader.cpp.