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

#include <Anim.h>

Inheritance diagram for idDeclModelDef:
idDecl

Public Member Functions

 idDeclModelDef ()
 
 ~idDeclModelDef ()
 
virtual size_t Size (void) const
 
virtual const char * DefaultDefinition (void) const
 
virtual bool Parse (const char *text, const int textLength)
 
virtual void FreeData (void)
 
void Touch (void) const
 
const idDeclSkinGetDefaultSkin (void) const
 
const idJointQuatGetDefaultPose (void) const
 
void SetupJoints (int *numJoints, idJointMat **jointList, idBounds &frameBounds, bool removeOriginOffset) const
 
idRenderModelModelHandle (void) const
 
void GetJointList (const char *jointnames, idList< jointHandle_t > &jointList) const
 
const jointInfo_tFindJoint (const char *name) const
 
int NumAnims (void) const
 
const idAnimGetAnim (int index) const
 
int GetSpecificAnim (const char *name) const
 
int GetAnim (const char *name) const
 
bool HasAnim (const char *name) const
 
const idDeclSkinGetSkin (void) const
 
const char * GetModelName (void) const
 
const idList< jointInfo_t > & Joints (void) const
 
const intJointParents (void) const
 
int NumJoints (void) const
 
const jointInfo_tGetJoint (int jointHandle) const
 
const char * GetJointName (int jointHandle) const
 
int NumJointsOnChannel (int channel) const
 
const intGetChannelJoints (int channel) const
 
const idVec3GetVisualOffset (void) const
 
- Public Member Functions inherited from idDecl
 idDecl (void)
 
virtual ~idDecl (void)
 
const char * GetName (void) const
 
declType_t GetType (void) const
 
declState_t GetState (void) const
 
bool IsImplicit (void) const
 
bool IsValid (void) const
 
void Invalidate (void)
 
void EnsureNotPurged (void)
 
int Index (void) const
 
int GetLineNum (void) const
 
const char * GetFileName (void) const
 
void GetText (char *text) const
 
int GetTextLength (void) const
 
void SetText (const char *text)
 
bool ReplaceSourceFileText (void)
 
bool SourceFileChanged (void) const
 
void MakeDefault (void)
 
bool EverReferenced (void) const
 
virtual bool SetDefaultText (void)
 
virtual void List (void) const
 
virtual void Print (void) const
 

Private Member Functions

void CopyDecl (const idDeclModelDef *decl)
 
bool ParseAnim (idLexer &src, int numDefaultAnims)
 

Private Attributes

idVec3 offset
 
idList< jointInfo_tjoints
 
idList< intjointParents
 
idList< intchannelJoints [ANIM_NumAnimChannels]
 
idRenderModelmodelHandle
 
idList< idAnim * > anims
 
const idDeclSkinskin
 

Additional Inherited Members

- Public Attributes inherited from idDecl
idDeclBasebase
 

Detailed Description

Definition at line 326 of file Anim.h.

Constructor & Destructor Documentation

idDeclModelDef::idDeclModelDef ( )

Definition at line 2171 of file Anim_Blend.cpp.

idDeclModelDef::~idDeclModelDef ( )

Definition at line 2185 of file Anim_Blend.cpp.

Member Function Documentation

void idDeclModelDef::CopyDecl ( const idDeclModelDef decl)
private

Definition at line 2203 of file Anim_Blend.cpp.

const char * idDeclModelDef::DefaultDefinition ( void  ) const
virtual

Reimplemented from idDecl.

Definition at line 2248 of file Anim_Blend.cpp.

const jointInfo_t * idDeclModelDef::FindJoint ( const char *  name) const

Definition at line 2257 of file Anim_Blend.cpp.

void idDeclModelDef::FreeData ( void  )
virtual

Reimplemented from idDecl.

Definition at line 2231 of file Anim_Blend.cpp.

const idAnim * idDeclModelDef::GetAnim ( int  index) const

Definition at line 2914 of file Anim_Blend.cpp.

int idDeclModelDef::GetAnim ( const char *  name) const

