#include <Mesh.h>
Definition at line 31 of file Mesh.h.
| const char* Mesh::getName | ( | ) | [inline] |
Definition at line 38 of file Mesh.h.
References name_.
Referenced by MissileMesh::MissileMesh(), and TankMesh::setupTankMesh().
| bool Mesh::getSphereMap | ( | ) | [inline] |
Definition at line 39 of file Mesh.h.
References sphereMap_.
Referenced by ModelRendererMesh::drawMesh().
| Vector& Mesh::getMin | ( | ) | [inline] |
Definition at line 40 of file Mesh.h.
References min_.
Referenced by MissileMesh::MissileMesh(), and TankMesh::setupTankMesh().
| Vector& Mesh::getMax | ( | ) | [inline] |
Definition at line 41 of file Mesh.h.
References max_.
Referenced by MissileMesh::MissileMesh(), and TankMesh::setupTankMesh().
| Vector4& Mesh::getAmbientColor | ( | ) | [inline] |
Definition at line 42 of file Mesh.h.
References ambientColor_.
Referenced by ModelRendererMesh::drawMesh(), and MSModelFactory::loadFile().
| Vector4& Mesh::getDiffuseColor | ( | ) | [inline] |
Definition at line 43 of file Mesh.h.
References diffuseColor_.
Referenced by ModelRendererMesh::drawMesh(), and MSModelFactory::loadFile().
| Vector4& Mesh::getSpecularColor | ( | ) | [inline] |
Definition at line 44 of file Mesh.h.
References specularColor_.
Referenced by ModelRendererMesh::drawMesh(), and MSModelFactory::loadFile().
| Vector4& Mesh::getEmissiveColor | ( | ) | [inline] |
Definition at line 45 of file Mesh.h.
References emissiveColor_.
Referenced by ModelRendererMesh::drawMesh(), and MSModelFactory::loadFile().
| Vector4& Mesh::getAmbientNoTexColor | ( | ) | [inline] |
Definition at line 46 of file Mesh.h.
References ambientNoTexColor_.
Referenced by ModelRendererMesh::drawMesh(), and MSModelFactory::loadFile().
| Vector4& Mesh::getDiffuseNoTexColor | ( | ) | [inline] |
Definition at line 47 of file Mesh.h.
References diffuseNoTexColor_.
Referenced by ModelRendererMesh::drawMesh(), ModelRendererMesh::drawVerts(), and MSModelFactory::loadFile().
| Vector4& Mesh::getSpecularNoTexColor | ( | ) | [inline] |
Definition at line 48 of file Mesh.h.
References specularNoTexColor_.
Referenced by ModelRendererMesh::drawMesh(), and MSModelFactory::loadFile().
| Vector4& Mesh::getEmissiveNoTexColor | ( | ) | [inline] |
Definition at line 49 of file Mesh.h.
References emissiveNoTexColor_.
Referenced by ModelRendererMesh::drawMesh(), and MSModelFactory::loadFile().
| float& Mesh::getShininessColor | ( | ) | [inline] |
Definition at line 50 of file Mesh.h.
References shininessColor_.
Referenced by ModelRendererMesh::drawMesh(), and MSModelFactory::loadFile().
| const char* Mesh::getTextureName | ( | ) | [inline] |
Definition at line 51 of file Mesh.h.
References textureName_.
Referenced by ModelRendererMesh::drawMesh().
| const char* Mesh::getATextureName | ( | ) | [inline] |
Definition at line 53 of file Mesh.h.
References aTextureName_.
Referenced by ModelRendererMesh::drawMesh().
| std::vector<int>& Mesh::getCollapseMap | ( | ) | [inline] |
| std::vector<Face *>& Mesh::getFaces | ( | ) | [inline] |
Definition at line 58 of file Mesh.h.
References faces_.
Referenced by ASEModelFactory::calculateTexCoords(), ModelRendererMesh::drawMesh(), ModelRendererMesh::drawVerts(), Model::getNumberTriangles(), and Model::setupColor().
| Face* Mesh::getFace | ( | int | faceIndex | ) | [inline] |
| std::vector<Vertex *>& Mesh::getVertexes | ( | ) | [inline] |
| Vertex* Mesh::getVertex | ( | int | vertexIndex | ) | [inline] |
Definition at line 65 of file Mesh.h.
References DIALOG_ASSERT, and vertexes_.
Referenced by ASEModelFactory::calculateTexCoords(), ModelRendererMesh::drawVerts(), Model::setupBones(), and Model::setupColor().
| bool& Mesh::getReferencesBones | ( | ) | [inline] |
Definition at line 68 of file Mesh.h.
References referencesBones_.
Referenced by ModelRendererMesh::drawMesh(), and Model::setupBones().
| void Mesh::move | ( | Vector & | movement | ) |
| void Mesh::setupCollapse | ( | ) |
Definition at line 90 of file Mesh.cpp.
References collapseMap_, faces_, MeshLOD::progressiveMesh(), and vertexes_.
| void Mesh::insertFace | ( | Face & | face | ) | [inline] |
| void Mesh::insertVertex | ( | Vertex & | vertex | ) |
Definition at line 47 of file Mesh.cpp.
References MAX, max_, MIN, min_, Vertex::position, and vertexes_.
Referenced by MSModelFactory::loadFile().
| void Mesh::setTextureName | ( | const char * | t | ) |
Definition at line 81 of file Mesh.cpp.
References sphereMap_, LangStringUtil::strcmp(), LangStringUtil::strstr(), and textureName_.
Referenced by ASEModelFactory::calculateTexCoords(), and MSModelFactory::loadFile().
| void Mesh::setATextureName | ( | const char * | t | ) | [inline] |
Definition at line 79 of file Mesh.h.
References aTextureName_.
Referenced by MSModelFactory::loadFile().
| void Mesh::setFaceNormal | ( | Vector & | normal, | |
| int | faceIndex, | |||
| int | normalIndex | |||
| ) | [inline] |
Definition at line 80 of file Mesh.h.
References DIALOG_ASSERT, and faces_.
Referenced by MSModelFactory::loadFile().
| void Mesh::setFaceTCoord | ( | Vector & | coord, | |
| int | faceIndex, | |||
| int | coordIndex | |||
| ) | [inline] |
Definition at line 83 of file Mesh.h.
References DIALOG_ASSERT, and faces_.
Referenced by MSModelFactory::loadFile().
std::string Mesh::name_ [protected] |
std::string Mesh::textureName_ [protected] |
std::string Mesh::aTextureName_ [protected] |
std::vector<Face *> Mesh::faces_ [protected] |
Definition at line 90 of file Mesh.h.
Referenced by getFace(), getFaces(), insertFace(), setFaceNormal(), setFaceTCoord(), setupCollapse(), and ~Mesh().
std::vector<Vertex *> Mesh::vertexes_ [protected] |
Definition at line 91 of file Mesh.h.
Referenced by getVertex(), getVertexes(), insertVertex(), move(), setupCollapse(), and ~Mesh().
std::vector<int> Mesh::collapseMap_ [protected] |
bool Mesh::referencesBones_ [protected] |
bool Mesh::sphereMap_ [protected] |
float Mesh::shininessColor_ [protected] |
Vector4 Mesh::diffuseColor_ [protected] |
Vector4 Mesh::specularColor_ [protected] |
Vector4 Mesh::ambientColor_ [protected] |
Vector4 Mesh::emissiveColor_ [protected] |
Vector4 Mesh::diffuseNoTexColor_ [protected] |
Vector4 Mesh::specularNoTexColor_ [protected] |
Vector4 Mesh::ambientNoTexColor_ [protected] |
Vector4 Mesh::emissiveNoTexColor_ [protected] |
Vector Mesh::min_ [protected] |
Vector Mesh::max_ [protected] |
1.5.3