$search
Loading geometrical models from file. More...
#include <ModelLoader.h>
Public Member Functions | |
bool | LoadPly (TrackerModel &model, const char *filename) |
bool | LoadPly (TomGine::tgModel &model, const char *filename) |
Loads PLY (Polygon File Format, Stanford Triangle Format). | |
ModelLoader () | |
bool | SavePly (TrackerModel &model, const char *filename) |
bool | SavePly (TomGine::tgModel &model, const char *filename) |
~ModelLoader () | |
Private Member Functions | |
bool | propertyIsInList (PlyProperty *prop, PlyProperty *list, int n, int *index) |
Loading geometrical models from file.
Definition at line 26 of file ModelLoader.h.
ModelLoader::ModelLoader | ( | ) |
Definition at line 25 of file ModelLoader.cpp.
ModelLoader::~ModelLoader | ( | ) |
Definition at line 28 of file ModelLoader.cpp.
bool ModelLoader::LoadPly | ( | TrackerModel & | model, | |
const char * | filename | |||
) |
Definition at line 219 of file ModelLoader.cpp.
bool ModelLoader::LoadPly | ( | TomGine::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 33 of file ModelLoader.cpp.
bool ModelLoader::propertyIsInList | ( | PlyProperty * | prop, | |
PlyProperty * | list, | |||
int | n, | |||
int * | index | |||
) | [private] |
Definition at line 12 of file ModelLoader.cpp.
bool ModelLoader::SavePly | ( | TrackerModel & | model, | |
const char * | filename | |||
) |
Definition at line 495 of file ModelLoader.cpp.
bool ModelLoader::SavePly | ( | TomGine::tgModel & | model, | |
const char * | filename | |||
) |
Definition at line 485 of file ModelLoader.cpp.