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
idCollisionModelManager Class Referenceabstract

#include <CollisionModel.h>

Inheritance diagram for idCollisionModelManager:
idCollisionModelManagerLocal

Public Member Functions

virtual ~idCollisionModelManager (void)
 
virtual void LoadMap (const idMapFile *mapFile)=0
 
virtual void FreeMap (void)=0
 
virtual cmHandle_t LoadModel (const char *modelName, const bool precache)=0
 
virtual cmHandle_t SetupTrmModel (const idTraceModel &trm, const idMaterial *material)=0
 
virtual bool TrmFromModel (const char *modelName, idTraceModel &trm)=0
 
virtual const char * GetModelName (cmHandle_t model) const =0
 
virtual bool GetModelBounds (cmHandle_t model, idBounds &bounds) const =0
 
virtual bool GetModelContents (cmHandle_t model, int &contents) const =0
 
virtual bool GetModelVertex (cmHandle_t model, int vertexNum, idVec3 &vertex) const =0
 
virtual bool GetModelEdge (cmHandle_t model, int edgeNum, idVec3 &start, idVec3 &end) const =0
 
virtual bool GetModelPolygon (cmHandle_t model, int polygonNum, idFixedWinding &winding) const =0
 
virtual void Translation (trace_t *results, const idVec3 &start, const idVec3 &end, const idTraceModel *trm, const idMat3 &trmAxis, int contentMask, cmHandle_t model, const idVec3 &modelOrigin, const idMat3 &modelAxis)=0
 
virtual void Rotation (trace_t *results, const idVec3 &start, const idRotation &rotation, const idTraceModel *trm, const idMat3 &trmAxis, int contentMask, cmHandle_t model, const idVec3 &modelOrigin, const idMat3 &modelAxis)=0
 
virtual int Contents (const idVec3 &start, const idTraceModel *trm, const idMat3 &trmAxis, int contentMask, cmHandle_t model, const idVec3 &modelOrigin, const idMat3 &modelAxis)=0
 
virtual int Contacts (contactInfo_t *contacts, const int maxContacts, const idVec3 &start, const idVec6 &dir, const float depth, const idTraceModel *trm, const idMat3 &trmAxis, int contentMask, cmHandle_t model, const idVec3 &modelOrigin, const idMat3 &modelAxis)=0
 
virtual void DebugOutput (const idVec3 &origin)=0
 
virtual void DrawModel (cmHandle_t model, const idVec3 &modelOrigin, const idMat3 &modelAxis, const idVec3 &viewOrigin, const float radius)=0
 
virtual void ModelInfo (cmHandle_t model)=0
 
virtual void ListModels (void)=0
 
virtual bool WriteCollisionModelForMapEntity (const idMapEntity *mapEnt, const char *filename, const bool testTraceModel=true)=0
 

Detailed Description

Definition at line 87 of file CollisionModel.h.

Constructor & Destructor Documentation

virtual idCollisionModelManager::~idCollisionModelManager ( void  )
inlinevirtual

Definition at line 89 of file CollisionModel.h.

Member Function Documentation

virtual int idCollisionModelManager::Contacts ( contactInfo_t contacts,
const int  maxContacts,
const idVec3 start,
const idVec6 dir,
const float  depth,
const idTraceModel trm,
const idMat3 trmAxis,
int  contentMask,
cmHandle_t  model,
const idVec3 modelOrigin,
const idMat3 modelAxis 
)
pure virtual
virtual int idCollisionModelManager::Contents ( const idVec3 start,
const idTraceModel trm,
const idMat3 trmAxis,
int  contentMask,
cmHandle_t  model,
const idVec3 modelOrigin,
const idMat3 modelAxis 
)
pure virtual
virtual void idCollisionModelManager::DebugOutput ( const idVec3 origin)
pure virtual
virtual void idCollisionModelManager::DrawModel ( cmHandle_t  model,
const idVec3 modelOrigin,
const idMat3 modelAxis,
const idVec3 viewOrigin,
const float  radius 
)
pure virtual
virtual void idCollisionModelManager::FreeMap ( void  )
pure virtual
virtual bool idCollisionModelManager::GetModelBounds ( cmHandle_t  model,
idBounds bounds 
) const
pure virtual
virtual bool idCollisionModelManager::GetModelContents ( cmHandle_t  model,
int contents 
) const
pure virtual
virtual bool idCollisionModelManager::GetModelEdge ( cmHandle_t  model,
int  edgeNum,
idVec3 start,
idVec3 end 
) const
pure virtual
virtual const char* idCollisionModelManager::GetModelName ( cmHandle_t  model) const
pure virtual
virtual bool idCollisionModelManager::GetModelPolygon ( cmHandle_t  model,
int  polygonNum,
idFixedWinding winding 
) const
pure virtual
virtual bool idCollisionModelManager::GetModelVertex ( cmHandle_t  model,
int  vertexNum,
idVec3 vertex 
) const
pure virtual
virtual void idCollisionModelManager::ListModels ( void  )
pure virtual
virtual void idCollisionModelManager::LoadMap ( const idMapFile mapFile)
pure virtual
virtual cmHandle_t idCollisionModelManager::LoadModel ( const char *  modelName,
const bool  precache 
)
pure virtual
virtual void idCollisionModelManager::ModelInfo ( cmHandle_t  model)
pure virtual
virtual void idCollisionModelManager::Rotation ( trace_t results,
const idVec3 start,
const idRotation rotation,
const idTraceModel trm,
const idMat3 trmAxis,
int  contentMask,
cmHandle_t  model,
const idVec3 modelOrigin,
const idMat3 modelAxis 
)
pure virtual
virtual cmHandle_t idCollisionModelManager::SetupTrmModel ( const idTraceModel trm,
const idMaterial material 
)
pure virtual
virtual void idCollisionModelManager::Translation ( trace_t results,
const idVec3 start,
const idVec3 end,
const idTraceModel trm,
const idMat3 trmAxis,
int  contentMask,
cmHandle_t  model,
const idVec3 modelOrigin,
const idMat3 modelAxis 
)
pure virtual
virtual bool idCollisionModelManager::TrmFromModel ( const char *  modelName,
idTraceModel trm 
)
pure virtual
virtual bool idCollisionModelManager::WriteCollisionModelForMapEntity ( const idMapEntity mapEnt,
const char *  filename,
const bool  testTraceModel = true 
)
pure virtual

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