Keos::CMD2AnimatedLoader Class Reference

MD2 Mesh loader (load animations). More...

#include <KeosMD2AnimatedLoader.h>

Inheritance diagram for Keos::CMD2AnimatedLoader:

Inheritance graph
[legend]
List of all members.

Public Member Functions

virtual CAnimatedMeshKFLoadFromFile (const String &strFilename)
 Load a mesh from a file.

Classes

struct  TFrame
struct  THeader
 MD2 Header.
struct  TPoint
 Struct for the vertices that are read in for the current frame.
struct  TTexCoord
 This stores UV coordinates.
struct  TTexture
struct  TTriangle
 This stores the indices into the vertex and texture coordinate arrays.

Detailed Description

MD2 Mesh loader (load animations).

Definition at line 33 of file KeosMD2AnimatedLoader.h.


Member Function Documentation

CAnimatedMeshKF * Keos::CMD2AnimatedLoader::LoadFromFile ( const String strFilename  )  [virtual]

Load a mesh from a file.

Parameters:
strFilename Name of the file to be loaded.
Returns:
Pointer on the created model.

Reimplemented from Keos::ILoader< T >.

Definition at line 33 of file KeosMD2AnimatedLoader.cpp.

References Keos::CAnimatedMeshKF::AddAnimation(), Keos::CMesh::AddMaterial(), Keos::CMesh::AddMeshGeom(), Keos::CMaterial::CreateTexture(), LOADINGFAILED_EXCEPT, Keos::ILogger::Log(), Renderer, and Keos::CColor::White.


The documentation for this class was generated from the following files:
Generated on Fri Mar 9 14:29:25 2007 for Keos by  doxygen 1.5.1-p1