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

#include <Model_local.h>

Inheritance diagram for idRenderModelPrt:
idRenderModelStatic idRenderModel

Public Member Functions

 idRenderModelPrt ()
 
virtual void InitFromFile (const char *fileName)
 
virtual void TouchData ()
 
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
 
virtual float DepthHack () const
 
virtual int Memory () 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 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 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)
 
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 Attributes

const idDeclParticleparticleSystem
 

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 287 of file Model_local.h.

Constructor & Destructor Documentation

idRenderModelPrt::idRenderModelPrt ( )

Definition at line 42 of file Model_prt.cpp.

Member Function Documentation

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

Reimplemented from idRenderModelStatic.

Definition at line 258 of file Model_prt.cpp.

float idRenderModelPrt::DepthHack ( ) const
virtual

Reimplemented from idRenderModelStatic.

Definition at line 267 of file Model_prt.cpp.

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

Reimplemented from idRenderModelStatic.

Definition at line 51 of file Model_prt.cpp.

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

Reimplemented from idRenderModelStatic.

Definition at line 71 of file Model_prt.cpp.

dynamicModel_t idRenderModelPrt::IsDynamicModel ( ) const
virtual

Reimplemented from idRenderModelStatic.

Definition at line 249 of file Model_prt.cpp.

int idRenderModelPrt::Memory ( ) const
virtual

Reimplemented from idRenderModelStatic.

Definition at line 276 of file Model_prt.cpp.

void idRenderModelPrt::TouchData ( void  )
virtual

Reimplemented from idRenderModelStatic.

Definition at line 61 of file Model_prt.cpp.

Member Data Documentation

const idDeclParticle* idRenderModelPrt::particleSystem
private

Definition at line 300 of file Model_local.h.


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