Definition at line 2927 of file Anim_Blend.cpp.

const int * idDeclModelDef::GetChannelJoints ( int  channel) const

Definition at line 3060 of file Anim_Blend.cpp.

const idJointQuat * idDeclModelDef::GetDefaultPose ( void  ) const

Definition at line 2401 of file Anim_Blend.cpp.

const idDeclSkin * idDeclModelDef::GetDefaultSkin ( void  ) const

Definition at line 2392 of file Anim_Blend.cpp.

const jointInfo_t * idDeclModelDef::GetJoint ( int  jointHandle) const

Definition at line 3016 of file Anim_Blend.cpp.

void idDeclModelDef::GetJointList ( const char *  jointnames,
idList< jointHandle_t > &  jointList 
) const

Definition at line 2289 of file Anim_Blend.cpp.

const char * idDeclModelDef::GetJointName ( int  jointHandle) const

Definition at line 3028 of file Anim_Blend.cpp.

const char * idDeclModelDef::GetModelName ( void  ) const

Definition at line 2976 of file Anim_Blend.cpp.

const idDeclSkin * idDeclModelDef::GetSkin ( void  ) const

Definition at line 2967 of file Anim_Blend.cpp.

int idDeclModelDef::GetSpecificAnim ( const char *  name) const

Definition at line 2895 of file Anim_Blend.cpp.

const idVec3 & idDeclModelDef::GetVisualOffset ( void  ) const

Definition at line 3072 of file Anim_Blend.cpp.

bool idDeclModelDef::HasAnim ( const char *  name) const

Definition at line 2866 of file Anim_Blend.cpp.

const int * idDeclModelDef::JointParents ( void  ) const

Definition at line 2998 of file Anim_Blend.cpp.

const idList< jointInfo_t > & idDeclModelDef::Joints ( void  ) const

Definition at line 2989 of file Anim_Blend.cpp.

idRenderModel * idDeclModelDef::ModelHandle ( void  ) const

Definition at line 2280 of file Anim_Blend.cpp.

int idDeclModelDef::NumAnims ( void  ) const

Definition at line 2884 of file Anim_Blend.cpp.

int idDeclModelDef::NumJoints ( void  ) const

Definition at line 3007 of file Anim_Blend.cpp.

int idDeclModelDef::NumJointsOnChannel ( int  channel) const

Definition at line 3048 of file Anim_Blend.cpp.

bool idDeclModelDef::Parse ( const char *  text,
const int  textLength 
)
virtual

Reimplemented from idDecl.

Definition at line 2634 of file Anim_Blend.cpp.

bool idDeclModelDef::ParseAnim ( idLexer src,
int  numDefaultAnims 
)
private

Definition at line 2462 of file Anim_Blend.cpp.

void idDeclModelDef::SetupJoints ( int numJoints,
idJointMat **  jointList,
idBounds frameBounds,
bool  removeOriginOffset 
) const

Definition at line 2410 of file Anim_Blend.cpp.

size_t idDeclModelDef::Size ( void  ) const
virtual

Reimplemented from idDecl.

Definition at line 2194 of file Anim_Blend.cpp.

void idDeclModelDef::Touch ( void  ) const

Definition at line 2381 of file Anim_Blend.cpp.

Member Data Documentation

idList<idAnim *> idDeclModelDef::anims
private

Definition at line 372 of file Anim.h.

idList<int> idDeclModelDef::channelJoints[ANIM_NumAnimChannels]
private

Definition at line 370 of file Anim.h.

idList<int> idDeclModelDef::jointParents
private

Definition at line 369 of file Anim.h.

idList<jointInfo_t> idDeclModelDef::joints
private

Definition at line 368 of file Anim.h.

idRenderModel* idDeclModelDef::modelHandle
private

Definition at line 371 of file Anim.h.

idVec3 idDeclModelDef::offset
private

Definition at line 367 of file Anim.h.

const idDeclSkin* idDeclModelDef::skin
private

Definition at line 373 of file Anim.h.


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