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

#include <Model.h>

Inheritance diagram for idRenderModel:
idRenderModelStatic idRenderModelBeam idRenderModelLightning idRenderModelLiquid idRenderModelMD3 idRenderModelMD5 idRenderModelPrt idRenderModelSprite idRenderModelTrail

Public Member Functions

virtual ~idRenderModel ()
 
virtual void InitFromFile (const char *fileName)=0
 
virtual void PartialInitFromFile (const char *fileName)=0
 
virtual void InitEmpty (const char *name)=0
 
virtual void AddSurface (modelSurface_t surface)=0
 
virtual void FinishSurfaces ()=0
 
virtual void PurgeModel ()=0
 
virtual void Reset ()=0
 
virtual void LoadModel ()=0
 
virtual bool IsLoaded ()=0
 
virtual void SetLevelLoadReferenced (bool referenced)=0
 
virtual bool IsLevelLoadReferenced ()=0
 
virtual void TouchData ()=0
 
virtual void FreeVertexCache ()=0
 
virtual const char * Name () const =0
 
virtual void Print () const =0
 
virtual void List () const =0
 
virtual int Memory () const =0
 
virtual ID_TIME_T Timestamp () const =0
 
virtual int NumSurfaces () const =0
 
virtual int NumBaseSurfaces () const =0
 
virtual const modelSurface_tSurface (int surfaceNum) const =0
 
virtual srfTriangles_tAllocSurfaceTriangles (int numVerts, int numIndexes) const =0
 
virtual void FreeSurfaceTriangles (srfTriangles_t *tris) const =0
 
virtual srfTriangles_tShadowHull () const =0
 
virtual bool IsStaticWorldModel () const =0
 
virtual bool IsReloadable () const =0
 
virtual dynamicModel_t IsDynamicModel () const =0
 
virtual bool IsDefaultModel () const =0
 
virtual idBounds Bounds (const struct renderEntity_s *ent=NULL) const =0
 
virtual float DepthHack () const =0
 
virtual idRenderModelInstantiateDynamicModel (const struct renderEntity_s *ent, const struct viewDef_s *view, idRenderModel *cachedModel)=0
 
virtual int NumJoints (void) const =0
 
virtual const idMD5JointGetJoints (void) const =0
 
virtual jointHandle_t GetJointHandle (const char *name) const =0
 
virtual const char * GetJointName (jointHandle_t handle) const =0
 
virtual const idJointQuatGetDefaultPose (void) const =0
 
virtual int NearestJoint (int surfaceNum, int a, int c, int b) const =0
 
virtual void ReadFromDemoFile (class idDemoFile *f)=0
 
virtual void WriteToDemoFile (class idDemoFile *f)=0
 

Detailed Description

Definition at line 171 of file Model.h.

Constructor & Destructor Documentation

virtual idRenderModel::~idRenderModel ( )
inlinevirtual

Definition at line 173 of file Model.h.

Member Function Documentation

virtual void idRenderModel::AddSurface ( modelSurface_t  surface)
pure virtual

Implemented in idRenderModelStatic.

virtual srfTriangles_t* idRenderModel::AllocSurfaceTriangles ( int  numVerts,
int  numIndexes 
) const
pure virtual

Implemented in idRenderModelStatic.

virtual idBounds idRenderModel::Bounds ( const struct renderEntity_s ent = NULL) const
pure virtual
virtual float idRenderModel::DepthHack ( ) const
pure virtual

Implemented in idRenderModelPrt, and idRenderModelStatic.

virtual void idRenderModel::FinishSurfaces ( )
pure virtual

Implemented in idRenderModelStatic.

virtual void idRenderModel::FreeSurfaceTriangles ( srfTriangles_t tris) const
pure virtual

Implemented in idRenderModelStatic.

virtual void idRenderModel::FreeVertexCache ( )
pure virtual

Implemented in idRenderModelStatic.

virtual const idJointQuat* idRenderModel::GetDefaultPose ( void  ) const
pure virtual

