ResidualVM logo ResidualVM website - Forums - Contact us BuildBot - Doxygen - Wiki curved edge

Grim::EMIModel Class Reference

#include <modelemi.h>

Inheritance diagram for Grim::EMIModel:
Collaboration diagram for Grim::EMIModel:

List of all members.

Public Types

enum  TextureFlags { BlendAdditive = 0x400 }

Public Member Functions

 EMIModel (const Common::String &filename, Common::SeekableReadStream *data, EMICostume *costume)
 ~EMIModel ()
void setTex (uint32 index)
void setSkeleton (Skeleton *skel)
void loadMesh (Common::SeekableReadStream *data)
void prepareForRender ()
void prepareTextures ()
void draw ()
void updateLighting (const Math::Matrix4 &modelToWorld)
void getBoundingBox (int *x1, int *y1, int *x2, int *y2) const
Math::AABB calculateWorldBounds (const Math::Matrix4 &matrix) const

Public Attributes

Common::String _meshName
Actor::AlphaMode _meshAlphaMode
float _meshAlpha
int _numVertices
Math::Vector3d_vertices
Math::Vector3d_drawVertices
Math::Vector3d_normals
Math::Vector3d_drawNormals
Math::Vector3d_lighting
EMIColormap_colorMap
Math::Vector2d_texVerts
uint32 _numFaces
EMIMeshFace_faces
uint32 _numTextures
Common::String_texNames
uint32_texFlags
Material ** _mats
Skeleton_skeleton
int _numBones
int _numBoneInfos
BoneInfo_boneInfos
Common::String_boneNames
int * _vertexBoneInfo
float _radius
Math::Vector3d_center
Math::Vector3d_boxData
Math::Vector3d_boxData2
int _numTexSets
int _setType
Common::String _fname
EMICostume_costume
void * _userData
bool _lightingDirty

Detailed Description

Definition at line 82 of file modelemi.h.


Member Enumeration Documentation

Enumerator:
BlendAdditive 

Definition at line 84 of file modelemi.h.


Constructor & Destructor Documentation

Grim::EMIModel::EMIModel ( const Common::String filename,
Common::SeekableReadStream data,
EMICostume costume 
)

Definition at line 428 of file modelemi.cpp.

Grim::EMIModel::~EMIModel (  ) 

Definition at line 464 of file modelemi.cpp.


Member Function Documentation

Math::AABB Grim::EMIModel::calculateWorldBounds ( const Math::Matrix4 matrix  )  const

Definition at line 419 of file modelemi.cpp.

void Grim::EMIModel::draw (  ) 

Definition at line 277 of file modelemi.cpp.

void Grim::EMIModel::getBoundingBox ( int *  x1,
int *  y1,
int *  x2,
int *  y2 
) const

Definition at line 408 of file modelemi.cpp.

void Grim::EMIModel::loadMesh ( Common::SeekableReadStream data  ) 

Definition at line 101 of file modelemi.cpp.

void Grim::EMIModel::prepareForRender (  ) 

Definition at line 232 of file modelemi.cpp.

void Grim::EMIModel::prepareTextures (  ) 

Definition at line 270 of file modelemi.cpp.

void Grim::EMIModel::setSkeleton ( Skeleton skel  ) 

Definition at line 217 of file modelemi.cpp.

void Grim::EMIModel::setTex ( uint32  index  ) 

Definition at line 94 of file modelemi.cpp.

void Grim::EMIModel::updateLighting ( const Math::Matrix4 modelToWorld  ) 

Definition at line 318 of file modelemi.cpp.


Member Data Documentation

Definition at line 114 of file modelemi.h.

Definition at line 121 of file modelemi.h.

Definition at line 120 of file modelemi.h.

Definition at line 98 of file modelemi.h.

Definition at line 127 of file modelemi.h.

Definition at line 102 of file modelemi.h.

Definition at line 126 of file modelemi.h.

Definition at line 97 of file modelemi.h.

Definition at line 130 of file modelemi.h.

Definition at line 106 of file modelemi.h.

Definition at line 91 of file modelemi.h.

Definition at line 95 of file modelemi.h.

Definition at line 113 of file modelemi.h.

Definition at line 110 of file modelemi.h.

Definition at line 101 of file modelemi.h.

Definition at line 123 of file modelemi.h.

Definition at line 103 of file modelemi.h.

Definition at line 92 of file modelemi.h.

Definition at line 119 of file modelemi.h.

Definition at line 124 of file modelemi.h.

Definition at line 108 of file modelemi.h.

Definition at line 105 of file modelemi.h.

Definition at line 99 of file modelemi.h.

Definition at line 129 of file modelemi.h.

Definition at line 116 of file modelemi.h.

Definition at line 93 of file modelemi.h.


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


Generated on Sat Sep 14 2019 05:04:20 for ResidualVM by doxygen 1.7.1
curved edge   curved edge