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 | List of all members
idRenderModelMD3 Class Reference

#include <Model_local.h>

Inheritance diagram for idRenderModelMD3:
idRenderModelStatic idRenderModel

Public Member Functions

virtual void InitFromFile (const char *fileName)
 
virtual dynamicModel_t IsDynamicModel () const
 
virtual idRenderModelInstantiateDynamicModel (const struct renderEntity_s *ent, const struct viewDef_s *view, idRenderModel *cachedModel)
 
virtual idBounds Bounds (const struct renderEntity_s *ent) const
 
- Public Member Functions inherited from idRenderModelStatic
 idRenderModelStatic ()
 
virtual ~idRenderModelStatic ()
 
virtual void PartialInitFromFile (const char *fileName)
 
virtual void PurgeModel ()
 
virtual void Reset ()
 
virtual void LoadModel ()
 
virtual bool IsLoaded ()
 
virtual void SetLevelLoadReferenced (bool referenced)
 
virtual bool IsLevelLoadReferenced ()
 
virtual void TouchData ()
 
virtual void InitEmpty (const char *name)
 
virtual void AddSurface (modelSurface_t surface)
 
virtual void FinishSurfaces ()
 
virtual void FreeVertexCache ()
 
virtual const char * Name () const
 
virtual void Print () const
 
virtual void List () const
 
virtual int Memory () const
 
virtual ID_TIME_T Timestamp () const
 
virtual int NumSurfaces () const
 
virtual int NumBaseSurfaces () const
 
virtual const modelSurface_tSurface (int surfaceNum) const
 
virtual srfTriangles_tAllocSurfaceTriangles (int numVerts, int numIndexes) const
 
virtual void FreeSurfaceTriangles (srfTriangles_t *tris) const
 
virtual srfTriangles_tShadowHull () const
 
virtual bool IsStaticWorldModel () const
 
virtual bool IsDefaultModel () const
 
virtual bool IsReloadable () const
 
virtual int NumJoints (void) const
 
virtual const idMD5JointGetJoints (void) const
 
virtual jointHandle_t GetJointHandle (const char *name) const
 
virtual const char * GetJointName (jointHandle_t handle) const
 
virtual const idJointQuatGetDefaultPose (void) const
 
virtual int NearestJoint (int surfaceNum, int a, int b, int c) const
 
virtual void ReadFromDemoFile (class idDemoFile *f)
 
virtual void WriteToDemoFile (class idDemoFile *f)
 
virtual float DepthHack () const
 
void MakeDefaultModel ()
 
bool LoadASE (const char *fileName)
 
bool LoadLWO (const char *fileName)
 
bool LoadFLT (const char *fileName)
 
bool LoadMA (const char *filename)
 
bool ConvertASEToModelSurfaces (const struct aseModel_s *ase)
 
bool ConvertLWOToModelSurfaces (const struct st_lwObject *lwo)
 
bool ConvertMAToModelSurfaces (const struct maModel_s *ma)
 
struct aseModel_sConvertLWOToASE (const struct st_lwObject *obj, const char *fileName)
 
bool DeleteSurfaceWithId (int id)
 
void DeleteSurfacesWithNegativeId (void)
 
bool FindSurfaceWithId (int id, int &surfaceNum)
 
- Public Member Functions inherited from idRenderModel
virtual ~idRenderModel ()
 

Private Member Functions

void LerpMeshVertexes (srfTriangles_t *tri, const struct md3Surface_s *surf, const float backlerp, const int frame, const int oldframe) const
 

Private Attributes

int index
 
int dataSize
 
struct md3Header_smd3
 
int numLods
 

Additional Inherited Members

- Static Public Member Functions inherited from idRenderModelStatic
static idRenderModelAlloc ()
 
- Public Attributes inherited from idRenderModelStatic
idList< modelSurface_tsurfaces
 
idBounds bounds
 
int overlaysAdded
 
- Protected Attributes inherited from idRenderModelStatic
int lastModifiedFrame
 
int lastArchivedFrame
 
idStr name
 
srfTriangles_tshadowHull
 
bool isStaticWorldModel
 
bool defaulted
 
bool purged
 
bool fastLoad
 
bool reloadable
 
bool levelLoadReferenced
 
ID_TIME_T timeStamp
 
- Static Protected Attributes inherited from idRenderModelStatic
static idCVar r_mergeModelSurfaces
 
static idCVar r_slopVertex
 
static idCVar r_slopTexCoord
 
static idCVar r_slopNormal
 

Detailed Description

Definition at line 208 of file Model_local.h.

Member Function Documentation

idBounds idRenderModelMD3::Bounds ( const struct renderEntity_s ent) const
virtual

Reimplemented from idRenderModelStatic.

Definition at line 352 of file Model_md3.cpp.

void idRenderModelMD3::InitFromFile ( const char *  fileName)
virtual

Reimplemented from idRenderModelStatic.

Definition at line 48 of file Model_md3.cpp.

idRenderModel * idRenderModelMD3::InstantiateDynamicModel ( const struct renderEntity_s ent,
const struct viewDef_s view,
idRenderModel cachedModel 
)
virtual

Reimplemented from idRenderModelStatic.

Definition at line 275 of file Model_md3.cpp.

dynamicModel_t idRenderModelMD3::IsDynamicModel ( ) const
virtual

Reimplemented from idRenderModelStatic.

Definition at line 213 of file Model_md3.cpp.

void idRenderModelMD3::LerpMeshVertexes ( srfTriangles_t tri,
const struct md3Surface_s surf,
const float  backlerp,
const int  frame,
const int  oldframe 
) const
private

Definition at line 222 of file Model_md3.cpp.

Member Data Documentation

int idRenderModelMD3::dataSize
private

Definition at line 217 of file Model_local.h.

int idRenderModelMD3::index
private

Definition at line 216 of file Model_local.h.

struct md3Header_s* idRenderModelMD3::md3
private

Definition at line 218 of file Model_local.h.

int idRenderModelMD3::numLods
private

Definition at line 219 of file Model_local.h.


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