$search

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

tgModelLoader::tgModelLoader (  ) 

Definition at line 44 of file tgModelLoader.cpp.

tgModelLoader::~tgModelLoader (  ) 

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:
Model Storage for model
filename path 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:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines


blort
Author(s): Michael Zillich, Thomas Mörwald, Johann Prankl, Andreas Richtsfeld, Bence Magyar (ROS version)
autogenerated on Fri Mar 1 16:57:58 2013