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
idRenderModelTrail Class Reference

#include <Model_local.h>

Inheritance diagram for idRenderModelTrail:
idRenderModelStatic idRenderModel

Public Member Functions

 idRenderModelTrail ()
 
virtual dynamicModel_t IsDynamicModel () const
 
virtual bool IsLoaded () const
 
virtual idRenderModelInstantiateDynamicModel (const struct renderEntity_s *ent, const struct viewDef_s *view, idRenderModel *cachedModel)
 
virtual idBounds Bounds (const struct renderEntity_s *ent) const
 
int NewTrail (idVec3 pt, int duration)
 
void UpdateTrail (int index, idVec3 pt)
 
void DrawTrail (int index, const struct renderEntity_s *ent, srfTriangles_t *tri, float globalAlpha)
 
- Public Member Functions inherited from idRenderModelStatic
 idRenderModelStatic ()
 
virtual ~idRenderModelStatic ()
 
virtual void InitFromFile (const char *fileName)
 
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 Attributes

idList< Trail_ttrails
 
int numActive
 
idBounds trailBounds
 

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

Constructor & Destructor Documentation

idRenderModelTrail::idRenderModelTrail ( )

Member Function Documentation

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

Reimplemented from idRenderModelStatic.

void idRenderModelTrail::DrawTrail ( int  index,
const struct renderEntity_s ent,
srfTriangles_t tri,
float  globalAlpha 
)
virtual idRenderModel* idRenderModelTrail::InstantiateDynamicModel ( const struct renderEntity_s ent,
const struct viewDef_s view,
idRenderModel cachedModel 
)
virtual

Reimplemented from idRenderModelStatic.

virtual dynamicModel_t idRenderModelTrail::IsDynamicModel ( ) const
virtual

Reimplemented from idRenderModelStatic.

virtual bool idRenderModelTrail::IsLoaded ( ) const
virtual

Implements idRenderModel.

int idRenderModelTrail::NewTrail ( idVec3  pt,
int  duration 
)
void idRenderModelTrail::UpdateTrail ( int  index,
idVec3  pt 
)

Member Data Documentation

int idRenderModelTrail::numActive
private

Definition at line 338 of file Model_local.h.

idBounds idRenderModelTrail::trailBounds
private

Definition at line 339 of file Model_local.h.

idList<Trail_t> idRenderModelTrail::trails
private

Definition at line 337 of file Model_local.h.


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