Implemented in idRenderModelMD5, and idRenderModelStatic.

virtual jointHandle_t idRenderModel::GetJointHandle ( const char *  name) const
pure virtual

Implemented in idRenderModelMD5, and idRenderModelStatic.

virtual const char* idRenderModel::GetJointName ( jointHandle_t  handle) const
pure virtual

Implemented in idRenderModelMD5, and idRenderModelStatic.

virtual const idMD5Joint* idRenderModel::GetJoints ( void  ) const
pure virtual

Implemented in idRenderModelMD5, and idRenderModelStatic.

virtual void idRenderModel::InitEmpty ( const char *  name)
pure virtual

Implemented in idRenderModelStatic.

virtual void idRenderModel::InitFromFile ( const char *  fileName)
pure virtual
virtual idRenderModel* idRenderModel::InstantiateDynamicModel ( const struct renderEntity_s ent,
const struct viewDef_s view,
idRenderModel cachedModel 
)
pure virtual
virtual bool idRenderModel::IsDefaultModel ( ) const
pure virtual

Implemented in idRenderModelStatic.

virtual dynamicModel_t idRenderModel::IsDynamicModel ( ) const
pure virtual
virtual bool idRenderModel::IsLevelLoadReferenced ( )
pure virtual

Implemented in idRenderModelStatic.

virtual bool idRenderModel::IsLoaded ( )
pure virtual
virtual bool idRenderModel::IsReloadable ( ) const
pure virtual

Implemented in idRenderModelStatic.

virtual bool idRenderModel::IsStaticWorldModel ( ) const
pure virtual

Implemented in idRenderModelStatic.

virtual void idRenderModel::List ( ) const
pure virtual

Implemented in idRenderModelMD5, and idRenderModelStatic.

virtual void idRenderModel::LoadModel ( )
pure virtual

Implemented in idRenderModelMD5, and idRenderModelStatic.

virtual int idRenderModel::Memory ( ) const
pure virtual
virtual const char* idRenderModel::Name ( ) const
pure virtual

Implemented in idRenderModelStatic.

virtual int idRenderModel::NearestJoint ( int  surfaceNum,
int  a,
int  c,
int  b 
) const
pure virtual

Implemented in idRenderModelMD5, and idRenderModelStatic.

virtual int idRenderModel::NumBaseSurfaces ( ) const
pure virtual

Implemented in idRenderModelStatic.

virtual int idRenderModel::NumJoints ( void  ) const
pure virtual

Implemented in idRenderModelMD5, and idRenderModelStatic.

virtual int idRenderModel::NumSurfaces ( ) const
pure virtual

Implemented in idRenderModelStatic.

virtual void idRenderModel::PartialInitFromFile ( const char *  fileName)
pure virtual

Implemented in idRenderModelStatic.

virtual void idRenderModel::Print ( ) const
pure virtual

Implemented in idRenderModelMD5, and idRenderModelStatic.

virtual void idRenderModel::PurgeModel ( )
pure virtual

Implemented in idRenderModelMD5, and idRenderModelStatic.

virtual void idRenderModel::ReadFromDemoFile ( class idDemoFile f)
pure virtual

Implemented in idRenderModelStatic.

virtual void idRenderModel::Reset ( )
pure virtual
virtual void idRenderModel::SetLevelLoadReferenced ( bool  referenced)
pure virtual

Implemented in idRenderModelStatic.

virtual srfTriangles_t* idRenderModel::ShadowHull ( ) const
pure virtual

Implemented in idRenderModelStatic.

virtual const modelSurface_t* idRenderModel::Surface ( int  surfaceNum) const
pure virtual

Implemented in idRenderModelStatic.

virtual ID_TIME_T idRenderModel::Timestamp ( ) const
pure virtual

Implemented in idRenderModelStatic.

virtual void idRenderModel::TouchData ( )
pure virtual
virtual void idRenderModel::WriteToDemoFile ( class idDemoFile f)
pure virtual

Implemented in idRenderModelStatic.


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