doom3-gpl
Doom 3 GPL source release
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
idMD5Mesh Class Reference

#include <Model_local.h>

Public Member Functions

 idMD5Mesh ()
 
 ~idMD5Mesh ()
 
void ParseMesh (idLexer &parser, int numJoints, const idJointMat *joints)
 
void UpdateSurface (const struct renderEntity_s *ent, const idJointMat *joints, modelSurface_t *surf)
 
idBounds CalcBounds (const idJointMat *joints)
 
int NearestJoint (int a, int b, int c) const
 
int NumVerts (void) const
 
int NumTris (void) const
 
int NumWeights (void) const
 

Private Member Functions

void TransformVerts (idDrawVert *verts, const idJointMat *joints)
 
void TransformScaledVerts (idDrawVert *verts, const idJointMat *joints, float scale)
 

Private Attributes

idList< idVec2texCoords
 
int numWeights
 
idVec4scaledWeights
 
intweightIndex
 
const idMaterialshader
 
int numTris
 
struct deformInfo_sdeformInfo
 
int surfaceNum
 

Friends

class idRenderModelMD5
 

Detailed Description

Definition at line 138 of file Model_local.h.

Constructor & Destructor Documentation

idMD5Mesh::idMD5Mesh ( )

Definition at line 60 of file Model_md5.cpp.

idMD5Mesh::~idMD5Mesh ( )

Definition at line 74 of file Model_md5.cpp.

Member Function Documentation

idBounds idMD5Mesh::CalcBounds ( const idJointMat joints)

Definition at line 354 of file Model_md5.cpp.

int idMD5Mesh::NearestJoint ( int  a,
int  b,
int  c 
) const

Definition at line 370 of file Model_md5.cpp.

int idMD5Mesh::NumTris ( void  ) const

Definition at line 418 of file Model_md5.cpp.

int idMD5Mesh::NumVerts ( void  ) const

Definition at line 409 of file Model_md5.cpp.

int idMD5Mesh::NumWeights ( void  ) const

Definition at line 427 of file Model_md5.cpp.

void idMD5Mesh::ParseMesh ( idLexer parser,
int  numJoints,
const idJointMat joints 
)

Definition at line 88 of file Model_md5.cpp.

void idMD5Mesh::TransformScaledVerts ( idDrawVert verts,
const idJointMat joints,
float  scale 
)
private

Definition at line 264 of file Model_md5.cpp.

void idMD5Mesh::TransformVerts ( idDrawVert verts,
const idJointMat joints 
)
private

Definition at line 253 of file Model_md5.cpp.

void idMD5Mesh::UpdateSurface ( const struct renderEntity_s ent,
const idJointMat joints,
modelSurface_t surf 
)

Definition at line 275 of file Model_md5.cpp.

Friends And Related Function Documentation

friend class idRenderModelMD5
friend

Definition at line 139 of file Model_local.h.

Member Data Documentation

struct deformInfo_s* idMD5Mesh::deformInfo
private

Definition at line 160 of file Model_local.h.

int idMD5Mesh::numTris
private

Definition at line 159 of file Model_local.h.

int idMD5Mesh::numWeights
private

Definition at line 155 of file Model_local.h.

idVec4* idMD5Mesh::scaledWeights
private

Definition at line 156 of file Model_local.h.

const idMaterial* idMD5Mesh::shader
private

Definition at line 158 of file Model_local.h.

int idMD5Mesh::surfaceNum
private

Definition at line 161 of file Model_local.h.

idList<idVec2> idMD5Mesh::texCoords
private

Definition at line 154 of file Model_local.h.

int* idMD5Mesh::weightIndex
private

Definition at line 157 of file Model_local.h.


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