Classes | Public Member Functions

Md3Model Class Reference

#include <Md3Model.h>

Collaboration diagram for Md3Model:
Collaboration graph
[legend]

List of all members.

Classes

struct  Md3QuaternionTag

Public Member Functions

 Md3Model (const string &filename)
 ~Md3Model ()
void loadShaders ()
void draw () const
void renderFrameImmediate (int frame) const
void renderFrameItpWithVertexArrays (int frameA, int frameB, float interp) const
bool link (const string &name, const Md3Model *model)
bool unlink (const string &name)
void setScale (float scale)
void setTexture (const string &mesh, const Texture2D *tex)
void setupAnimation (int currFrame, int nextFrame, float interp)
int numMeshes () const
int numFrames () const
int numTags () const
float scale () const
const string & name () const

Detailed Description

Definition at line 266 of file Md3Model.h.


Constructor & Destructor Documentation

Md3Model::Md3Model ( const string &  filename  ) 

Definition at line 423 of file Md3Model.cpp.

Md3Model::~Md3Model (  ) 

Definition at line 488 of file Md3Model.cpp.


Member Function Documentation

void Md3Model::loadShaders (  ) 

Definition at line 500 of file Md3Model.cpp.

void Md3Model::draw (  )  const

Definition at line 515 of file Md3Model.cpp.

void Md3Model::renderFrameImmediate ( int  frame  )  const

Definition at line 553 of file Md3Model.cpp.

void Md3Model::renderFrameItpWithVertexArrays ( int  frameA,
int  frameB,
float  interp 
) const

Definition at line 572 of file Md3Model.cpp.

bool Md3Model::link ( const string &  name,
const Md3Model model 
)

Definition at line 603 of file Md3Model.cpp.

bool Md3Model::unlink ( const string &  name  ) 

Definition at line 625 of file Md3Model.cpp.

void Md3Model::setScale ( float  scale  )  [inline]

Definition at line 302 of file Md3Model.h.

void Md3Model::setTexture ( const string &  mesh,
const Texture2D tex 
)

Definition at line 646 of file Md3Model.cpp.

void Md3Model::setupAnimation ( int  currFrame,
int  nextFrame,
float  interp 
)

Definition at line 664 of file Md3Model.cpp.

int Md3Model::numMeshes (  )  const [inline]

Definition at line 307 of file Md3Model.h.

int Md3Model::numFrames (  )  const [inline]

Definition at line 308 of file Md3Model.h.

int Md3Model::numTags (  )  const [inline]

Definition at line 309 of file Md3Model.h.

float Md3Model::scale (  )  const [inline]

Definition at line 310 of file Md3Model.h.

const string& Md3Model::name (  )  const [inline]

Definition at line 311 of file Md3Model.h.


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