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): Michael Zillich, Thomas Mörwald, Johann Prankl, Andreas Richtsfeld, Bence Magyar (ROS version)
autogenerated on Thu Jan 2 2014 11:38:27