Public Member Functions | Private Member Functions
TomGine::tgModelLoader Class Reference

Loading geometrical models from file. More...

#include <tgModelLoader.h>

List of all members.

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)

Detailed Description

Loading geometrical models from file.

Definition at line 26 of file tgModelLoader.h.


Constructor & Destructor Documentation

Definition at line 44 of file tgModelLoader.cpp.

Definition at line 47 of file tgModelLoader.cpp.


Member Function Documentation

bool tgModelLoader::LoadPly ( tgModel model,
const char *  filename 
)

Loads PLY (Polygon File Format, Stanford Triangle Format)

Parameters:
ModelStorage for model
filenamepath and filename of file to load
Returns:
true on success, false on failure

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.


The documentation for this class was generated from the following files:


blort
Author(s): Thomas Mörwald , Michael Zillich , Andreas Richtsfeld , Johann Prankl , Markus Vincze , Bence Magyar
autogenerated on Wed Aug 26 2015 15:24:13